<?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>nRF8122 hangs on SOFTDEVICE_HANDLER_INIT - possible clock issue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37166/nrf8122-hangs-on-softdevice_handler_init---possible-clock-issue</link><description>After beating my head against the toolchain for quite a while, I finally managed to get SES to compile the ble_app_uart for the nRF51822 using the s130 soft device. It works as expected with the development kit board (most recent PCA10028 - purchased</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2019 22:45:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37166/nrf8122-hangs-on-softdevice_handler_init---possible-clock-issue" /><item><title>RE: nRF8122 hangs on SOFTDEVICE_HANDLER_INIT - possible clock issue?</title><link>https://devzone.nordicsemi.com/thread/179078?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 22:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7680db4-9afc-40bf-b159-685627a11d09</guid><dc:creator>beorostica</dc:creator><description>&lt;p&gt;Thanks ssokol for sharing your experience!. I&amp;#39;m currently working with the Adafruit Uart Friend Module &lt;a href="https://www.adafruit.com/product/2479"&gt;https://www.adafruit.com/product/2479&lt;/a&gt;. Just like you, I spent a lot trying to figure out what was wrong with the programming process. Your solution worked for me perfectly. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8122 hangs on SOFTDEVICE_HANDLER_INIT - possible clock issue?</title><link>https://devzone.nordicsemi.com/thread/142910?ContentTypeID=1</link><pubDate>Sat, 04 Aug 2018 20:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35c21742-fd6b-461f-89a5-33c47fd6be6f</guid><dc:creator>ssokol</dc:creator><description>&lt;p&gt;Ah, it &lt;em&gt;was&lt;/em&gt; the clock. I&amp;#39;m not sure how to get the hardware clock that supposedly exists to work, but I was able to get the RC working. The SDK has changed quite a bit since the days of&amp;nbsp;&lt;span&gt;NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION. The new way of setting the clock source is to edit the&amp;nbsp;&lt;/span&gt;NRF_CLOCK_LFCLKSRC definition to use the RC:&lt;/p&gt;
&lt;p&gt;In pca10028.h:&lt;/p&gt;
&lt;pre&gt;// Low frequency clock source to be used by the SoftDevice
#ifdef S210
#define NRF_CLOCK_LFCLKSRC      NRF_CLOCK_LFCLKSRC_XTAL_20_PPM
#else
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,            \
                                 .rc_ctiv       = 16,                             \
                                 .rc_temp_ctiv  = 2,                              \
                                 .xtal_accuracy = 0}
#endif&lt;/pre&gt;
&lt;p&gt;That got it working. Advertised service shows up as expected. I&amp;#39;m going to mark this as an answer, but I would love to know if anyone else has been able to get the crystal on the PTR5188 module working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>