AnsweredAssumed Answered

Selecting pins for I2C1 and I2C2, if AF4 covers "I2C1...3" ?

Question asked by pullin.andrew on Mar 16, 2018
Latest reply on Mar 17, 2018 by waclawek.jan

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?

Outcomes