More ICM45 fixes #108

Closed
opened 2026-04-05 17:51:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @kounocom on 4/6/2025

This PR fixes 2 more issues with ICM45*:

  • SensorManager.h now scans for an IMU twice, since ICM45* may not respond on the first I2C transaction. No other IMUs have this issue, so the 2nd scan will never run and therefore have any effect on them.
  • ICM45* will never fully empty the FIFO, instead leaving one packet at all times. Not sure why, but fully emptying it will eventually cause FIFO corruption. This might be documented in AN-000364, just like the first issue, but no one's found this document anywhere on the web yet.
*Originally created by @kounocom on 4/6/2025* This PR fixes 2 more issues with ICM45*: - SensorManager.h now scans for an IMU twice, since ICM45* [may not respond on the first I2C transaction](https://github.com/tdk-invn-oss/motion.mcu.icm45686.driver/blob/fb4275febca58596774cee0dc0654cdc058a640c/icm45686/imu/inv_imu_driver.c#L66C5-L69). No other IMUs have this issue, so the 2nd scan will never run and therefore have any effect on them. - ICM45* will never fully empty the FIFO, instead leaving one packet at all times. Not sure why, but fully emptying it will eventually cause FIFO corruption. This might be documented in AN-000364, just like the first issue, but no one's found this document anywhere on the web yet.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#108