Associate III
September 6, 2022
Question
External Clock 32khz hangs the CPU.
- September 6, 2022
- 8 replies
- 2794 views
Dear Sir.
we have some identical boards based on STM32U585 . The RTC is configured to produce
32.768 KHZ at pin PA8.
On one board the same code will not pass the code will not pass the
/* Wait till LSE is ready */
while (READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == 0U)
{
if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}
- Is it possible that the External clock is not working.
- Is there a way to tell with some code that the External oscillator is working.
Please Advise