NRFX Uarte invalid data after framing error

Hey,
I try to implement wtih nordic connect sdk and the nrfx library a uart communication where a 9th data bit will send for synchronisation.
When the 9th data bit will be received the event type isNRFX_UARTE_EVT_ERROR and the error_mask is UARTE_ERRORSRC_FRAMING_MSK.
That is fine but the data is always 255.In the parameter there two ways for getting the data

*p_event->data.error.rx.p_data

and

*p_event->data.rx.p_data

Its very important to get these correct data. Have anybody a idea?

Parents Reply
  • Hey Kenneth,
    thanks for your reply. So the distance or the time between end of last normal data packet and start of framing error packet is 1,2 ms.

    "Is it possible that the pointer or buffer is updated on framing error? "

    What do you mean with that question? So between the RX_DONE event and the RX_EVT_ERROR there is no update from my code side.

Children
No Data
Related