SysTick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-17 11:23 AM
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?
- Labels:
-
SysTick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-17 11:29 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-17 11:48 AM
Unfortunately I dont have my MCU now, I am at another city for now, but I got the point in datasheet thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-17 11:49 AM
Better study the RTC then.
Try to use interrupts with timers.
Interrupts is something important to learn.
