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

Zephyr & RTC

 We are evaluating nRF9160 and need to implement periodic activities

that happen on RTC interrupts. It seems like Zephyr interferes with

normal RTC usage, so my questions are:

 

  1. Which RTC is reserved by Zephyr?

 

  1. If there is an RTC available for user app, does Zephyr still

intercept its interrupts?

 

  1. Zephyr RTC driver looks incomplete (zephyr/include/rtc.h) It

contains deprecated calls and defines based upon CONFIG_RTC_PRESCALER

which is never set. Should I look for working driver elsewhere?

 

Any advice on implementation of periodic wakeups from WFI in System ON

low power are very much appreciated.

 

 

TIA

 

Ed

Parents Reply
  • Håkon,

     Thanks for your reply. I tried to follow the NRFX example but it fails to compile. It complains about NRFX_RTC0_INST_IDX which in my case is not defined. I did my homework and figured out that instantiation depends on CONFIG_NRFX_RTC symbols.

     And here is where I'm stuck because I can't find a valid place where to define these parameters. menuconfig shows them in red. Kconfig is ignored. So, where should I define these symbols provided that my setup is Unix Makefiles, not SEGGER?

Children
Related