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

Thread Starter

yef smith

Joined Aug 2, 2020
240
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?
Thanks.



https://www.st.com/content/ccc/reso...df/jcr:content/translations/en.DM00105879.pdf

STM32F407 Reference manual:
https://www.st.com/resource/en/refe...-arm-based-32-bit-mcus-stmicroelectronics.pdf


1612611255457.png
 
Last edited:
Top