Missing data in UART RX

cpkwok wrote on Friday, February 20, 2009:

Hi all,
I am implementing a port to At91sam7se512. I have create 3 tasks, one for UART received data handling, one for key board and one for applcation.

My problem is I found that the UART RX has missed some data. This looks like the system has missed some interrupts.
Will this happen in tasks switching?

Does anyone have any idea??

Thanks & Regards,
CPKwok

echel0n wrote on Friday, February 20, 2009:

Strange cause I as well am experiancing simular issues. I can receive data in sometimes and send data out but it seems after awhile it locks up the device.

Not sure why.

sotd wrote on Friday, February 20, 2009:

Using sam7s sending lots with uart using DMA on transmit and rec and semaphre to trigger tasks. Working very well not lost chars.

cpkwok wrote on Monday, March 02, 2009:

Thx sotd. I am also using DAM on TX and RX as well, could u tell me more about using semaphore to trigger tasks?