<?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>External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43147/external-crystal-is-not-enabled-in-nrf51822--qfab</link><description>I am starter developer of nRF51822 custom board. 
 in this board 16 mhz crystal is connected externally with XC1 and XC2 pins(37 &amp;amp; 38) 
 nRF5_SDK_12.1.0_0d23e2a rar file is downloaded, IDE : Keil Uvision5 , Softdevice : 130 
 Computer Platform : Windows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Feb 2019 10:09:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43147/external-crystal-is-not-enabled-in-nrf51822--qfab" /><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169679?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 10:09:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af882c0e-405b-4de3-877a-aa1ae3a53a72</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you able to debug the application to see if the program gets past this line:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0)&lt;/span&gt;&lt;br /&gt;&lt;span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span&gt;// Wait for started event to occur. Note: will spin forever if crystal isnt working&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__NOP();}?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also, did you verify the load capacitance?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169483?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 11:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd810898-7e00-4ebf-ba79-f73d6ae29c95</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I added bellow instruction in main.&lt;/p&gt;
&lt;p&gt;External crystal is working i.e 16 Mhz.&lt;/p&gt;
&lt;p&gt;But I loaded Beacon program and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8002f7663a2942109706758b6ff7dc78/ble_5F00_app_5F00_beacon_5F00_w_5F00_softdevice.hex"&gt;ble_app_beacon_w_softdevice.hex&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Then Crystal and Bluetooth is not working.&lt;/p&gt;
&lt;p&gt;NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;&lt;br /&gt; NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;&lt;br /&gt; //NRF_CLOCK-&amp;gt;XTALFREQ = CLOCK_XTALFREQ_XTALFREQ_16MHz;&lt;br /&gt; while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0)&lt;br /&gt; {&lt;br /&gt; // Wait for started event to occur. Note: will spin forever if crystal isnt working&lt;br /&gt; __NOP();&lt;br /&gt; }&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1549366500598v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169474?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 10:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8044178d-305c-40e1-937e-980085c166ce</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you verified that your load capacitances corresponds with the load capacitance of your crystal ( for more details, see &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/general-pcb-design-guidelines-for-nrf51?CommentId=387c44d7-00b4-47d7-b0c6-d4a085184603"&gt;Crystal and load capacitors&lt;/a&gt;)? Not sure how you determine that the crystal is not working, but note that the softdevice keeps it off in idle mode so it won&amp;#39;t be running all the time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169151?ContentTypeID=1</link><pubDate>Sat, 02 Feb 2019 11:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68a01764-8ede-4219-85e7-7b2d54c741b8</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;Hello Vidar Berg,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I loaded&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8002f7663a2942109706758b6ff7dc78/ble_5F00_app_5F00_beacon_5F00_w_5F00_softdevice.hex"&gt;ble_app_beacon_w_softdevice.hex&lt;/a&gt;&amp;nbsp;in nRF51822 QFAB custom board.&lt;/p&gt;
&lt;p&gt;But Bluetooth is not Enabled(Not showing mobile &amp;amp; Laptop).&lt;/p&gt;
&lt;p&gt;External Crystal also Not working.&lt;/p&gt;
&lt;p&gt;Please advice. is it hardware issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169021?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 10:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63db1a4e-b3b7-4748-a0cc-3f44ba941683</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;hello Vidar Berg,&lt;/p&gt;
&lt;p&gt;.hex file&amp;nbsp; should require for the Fresh custom nRF51822 board&amp;nbsp; for Enable the Bluetooth ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/169004?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 09:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03c79591-0ac6-494f-bd72-2c4753ffce32</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;ok. Thak you.&lt;/p&gt;
&lt;p&gt;Send me example programs for nRF51822-QFAB custom board.&lt;/p&gt;
&lt;p&gt;I am using external crystal 16 Mhz. crystal is not enable with Beacon code i.e PCA10028(S130)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168975?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 07:09:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:061cce10-d032-4505-88c1-cecd6085ce3f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;We don&amp;#39;t have official support for the ST-link programmer. I&amp;#39;d recommend you to get a Nordic 51 DK which has a on-board jlink programmer. It support programming of external boards as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168969?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 05:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:820131bb-bf4e-4caa-8980-66690a9a1d57</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;i am using ST-link programmer&lt;/p&gt;
&lt;p&gt;I am loading nRF51822.axf file only though Keil Uvision Tool.&lt;/p&gt;
&lt;p&gt;How to load nRF51822.hex file using ST-link programmer.&lt;/p&gt;
&lt;p&gt;Give some basic&amp;nbsp; example code&amp;nbsp; for loading and testing the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168853?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 11:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26e61e6f-e920-4911-8130-263430edab92</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please try with attached .hex file and see if you can discover the beacon in the nRF Connect app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8002f7663a2942109706758b6ff7dc78/ble_5F00_app_5F00_beacon_5F00_w_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_beacon_5F00_w_5F00_softdevice.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168785?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 06:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78279b9a-8c35-4495-bddd-4a7477c9b50a</guid><dc:creator>bhaskarch</dc:creator><description>&lt;p&gt;thanks for reply&lt;/p&gt;
&lt;p&gt;i&amp;nbsp; changed Rom and Ram setting Keil Tool, again it is not showing bluetooth on mobile.&lt;/p&gt;
&lt;p&gt;first i need to enable Bluetooth on my nRF51822 AB board.&lt;/p&gt;
&lt;p&gt;now i am loading ble_app_beacon code but external crystal is not enabled&lt;/p&gt;
&lt;p&gt;which example code can i load into the board&lt;/p&gt;
&lt;p&gt;Please suggest me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1548916406281v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168687?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f7885b-c1c5-48ce-8996-3f692a5835ff</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The nRF51 will&amp;nbsp;use the internal clock as long as the crystal is not requested by the application or Softdevice. Also, the linker settings you posted will not work for the ble_app_beacon example because it will overlap with the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These should work for xxAB:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8002f7663a2942109706758b6ff7dc78/pastedimage1548850564993v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Crystal is not enabled in nRF51822- QFAB</title><link>https://devzone.nordicsemi.com/thread/168600?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 06:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4786ab7-26fe-4c5d-897c-2bcce6684ffa</guid><dc:creator>Kapil Rawat</dc:creator><description>&lt;p&gt;Hi please look at below devzone question &lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42812/problem-detecting-external-crystal-oscillator-in-custom-nrf52832"&gt;Ques&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>