CubeMx settings causes HAL delay to be faster then usual STM32F407 descovery

Thread Starter

yef smith

Joined Aug 2, 2020
Hello, I am using CUBEMX to define the clock of the periphery but when i used the HAL delay function i got the HAL_ delay be 100 times smaller.
In the manual 1000 input is 1 second in HAL delay.
How do i see the effect of the diagram bellow on the HAL DELAY function?
I read about systick maybe affecting it.i am having trouble to link the CUBEMX diagram bellow and systic and delay of HAL_delay.
Can i have a logical link between those elements?

STM32F407 Reference manual:

Last edited: