jfmateos
(jfmateos)
1
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](https://forum.rakwireless.com/uploads/default/original/2X/3/31eeda2cca8c15c129d88326c70d39f6aea21d6e.png)
But this doesn’t work
![imagen](https://forum.rakwireless.com/uploads/default/original/2X/a/aa06a4ddf5df24dc4180da9c2f71d23a709a1bc5.png)
jfmateos
(jfmateos)
2
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
jfmateos
(jfmateos)
3
Finally it was a mbed bug resolved here
1 Like
system
(system)
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.