cancel
Showing results for 
Search instead for 
Did you mean: 

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

vtall.1
Associate
 
2 REPLIES 2
Eleon BORLINI
ST Employee

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

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