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

Tracking Current Time in NRF9160

Hi,

we are using NRF9160 based Custom board with Zephyr,

I want to track the Current time in IST format and i need to generate an event to DPPI on particular time (ex: every day10am), but i am not understanding where to start, so please help me to understand where to start?

Best Regards

Rajender.

Parents Reply
  • Hi,

    finally now i can toggle my led with RTC event NRFX_RTC_INT_TICK 

    But i want to add NRFX_RTC_INT_COMPARE0 event to DPPI, here my problem to add NRFX_RTC_INT_COMPARE0 event is, i need to reload compare register value every time to generate the event for next 1 sec. so how can i do that without event handler (i dont want to use any event handler for RTC, becoz i dont want to disturb CPU for every single second)

    is it possible to call a function uisng dppi after event triggered?

    for your reference i am attaching my working project for rtc+dppi+gpio

    working_timer_test_nrfx.zip

    Best Regards

    Rajender 

Children
Related