2025-02-18 10:52 PM
hi,
we use one LSM6DSL sensor to read 3 axis acc FIFO data each second, but after some times, the FIFO out data become misaligned.
the sensor setting is below:
Solved! Go to Solution.
2025-02-20 07:36 AM
Hi @cdong ,
It happens when you miss some word fifo.
I suggest you always check the TAG position, after the tag there are 2 bytes per axis: X Y Z.
2025-02-20 07:36 AM
Hi @cdong ,
It happens when you miss some word fifo.
I suggest you always check the TAG position, after the tag there are 2 bytes per axis: X Y Z.
2025-02-20 01:57 PM
Hi All,
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Jake
ST Support
2025-02-20 11:43 PM
what is the TAG position? do you mean we need to check pattern(FIFO_STATUS3 & FIFO_STATUS4) before reading FIFO?
2025-02-21 01:25 AM
2025-02-21 01:41 AM
thanks for your reply, but we found that, if we don't read FIFO immediately when the water mark is set, the pattern will become not right, and the data became misaligned. for example the pattern is 2, but reading data is right like as [acc_x, acc_y, aa_z]. because our product needs to read FIFO with one second interval, so when the water mark is set, our application didn't read pattern and FIFO at once. then the issue happened.
2025-02-21 01:57 AM
my email is chun.dong@murata.com, you can directly contact me by email, because this issue has troubled us for a long time, thank you.