This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to read the SysTick timer value?

1. I want to know what is RTX SysTick timer?
2 Or how to read its current value?
3. How to start SysTick timer before RTX if it is possible?

I'd prefer to use library functions but failed to find them.

Thanks.

Parents
  • SysTick is not a peripheral timer, so it is not timer 0, 1, 2 etc. SysTick is part of the Cortex-M core itself, so is the same, and found at the same address, on all Cortex-M devices. It does not matter which specific chip is being used.

    Bare metal applications can use SysTick for any purpose they like. Most (probably all in fact) RTOSes will use the SysTick to generate the RTOS timing interrupts, so applications that use an RTOS should not access SysTick themselves.

    Regards,
    Richard( http://www.FreeRTOS.org )

Reply
  • SysTick is not a peripheral timer, so it is not timer 0, 1, 2 etc. SysTick is part of the Cortex-M core itself, so is the same, and found at the same address, on all Cortex-M devices. It does not matter which specific chip is being used.

    Bare metal applications can use SysTick for any purpose they like. Most (probably all in fact) RTOSes will use the SysTick to generate the RTOS timing interrupts, so applications that use an RTOS should not access SysTick themselves.

    Regards,
    Richard( http://www.FreeRTOS.org )

Children