query regarding UART | Cypress Semiconductor
query regarding UART
I am Mounika. I am doing a project on power line communication using IC CY8CPLC20. I am using an RS232 to interface the board to the PC. When I transfer data it is being transmitted continuosly though I am resetting the buffer using the UART function UART_CmdReset (maybe because RX data buffer is not getting cleared.).
1. How do I clear RX data buffer register once I read it?
2. What is the difference between Rx data register and Rx data buffer register?
3. What exactly does UART_CmdReset function perform?
4. How to use the UART_bReadRxStatus function to monitor the UART_RX_REG_FULL bit of the RX Control register?
I am enclosing the code that I am using. Please do reply as soon as possible. It is urgent!