This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[nRF51822] UART overflown if BTLE transmmision.

Hi In my project, we wanna transmit large amount of data from UART master to nRF5182, and then to iOS7. Baud rate is 19200. Feed-in speed is near 2KB/sec. BTLE transmission and UART receiving will be overlapped very frequently. I found UART data will be lost although UART peripheral has 6-byte FIFO to store unread data. The overflown event happened.

For TI and CSR solutions, they can store UART received data directly into RAM cell . In this case, data can be transmitted somoothly without ay data loss.

My question is if any way to prevent UART data loss? Thanks.

  • Hi Jeffery,

    Unfortunately the UART does not support DMA which would be nice. I ran into problems with getting data across the UART as well. The solution was to enable hardware flow control so that the far end stops transmitting before you run out of receive buffers.

    There are a number of good threads in this forum on this topic if you search for UART topics.

    Regards, John