<?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 does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23495/how-does-radio-behave-if-hfxo-is-not-stable</link><description>When you start a receive task, what will the radio do if the HFXO is not stable? Not begin to ramp up until the HFXO is stable, OR begin to ramp up but not become active until the HFXO is stable, OR rampup and become active (possibly returning CRC errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2017 11:49:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23495/how-does-radio-behave-if-hfxo-is-not-stable" /><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92288?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 11:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7a98a1-b6be-4e52-be4b-8d542c8da4f2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, my typo again. Really sorry for that :(&lt;/p&gt;
&lt;p&gt;You are correct, it varies that&amp;#39;s why Stian have to make an assumption of 1.5ms as of worse case.
If you start the radio before the HFXO is ready, of course it&amp;#39;s high chance that the signal from the radio will be corrupted, deviated.
If in your application, the radio need to be turned on at an exact point in time, my suggestion is to setup the timer to wake CPU up before the radio needs to be on about 1.5ms. Then start HFXO, then put the CPU back to sleep. Wake up again when the radio need to be on, check if HFXO is running, if yes then start the radio, if not, skip that event (or wait longer if there is not real time requirement).
You need to have the rough estimation of worse case scenario on how long the HFXO takes to start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92283?ContentTypeID=1</link><pubDate>Sun, 16 Jul 2017 09:17:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e405eb-93b8-47f8-b4b6-453759d6eccb</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Not tested, but it will probably just ramp up to the wrong frequeny that may be even outside the &lt;code&gt;2.4-2.5GHz&lt;/code&gt; range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92285?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 15:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:795c48de-2091-4c1e-97f2-30b629080eae</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;Thanks.  You mean &amp;quot;the radio will proceed even if the HFXO is not started.&amp;quot; (I think you have a typo, you said &amp;quot;even if the radio&amp;quot;)? I have found that the HFXO startup time DOES vary among boards, as much as 1.2msec.  In my low-power application, I need to schedule the radio for a certain time, and must wake up before that to start the HFXO.  So I need to know what the radio will do if I start the HFXO but for any reason it is not running stably when I start the radio.  You have answered that the radio will proceed, but not what the likely errors are.  I suppose I can test that myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92287?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 14:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:226cc25d-8c59-4e5a-8068-56f7c49740ab</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Sorry, my typo, please read as NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 1.&lt;/p&gt;
&lt;p&gt;The thread you point to is not &amp;quot;Most examples from Nordic &amp;quot; :)&lt;/p&gt;
&lt;p&gt;In that thread Stian had to use an assumption of 1.5ms because he was doing estimation for power consumption.&lt;/p&gt;
&lt;p&gt;The Radio doesn&amp;#39;t care about the crystal if it&amp;#39;s stable or not, it&amp;#39;s the application who have to take care of that.&lt;/p&gt;
&lt;p&gt;It will proceed even the HFXO is not started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92286?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 13:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04862bb2-105c-434c-b442-c47984054c4c</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;This post in this forum is an example that discusses that the SD waits 1.5ms   &lt;a href="https://devzone.nordicsemi.com/question/96311/hfxo-start-time-before-connection-event/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My question is about the HFXO clock, not the LF clock.  Another way of phrasing my question: does the radio wait for the HFXO to be stable, or does it proceed anyway but probably not perform as well (CRC errors).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does radio behave if HFXO is not stable?</title><link>https://devzone.nordicsemi.com/thread/92284?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 10:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a74a36d-d56e-4a3f-85c0-5e912ca05509</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi butch,&lt;/p&gt;
&lt;p&gt;Could you point to which example that we use a delay for fixed amount of time ?&lt;/p&gt;
&lt;p&gt;Usually we stay in a loop waiting for NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 1.
Please have a look at the examples\peripheral\radio example.&lt;/p&gt;
&lt;p&gt;Of course the waiting loop can be replaced by CPU sleeping waiting for the interrupt (that&amp;#39;s what we do in our softdevice).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>