05-06-2021 02:48 PM
In Bosch Sensortec | BMI270 Data sheet:
page 110 - Register (0x42) GYR_CONF says that odr_6k4 is reserved.
page 2 says: Output data rates (ODR): 25 Hz ... 6.4 kHz (gyroscope) and 0.78 Hz ... 1.6 kHz (accelerometer)
How can I set odr_6k4 for gyro ?
If gyro ODR is 3k2 I'm getting about 60 interrupts per sec (with my watermark settings). If I chane ODR to 6k4 I'm getting about 24 interrupts per sec.
05-06-2021 05:17 PM
Hi,
Thanks for your inquiry.
If you set register 0x45 bit-3 gyr_fifo_filt_data to 0, then gyro unfiltered data will be filled in FIFO at 6.4KHz rate.
Thanks.
10-11-2021 06:01 PM
I set register 0x45 bit-3 gyr_fifo_filt_data to 0 but gyro data ready interrupt is still 200Hz and not 6.4KHz rate.
Do I need to set other register?
10-15-2021 11:36 PM
Hello kpoon12,
Technically, you need to clear 4th bit in 0x45 register.
But, this is not that all for your fifo setting.
Therefore, I don't recommend to develop BMI270 w/o API. (If now, you are using our BMI270 API, that's great!)
Please BMI270 API as below URL.
https://github.com/BoschSensortec/BMI270-Sensor-API
And here is the my gyro fifo 6.4k ODR example code as attaced file.
Thanks,