<?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>NCS 1.7.0 Timestamp using RTC(Real Time Clock)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80563/ncs-1-7-0-timestamp-using-rtc-real-time-clock</link><description>Hi, 
 how get precise seconds timestamp whit NCS 1.7.0 and nRF52832? 
 I need an example. 
 Best regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Oct 2021 11:16:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80563/ncs-1-7-0-timestamp-using-rtc-real-time-clock" /><item><title>RE: NCS 1.7.0 Timestamp using RTC(Real Time Clock)</title><link>https://devzone.nordicsemi.com/thread/333897?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 11:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf56cc92-da63-4b35-a808-c01e879a6cff</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There is a description of how to do that &lt;a href="https://docs.zephyrproject.org/1.9.0/kernel/timing/clocks.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Essentially you can use the k_cycle_get_32() to get an accurate timestamp from Zephyr, and if you divide this number by&amp;nbsp; 32768 you will get he number of seconds passed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>