[ABANDONED] Times not accurate in Systemview

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

  • [ABANDONED] Times not accurate in Systemview

    Hi,

    I am profiling an algorithm on an NRF52840. As the algorithm use more memory, it takes more time. On larger timescales where the algorithm might take 90seconds to compute, the in/out time from system view says 18 ish seconds. As of now Im using noOS, 64Mhz and systick is not enabled. Is there anything that might be causing this (timer overflow somewhere)?

    Calling

    SEGGER_SYSVIEW_Conf();
    SEGGER_SYSVIEW_OnIdle();

    in the main and then
    SYS_TRIGGER(SYS_SENSOR_NOISE_MODEL);
    SYS_RELEASE(SYS_SENSOR_NOISE_MODEL);

    as my entry and exit points for the algorithm.
  • Hello,

    Thank you for your inquiry.
    It sounds like the timestamp generation is not set up correctly for your setup.
    The timestamps will only be as accurate as the timestamp source you use.
    Did you follow the following guide when setting up your NoOS setup?
    wiki.segger.com/Use_SystemView_without_RTOS
    Is your application properly instrumented?

    Best regards,
    Nino
    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.