This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Trying to run the RTC sample code from ncs/zephyr/samples/drivers with the ns board.

Dear All,

I am trying to compile and run the ncs/zephyr/samples/drivers on the nrf9160_pca10090ns.

For this reason, I have copy-pasted the file under the ncs/nrf/samples/nrf9160 folder. I also followed the advice in this post in order to allow the rtc to run in the non secure mode.

When I try to open the project in SES, I am getting the following error.

What is it that I am missing? I have been able to run several examples from the driver, including the i2c and the watchdog examples from there.

Parents Reply
  • Perhaps, in order to make my situation more clear to you, I have a requirement to send messages with a timestamp, every so often and also, while my application is working, I need to monitor at what moment a certain event occurred. What I noticed is that different networks have different behaviour on the AT+CCLK? command and because I need my application to work universally, I cannot rely on getting my time from the network.

    Instead, now I am getting the EPOCH time from my server once a day (let's say) and I want to update that time every second in a power efficient way, so that the device keeps track of the EPOCH time, without querying my server all the time. So I wonder if there is a solution that will allow me to do that while in PSM, or when the device is in sleep mode.

    Any suggestions are very much welcome!

Children
No Data
Related