Thank you for your awesome library! I am using it for an experimental model for my PhD.
I need to reduce the data rates because I run this huge loop that takes about 50 ms (20 Hz) and I have some issues with I2C hanging.
I noticed that for the ITG-3200 Gyro you set DLPF_CFG=3, which sets the internal clock to 1 kHz. Then you set the clock divider to 10. From the example they give in the schematic, it seems that you set the sample rate to 1000/(10+1)= 91 Hz.
Am I missing something here?
The sensor can be setup with different rate, check the datasheet what your model can support.
Also, you can introduce a clever output that doesnt return too much information and reduce to 20hz
Thank you for your awesome library! I am using it for an experimental model for my PhD. I need to reduce the data rates because I run this huge loop that takes about 50 ms (20 Hz) and I have some issues with I2C hanging. I noticed that for the ITG-3200 Gyro you set DLPF_CFG=3, which sets the internal clock to 1 kHz. Then you set the clock divider to 10. From the example they give in the schematic, it seems that you set the sample rate to 1000/(10+1)= 91 Hz. Am I missing something here?