9 Replies Latest reply on Feb 24, 2016 10:58 PM by user_1377889

    help with UART ISR




      Ive been messing around with the UART function..... again. Ive implemented a simple ISR so on RX byte received which when triggered shows pn the LCD a message ISR, just to show it works.


      I wanted to use the ISR to fill a buffer because i dont want other code to stop running while the PSoC is polling the uart rx.


      I have a simple isr function and was wondering what would be the best way of filling a char array of size maybe 20 with some data in the correct order, then have the ISR exit and return back to code after that.


      I can send a string to the PSOC with a  specific start command i.e an 'S' followed by a number but Id need to get that data into an array first before acting on it.


      thanks guys