2023-03-08 05:35 AM
Hello,
I tried the Hal_Delay function but it's not work Do you have any idea for this error ?
And my code still waits at this loop :
Thank you for your helps
Regards
2023-03-08 09:11 AM
Most likely, interrupts are disabled. Call __enable_irq() in main() before HAL_delay().
If you don't know what you are doing, start from some ready, simple example project for your board.
2023-03-08 09:17 AM
If the MCU is clocking at 110 MHz, that's 110,000,000 cycles per second, there are 110,000 cycles in 1ms (1 KHz), if the prescaled clock source is DIV8, that would be 13,750 cycles.
2023-03-08 09:20 AM
2023-03-09 01:05 AM
Hello Tesla,
After your explanation I try to have 110 MHz, it's ok but I don't understand what do you mean prescaled clock source is DVI8 ? I have this configuration can you show me this prescaler on this picture please ?
it seems to me that I have a prescaler of 55 to have 110 MHz.
2023-03-10 01:24 AM
You IOC file shows the System Tick at priority 7 when by default it is 0, though that is still probably not the problem.
Set a breakpoint at HAL_IncTick() and see if it gets called?
2023-03-10 01:53 AM
After set a breakpoint in the function HAL_IncTick()
it does not pass in this function, probably I have to write an additional code ?
About System Tick at priority 7, I left the default settings
2023-08-04 07:15 AM
Hello,
Did you solve this issue? I have encountered same problem. Please indicate if you find the solution.
Thanks
2023-08-27 06:04 PM
Anyone have a solution to this issue? I wish ST would address this problem
2023-08-27 09:09 PM
2023-09-01 02:11 AM
Thank you UMP-Dan, It also works for me. Best.