Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active March 14, 2020 15:40
Show Gist options
  • Save tstellanova/0e21246b01c92ad27c84d42563d56785 to your computer and use it in GitHub Desktop.
Save tstellanova/0e21246b01c92ad27c84d42563d56785 to your computer and use it in GitHub Desktop.
Pixhawk flight controller i2c bus labels

The labels for the ports used on Pixhawk are arbitrary and based on historical context

  • The internal I2C bus is bus 0 in ArduPilot (I2C3 in hardware)

  • Port label I2CA is bus 3 in ArduPilot (I2C4 in hardware)

  • Port label I2CB is bus 2 in ArduPilot (I2C2 in hardware)

  • Port label GPS is bus 1 in ArduPilot (I2C1 in hardware)

  • Durandal has a port labeled "I2C A", corresponding to I2C4 in hardware, which corresponds to PF14/PF15 on stm32h7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment