@Vincent wrote: Can you print out the frame header which you parse error to cause the function exited? Your implementation looks fine and our API is considering all possible FIFO frame header situation in our API code. It will only finish parsing if they met 0x8080 as padding bytes under FIFO header mode. The length for aux data is hardcoded, it's not using the setting as far as I can see. When I had the aux read size set to 6 I would expect a full frame to have 6 aux + 6 accel + 6 gyro = 18 bytes, but the library assumes 20 bytes, so as soon as it seems a frame with aux data in it it breaks.
... View more