<?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>Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/700/can-i-run-ble_app_hrs-sample-using-internal-rc-clock-only</link><description>Hi, I&amp;#39;m trying to run your ble_app_hrs on your nrf51822 chip using internal rc clock: NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, so I pass this to the BLE_STACK_HANDLER_INIT instead of NRF_CLOCK_LFCLKSRC_XTAL_20_PPM (because I don&amp;#39;t have an external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Oct 2013 02:38:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/700/can-i-run-ble_app_hrs-sample-using-internal-rc-clock-only" /><item><title>RE: Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/thread/3516?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 02:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:281a55dd-1f19-4de5-9ccb-5797b6575795</guid><dc:creator>Marc Nicholas</dc:creator><description>&lt;p&gt;Correct. Bluetooth (not just Low Energy) needs a fairly tight PPM on the clock source (40ppm) and you just won&amp;#39;t get that with an RC.&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/thread/3513?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2013 16:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0752e4db-fb57-4595-a6dc-395ffb079ca1</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;did not get an ERR_CODE, instead ble_stack_handler_init hangs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/thread/3514?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2013 16:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3f67723-9390-4643-b662-2b668a51a9f4</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;did not get an ERR_CODE, instead ble_stack_handler_init hangs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/thread/3515?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2013 16:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:856590a6-396a-48f9-86f5-df285724eb73</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Ok thanks, you have confirmed that I need external crystal.  Once I added that everything works great.  I&amp;#39;m running your heart rate profile sample code and it is working perfectly.&lt;/p&gt;
&lt;p&gt;I would love to know the reason.  I assume the 16MHz crystal gives better accuracy needed for BLE to work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I run ble_app_hrs sample using internal rc clock only?</title><link>https://devzone.nordicsemi.com/thread/3512?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2013 10:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74c6f963-3357-4a8e-8df5-fbea0d3ab580</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you make sure you have the a 16 MHz external crystal ?&lt;/p&gt;
&lt;p&gt;The BLE stack requires both 16 MHz and 32 kHz oscillator. The 16 MHz clock source must be provided from external crystal because it&amp;#39;s for radio operation as you already quoted.
The 32 kHZ clock source can be from external crystal or internal RC with the only requirement of having tolerance lower than 250ppm.&lt;/p&gt;
&lt;p&gt;You should have no problem using  NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION as LFCLK.&lt;/p&gt;
&lt;p&gt;Do you receive an ERR_CODE after the call to ble_stack_handler_init() ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>