2024-11-23 04:12 AM
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
Solved! Go to Solution.
2024-11-23 06:40 AM - edited 2024-11-23 07:40 AM
see circuit:
32k + 48M crystal should be there.
check it:
X2 + X3 .
But you have to set it to correct value in Cube , so set : 48MHz HSE crystal.
2024-11-23 06:40 AM - edited 2024-11-23 07:40 AM
see circuit:
32k + 48M crystal should be there.
check it:
X2 + X3 .
But you have to set it to correct value in Cube , so set : 48MHz HSE crystal.
2024-11-23 06:41 AM
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
2024-11-23 12:34 PM
Yes, I mean the mentioned documentation.
> HSE which is the 48 MHz oscillator for the STM32 microcontroller.
And that's why I'd expect configuring HSE would work. And it is not :\
2024-11-23 02:21 PM
Now I changed back to HSE using 48MHz as by default and it is working. Now I am not sure what has changed :\