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

Ignore Frame and Break Error in UART Driver

Hello,

I am using a custom nRF52840 (SDK 14.2.0, SoftDevice S140) based board.

I am using the UART module and associated UART drivers.

Is there a way to ignore the Break and Frame errors in the driver, and not cause the UART to stop receiving? 

Specifically, I want to use read in and process a message frame, and ignore the break error which occurs after the message frame is read in.

According to Nordic UARTE documentation, "If there was a framing error (wrong stop bit), that specific byte will NOT be stored into Data RAM, but following incoming bytes will."

Is this valid for the UART too? And Is it possible to store that specific byte which had a frame/break error into Data RAM instead of discarding it?

Thanks,