Emulated RTC driver (RTC_EMUL)

Hi everybody.

I'm developing my own board based on nRF52840 SoC. I'm using nRF Connect SDK 2.6.1.
I need to log the environment events by date & time details on QSPI using LittleFS.
So, I must use Real-Time Clock. But after sometime I found the RTC unit of nRF52840 is Real-Time Counter.
I searched between available solutions and I got Zephyr RTOS has an Emulated RTC driver. But I couldn't find any example of using this ability.
I'll be very happy if you show me a complete example of using Emulated RTC driver functionality.

Thanks in advance
Mehdi Sadeghian

Related