6 years, 10 months ago.

I encounter a problem while using HSI on stm32l151cb

Hello!

I want to use mbed in the stm32l151cb.I downloaded mbed for TARGET_NUCLEO_L152RE, and changed startup file and head files for stm32l151.

And then I want to use only HSI ,so I changed USE_PLL_HSE_EXTC and USE_PLL_HSE_XTAL to 0.

After downloading the hex file into MCU, the program get into dead loop when it comes to wait_ms function in the process of initializing CPP class. I clicked the stop button on keil, the breakpoint seemed to always stop on the SysTick_Handler function on startup file.

How can I solve the problem?

Thank you for your help!

Be the first to answer this question.