2024-06-21 03:04 AM
please provide me the information for how to configure systick in microsecond.
2024-06-21 01:25 PM - edited 2024-06-21 01:28 PM
You mean, running the SysTick *interrupt* at a MHz rate? It's a bad idea.
Instead, you can run a timer with prescaler set so that is counter increments at a MHz rate, you can treat that counter (i.e. TIMx_CNT) as the SysTick counting variable (taking into mind that the timer may be 16-bit).
JW
2024-06-21 01:33 PM
At 1 MHz the only thing the MCU would do is enter/exit the SysTick_Handler continously.
Find another method to achieve whatever you're trying to do.
A TIM clocking at 1 MHz, or higher, can count off time in micro-seconds or better.
2024-06-22 06:24 AM