STM32 startup fails at HAL_RCC_ClockConfig
Hi,
I have designed the custom board for STM32L073 series.
Initially i have tested the code/firmware in Nucleo board of same part number, and we have designed the board keeping nucleo board schematic as reference.
The code works fine in Nucleo board, but in the custom board it takes multiple reset to start the same code.
For example if i take simple GPIO toggle program in the custom board, i found in the debug session it hangs/stops at
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK) , but it works fine in Nucleo board.
In some cases when i start debug session it directly goes to HARD FAULT.
Currently i am using HSI clock source.
Kindly help me with this issue
