Skip to main content
Associate II
January 24, 2024
Solved

Using I2C1 and I2C2 with HSI

Hi,

I am planning to use STM32F030C8 in my design without external  crystal. I will use HSI as clock. Can I use I2C1 (PB8, PB9) and I2C2 (PB10, PB11) with HSI? 

 

Thank you for the help,

 

 

    This topic has been closed for replies.
    Peter BENSCH
    Peter BENSCHBest answer
    ST Technical Moderator
    January 24, 2024

    Of course you can do that. Unlike UART, I2C has a clock line via which the devices are synchronised.

    Regards
    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

    1 reply

    Peter BENSCH
    Peter BENSCHBest answer
    ST Technical Moderator
    January 24, 2024

    Of course you can do that. Unlike UART, I2C has a clock line via which the devices are synchronised.

    Regards
    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.