2023-07-01 09:39 AM
Dear Sir,
My program is failed due to "void SystemClock_Config(void)" function of main.c
on:
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
{
Error_Handler();
}
1) I am just using STM32CubeIDE 1.11.2 for NUCLEO-L053R8 on STM32 Nucleo-64 boards (MB1136).
By the way, I also solderd 8MHz crystal on that board for using 500KHz RTC's Clock.
2) Why while(1) { } of main.c always be cleaned as following while I regenerated code ?
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
3) Enclosed is the RTC.ioc file