Hello,
I am trying to integrate the calendar example(using RTC 2), with a current time service(CTS) client and and custom service server on a nRF52940 DK.
I want to use the time data received from the phone as a reference for the on-board RTC to generate timestamps locally. The timestap frequency needed is quite low (>10 seconds per stamp)
Until now I have been able to receive timestamps from the CTS and also advertise sensor data to the phone using the custom service. But I haven't been able to use the local RTC to sync with time data from CTS and generate local timestamps using RTC interrupts.
Any advice on the best strategy to accomplish my task?
I read this on the forum. So does that mean I shouldn't use a RTC COMPARE event with SoftDevice?
Thanks