From 595be4d04d24e8b84e3741189df277a30524d39c Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Wed, 24 May 2023 20:52:35 +0100 Subject: [PATCH] AP_HAL_ChibiOS: reduce IMU SPI low speed to 1Mhz to avoid chip initialization issues --- libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat index 95718f2c3a..95c4f2bf7c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekH743/hwdef.dat @@ -181,10 +181,10 @@ define HAL_STORAGE_SIZE 16384 STORAGE_FLASH_PAGE 14 # spi devices -SPIDEV icm42688 SPI1 DEVID1 IMU1_CS MODE3 2*MHZ 16*MHZ # Clock is 100Mhz so highest clock <= 24Mhz is 100Mhz/8 +SPIDEV icm42688 SPI1 DEVID1 IMU1_CS MODE3 1*MHZ 16*MHZ # Clock is 100Mhz so highest clock <= 24Mhz is 100Mhz/8 SPIDEV mpu6000 SPI1 DEVID1 IMU1_CS MODE3 1*MHZ 4*MHZ SPIDEV icm20602 SPI4 DEVID1 IMU2_CS MODE3 1*MHZ 4*MHZ -SPIDEV icm42605 SPI4 DEVID1 IMU3_CS MODE3 2*MHZ 16*MHZ +SPIDEV icm42605 SPI4 DEVID1 IMU3_CS MODE3 1*MHZ 16*MHZ SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ