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

nRF52: How to recover from UART BREAK condition

Hello,

I'm having a system consisting of an nRF52 and another processor, with UART between them. If the other processor restarts, nRF's RX line will be pulled low for some time, triggering FRAMING and BREAK errors, which is somewhat expected.

However, the only way I've figured out to recover from this (get RX to work again) is to restart the entire UART (nrf_uart_disable, nrf_uart_enable). Is this expected?

I'm running Zephyr 2.2, but that shouldn't matter that much in this case. I'm using UART, not UARTE.

Thanks, Jacob

Related