cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with clock configuration of NUCLEO-L152RE using STM32Cube

angelo2
Associate
Posted on November 21, 2014 at 15:58

Hello, I'll be glad to recibe any help.

I've created a project for the NUCLEO-L152RE using STM32Cube (selecting the correct board) and then I've exported it to IAR-EWARM. When I run the project into the board, the MCU don't continue after the clock configuration. If I go step by step over the code, when the HSI clock is set, all stops.

The configuration clock option was: HSI RC (16MHz) --> PLLCLK (x4 /2) --> SYSCLK (32MHz). All the other configurations by default.

I'll appreciate any help! Thanks! 

#nucleo-l152re #stm32cube
1 REPLY 1
stm32cube-t
Senior III
Posted on February 04, 2015 at 18:03

Hello,

We can not reproduce your issue with MX 4.5 or MX 4.6.

By adding the following code to the main while loop (simple LED blinking code), you can confirm the code is executing correctly.

HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);

/* Insert delay 100 ms */

HAL_Delay(100);