<?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>Is there any document to show us how to setting up RTC using direct registers access?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39975/is-there-any-document-to-show-us-how-to-setting-up-rtc-using-direct-registers-access</link><description>Or any general how-to documents when the users want to set up any peripheral using the direct register access? I try not to use SDK for simplify and minimize the code side purpose. 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Nov 2018 07:49:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39975/is-there-any-document-to-show-us-how-to-setting-up-rtc-using-direct-registers-access" /><item><title>RE: Is there any document to show us how to setting up RTC using direct registers access?</title><link>https://devzone.nordicsemi.com/thread/155477?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 07:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ac5d7f8-925b-4c31-80af-ac5d1edd2fa4</guid><dc:creator>cpham</dc:creator><description>&lt;p&gt;awneil,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&amp;nbsp; Yes, I had to went through the &amp;quot;datasheet&amp;quot; in order to get familiar with all the registers for different peripherals.&lt;/p&gt;
&lt;p&gt;I am successfully done with configure any of the gpio pins without using the SDK, and from number of files from SDK, I shrunk it down to about 30 lines of C codes in one file.&lt;/p&gt;
&lt;p&gt;I am aware of the purpose of the SDK is to helping the users; however, there is case for example like the app timer implementation.&amp;nbsp; The example provide from Nordic is coming from SDK11, and I am using SDK14, and I spent lots of hours of research to go through the SDK both 11 and 14 since the SDKs are different in order to successfully implemented by using SDK, which I believe it will come down to RTC&amp;#39;s register setting up.&lt;/p&gt;
&lt;p&gt;I am just curious if you or anyone has any study/document of how much code space that we can save for the application that&amp;nbsp; using SDK&amp;nbsp; vs. the bear bone no SDK&amp;#39;s usage.&lt;/p&gt;
&lt;p&gt;Again, thank you so much for your time and your good suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any document to show us how to setting up RTC using direct registers access?</title><link>https://devzone.nordicsemi.com/thread/155013?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 08:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13668fe6-32b7-488a-a22a-33e9a35bdc5f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So have you studied the RTC section in the Product Specification (aka, &amp;quot;datasheet&amp;quot;) ?&lt;/p&gt;
&lt;p&gt;The SDK exists to save you having to do (most of) that - so, if you&amp;nbsp;choose&amp;nbsp;to reject the SDK, it means that &lt;em&gt;&lt;strong&gt;you&lt;/strong&gt;&lt;/em&gt; have to do the detailed study of the hardware documentation!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The SDK itself is, of course, accesses the peripheral at the register level - so you can take the SDK code as your example!&lt;/p&gt;
&lt;p&gt;Apart from just studying the source code - making full use of your IDE&amp;#39;s code browsing facilities - I find that stepping through in the &lt;strong&gt;debugger&lt;/strong&gt; is a good way to see what the SDK is doing ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>