2024-07-19 04:35 AM - edited 2024-07-19 04:40 AM
Hi,
If I configure the LSI as clock source my STM32C011F4U6TR code stuck at this point
However there is no problem if I configure HSISYS as clock source.
Why? Could anyone help me with this issue?
Thanks in advance,
Gaston
Solved! Go to Solution.
2024-07-19 07:10 AM - edited 2024-07-19 07:11 AM
With a 32 kHz clock rate, you don't have enough CPU resources to handle sys ticks occurring at 1 kHz. Increase clock speed, decrease the rate of systicks, or disable sys tick entirely, or rewrite systick not to use any cpu resources.
2024-07-19 07:10 AM - edited 2024-07-19 07:11 AM
With a 32 kHz clock rate, you don't have enough CPU resources to handle sys ticks occurring at 1 kHz. Increase clock speed, decrease the rate of systicks, or disable sys tick entirely, or rewrite systick not to use any cpu resources.