Skip to main content
Visitor II
September 10, 2021
Solved

For the IIS3dWB ODR and sampling rate...

  • September 10, 2021
  • 1 reply
  • 1533 views

I need to confirm what the ODR represents - the default ODR is 26667Hz. But what is the actual internal sample rate pre anti-aliasing filter (which must be implemented internally)?

Assuming the actual Fsample is at least 26667, then ODR simply represents the output data rate with respect to additional bandwidth filtering - correct?

To calculate the data parameters for implementation of an FFT, which figure do I use - 26667 or ODR? For example:

Is Delta-F (spectral resolution) = 26667 / N pts always, regardless of ODR?

Similarly, is sample period (Ts) = 1/26667 always, regardless of ODR?

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @ESpen.1​ ,

    the internal sample rate is of course > 26.7kHz, and is a multiple of this number, since the frequency is typically divided in a clock tree structure.

    This value coincides with the output data rate, or ODR, in the single axis mode for one axis, and in the three axis mode for three axis.

    The internal sampling frequency doesn't matter in terms of FFT operation on the data signal. If you want to generate an FFT from the data, you have to consider a 1/ODR time base so basically the answer to your questions:

    >> Is Delta-F (spectral resolution) = 26667 / N pts always, regardless of ODR?

    >> Similarly, is sample period (Ts) = 1/26667 always, regardless of ODR?

    Is positive.

    Consider please also that the flatness of the frequency is guaranteed up to about 7kHz (see datasheet, p.19), since this is the f0 of the MEMS structure:

    0693W00000DnFxSQAV.png 

    If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.

    -Eleon

    1 reply

    ST Employee
    September 15, 2021

    Hi @ESpen.1​ ,

    the internal sample rate is of course > 26.7kHz, and is a multiple of this number, since the frequency is typically divided in a clock tree structure.

    This value coincides with the output data rate, or ODR, in the single axis mode for one axis, and in the three axis mode for three axis.

    The internal sampling frequency doesn't matter in terms of FFT operation on the data signal. If you want to generate an FFT from the data, you have to consider a 1/ODR time base so basically the answer to your questions:

    >> Is Delta-F (spectral resolution) = 26667 / N pts always, regardless of ODR?

    >> Similarly, is sample period (Ts) = 1/26667 always, regardless of ODR?

    Is positive.

    Consider please also that the flatness of the frequency is guaranteed up to about 7kHz (see datasheet, p.19), since this is the f0 of the MEMS structure:

    0693W00000DnFxSQAV.png 

    If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.

    -Eleon

    ESpen.1Author
    Visitor II
    September 15, 2021
    Thank you Eleon...