Cannot start HSE on G474RE nucleo board
I have a brand new Nucleo G474RE board. I see that the default HSE is X3 at 24MHz. The solder bridges and capacitors are OK as per the board documentation, and checked to be physically on the board.
But I cannot get HSE to oscilate. The (autogenerated) clock config code times out here
HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
[...]
/* Set the new HSE configuration ---------------------------------------*/
__HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
/* Check the HSE State */
if (RCC_OscInitStruct->HSEState != RCC_HSE_OFF)
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
/* Wait till HSE is ready */
while (READ_BIT(RCC->CR, RCC_CR_HSERDY) == 0U)
{
if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
{
return HAL_TIMEOUT; <--- I end up HERE
}
}
}
I also probed pin 5 PF0 and pin 6 PF1 with an osciloscope with a 10X probe and they have no signal (both at 0VDC).
My MX configuration regarding the clocks is as follows:
- RCC -> HSE: Crystal/Ceramic Resonator
- PLL Source MUX: HSE
- divs and muls by default to reach SYSCLK=170MHz
If I switch back to HSI, the board works fine and my code executes normally.
I don't know what else to check for!
TIA.
