Question
Selecting pins for I2C1 and I2C2, if AF4 covers ''I2C1...3'' ?
Posted on March 16, 2018 at 16:56
Hi folks,
I am a little confused by the AF selection on some pins in the case of using multiple I2C's.
I am bringing up a new board where board I2C1 and I2C2 are being used on an F4 micro.I2C1 is on PB6 & PB7, I2C2 is on PB9 & PB10.Looking at the MCU manual, it shows for the GPIO AF multiplexer: 'AF4 (I2C1..3, I2CFMP1)'
If I set PB9 to AF4, how is there a distinction between the pin functioning for I2C1 or I2C2?
#i2c #gpio #f4