<?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>Custom board issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12889/custom-board-issue</link><description>Hi, 
 We just received our custom board based nRF52832, below nRF52832 schematic
 
 I succeed to flash the board. but i have frequency troubles.
I made a simple exemple to verify this: 
 #define TIMEOUT_VALUE 10 /**&amp;lt; 10 microsecond timer time-out</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Apr 2016 11:17:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12889/custom-board-issue" /><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49065?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 11:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5859c5e5-0751-40c2-a83d-2742f5f5e90f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;sd_softdevice_enable(..) will hang if there is a problem with the low frequency clock source.
Could you try to configure the lfclk with the example from the S13x migration document, and check if it works?&lt;/p&gt;
&lt;p&gt;// Example configuration equivalent to the old
NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_1000MS_CALIBRATION:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_clock_lf_cfg_t rc_cfg = {
.source = NRF_CLOCK_LF_SRC_RC,
.rc_ctiv = 4, // Check temperature every 4 * 250ms
.rc_temp_ctiv = 1, // Only calibrate if temperature has changed.
};
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49064?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 09:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd9280be-f907-4e93-b4e4-4c1cfa2a53ff</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;i am using sdk Ble Uart&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49063?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 09:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e93abe-a1d7-4514-b99d-79ff353a82a6</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Do you use one of the SDK examples? If not, could you test with an SDK example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49062?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2016 16:04:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63de14e9-66c3-480b-8e08-bd299fab3ed2</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;Now, i have issue when i try enabling soft device.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_softdevice_enable(p_clock_lf_cfg, softdevice_fault_handler);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;never returns.&lt;/p&gt;
&lt;p&gt;I need help please.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49061?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 13:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18f414dd-a3d1-4292-9b8b-f442819592fb</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;I have used the programm found &lt;a href="https://devzone.nordicsemi.com/question/536/calibrate-internal-32khz-rc-oscillator-using-the-16mhz-crystal/"&gt;here&lt;/a&gt;
and solved my issue. it calibrate the internal HFCLK&lt;/p&gt;
&lt;p&gt;Thank you for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49055?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8823448a-f43b-4ac7-8570-23ce492d552e</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;So I didn&amp;#39;t use external HFCLK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49056?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 11:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cfac43e-d22a-4e20-9884-2c266107d784</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;I get HFCLKSTAT = 0x00010000&lt;/p&gt;
&lt;p&gt;SRC  0 :RC = 64MHz internal oscillator (HFINT)&lt;/p&gt;
&lt;p&gt;STATE 1: Running = HFCLK running&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49058?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 10:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959aa1a9-6c1a-451e-805e-2bc3c0ce72f7</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Look in section 19.3 of the manual. You start it with the TASKS_HFCLKSTART, know when it&amp;#39;s started with the EVENTS_HFCLKSTARTED and you can check the status in the HFCLKSTAT register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49057?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 10:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb516ce1-7b51-4ac4-a868-c88f4418abc7</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;How can i read the CLOCK register?&lt;/p&gt;
&lt;p&gt;How explicitly start the HF oscillator ?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49054?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 10:32:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04cb0b96-9d46-403f-8525-c2511cdbd8c0</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Actually that&amp;#39;s a very good question because .. I assumed the 32MHz crystal oscillator was running but looking at the code, unless the app_simple_timer.. starts it, it may actually not be at all and you are already getting the internal 64MHz RC oscillator (it&amp;#39;s 64MHz on the nrf52).&lt;/p&gt;
&lt;p&gt;So perhaps you want to explicitly start the HF oscillator and wait for it to start, to ensure you are using the crystal and not the internal RC. You can also break in the code and check the CLOCK register to see if it says the HF oscillator is running.&lt;/p&gt;
&lt;p&gt;The internal RC has a tolerance of 6% max, so you shouldn&amp;#39;t get anything worse than 18.5us even if it&amp;#39;s at the edge of the range.&lt;/p&gt;
&lt;p&gt;So perhaps I got it the wrong way around, and you need to force the HF crystal oscillator ON in your test&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49060?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 10:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe7cbcf3-2d1d-461e-bbd6-beb1bb0a2e3a</guid><dc:creator>Juba Belgaid</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for reply. I will check this.
How can i use Internal 16 MHz RC oscillator ?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom board issue</title><link>https://devzone.nordicsemi.com/thread/49059?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 10:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30ac569-e115-4254-a07a-dee580501206</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I would say most likely your crystal isn&amp;#39;t running at 32MHz but something faster, which would usually suggest increasing the load capacitors. Did you use the same 9pF crystal as the development board, if you used something higher, that would need correspondingly higher load capacitors. eg if the crystal is a 12pF one, you&amp;#39;d need capacitors more like 20pF than 12pF.&lt;/p&gt;
&lt;p&gt;Are you sure the correct capacitors were installed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>