Skip to content

Fix resetting drdy_acc when reading sync data#15

Open
rikba wants to merge 3 commits intoboschsensortec:masterfrom
rikba:feature/reset_status
Open

Fix resetting drdy_acc when reading sync data#15
rikba wants to merge 3 commits intoboschsensortec:masterfrom
rikba:feature/reset_status

Conversation

@rikba
Copy link

@rikba rikba commented Jul 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant