Skip to main content
mgrnr80
Visitor II
December 6, 2020
Question

STM32G030K6Tx: configuring HSE crystal

  • December 6, 2020
  • 3 replies
  • 1363 views

With STM32CubeIDE there is only one option to configure HSE clock, i.e. BYPASS Clock Source, how to configure a crystal resonator?

This topic has been closed for replies.

3 replies

Vangelis Fortounas
Associate II
December 6, 2020

Hello

As i can see from Datasheet for LQPF32 there is not any OSC_OUT pin ,

STM32CubeIDE gives only this option because the absense of OSC_OUT pin ,

Bowman32
ST Employee
December 7, 2020

Hi @mgrnr80​ 

You can refer to STM32G030x6 datasheet DS12991 Rev 3 table 12 Pin assignment and description.

For LQFP32 package you can only use HSE in bypass mode but with LQFP48 package you can use HSE crystal mode.

Also, you can refer to reference manual RM0454 Rev 5 section 5.2.1 HSE clock

Please mark my answer as best by clicking on the "Select as Best" button if it fully answer you question. This will help other users to find it more quickly.

Bouraoui

RDermenci
Associate II
September 9, 2021

Am I missing something? According to STM320G0x6 datasheet there's OSC32_IN(PC14) and OSC32_OUT(PC15) pins.

So, how can't we configure HSE clock?

waclawek.jan
Super User
September 9, 2021

> OSC32_IN(PC14) and OSC32_OUT(PC15) pins

These are related to LSE, not to HSE.

JW