cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO

schaefer0
Associate

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

1 REPLY 1
schaefer0
Associate

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?