2020-06-03 12:17 PM
Hi,
I use the DISCO-L072CZ-LRWAN1 with the current configuration:
I2C1 ==> PB8 and PB9
I2S ==> PB13, PB12 and PB15.
And I want to use the other line I2C I2C2, but the I2C2_SCL is also on the PB13 (used by I2S).
I tried to configure it with CubeMx:
But, i did not found the PB10 on the Board?
There are other pins for I2C2?
Best regards.
2020-06-03 12:43 PM
I don't believe PB10/PB11 escape the module board, and not sure if they connect to anything internally.
https://community.st.com/s/feed/0D50X00009bLS7uSAG
You can attach multiple devices to I2C1, or pick two generic GPIO to bit-bang an additional I2C bus in a pinch.
2020-06-04 02:55 AM
Thank you for the answer.
I have several 3.3 and 5V sensors, so I want to use I2C1 with 3.3v sensors and add I2C2 to communicate with 5V sensors.
can you explain further what you mean by: "or pick two generic GPIO to bit-bang an additional I2C bus in a pinch" ? does that solve my problem?
Best Regards.