<?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>Adding a peripheral real time clock with ncs 1.8.0 SDK over I2C</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84691/adding-a-peripheral-real-time-clock-with-ncs-1-8-0-sdk-over-i2c</link><description>I&amp;#39;m trying to interface with the ds1339 real time clock to set and read the time for timestamping tasks in ncs 1.8.0. I&amp;#39;ve found a few tutorials that boil down to: 
 
 1. add the dts child node under the i2c controller node: in my overlay file I changed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Feb 2022 12:04:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84691/adding-a-peripheral-real-time-clock-with-ncs-1-8-0-sdk-over-i2c" /><item><title>RE: Adding a peripheral real time clock with ncs 1.8.0 SDK over I2C</title><link>https://devzone.nordicsemi.com/thread/354121?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 12:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4924419c-defb-4b56-9503-316a4f904daf</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;there is no driver for ds1339, so that will most likely not work, unless you create one yourself. You can try the ds3231 driver, and use the zephyr\samples\drivers\counter\maxim_ds3231 sample. It&amp;#39;s possible that you need to make some modifications to the zephyr\drivers\counter\maxim_ds3231.c file in order for it to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>