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

Problem communicating via UART in non-blocking mode with higher baud rates

Hi,

I am trying to communicate with a Wi-Fi module external to nRF52840 via UART. I am using the nrf_serial_read() API. I have tried different values for UART baud rate from 115200 to 921600 but nothing works in the non-blocking mode(timeout_ms = 0).

The only working combinations between 115200 and 921600 are:
Baud rate                   Timeout         

115200                      125ms
230400                      100ms

Q1) Is the timeout necessary to make the UART communication work with a high baud rate?

Q2) I need to achieve a baud rate of 921600 for a smoother application with a minimum timeout in ms. Is there a way to achieve it? 

Thanks,
Akhil

Parents Reply Children
Related