Skip to content

AP_InertialSensor: ensure very regular period on MPU6000 #27893

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

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

Conversation

andyp1per
Copy link
Contributor

Split out from #27029 as its probably not that necessary, but replicates something we already do on the v3. The idea here is to avoid two SPI reads in order to get FIFO data. This is because we insert a fixed 100us delay for each SPI thread loop and two reads results in therefore an additional 200us delay. All it tries to do is synchronize the fifo reads with the expected output rate

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

Successfully merging this pull request may close these issues.

1 participant