<?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>What could make BLE sample applications not work, but radio works ok?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/267/what-could-make-ble-sample-applications-not-work-but-radio-works-ok</link><description>Hi, got an interesting problem, this is on a custom board with nRF51822 QFAB that we are bringing up. The radio test (not using softdevice) works ok and produces strong transmit signal (as strong or even stronger than from the eval board). However none</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Aug 2013 08:30:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/267/what-could-make-ble-sample-applications-not-work-but-radio-works-ok" /><item><title>RE: What could make BLE sample applications not work, but radio works ok?</title><link>https://devzone.nordicsemi.com/thread/1451?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2013 08:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc90e85-3350-4f21-879d-0dd7ae30a6c7</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is a good question, so I posted it separately and answered it. Please have a look here:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/what-low-frequency-clock-sources-can-i-use" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/what-low-frequency-clock-sources-can-i-use&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What could make BLE sample applications not work, but radio works ok?</title><link>https://devzone.nordicsemi.com/thread/1450?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2013 02:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f31744-f102-420f-b00a-7743119bc5b0</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Thank you Ole!&lt;/p&gt;
&lt;p&gt;Looks like the external crystal was the problem.  Yes we have a crystal on our board, and the ble sample apps try to use it by default with BLE_STACK_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, ...).&lt;/p&gt;
&lt;p&gt;Changed that to BLE_STACK_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM, ...) and Bluetooth now works.   Nice!&lt;/p&gt;
&lt;p&gt;Before, the only symptom of a problem was that there was no Bluetooth, the apps ran fine in a debugger and did not seem to hang, also there were no errors.  Is there a way to detect such a condition?&lt;/p&gt;
&lt;p&gt;Could you explain the NRF_CLOCK_LFCLKSRC_RC_* settings?  What are the drawbacks to using the SYNTH clock?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What could make BLE sample applications not work, but radio works ok?</title><link>https://devzone.nordicsemi.com/thread/1449?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2013 04:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb02c50b-7bc8-4f2d-894f-58b2d07037da</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;My best guess is the low frequency clock settings. If you try to enable the softdevice, telling it to use an external crystal, if you don&amp;#39;t have any external crystal, it will hang. I&amp;#39;d therefore suggest that you try changing the clock source to RC, to see if it helps.&lt;/p&gt;
&lt;p&gt;This could be worth doing even if you have an external crystal, since there could be something else with the crystal causing trouble.&lt;/p&gt;
&lt;p&gt;If this is not the problem, it would be very helpful with a little further description than &amp;quot;it doesn&amp;#39;t work&amp;quot;. :-) (i.e. what exactly happens, have you tried running with the debugger, does it hang, where if so and so on.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>