Given it's time stamped data I would have expect about a second's worth of idle between transmissions.
Why the current code is not resynchronising I have no idea, and I have never tried doing that. Maybe flush eveything received, close the UART down, wait for 500ms of idle before re-initialising and re-enabling the UART.
You should be able to craft a PIO program which can send out a UART data stream and have that send only partial bytes to help get resynchronisation working without needing to be connected to real hardware.
Why the current code is not resynchronising I have no idea, and I have never tried doing that. Maybe flush eveything received, close the UART down, wait for 500ms of idle before re-initialising and re-enabling the UART.
You should be able to craft a PIO program which can send out a UART data stream and have that send only partial bytes to help get resynchronisation working without needing to be connected to real hardware.
Statistics: Posted by hippy — Fri Dec 13, 2024 7:09 pm