Unable to use I2C_1 on UART_1 pins (PB_7 and PB_6) with Mbed OS

I need to connect two I2C sensors with the same slave address to the RAK3172 board.

One of them is connected to pins PA_11 and PA_12 and works properly…

but as soon as I try to configure I2C1 on pins PB_7 (SDA) and PB_6 (SCL) the debugger gets stuck.

Has anyone been able to use a second I2C port with RAK3172?

This works
imagen

But this doesn’t work
imagen

Some more information.
PB7 and PB6 (I2C_1) work using Arduino Core (stm32duino).

So the problem must be somewhere in the mbed implementation

1 Like

Finally it was a mbed bug resolved here

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.