AP_HAL_ChibiOS:correct KakauteH7 IMU label

This commit is contained in:
Henry Wurzburg 2023-04-27 07:21:26 -05:00 committed by Andrew Tridgell
parent de9024b633
commit e5336a8e9e
3 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# KakuteH7 Flight Controller
The KakuteH7 is a flight controller produced by [Holybro](http://www.holybro.com/).
The KakuteH7 is a flight controller produced by [Holybro](http://www.holybro.com/). This is the V1 version. Also called -BT for some time.
## Features
- STM32H743 microcontroller
- ICM20689 IMU
- MPU6000 IMU
- BMP280 barometer
- microSD card slot
- AT7456E OSD

View File

@ -57,8 +57,8 @@ PB13 SPI2_SCK SPI2
PB14 SPI2_MISO SPI2
PB15 SPI2_MOSI SPI2
# SPI4 for ICM20689
PE4 ICM20689_CS CS
# SPI4 for mpu6000
PE4 mpu6000_CS CS
PE2 SPI4_SCK SPI4
PE5 SPI4_MISO SPI4
PE6 SPI4_MOSI SPI4
@ -128,7 +128,7 @@ DMA_PRIORITY TIM1* TIM2* TIM5* TIM3* SPI4* SPI1*
DMA_NOSHARE SPI1*
# spi devices
SPIDEV icm20689 SPI4 DEVID1 ICM20689_CS MODE3 1*MHZ 4*MHZ
SPIDEV mpu6000 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 4*MHZ
SPIDEV sdcard SPI1 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
SPIDEV osd SPI2 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
@ -144,7 +144,7 @@ define HAL_I2C_INTERNAL_MASK 0
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
# one IMU
IMU Invensense SPI:icm20689 ROTATION_YAW_180
IMU Invensense SPI:mpu6000 ROTATION_YAW_180
# one BARO
BARO BMP280 I2C:0:0x76

View File

@ -3,7 +3,7 @@
include ../KakuteH7-bdshot/hwdef.dat
undef sdcard
undef icm20689
undef mpu6000
undef IMU
undef HAL_OS_FATFS_IO
undef HAL_BOARD_LOG_DIRECTORY
@ -57,7 +57,7 @@ define HAL_BATT2_CURR_SCALE 59.5
define HAL_BATT2_MONITOR_DEFAULT 4
SPIDEV dataflash SPI1 DEVID1 SDCARD_CS MODE3 104*MHZ 104*MHZ
SPIDEV bmi270 SPI4 DEVID1 ICM20689_CS MODE3 1*MHZ 10*MHZ # Clock is 100Mhz so highest clock <= 10Mhz is 100Mhz/16
SPIDEV bmi270 SPI4 DEVID1 mpu6000_CS MODE3 1*MHZ 10*MHZ # Clock is 100Mhz so highest clock <= 10Mhz is 100Mhz/16
IMU BMI270 SPI:bmi270 ROTATION_ROLL_180