Hi Folks
I think I may have failed to understand how the FIFOs (im using the ones on SCIA) are supposed to be used.
For example in my application I wish to transmit and receive an undefined string of data (though it does have a max length, say 23 words for eg)
If the Rx/Tx interrupts will not be raised until the level in the FIFO has been met how does this work with stings that may not reach this level?
E.G. If my Rx level is set to 4 and 23 words are sent to my SCI FIFO, the Rx interrupt will be raised 4 times, for the first 20 words but then will not be raised for the final 3 words as they will not reach the FIFO interrupt level of 4 and unless Im then polling the FIFO as well I will never know about those three words.
Have I understood their use correctly? Should I be waiting for the interrupt each time or should I be reading it out continuously after the first interrupt? or should I be waiting for each interrupt and then when I have time checking to see if there is any left over words in the FIFO?
Thanks