Hi,
I am running this example from SDK 15.2.0.
In my serial port prints the timestamp wraps at 1 second:
What should I do in order to see correct timestamps?
Hi,
I am running this example from SDK 15.2.0.
In my serial port prints the timestamp wraps at 1 second:
What should I do in order to see correct timestamps?
Hi Yarona,
The timestamp relies on the RTC1 timer.
I am wondering if you made any changes related to RTC1 configuration, for example the APP_TIMER_CONFIG_RTC_FREQUENCY, NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY in sdk_config.h or other related settings?
It would be nice if you can send me a diff between your local updates versus the original code.
Hi,
I used the original SDK, no changes made.
Hi,
It has been fixed in SDK 16.0.0.
It would be nice if you can switch to the latest version
Hi
Unfortunatly I can't switch SDK versions.
Can you point me to the root of the fix?
Sure, you can set APP_TIMER_KEEPS_RTC_ACTIVE to 1 in sdk_config.h for this example, then it will always keep RTC1 running and you will get correct timestamp.