HAL_ChibiOS: enable ICM-40609 on mRoNexus

This commit is contained in:
Andrew Tridgell 2021-01-06 16:52:08 +11:00
parent 0f49058fbd
commit 14433c3ae3

View File

@ -143,8 +143,7 @@ PC6 SENSORS_SPI3_EN OUTPUT HIGH
PC7 SENSORS_SPI4_EN OUTPUT HIGH PC7 SENSORS_SPI4_EN OUTPUT HIGH
SPIDEV adis16470 SPI2 DEVID1 CS_ADIS16470 MODE3 1*MHZ 2*MHZ SPIDEV adis16470 SPI2 DEVID1 CS_ADIS16470 MODE3 1*MHZ 2*MHZ
# SPIDEV icm40609d SPI3 DEVID2 CS_ICM40609D MODE3 2*MHZ 8*MHZ SPIDEV icm40609d SPI3 DEVID2 CS_ICM40609D MODE3 16*MHZ 16*MHZ
#! ^^WHEN AVAILABLE
SPIDEV rm3100 SPI3 DEVID4 CS_RM3100 MODE3 2*MHZ 8*MHZ SPIDEV rm3100 SPI3 DEVID4 CS_RM3100 MODE3 2*MHZ 8*MHZ
SPIDEV dps310 SPI4 DEVID3 CS_DPS310 MODE3 5*MHZ 5*MHZ SPIDEV dps310 SPI4 DEVID3 CS_DPS310 MODE3 5*MHZ 5*MHZ
SPIDEV ramtron SPI4 DEVID10 CS_FRAM MODE3 8*MHZ 8*MHZ SPIDEV ramtron SPI4 DEVID10 CS_FRAM MODE3 8*MHZ 8*MHZ
@ -176,11 +175,7 @@ define HAL_GPIO_C_LED_PIN 2
# 2 IMUs (Analog Devices ADIS16470 and Invensense / TDK ICM40609D) # 2 IMUs (Analog Devices ADIS16470 and Invensense / TDK ICM40609D)
IMU ADIS1647x SPI:adis16470 ROTATION_ROLL_180 HAL_DRDY_ADIS16470_PIN IMU ADIS1647x SPI:adis16470 ROTATION_ROLL_180 HAL_DRDY_ADIS16470_PIN
# IMU Invensense SPI:icm40609d ROTATION_NONE IMU Invensensev3 SPI:icm40609d ROTATION_NONE
#! ^^Need to confirm orientation
define HAL_DEFAULT_INS_FAST_SAMPLE 1
#! ^^Set to 3 when ICM40609D driver is available
# 1 Absolute Pressure Sensor (Infineon DPS310) # 1 Absolute Pressure Sensor (Infineon DPS310)
BARO DPS280 SPI:dps310 BARO DPS280 SPI:dps310