1 Reply Latest reply on Sep 26, 2017 1:49 AM by user_1377889

    UART Rx

    spgermany7_1996721

      Check every 200ms, if nothing is recieved on UART Rx, transmit something on UART Tx. This continues till we recieve something on Rx. And if valid data in UART Rx, dont send anything on UART Tx.

        • 1. Re: UART Rx
          user_1377889

          You'll need a 200ms timer and set a flag in the interrupt handler.

          In the main infinite loop check for the flag set, act accordingly and reset the flag.

           

          Seems to be quite straightforward. When you get stuck upload a workspace archive so we can have a look at.

          Is there a reason why you use a PSoC1 and not a more modern PSoC 4 with debug capabilities as the CY8CKIT-043 ?

           

          Bob

          1 of 1 people found this helpful