Skip to main content
Visitor II
March 24, 2019
Question

Sampling data at 1 KHz with LSM6DSM

  • March 24, 2019
  • 1 reply
  • 584 views

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

    This topic has been closed for replies.

    1 reply

    ST Employee
    March 26, 2019

    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