cancel
Showing results for 
Search instead for 
Did you mean: 

Double Speed Systick STM32F042

christophkeiner9
Associate III

I configured a Project with STM32CubeMX 5.3 for STM32F042.

Using Nucleo-Board witch Jumpering for MCO from STLink..

The 1ms Timer works fine when using HAL for RCC, but it goes double Speed when changing RCC to LL. I have to limit Codesize for a Bootloader, so i can't use HAL.

Actually i don't know where is the Fault?

4 REPLIES 4

Read out and check content of relevant RCC and Systick/timer (whichever applies) registers. Maybe comparing them between the two cases would help to reveal the problem.

JW

​Thank you for quick reaction, i know how to find wrong Values in the Registers, that's not the case here.

I want to know how i have to set up the Codegenerator.

So what’s different between the two?

If you feel a post has answered your question, please click "Accept as Solution".

Well, good luck with that, then.

JW