STM32F765 EXTERNAL CRYSTAL
I have custom stm32f765 board it has very minimal design. only some caps and resistor for the reset and boot. My problem is i have attached hse crystal of 16Mhz.
this one
https://www.digikey.in/product-detail/en/epson/TSX-3225-16-0000MF09Z-AC0/SER4069DKR-ND/5413941
and also 12pf ceramic capacitors. i have configured a code to work with hse but still it is not working is there anything i can do to check wether external crystal is working or not ?
by debugging the code i came to know that
while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
{
if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}
code is not going further from this lines
Can you please guide my how can i debug. ? since the same code is working on the nucleo and nucleo has stlink external clock.
Thank you.
