Skip to content

Commit

Permalink
hwdef: disable I2C DMA on Pixhawk6X
Browse files Browse the repository at this point in the history
this prevents an issue with the BMI088 and external compass on GPS1
  • Loading branch information
tridge committed Aug 2, 2022
1 parent 01e6809 commit 949ef22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ PF15 I2C4_SDA I2C4
I2C_ORDER I2C4 I2C1 I2C2 I2C3
define HAL_I2C_INTERNAL_MASK 1

# this board is very tight on DMA channels. To allow for more UART DMA
# we disable DMA on I2C. This also prevents a problem with DMA on I2C
# interfering with IMUs
NODMA I2C*
define STM32_I2C_USE_DMA FALSE

# heater
PB10 HEATER_EN OUTPUT LOW GPIO(80)
define HAL_HEATER_GPIO_PIN 80
Expand Down

0 comments on commit 949ef22

Please sign in to comment.