[SOLVED] Systick ISR frequency

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Systick ISR frequency

    Hi guys !

    I recently add the Segger System View support to our firmware to be able to do some advanced debug. Our platform is running FreeRTOS v8 on a Cortex M3 microcontroller.
    Our tick period is 1ms and the tick is generated thanks to the systick timer.

    In SystemView, there is a strange behavior, when my system is mainly running the Idle task, the Systick ISR frequency is 2Hz and when the System is executing more tasks the ISR frequency increases. Also to be sure that the tick is stable I created a task printing a log to system view every second thanks to a vTaskDelay call and the frequency if this task is correct.

    Do you have any idea on how to fix this problem ?

    Thanks a lot,
    Pablo
  • Hi Pablo,

    did you make sure that the tick frequency in the SystemView configuration is correct?
    Do you change the system frequency at run time?

    When the configured frequency is incorrect, you will get wrong timings.
    The timer interrupt frequency should not change during run time. If it does although the system frequency does not change, something more is wrong.

    Regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.