cancel
Showing results for 
Search instead for 
Did you mean: 

Sampling data at 1 KHz with LSM6DSM

steba
Associate

Hello,

I am using LSM6DSM in Mode 1, 250 dps full scale, high performance mode enable and I am reading data from OUTZ_L_G and OUTZ_H_G registers. My application must sample gyro data at 1 KHz, how have I to configure ODR, FTYPE, etc to get data in the correct way?

Sorry, I am new to this topic.

Thanks

1 REPLY 1
Eleon BORLINI
ST Employee

hi steteb, which is your target application? Do you need to guarantee a-1kHz-bandwidth on each axis -that is to be able to detect axl variation of 1ms- (and in this case you need to select a higher ODR as per Nyquist, e.g. 3.33kHz)? Or you are bound to acquire at 1kHz and you are not interested in frequencies above e.g. 500Hz (in this case, you can use ODR 12.5Hz and average on exactly 80 samples)? In this case you can set FTYPE as you want

Regards