cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743: Which GPIO pins can be used as I2C (SDA & SCL) ?

MSing.8
Associate III

When configuring I2C in STM32CubeIDE, the SDA & SCL pins are automatically assigned.

Can I assign pins PA10 and PA9 on STM32H743 as I2C (SDA & SCL) ?

What things i should keep in mind when using pins other than the one auto assigned by STM32CubeIDE?

2 REPLIES 2
AScha.3
Chief III

auto assigned by STM32CubeIDE are the pins, that are connected to the module you choose.

so you can not use the I2C module on xx pins.

or you write your own software I2C lib, then can use this all pins (no hardware used).

If you feel a post has answered your question, please click "Accept as Solution".

Pull the devices Data Sheet and go through the Alternate Function pin tables..​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..