Hi All,, The Data is serially coming into my controller , is processed there and then sent out serially. The data is packed between header (8 zero bytes) and tailer (8 0xff bytes). Should i detect for the valid header and then start adding the incoming data into the fifo() and then just process the data. Or should i push all the incoming bytes into the fifo() and detect the valid header from there and then process the data ?? Any goood reasons for any preference ?? Thankzz && Bye -Rocknmoon
Hi, If only receive one frame at one time, I 'd like to detect tailer(8 0xff) and then start to process data. Tailer can be detected in interrupt and data process is done in main loop.
View all questions in Keil forum