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

Parents Reply
  • Hi,

    Thanks for looking into this. A colleague of mine has taken over this thing, and it may be caused by another issue (for which a disable/enable procedure happened to help for). He has created another thread here regarding that issue, but I'm unable to find it (the devzone really isn't easy to navigate!).

    For now, I think this thread can be closed.

    Thanks, Jacob

Children
No Data
Related