invensense icm20689 improvements and fixes

- refactor Run() into simple state machine
 - perform reset and configuration in sensor bus thread
 - when using data ready interrupt skip checking FIFO count
 - fix periodic temperature sampling (rate limit to 1 Hz)
This commit is contained in:
Daniel Agar
2020-02-22 01:56:05 -05:00
parent 5ab4cf3d62
commit af6213e85e
3 changed files with 381 additions and 247 deletions
+3 -1
View File
@@ -7,10 +7,12 @@ adc start
# Internal SPI bus ICM-20602
mpu6000 -R 8 -s -T 20602 start
#icm20602
# Internal SPI bus ICM-20689
mpu6000 -R 8 -z -T 20689 start
# new sensor drivers (in testing)
#icm20602 start
#icm20689 start
# Internal SPI bus BMI055 accel