AnsweredAssumed Answered

Triggering UART Interrupt on Specific Character

Question asked by Derek Cook on Jan 29, 2019
Latest reply on Jan 30, 2019 by Kerry Zhou



I have a master device that is constantly transmitting 47 bytes of data. I do not transmit anything to this master device to tell it to start transmitting, this is to keep the master independent of the slave. I am having some trouble with capturing the data I want in the slave device. All of my data is stored in ASCII Hex with the exception of my start character, which is 'L' or 'V'. 


Is there any way to trigger the UART Rx interrupt on a specific start char. I am not seeing much on this online. Currently, I am collecting 2 full buffers of data, and then parsing my full packet (start-end char) out of that data. This seems very inefficient. I was wondering if there was a better way to do this, such as triggering on a specific start char.