cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_RCCEx_PeriphCLKConfig() failed on Step RUN in debug mode

HChen.13
Associate

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

 

 

0 REPLIES 0