-
Notifications
You must be signed in to change notification settings - Fork 13
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
Enable the new sensor board for Saluki-FMU2 #736
Conversation
bc30660
to
279711a
Compare
The new sensor board components have been tested on FMU2 + new sensor board. The fixes for the IMU driver are in upstream review, will wait for response from there before merging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replacing icm42688p & icm20649 with icm40609d may cause problems. We have (a lot of) devices with old sensor board. How to handle those? We need detect these somehow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jaakko Isohella said that the new sensor board is the only one supported by FMU2. So we just drop the support for the old "rigid flex" board.
Signed-off-by: Jukka Laitinen <[email protected]>
If DRDY signal is used, the interrupt status needs to be cleared at FIFO reset in order to make DRDY go back inactive. Otherwise there won't be a falling edge interrupt at the next sample. Signed-off-by: Jukka Laitinen <[email protected]>
Disable I2C to make sure that the sensor doesn't switch to that by accident Signed-off-by: Jukka Laitinen <[email protected]>
As the sensor can directly report the amount of samples in the fifo, use it to simplify the logic. Also combine the fifo empty/fifo overflow checks for interrupt and polling modes. Signed-off-by: Jukka Laitinen <[email protected]>
279711a
to
356c9e4
Compare
Rotated the BMM350 to the correct orientation in saluki-pi submodule. It has moved to underneath the sensor board. |
Enable the new sensor board for Saluki-FMU2