4 Replies Latest reply on Jul 24, 2017 4:29 AM by sun_2097736

    SCB UART RX Interrupt works not correctly!

    sun_2097736

      One simple SCB UART test under pSoc4 was created. 

         

      TX works well with UART_1_UartPutString() or UART_1_UartPutChar().

         

      However when I try to receive some Bytes (sent from PC) using RX Interrupt, there is problem.

         

      1. Some Bytes are firstly sent to PC. --> OK

         

      2. One Byte (e.g.0x06) is then sent back to module. At the first time when the TX_interrupt is called, this Byte 0x06 can be correctly received. After that this TX_interrupt is continuously called again and again, the received data is always 0xFFFFFFFF. What does this mean?