cancel
Showing results for 
Search instead for 
Did you mean: 

SysTick

Zek_De
Senior

Hi guys, I am trying software timers without using interrupt

SysTick->CTRL = 0x5; 

SysTick->LOAD = 0xFFFFFF;

SysTick->VAL  = 0; 

when start the program, what will happen with SysTick->VAL  = 0; 

it is value start with 0xFFFFFF or 0?

3 REPLIES 3

Can you not simply observe and see experimentally?

The SysTick is a 24-bit DOWN COUNT, it typically loads the value specified, and when it gets to zero it interrupts and reloads.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Zek_De
Senior

Unfortunately I dont have my MCU now, I am at another city for now, but I got the point in datasheet thank you

S.Ma
Principal

Better study the RTC then.

Try to use interrupts with timers.

Interrupts is something important to learn.