I2C with STM32l432kc
I2C with STM32l432kc
I need to connect 2 i2c device on my board and the pinout of the board show me that he as i2c on pin PA_9/PA_10 and PB_7/PB_6, but when i do the i2c scanner only the second one recognize the i2c, why? It's normal that only one i2c works or I'm doing something wrong?
Re: I2C with STM32l432kc
If it is a nucleo32 check the schematic. I guess you have some SB to rework.
Re: I2C with STM32l432kc
Yes is a nucleo32 but could you be more explanatory? I don't know what you're talking about
Re: I2C with STM32l432kc
I talk about Soldier Bridge. Read the user manual or the schematic of the bord to see if pins you used are correct.
Re: I2C with STM32l432kc
Just think about your first post:
Moreover they are both on the same I2C: I2C1. So if you want 2 differents I2C at same time. You should connect all I2C peripherals on the same or use the I2C3 IP.
About pins and schematics with SB: As you can see PB6/PB7 are available twice due to SB configurations.
This is the pinName. You have to use PA9/PA10 and PB7/PB6 which are the pin number used at sketch level.PA_9/PA_10 and PB_7/PB_6
Moreover they are both on the same I2C: I2C1. So if you want 2 differents I2C at same time. You should connect all I2C peripherals on the same or use the I2C3 IP.
About pins and schematics with SB: As you can see PB6/PB7 are available twice due to SB configurations.