Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resetting drdy_acc when reading sync data #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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