Skip to main content
Graduate
November 28, 2025
Solved

stm32g030 External crystal pin map

  • November 28, 2025
  • 2 replies
  • 174 views

Hi everyone
I use STM32G030. I'm gonna set the clock system to HSE on the External crystal, but I couldn't find the proper RCC_OCS_OUT.
What are the MCU's crystal correct pins?
Please help me set the correct pinout.
Thank you

 

MTora1_0-1764336950376.png

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello @MTora.1 ,

    You need a crystal oscillator (XO) not a crystal (XTAL) as OSC_OUT is not available in this MCU part number.

    Please refer to this article: 

    Do you know when to use a crystal or an oscillator?

     

    2 replies

    Super User
    November 28, 2025

    This chip does not have an OSC_OUT pin and cannot use a crystal. Only bypass mode is available.

    The LQFP48 package has this pin. Others do not.

    TDK_0-1764338216687.png

     

    MTora.1Author
    Graduate
    November 28, 2025

    I use LQFP32.

    Super User
    November 28, 2025

    I see that. That is why I said this chip does not have the OSC_OUT pin available.

    mƎALLEmAnswer
    Technical Moderator
    November 28, 2025

    Hello @MTora.1 ,

    You need a crystal oscillator (XO) not a crystal (XTAL) as OSC_OUT is not available in this MCU part number.

    Please refer to this article: 

    Do you know when to use a crystal or an oscillator?