<?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>HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119758/hfxo-does-not-work-on-nrf52832</link><description>Hi, 
 I cannot start HFXO on nRF52832. I&amp;#39;m using 32MHz crystal TSX-3225 32.0000MF20X-W0(from Mouser) wtih 12pF caps UMK105CG120JV-F(also from Mouser). 
 Checked with beeper on multimeter, no shorts between pins and between pin and GND. 
 Looks ok on MCU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Mar 2025 00:25:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119758/hfxo-does-not-work-on-nrf52832" /><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527738?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 00:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bc72ba-0a35-4570-883f-80f18ccb4e68</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;The problem is fixed. HFXO caps are 8pF.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I could not get advertise to start so I decided to move component by component from one PCB to another. I moved MCU + VDD caps, HFXO + caps and ANT.&lt;/p&gt;
&lt;p&gt;I did not know DEC1, DEC3 and DEC4 are needed for MCU to work properly.&amp;nbsp;I thought they are needed for DC/DC setup. My bad.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527478?ContentTypeID=1</link><pubDate>Sun, 16 Mar 2025 14:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1545a1ec-c81f-47af-9106-cbd816b6007a</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52832/page/clock.html#d910e8036"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52832/page/clock.html#d910e8036&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here it says 4pF.&lt;br /&gt;I will contact Epson about this crystal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527468?ContentTypeID=1</link><pubDate>Sat, 15 Mar 2025 16:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e689f4c0-e519-4ef6-a7dd-de67d5446f77</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Perhaps try a different crystal; the part number&amp;nbsp;&lt;span&gt;TSX-3225 32.0000MF20X-W0&lt;/span&gt; does not match the part number format on the data sheet. As an aside, nRF52832 pin capacitance is 3pF (as used in my formula), not 4pF, but it doesn&amp;#39;t make much difference.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CPAD Pad capacitance 3 pF&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527464?ContentTypeID=1</link><pubDate>Sat, 15 Mar 2025 12:04:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b633918d-7695-4730-9a85-d01a1432b902</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;Tried 4pF, 8pF(stack od 2x4pF in parallel) and 20pF(2x4pF + 12pF in parallel) - still cannot start it.&lt;/p&gt;
&lt;p&gt;I belive CL is 7pF as stated in datasheet. Calculated caps with &amp;quot;((8+4+1)*(8+4+1))/(2*(8+4+1))&amp;quot; - from nRF52832 clock section.&lt;br /&gt;&lt;br /&gt;C = C1 = C2&lt;br /&gt;&lt;br /&gt;(C + Cpin + Cs)^2 / (2 * (C + Cpin + Cs))&lt;br /&gt;&lt;br /&gt;Cs = 1pF&lt;br /&gt;Cpin = 4pF&lt;br /&gt;&lt;br /&gt;Result is 6.5pF which is close to 7pF from datasheet.&lt;br /&gt;Connection is tested, solders on MCU pins look good.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527281?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 22:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9fef22e-af2a-4c54-ad74-3c4e5e28253e</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;Mouser says 7pF&amp;nbsp;&lt;a href="https://hr.mouser.com/ProductDetail/Epson-Timing/TSX-3225-32.0000MF20X-W0?qs=f9yNj16SXrLFb%2FNL%252B2Lczg%3D%3D"&gt;https://hr.mouser.com/ProductDetail/Epson-Timing/TSX-3225-32.0000MF20X-W0?qs=f9yNj16SXrLFb%2FNL%252B2Lczg%3D%3D&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Datasheet says 7pF to infinity&lt;br /&gt;&lt;br /&gt;DigiKey says 12pF&amp;nbsp;&lt;a id="" href="https://www.digikey.com/en/products/detail/epson/TSX-3225-32-0000MF20X-W0/7731972"&gt;https://www.digikey.com/en/products/detail/epson/TSX-3225-32-0000MF20X-W0/7731972&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I made mistake with not including 4pF for Cpin.&lt;br /&gt;For 7/5pF caps have to be 4pF while for 12/5pF caps have to be 14pF, according to this calculator -&amp;nbsp;&lt;a id="" href="https://ecsxtal.com/crystal-load-capacitance-calculator/"&gt;https://ecsxtal.com/crystal-load-capacitance-calculator/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Seems like CL is 7pF since I guess 12pF will be enough for 12pF CL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527253?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 16:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0112a6-d5d5-43ab-8f59-f75c841aec20</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;The data sheet for that crystal implies 7pF CL although the Mouser listing states 12pF, so 12pF load caps are not correct in either case.&lt;/p&gt;
&lt;p&gt;CL = (CaCb)/(Ca+Cb) + Cstray where Ca=Cb=12pF+Cpin=15pF and Cstray (not pins) say 1pF&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;= 8.5pF&lt;/p&gt;
&lt;p&gt;CL = (CaCb)/(Ca+Cb) + Cstray where Ca=Cb=9pF+Cpin=12pF and Cstray (not pins) say 1pF&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;= 7pF&lt;/p&gt;
&lt;p&gt;If the Mouser description of 12pF is correct then try 19pF&lt;/p&gt;
&lt;p&gt;CL = (CaCb)/(Ca+Cb) + Cstray where Ca=Cb=19pF+Cpin=22pF and Cstray (not pins) say 1pF&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;= 12pF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527240?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 16:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4bcfe70-48ba-4767-bb22-e1d313566e3b</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;Mine app stucks at while loop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527237?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 15:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2765e9-6266-4126-a374-f8b13f22e3d6</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Most useful, we will adopt this. For other users it may be helpful to do the measurement in uSecs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;   NRF_TIMER1-&amp;gt;PRESCALER = 4; // Time in uSecs when using 1MHz timer clock. fTIMER = 16 MHz / (2^PRESCALER)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527223?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 15:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3840cc02-b507-41b0-bb17-7862225e6f00</guid><dc:creator>rmptxf</dc:creator><description>&lt;p&gt;This is how we get the startup time on NCS.&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_TIMER1-&amp;gt;BITMODE = TIMER_BITMODE_BITMODE_32Bit &amp;lt;&amp;lt; TIMER_BITMODE_BITMODE_Pos;
NRF_TIMER1-&amp;gt;TASKS_CLEAR = 1;
NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
NRF_TIMER1-&amp;gt;TASKS_START = 1;
NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
while(NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
NRF_TIMER1-&amp;gt;TASKS_CAPTURE[0] = 1;

LOG_INF(&amp;quot;HF Clock has started. Startup time: %d uS&amp;quot;, NRF_TIMER1-&amp;gt;CC[0]);&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527221?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 14:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff2af214-9b84-4a04-a357-62e5e20dcd9b</guid><dc:creator>rmptxf</dc:creator><description>&lt;p&gt;We also run into a similar issue, and the start time was more than a 1ms on best cases (not even fixed).&lt;/p&gt;
&lt;p&gt;What should we do in that case of high start time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527215?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 14:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:062f5bf5-0090-4f7c-8ed1-db718653825a</guid><dc:creator>silvio3105</dc:creator><description>&lt;p&gt;I can but I&amp;#39;m not sure how.&lt;br /&gt;It could be this problem since sometimes(very rare) app starts but BLE advertise does not work. App works but I cannot find the device in Nordic&amp;#39;s mobile app.&lt;br /&gt;I have QFAAE0 chip.&lt;br /&gt;&lt;br /&gt;Btw. App stucks at while loop because event is zero. How errata 68 relates with this problem?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HFXO does not work on nRF52832</title><link>https://devzone.nordicsemi.com/thread/527211?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 14:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36b0c9f7-e9c2-41cb-b9a1-a9dcce0e3db5</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have an&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52832_Rev3/page/ERR/nRF52832/Rev3/latest/anomaly_832_68.html"&gt;[68] CLOCK: EVENTS_HFCLKSTARTED can be generated before HFCLK is stable&lt;/a&gt;&amp;nbsp;errata that could be relevant to your issue. If &lt;span&gt;EVENTS_HFCLKSTARTED&lt;/span&gt; starts before&amp;nbsp;HFCLK is started.&lt;/p&gt;
&lt;p&gt;Can you check the Crystal start-up time of your 32MHz?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>