v5x/v6x: update IMU sensors (remove ISM330DLC)

This commit is contained in:
Beat Küng
2021-01-12 14:11:40 +01:00
committed by Daniel Agar
parent 48f125f150
commit 9f5dee2ecf
8 changed files with 21 additions and 24 deletions

View File

@@ -34,7 +34,6 @@ px4_add_board(
imu/adis16497
imu/bosch/bmi088
imu/invensense/icm20649
imu/st/ism330dlc
irlock
lights/blinkm
lights/rgbled

View File

@@ -2,29 +2,28 @@
#
# PX4 FMUv6X specific board sensors init
#------------------------------------------------------------------------------
board_adc start
# Start Digital power monitors
ina226 -X -b 1 -t 1 -k start
ina226 -X -b 2 -t 2 -k start
# Internal SPI bus ICM-20649
# Internal SPI BMI088
bmi088 -A -R 4 -s start
bmi088 -G -R 4 -s start
# Internal SPI bus ICM42688p
icm42688p -R 6 -s start
# Internal SPI bus ICM-20649 (hard-mounted)
icm20649 -R 2 -s start
# Internal SPI bus ISM300DLC
ism330dlc -s start
# Internal SPI bus BMI088 accel/gyro
bmi088 -A -R 12 -s start
bmi088 -G -R 12 -s start
# Possible internal compass
# Internal magnetometer on I2c
bmm150 -I start
# Possible internal Baro
bmp388 -I start
bmp388 -I -a 0x77 start
bmp388 -I start
# Baro on I2C3
ms5611 -X start

View File

@@ -40,7 +40,7 @@ constexpr px4_spi_bus_t px4_spi_buses[SPI_BUS_MAX_BUS_ITEMS] = {
initSPIDevice(DRV_IMU_DEVTYPE_ICM20649, SPI::CS{GPIO::PortI, GPIO::Pin9}, SPI::DRDY{GPIO::PortF, GPIO::Pin2}),
}, {GPIO::PortI, GPIO::Pin11}),
initSPIBus(SPI::Bus::SPI2, {
initSPIDevice(DRV_IMU_DEVTYPE_ST_ISM330DLC, SPI::CS{GPIO::PortH, GPIO::Pin5}, SPI::DRDY{GPIO::PortA, GPIO::Pin10}),
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::PortH, GPIO::Pin5}, SPI::DRDY{GPIO::PortA, GPIO::Pin10}),
}, {GPIO::PortF, GPIO::Pin4}),
initSPIBus(SPI::Bus::SPI3, {
initSPIDevice(DRV_GYR_DEVTYPE_BMI088, SPI::CS{GPIO::PortI, GPIO::Pin8}, SPI::DRDY{GPIO::PortI, GPIO::Pin7}),

View File

@@ -34,7 +34,6 @@ px4_add_board(
imu/adis16497
imu/bosch/bmi088
imu/invensense/icm20649
imu/st/ism330dlc
irlock
lights/blinkm
lights/rgbled