2020-11-05 10:27 PM
I am using STM32F373RCT6 on customm board. By default systick timer is configured for 1ms but I want to configure for 1micro second. Is it possible? HCLK is 28Mhz and SYS clock is 28MHz.
2020-11-06 07:07 AM
It's possible, but not practical, since it calls an IRQ handler at every update. You won't have enough cpu resources to run an IRQ handler every 1us while also making progress in your own code.
There are better ways to implement delays. You can use the DWT->CYCCNT counter, or a timer. Note that 1us is small at 28MHz and you're likely to have a bit of jitter in the actual delay value.