Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all articles
Browse latest Browse all 761

SCB UART RX Interrupt works not correctly!

$
0
0

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?

 


Viewing all articles
Browse latest Browse all 761

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>