BMI08x_SensorAPI icon indicating copy to clipboard operation
BMI08x_SensorAPI copied to clipboard

Fix resetting drdy_acc when reading sync data

Open rikba opened this issue 2 years ago • 0 comments

On BMI088 the bmi08a_get_synchronized_data method does not reset ACC_STATUS register. In order to reset the drdy_acc flag, any accelerometer data register has to be read. Here, we replace BMI08_REG_ACCEL_GP_0 with BMI08_REG_ACCEL_X_LSB and read all six bytes immediately. The drdy_acc resets properly with this.

rikba avatar Jul 17 '23 17:07 rikba