Arm Mbed OS support forum

STM32WLE5: I2C unknown instance

I am building a program with two APDS9930 I2C distance sensors.

Both use the same I2C slave address, so I decided to use 2 I2C peripherals (STM32WLE5 has 3 I2C available).

I2C_2 and I2C_3 work with any of the pin configurations available.

But I2C_1 does not work with any of the possible pin configurations for SDA/SCL.

I always get the following error (I2C unknows instance):


Could you help me to find a solution for this?

Kind regards

Finally it was a mbed bug solved here