cancel
Showing results for 
Search instead for 
Did you mean: 

Can I configure 1 micro sec delay through systick timer on STM32F373RCT6?

GAGGA.1
Associate II

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.

1 REPLY 1
TDK
Guru

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.

If you feel a post has answered your question, please click "Accept as Solution".