Multiple GPIO same I2C peripheral/alternate function
Hi,
Probably a dump question but wanted to make sure I got it right.
On a STM32 MCU, lets say
PB0/PB1 (scl/sda) have AF4 as I2C1
PB5/PB6 (scl/sda) have AF4 as I2C1
If I configure all PB0/PB1/PB5/PB6 to use AF4 as I2C1,
Enabling/reading/writing on I2C1 works as expected as long as the slave devices on (PB0PB1 and PB5PB6) have different addresses?
Or should we only have one set of pins (PB0PB1 or PB5PB6) configured to use I2C1 ?
Thank you.
