AnsweredAssumed Answered

Troubles with RCC in STM32CubeMX

Question asked by Mikhail Sementsov on Sep 20, 2017
Latest reply on Feb 6, 2018 by Jeanne Joly

Hi!

I found couple of troubles while programming STM32F030F4 with STM32CubeMX.

 

1. I used simple code like

 

while(1)

   HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_3);
   HAL_Delay(1);

}

 

which must generate 500 Hz square wave on PA3. It is actually work for STM32CubeMX V. 4.18.0, but 4.22.1 version gives 250 Hz signal.

 

2. I tried to use PLLCLK source (with the same code), but it absolutely doesnt work with any settings in V. 4.18.0 and      V. 4.22.1 - there is no signal, just little ripples on PA3. With HSE and HSI sources without PLL it works. Some months ago I used V. 4.20.1 without this trouble. Can you provide a download link to this version?

Outcomes