2019-01-31 07:40 AM
Hi everybody, I'm approaching to HAL. I'm using STM32CubeMX to setup a STM32L431 and when I start debugging the MCU freeze in SystemClock_Config() function. If I don't use HAL my simple program (just i++; inside indefinite loop) works fine. Maybe I missed some configuration but CubeMX generate the code and the generated code compile. I combined different software and debugger, but the problem is not there.
Any idea?