I am using the nRF9160dk development board and I could not find a test or example for the internal RTC. could you provide a simple example of using the internal RTC.
I am using the nRF9160dk development board and I could not find a test or example for the internal RTC. could you provide a simple example of using the internal RTC.
Sigrud
yes I know how to use the timers. that is not what I want here. I will use the timers for other things in the application. I want a real time clock that knows it is March 17,202 and will know months, days, leap years etc. I loaded and ran the RTC example you pointed me to. it did nothing so I assume I did not do the following.
Starting nrfx rtc sample!
To run in non-secure mode, you need to add RTC0 to spm.c
I did not understand what this meant. what do I need to add and where do I add it to spm.c. if this is a real RTC then this is what I need. I could not find the supporting documention (apis, etc.).
Sigrud
yes I know how to use the timers. that is not what I want here. I will use the timers for other things in the application. I want a real time clock that knows it is March 17,202 and will know months, days, leap years etc. I loaded and ran the RTC example you pointed me to. it did nothing so I assume I did not do the following.
Starting nrfx rtc sample!
To run in non-secure mode, you need to add RTC0 to spm.c
I did not understand what this meant. what do I need to add and where do I add it to spm.c. if this is a real RTC then this is what I need. I could not find the supporting documention (apis, etc.).