2025-01-03 06:23 AM - last edited on 2025-01-03 06:56 AM by Mike_ST
Hi, community,
I have a bespoke board running an rp2040 and have been coding the LSM6DSO from the spec, along with using web-found python and cpp examples as starter code. There are several things I haven't found enough detail on and would like help.
1. if I read 2 byte temperature from the fifo data address, do I have to still read the full 6 bytes from the fifo data register and toss the 4 unused bytes, to keep the fifo syncronized with 6 byte data reads? Or can I read 2 for the temperature tag, then read 6 on the next gyro or acc tag?
2. how do I uncompress compressed data from the fifo? The only reference I could find leads to a dead URL. And same thing, if compressed, do I still need to read 6 bytes? Related to that, the driver cpp code on github seems to be empty, as if it was once there but was removed.
3. How do I decode the fifo timestamp info?
thank you,
bob s
2025-01-03 10:26 AM
nevermind on items 2 and 3, I figured those out. Still interested in item 1.
One might assume compressed data would take up less than 6 bytes, else what does compression do?