2021-06-29 04:42 AM
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
2021-06-29 07:29 AM
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