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

Is nRF52 will work with 115200 without any issues?

Hi,

I am working with ble_app_uart code, in that I am trying to configure different baud rates like 9600,38400 and 57600. With these baud rates I am not getting any issues with the data transfer. But with 115200 device gets reset continuously I can't send the data with 115200. First of all I want to make sure that nRF52 will work fine with 115200.

Consider I will be sending continuous stream of data. Same data with other baud rates are working fine but I am facing problem with 115200.

Waiting for quick reply.

Parents
  • But with 115200 device gets reset continuously

    Smells like a problem in your code. Obviously, higher baud rates are more likely to trigger bugs.

    I can run my NRF52 with 460800 baud and no problems.

    Note that you must use hardware flow control with high baud rates like 115200, especially if you used a softdevice. Otherwise you will highly likely get FIFO overruns in the UART, as the softdevice can block interrupts for radio activity.

Reply
  • But with 115200 device gets reset continuously

    Smells like a problem in your code. Obviously, higher baud rates are more likely to trigger bugs.

    I can run my NRF52 with 460800 baud and no problems.

    Note that you must use hardware flow control with high baud rates like 115200, especially if you used a softdevice. Otherwise you will highly likely get FIFO overruns in the UART, as the softdevice can block interrupts for radio activity.

Children
Related