Skip to main content
MSing.8
Associate II
September 4, 2022
Question

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

  • September 4, 2022
  • 2 replies
  • 1602 views

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?

This topic has been closed for replies.

2 replies

AScha.3
Super User
September 4, 2022

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""."
Tesla DeLorean
Guru
September 4, 2022

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

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