<?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>How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74413/how-to-add-5340-rtc-to-an-empty-project</link><description>Hello, 
 As the question shows, how to add RTC function to a 5340 empty project? 
 
 condition 
 ncs:1.5.0 
 board: nrf5340dk 
 
 I have found a project,but it&amp;#39;s 52840. 
 zephyr\tests\drivers\timer\nrf_rtc_timer 
 
 Can you give me some advice? 
 Thank</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 May 2021 13:51:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74413/how-to-add-5340-rtc-to-an-empty-project" /><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/308570?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 13:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9397d4f6-2580-4cad-b3a4-3715c9e471cc</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Since your last question is a little bit out of the scope of the original case topic: is it ok for you if we close this case and you create a new one for it? Thanks!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/308418?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 00:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:471ef0f3-b7f2-4c28-9b7c-8f5f6bb1f348</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;We use an oscilloscope to measure the waveform of the IO port.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/307690?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 13:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:949c2a54-4940-4b37-b865-e371a5bccda9</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;How did you measure the actual frequency created by your application?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/307375?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 07:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c71c74-e31e-433c-9fe3-963a5f4936d1</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Thanks for the code! I will have a look into it and come back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;I would appreciate some feedback if you are able to solve the issue yourself during this time. Thanks!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/307166?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 08:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6154780c-9e4d-4d58-bfa3-a8ffa63b646e</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Markus,&lt;br /&gt;&lt;br /&gt;Thank&amp;nbsp;you.&lt;br /&gt;&lt;br /&gt;I&amp;nbsp;have&amp;nbsp;used&amp;nbsp;rtc&amp;nbsp;to&amp;nbsp;generate&amp;nbsp;a&amp;nbsp;waveform,&amp;nbsp;but&amp;nbsp;it&amp;nbsp;is&amp;nbsp;less&amp;nbsp;than&amp;nbsp;1khz,&amp;nbsp;the&amp;nbsp;actual&amp;nbsp;test&amp;nbsp;is&amp;nbsp;964hz.&lt;br /&gt;&lt;br /&gt;Did&amp;nbsp;I&amp;nbsp;do&amp;nbsp;something&amp;nbsp;wrong?&lt;br /&gt;&lt;br /&gt;Here&amp;nbsp;is&amp;nbsp;my&amp;nbsp;code.&lt;br /&gt;&lt;br /&gt;I&amp;nbsp;need&amp;nbsp;your&amp;nbsp;help.&amp;nbsp;Thank&amp;nbsp;you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7674.1khz.zip"&gt;devzone.nordicsemi.com/.../7674.1khz.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/307033?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 12:52:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe0fb0cd-cea3-4f2d-ad48-2e2ac74b752e</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;You can create an overlay file with the same name as your build target and place it in either the top folder of your project (along with prj.conf and CMakeLists.txt) or as shown in the nrf_rtc_timer application, in &lt;em&gt;../nrf_rtc_timer_/boards&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The overlay file needs to have the same name as your build target. Considering you are compiling for nrf5340dk_nrf5340_cpuapp, the name of the overlay file would be: nrf5340dk_nrf5340_cpuapp.overlay.&lt;/p&gt;
&lt;p&gt;A good way to check if the compiler considers the overlay file is to check the build log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- Found devicetree overlay: C:/Users/&amp;lt;user&amp;gt;/ncs/v1.5.1/zephyr/tests/drivers/timer/nrf_rtc_timer/boards/nrf5340dk_nrf5340_cpuapp.overlay&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Additionally, you can cross-check your &lt;em&gt;../&amp;lt;build-folder&amp;gt;/zephyr/zephyr.dts&lt;/em&gt; to confirm that the changes made in the overlay file are correct.&lt;/p&gt;
&lt;p&gt;I hope this will be help you!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/306893?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 01:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be66a405-b096-4f41-b606-d816a03fb9a1</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Thank you for your quick reply.&lt;/p&gt;
&lt;p&gt;Can you give me some advice on how to change&amp;nbsp;nrf52840dk_nrf52840.overlay to nrf5340.overlay&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add 5340 rtc to an empty project?</title><link>https://devzone.nordicsemi.com/thread/306772?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 11:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bed3e7e3-5e32-49b4-9b74-a8706b5bbc02</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can use this example for the nRF5340 DK as well. The application just includes an overlay file for the nRF52840 DK to modify some interrupt properties.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>