Skip to main content
MTora.1
Associate III
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

 

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

TDK
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

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
MTora.1
MTora.1Author
Associate III
November 28, 2025

I use LQFP32.

TDK
Super User
November 28, 2025

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
mƎALLEm
mƎALLEmBest answer
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?

 

"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."