6 Replies Latest reply on Jun 8, 2020 6:39 PM by YoIs_1298666

    Circular buffer of UART with HardwareFlow Control for CY8CKIT-041-40XX




      I am trying RX and TX loopback communication of Circular buffer UART with hardware flow control under CY8CKIT-041-40XX.

      By pressing the switch, specific character strings are output from TX of UART and input to RX by loopback connection.

      CTS and RTS are also loopback connected.The strings received by RX are output from SW TxUART to the terminal software of PC.

      When the TX and RX buffers are set to FIFO size and "RX FIFO not empty" of interrupt is checked, the following interrupt handlers"UartIntHandler" are operating without problems.

      On the other hand, if I use Circular buffer with RX polling processing because I do not know the method of reception interrupt, I will continue to wait for the TX buffer to be ”not full" with the following code.


      Please tell me how to receive RX data with interrupt handler.


      Best regards,