Sample SystemView project for NRF51 (nrf51422 : no SysTick, no OS)

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

  • Sample SystemView project for NRF51 (nrf51422 : no SysTick, no OS)

    Hello everyone,

    We are using Segger J-Link, RTT, Ozone for our project that is based NRF51422. The project uses Nordic Bluetooth stack, various peripherals such as LED Matrix, Button, etc.
    Very often we have a lockup situation while using LED driver via i2c and button. We interested in using SystemView for our project to profile and debug the firmware during the development process. However, NRF51422 doesn't have a Systick. We are using Low Frequency RTC (32 KHz) as an application timer. Also we don't have an OS. Our firmware runs with NRF Softdevice and Bootloader.

    Is there any sample SystemView project that is made for NRF51?
    Is it possible for SystemView to records all IRQs automatically?
    Is it possible to measure CPU load?

    Thanks in advance
  • Hello,

    You can use the Low Frequency RTC for the SystemView tiemstamps as well.
    Just make sure your configuration is correct and you provide a SEGGER_SYSVIEW_X_GetTimestamp() or alike which generates the timestamp from the RTC.

    IRQs cannot be recorded automatically, if the IRQ handlers do not call a generic function, i.e. Enter/Leave_Interrupt(), yet, all of them need to be instrumented.

    If the application sends accurate information when it idle and when it is executing, you will see the load in SystemView.


    Best 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.