hello ,how can i get something like this YYYY-MM-DD HH:MM:SS.mmm using rtc i dont want to use app timer
hello ,how can i get something like this YYYY-MM-DD HH:MM:SS.mmm using rtc i dont want to use app timer
i am using nrf52 dk ??can i do something like this genrally in nordic rtc ticks 8 times per seconds how can i make this to tick 100 times per second??
I believe porting something like this to nRF5x (you haven't specified on which chip and SDK you want to achieve this btw.!!!) should solve the problem. Indeed it's quite a lot of code if you want to convert something HW "native" like RTC to something so unnatural like human time stamp... but if you find out where the actual RTC signal/events/ticks are propagated to that Adafruit library you should have problem solved.
https://github.com/adafruit/RTClib
I guess you are using RTC example from nRF5 SDK. If so then all the magic is in static void rtc_config(void) function through prescaler part of nrf_drv_rtc_config_t config and compare countertime routine setting nrf_drv_rtc_cc_set.
If you don't know how prescaler and counter registers work on RTC then study the documentation on infocenter...