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

Nrf51822 Uart baudrate

Hi there,

I have a issue with the nrf51822 UART baudrate setting.

I am developing nrf51822 dongle, its job is to transfer data between PC and a BLE periph. For a stable transfer, the baudrate has to decrease to 38400.

I want to increase the baudrate to 115200, but it easy to induce APP_UART_COMMUNICATION_ERROR(overrun) when transferring mass of data to BLE slave over the air.

It works stable at 115200 baudrate when not transfer the packets to BLE slave, I checked this by printing out the uart received data through Segger RTT. So, it seems the UART interrupt is blocked by BLE events. I increase UART priority from 3 to 1, but didn't work.

How can I improve the UART baudrate to 115200, add CTS, RTS? Is there any method to increase the baudrate without adding uart flow control?

Thanks in advance.

Related