<?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>nrf51822 crystal issue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4194/nrf51822-crystal-issue</link><description>FIrst timer with the nordic.. so i could use some help. 
 i&amp;#39;ve tried my code on the eval kit and it worked fine. On my custom board (has external 16MHz crystal www.digikey.com/.../1693950) during the 
 SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jan 2017 12:36:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4194/nrf51822-crystal-issue" /><item><title>RE: nrf51822 crystal issue?</title><link>https://devzone.nordicsemi.com/thread/14993?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 12:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da22e0d-ffe1-4021-9943-eb0410036d06</guid><dc:creator>chilled_juice</dc:creator><description>&lt;p&gt;The error code is 0x00000002, which means &amp;quot;SoftDevice has not been enabled&amp;quot;. What issues can lead to this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 crystal issue?</title><link>https://devzone.nordicsemi.com/thread/14991?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2015 08:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f55dcc0-061b-48c3-9425-e0d236a39477</guid><dc:creator>erikkflores</dc:creator><description>&lt;p&gt;Is anyone having this problem too? we are experiencing the same problem when measuring the XC2 signal. and the processor just do not run.&lt;/p&gt;
&lt;p&gt;Any comments?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 crystal issue?</title><link>https://devzone.nordicsemi.com/thread/14992?ContentTypeID=1</link><pubDate>Sat, 25 Oct 2014 19:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:110c5cd0-aab6-4f8d-9f99-9ca2b1bb0fe3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You should compare the returned error code with the errors listed above the function in the API documentation (the function can be found by using Find in Files).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**@brief Enable External Interrupt.
 * @note Corresponds to NVIC_EnableIRQ in CMSIS.
 *
 * @pre{IRQn is valid and not reserved by the stack}
 *
 * @param[in] IRQn See the NVIC_EnableIRQ documentation in CMSIS.
 *
 * @retval ::NRF_SUCCESS The interrupt was enabled.
 * @retval ::NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE The interrupt is not available for the application.
 * @retval ::NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED The interrupt has a priority not available for the application.
 */
SVCALL(SD_NVIC_ENABLEIRQ, uint32_t, sd_nvic_EnableIRQ(IRQn_Type IRQn));
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The returned error code will be in hexadecimal format, use &amp;quot;Go To Definition Of &amp;#39;...&amp;#39;&amp;quot; to find the error code of the different errors. You can use CTRL+- to navigate backwards.&lt;/p&gt;
&lt;p&gt;Error code 0x2002 corresponds to &lt;code&gt;NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;What happends if you change &lt;code&gt;SWI_IRQn&lt;/code&gt; to &lt;code&gt;SWI2_IRQn&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 crystal issue?</title><link>https://devzone.nordicsemi.com/thread/14990?ContentTypeID=1</link><pubDate>Sat, 25 Oct 2014 02:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e81861a3-8fb5-4d86-ae94-a51ac6db695e</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Anyone? I could use some help. If I need to post something else, please let me know!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>