2025-11-28 5:36 AM
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
Solved! Go to Solution.
2025-11-28 5:58 AM - edited 2025-11-28 5:59 AM
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?
2025-11-28 5:52 AM - edited 2025-11-28 5:57 AM
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.
2025-11-28 5:58 AM - edited 2025-11-28 5:59 AM
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?
2025-11-28 6:10 AM
I use LQFP32.
2025-11-28 6:10 AM
I see that. That is why I said this chip does not have the OSC_OUT pin available.
2025-11-28 6:14 AM
@MTora.1 wrote:
I use LQFP32.
That's normal. Did you refer to the datasheet?:
No OSC_OUT available in LQFP32.