inav icon indicating copy to clipboard operation
inav copied to clipboard

I2C1 not working on AT32F43X target

Open ujara opened this issue 3 years ago • 1 comments

Current Behavior

i2C device non operative on i2C1 port of AT32F43x target using inav 6.1.1

Steps to Reproduce

  1. Add i2c device to i2C1 bus on any AT32F43x target running inav 6.1.1 like BMP280 barometer in i2C mode

Expected behavior

i2C device shows up in inav 6.1.x configurator after addition

Suggested solution(s)

Observed in "drivers/bus_i2c_at32f43x.c" in i2C hardware map, i2C1 is GPIO_MUX_8 when it should be GPIO_MUX_4. The datasheet from Artery Semi. says its MUX4. Changing to MUX4 does allow i2C device added on i2C1 to show up and behave correctly on i2C1 for AT32F435x target

  • FC Board name and vendor: Custom board
  • INAV version string: 6.1.1

ujara avatar Oct 08 '23 20:10 ujara

#9412

DzikuVx avatar Oct 27 '23 07:10 DzikuVx