Hello everyone,
We are using uCOS for our application. We need to read data from the UART. So we have an UART Rx interrupt for this. In the ISR, we are using a mailbox to post message to the processing task. The processing task is Pending on the mailbox using OSMboxPend( ) . When we do this we are loosing some data because of the limited FIFO size. The FIFO size is 16 bytes and the baud rate for data transmission is 9600.
When we processed the data within the ISR (ie without using mailbox), we were not loosing any data. But its not a good idea to process the data inside the ISR.
Could anyone suggest a better way to deal with this problem.
Regards, R a n j i t h