<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>A problem about log timestamp</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60672/a-problem-about-log-timestamp</link><description>Hi, 
 I recently had a problem about timestamp that it&amp;#39;s all 0 on the RTT Viewer. 
 And i &amp;#39;m based on the nRF5_SDK_15.2.0\examples\peripheral\rtc to check the timesteamp. 
 
 
 The rtc is working and i&amp;#39;m accrording to this link to Initialize the log.But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Apr 2020 11:15:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60672/a-problem-about-log-timestamp" /><item><title>RE: A problem about log timestamp</title><link>https://devzone.nordicsemi.com/thread/246777?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 11:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568f091f-d832-40df-a57c-85bc8bea9717</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not seeing anything wrong with the code you have posted. Please confirm that the NRF_LOG_USES_TIMESTAMP setting is enabled in your sdk_config file. Also note that the CLI example (\examples\peripheral\cli\) enables timestamped logging, so you may use it as a reference to compare against.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A problem about log timestamp</title><link>https://devzone.nordicsemi.com/thread/246660?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 01:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9059039a-4d62-4811-aa32-87e12ff7a579</guid><dc:creator>A_NoobCoder</dc:creator><description>&lt;p&gt;Hi,Turbo J.&lt;/p&gt;
&lt;p&gt;It is an&lt;span&gt; RTC instance is created in the code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;const nrf_drv_rtc_t rtc = NRF_DRV_RTC_INSTANCE(0); /**&amp;lt; Declaring an instance of nrf_drv_rtc for RTC0. */&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: A problem about log timestamp</title><link>https://devzone.nordicsemi.com/thread/246617?ContentTypeID=1</link><pubDate>Sat, 25 Apr 2020 08:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c175ddc9-e32c-49a2-afb4-769be5593826</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Where does the rtc.p_reg variable point to in the get_rtc_counter() function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>