Check whether the parser still advances 16 bytes per packet. The ICM-42688-P datasheet lists a 16-byte format for the relevant standard accelerometer-plus-gyroscope configurations. With FIFO_HIRES_EN enabled, the extended format is 20 bytes. A KDS MO1630 can continue supplying a valid external 32.768 kHz clock while old firmware starts its second decode inside the first packet. A stable reference does not protect the software from a changed packet layout.
How a four-byte offset becomes misleading data
Suppose the raw capture starts on a real packet boundary. The first high-resolution packet occupies offsets 0 through 19, and the next begins at offset 20. A parser stepping by 16 bytes searches for a second header within the first packet. It then reads acceleration, rotation and timestamp fields from the wrong positions. Some values can still look plausible. Use the packet header and actual register configuration to identify the layout. Do not assume every sensor mode uses only these two sizes; standard configurations with a single sensor enabled can use another layout.
Reproduce the error without changing the oscillator
- Keep the board reference, output data-rate setting and capture conditions fixed. Change only the high-resolution format in the engineering test, and retain both the settings and raw byte sequence.
- Decode successive packets with an independent parser and the manufacturer's byte map. Verify the positions of temperature, timestamp and extension bits. A single SPI transfer can carry part of a packet or several packets; its byte count is not inherently the packet size.
- Verify CLKIN at an approved point and check the actual output cadence separately. If the input clock is healthy and packet boundaries are wrong, correct the decoder and buffer configuration rather than tagging the oscillator lot for frequency instability.
Related selection guide: MERLIN Crystal Timing: Reconstructing ICM-42688-P FIFO Timing When a 32.768 kHz Reference Changes the Output Rate | Crystal & Oscillator Handbook
Resource link: https://www.mecxtal.com.cn/en/handbook/icm42688p-clkin-odr-fifo-time-units.html
