
Originally Posted by
Darrel Taylor
Nope.
For best speed, an RX interrupt should only retrieve 1 byte at a time, then exit the handler.
It only takes a few uS that way.
I'm waiting for a string of NMEA chars to arrive into a huge data array.
I'm not quite sure how to code the above interrupt process into a [wait(" "),data] style command. This is what I am using at the moment when the RX_INT interrupt fires....
Code:
WAIT_GLL:
HSERIN 100,WAIT_GLL,[WAIT("GLL"), STR DATAIN\40\13]
If I receive each byte and then do some byte checks to simulate the above syntax will the pic be fast enough to catch the sentance when it actually arrives or is the a better way?
Squib
Bookmarks