RTC during debugging

My application uses the date_time library to keep track of time. This library is also used to generate alarms on a short, medium and long basis.

My problem is that the RTC continues when I'm debugging, thus interfering with the flow of the alarms.

In some other third-party MCUs, you can specify that the RTC will wait if the program stops during debugging.
Is there such a setting in the nRF9160?

Regards,

Bert

Parents Reply
  • Hi Bert,

    I got confirmation from a nRF9160 IC engineer. The RTC peripheral there also does not support stopping at PC breakpoint, only the WDT does.

    I haven't looked into how to do it yet, but you can stop the RTC with the STOP task using the debugger by writing to the register. That said, I am not sure if this is helpful, since it is not an automatic halt of the RTC, and I don't know if you can bind such an action to a breakpoint stop.

    Sorry I could not come back with better news.

    Hieu

Children
Related