libuarte packet fragmentation

On the nrf52840 I have libuarte working.

The part runs on 1Mbps with 2 timers connected in the define.

This all works great for 90% of the time.

When the incoming data exceeds the limits of the allocated buffers, the message in the event handler gets fragmented in 2 parts.

NRF_LIBUARTE_ASYNC_EVT_RX_DATA gets called twice. 1 time until the end of the buffer.
The second time until the end of the actual message.
Is this behaviour expected ? Since I now have issues parsing the incoming message...
Parents Reply Children
Related