Skip to main content
Rushit
Associate II
June 23, 2023
Question

I2C pins

  • June 23, 2023
  • 3 replies
  • 3446 views

Hello,

I used STM32L031K6 Nucleo board.

When I Enable I2C it select by default PA10(SDA) & PA9(SCL) pins for Communication it not work, Then I change Pins for I2C PB7(SDA) & PB6(SCL) it work well.

so any additional configurations need for use PA10 & PA9 pins ? 

I2C Config.png

    This topic has been closed for replies.

    3 replies

    ST Employee
    June 23, 2023

    Hi @Rushit 

    No additionnal Configuration required.  Can you confirm me that your GPIOs are in pull up mode?

    Regards

    Diane

    Rushit
    RushitAuthor
    Associate II
    June 26, 2023

    Hi @Diane POMABIA 

    Yes I try with software pull-up. But not work. 

     

    ST Employee
    June 26, 2023

    Hi @Rushit 

    Do you have possibility to share with me screen of SCL and SDA signal ?

    Regards

    Diane

    Rushit
    RushitAuthor
    Associate II
    June 26, 2023

    is it any problem in PA10 & PA9 pins ?