Skip to main content
vtall.1
Associate
June 9, 2022
Question

I am trying to read the data from LSMDSOX sensor accelerometer data from FIFO sample by sample. Is there a way to read multiple number of samples/all the data from FIFO buffer

  • June 9, 2022
  • 2 replies
  • 984 views

..

This topic has been closed for replies.

2 replies

Eleon BORLINI
ST Employee
June 10, 2022

Hi @vtall.1​ ,

please have a look to the Github example for the FIFO multiread C implementation --> lsm6dsox_fifo.c.

You can also check the AN5272 application note from p.102 for further information about the FIFO-related modes.

-Eleon

vtall.1
vtall.1Author
Associate
June 10, 2022

Hi Eleon,

Thanks for your reply!

From the example you shared its reading the FIFO one sample at a time.Is there a way to dump the FIFO onto my processor when it is full. do you think you could quickly walk me through the procedure to read a full FIFO?

Thanks,

Ramya