Skip to main content
Visitor II
June 29, 2021
Question

Hi What the accuricy of sample if my sensor ODR is 52HZ ? I want to know the accuricy when I use or implement the FIFO and instead of to sample in 52 HZ ~every 20 milliseconds (due to ready data interrupt )

  • June 29, 2021
  • 1 reply
  • 635 views

I want to get data from fifo every 30 seconds but I need to set my system time to every sample, so I need to know how many time or what the accuricy in 52 HZ to set time when I read the data from FIFO

    This topic has been closed for replies.

    1 reply

    ST Employee
    June 29, 2021

    Hi @HTurj.1​ ,

    please note first that the ODR value is a nominal value, meaning that the actual ODR for a specific sensor (by the way, which sensor are you using?) has to be characterized by enabling the data ready (DRDY bit on interrupt INT1 or INT2) and count it. It might differ from the nominal value of about +-3%.

    In some cases, depending on the device you are using, you can also add the timestamp to the acquired data.

    Are you interested in acquiring batches of N samples (full FIFO) every 30 seconds, right?

    -Eleon