New batch STM32F051 LSE don't start
A new batch of electronic board mount an STM32F05R8T6
AA170 9U
TWN AA 131 marked.
All of this devices don't start up LSE clock.
The code is the same for about five years and makes the LSE clock start up till this days correctly. The initialization was made using example code bundled with discovery stm32F051.
I create with CubeIDE Version: 1.9.0 a minimal setup (CubeMX) for initializa internal RC but the code hangs on
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
{
if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}The quartz is the same sice five years and i try to modify the capacitor from 15nF to 6,8nF with no success.
Same board with STM32F05R8T6
GQ272 9U
CHN GQ 944 marked
run perfectly.
Any ideas?
Thanks
Fabio
