cancel
Showing results for 
Search instead for 
Did you mean: 

nucleo-64 failed HSE on HAL_RCC_OscConfig

gusto2
Associate

I just unpacked NUCLEO64 C031C6 board and .. no code is working. Debugging I found all the code was stuck at SystemClock_Config / HAL_RCC_OscConfig.

I checked and by default in the ioc file the HSE and LSE are set to "Crystal/Ceramic". For now I found a workaround - in the clock configuration I chose using the internal HSI, but I'd expect the boards to be working out of box with external clock source what is even declared on the board description (24 MHz or 48 MHz HSE)

Later I found in the user manual (6.7 OSC clock sources):

"HSE, which is the 8 MHz oscillator for the STM32 microcontroller. This clock is not implemented on the STM32 Nucleo-64 board" 

I have as well nucleo32-l432kc where the HSE seems to be present and working.

I'd like to just confirm - is the HSE crystal really not there? Or did I miss something?

Thank you for any insight

2 REPLIES 2
AScha.3
Chief III

see circuit:

AScha3_0-1732372752031.png

32k + 48M crystal should be there.

But you have to set it to correct value in Cube , so set : 48MHz HSE crystal.

If you feel a post has answered your question, please click "Accept as Solution".
KnarfB
Principal III

Are you referring to UM2953 User manual STM32 Nucleo-64 boards (MB1717) M2953 - Rev 2 - November 2024?

Inspect the board and compared to the user manual.

hth

KnarfB