1 2 Previous Next 15 Replies Latest reply on Mar 14, 2014 8:04 AM by user_322064261

    Please advise me on which timer to use, resettable one shot?

    user_322064261

      So I am implementing the comms protocol which terminates the end of message with a 1.04uS blank space.

         

      My UART code is working fine but what I need is to implement the following scenario

         

      UART-READ BYTE IN

         

      RESET 1.04US TIMER

         

      then when the timer overflows it must mean that the UART has stopped receiving and the message is over as every new character resets the timer.

         

      So I would need a timer interrupt which just said

         

      EndOfMessageFlag = 1;

         

      I read the following thread but it is 2 years old and based on the PSoC3 so wanted to get some more up to date advice on what timer use.

         

      http://www.cypress.com/?app=forum&id=2232&rID=63168

        1 2 Previous Next