<?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>NRF24LE1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48685/nrf24le1</link><description>Hello! I use a 32kHz quartz resonator and I want to interrupt the program after 1 second with a watchdog timer. But when writing to it, 128 I get not 1 but 1.25 seconds. What am I doing wrong? 
 hal_clklf_set_source(HAL_CLKLF_XOSC32K); // Synthesize 32</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jun 2019 07:28:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48685/nrf24le1" /><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/194225?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2019 07:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0918b4-011f-4331-945f-231d826f0dd4</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome, happy to help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/194126?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 13:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78e1caa7-5b54-49e1-9f1d-fd734cce409c</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;I seem to understand what&amp;#39;s the matter. If I write 128 I get 1.25 seconds if 1280 - 10.25 seconds, if 12800 - 100.25 seconds. Probably it is in the acceleration of the generator on quartz 32 kHz (in the datasheet it is written that it takes up to 0.5 seconds). I consider the question closed. Thank you !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193863?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 10:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e909299-e6f5-4713-abd7-ef6d4c93599f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Yes, I was asking for the other case. What happens when you set it to 96?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you get exactly 1 second?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193751?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 18:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d275aa3-5a55-4f32-a1ba-1da18fb3fe44</guid><dc:creator>mark_l</dc:creator><description>&lt;p&gt;Can you use a scope to precisely measure your timing period? This will give you a better idea of what is going on in terms of actual magnitude. There seems to be a fair amount of slop in your numbers with what you&amp;#39;ve been saying.&lt;/p&gt;
&lt;p&gt;If you are getting 1.25 seconds at 128, then your clock is running 20% slow. Using 96 as your divider is 0.75 correction, meaning you should be running a tad fast (0.94sec)&lt;/p&gt;
&lt;p&gt;The effects of incorrect loading on a crystal can come in many forms, from slight shifts, to more extreme results depending on how the waveform is affected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193744?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 16:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b494bbc-93af-40d3-b773-c3ba7331cc99</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;on 25%?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193742?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 16:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc658778-3081-47c1-bcde-a33dd55b6f3c</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;yes.at 128 I get 1.25 seconds&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193737?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 15:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c45d672-2d9b-401b-83c4-8ba0a14ba124</guid><dc:creator>mark_l</dc:creator><description>&lt;p&gt;One thing to consider is that your crystal circuit is not running at 32KHz. If the loading on the crystal is not correct, it will result in a shift in frequency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193573?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 08:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754364d9-8260-46d1-ba12-2d86503d73f8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Are you saying you get a 1 second watchdog timeout if you enable the wathdog with 96 instead of 128?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193487?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 15:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da38e860-038b-4f72-bf8f-6a8468c100b7</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;&amp;quot;The start-up time is typically less than 0.5s for a crystal&amp;quot; but&amp;nbsp;32 kHz oscillator runs continuously during memory retention&amp;nbsp;mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193486?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 15:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83b3d42c-0deb-49cd-83d6-4b4a0ce69b80</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;RTC2...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193484?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 15:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38cb59c3-2773-47d0-a9d8-66099d54866f</guid><dc:creator>r_nin</dc:creator><description>&lt;p&gt;The internal generator works with great accuracy (as it should). I need a RTS for other purposes. I just need a watchdog. You have to write not hal_wdog_init (128), but hal_wdog_init (96).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193434?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 12:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce7583b-bd41-4160-b03f-5d7ee27da238</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Igor&lt;/p&gt;
&lt;p&gt;That is interesting. Do you get the same result if you use the internal RC oscillator?&lt;/p&gt;
&lt;p&gt;In general I would suggest using the watchdog to generate timer interrupts, the idea is to use the RTC2&amp;nbsp; or one of the TIMER modules for this.&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><item><title>RE: NRF24LE1</title><link>https://devzone.nordicsemi.com/thread/193328?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 08:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001f6662-b882-45dc-9703-cbc89e37d26b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;how to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3441._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>