<?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>NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54270/nrf52810-softdevice-issue-on-custom-board</link><description>Hi Everyone, 
 
 We are using NRF52810 with latest nRF5_SDK_16.0.0 and s112_nrf52_7.0.1_softdevice. We are able to program with ble_app_UART example on our prototype, 
 but BLE is not advertising. here are some snapshots of our project configuration.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Nov 2019 13:44:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54270/nrf52810-softdevice-issue-on-custom-board" /><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219905?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 13:44:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d780d8a-202a-495a-a698-ba65625e6e49</guid><dc:creator>Swapnil Karkare</dc:creator><description>&lt;p&gt;Thank you very much for Update. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219904?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 13:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faac17d2-0080-4a4f-a1d0-1c6664271f23</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The oscillator is designed for 32M. You have to update the BOM unfortunately. Please use our reference design in the PS as a reference.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219901?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 13:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8cdb532-9526-4d6a-a926-e4462a867d62</guid><dc:creator>Swapnil Karkare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does this mean BLE soft device has some clock settings which assumes 32MHz crystal connected to the chip?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am asking this because now it is BOM change for us. will have to forward this to hardware team.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219897?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 13:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3256c7c-4985-4e14-80a6-1fa4a337cf7f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You must have an external 32Mhz crystal with a tolerance of +-40ppm or better if you&amp;#39;re going to use BLE. It&amp;#39;s not optional like the LF crystal is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219895?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74014b15-0598-4d43-878e-a402db32c3a0</guid><dc:creator>Swapnil Karkare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are using LF clock frequency for BLE UART advertising program testing. The used External crystal frequency&amp;nbsp; 24MHz connected at XC1 and XC2 pins. It Didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;We also checked with 16MHz Crystal.&lt;/p&gt;
&lt;p&gt;We removed 32MHz crystal from PCA10040 Evalution kit and assembled on our&amp;nbsp;prototype and it started&amp;nbsp;advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All testing is done on LF clock configuration.&lt;/p&gt;
&lt;p&gt;//==========================================================&lt;/p&gt;
&lt;p&gt;// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration&lt;/p&gt;
&lt;p&gt;//==========================================================&lt;br /&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.&lt;br /&gt; &lt;br /&gt;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC &lt;br /&gt;// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL &lt;br /&gt;// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH&lt;/p&gt;
&lt;p&gt;#ifndef NRF_SDH_CLOCK_LF_SRC&lt;br /&gt;#define NRF_SDH_CLOCK_LF_SRC 0&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. &lt;br /&gt;#ifndef NRF_SDH_CLOCK_LF_RC_CTIV&lt;br /&gt;#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. &lt;br /&gt;// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated&lt;br /&gt;// &amp;lt;i&amp;gt; if the temperature has not changed.&lt;/p&gt;
&lt;p&gt;#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV&lt;br /&gt;#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM &lt;br /&gt;// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM &lt;br /&gt;// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM &lt;br /&gt;// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM &lt;br /&gt;// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM &lt;br /&gt;// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM &lt;br /&gt;// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM &lt;br /&gt;// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM &lt;br /&gt;// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM &lt;br /&gt;// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM &lt;br /&gt;// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM &lt;br /&gt;// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM&lt;/p&gt;
&lt;p&gt;#ifndef NRF_SDH_CLOCK_LF_ACCURACY&lt;br /&gt;#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does NRF allow use of different Crystals frequency apart from 32MHz?&lt;/p&gt;
&lt;p&gt;Is there dependencies on External crystal though we used Internal oscillator?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219818?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 08:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7f2ef91-e01f-4d3e-9afd-a409d3cacebc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, it looks like you have resolved the RAM allocation issue. This assertion indicates that the softdevice has been blocked and thus failed to meets its timing requirements. This can happen if you either single-step through the code with the debugger (debugger will halt CPU but not other peripheral such timer sources) or if you have interrupts in your app that used the highest interrupt priority (&amp;#39;0&amp;#39;) which is reserved to the Softdevice. Have you made any changes to the ble_app_uart example you&amp;#39;re using?&lt;/p&gt;
&lt;p&gt;Softdevice assertions are notified to the app in hardfault context.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219794?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 05:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f15e7ec-098d-40cf-9025-d3e31ba7f0a4</guid><dc:creator>Swapnil Karkare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think i resolved the RAM allocation issue. because i am not facing nrf_log_warning for maximum ram allocation.&lt;/p&gt;
&lt;p&gt;But i still not got BLE advertising packet&amp;nbsp; and device again goes into hardfault after 5 6 seconds.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On&amp;nbsp;call stack we are getting:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;app_error_fault_handler(uint32_t id = 1, uint32_t pc = 66800, uint32_t info = 0)&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;[sdh_stack_observers1$$Base + 0x17ea0]&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The Id = 1 suggest&amp;nbsp;&lt;span&gt;&lt;strong&gt;NRF_FAULT_ID_SD_ASSERT&lt;/strong&gt; fault.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define &lt;strong&gt;NRF_FAULT_ID_SD_RANGE_START&amp;nbsp; &amp;nbsp; &amp;nbsp;0x00000000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/strong&gt; /**&amp;lt; SoftDevice ID range start. */&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NRF_FAULT_ID_SD_ASSERT&amp;nbsp; &amp;nbsp;&lt;/strong&gt; (&lt;strong&gt;NRF_FAULT_ID_SD_RANGE_START&amp;nbsp;&lt;/strong&gt; + &lt;strong&gt;1&lt;/strong&gt;)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /**&amp;lt; SoftDevice assertion. The info parameter is reserved for future used. */&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;and in Fault exception viewer:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The processor has escalated a configurable-priority exception to HardFault.&lt;/p&gt;
&lt;p&gt;Exception occured at PC = 0xffffffff, LR = 0x0&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am trying to figure out is there still RAM related issue like (malloc is exceeding RAM range)&lt;/p&gt;
&lt;p&gt;Could you please suggest any solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219617?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 09:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d8d6c5d-2f5d-40ad-bee4-a7d8eeaba716</guid><dc:creator>Ali Rumane</dc:creator><description>&lt;p&gt;If it lands you on this warning then, you are allocating less RAM to your application.&lt;br /&gt;Try viewing exact size of the RAM displayed by NRF_LOG and allocate that size.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44069/how-to-view-the-log"&gt;Here&lt;/a&gt; is how you can view logs incase you have some trouble.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219591?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 08:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d4a928e-566e-463e-9567-bfb31e5cf878</guid><dc:creator>Swapnil Karkare</dc:creator><description>&lt;p&gt;I have added debug in Pre- Processor&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1573545747252v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As well as while debugging i found insufficient RAM&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1573545687310v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there RAM Allocation issue?&lt;/p&gt;
&lt;p&gt;I have also tried with different flash and RAM allocations, but it still fails to advertise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 softdevice issue on custom Board</title><link>https://devzone.nordicsemi.com/thread/219587?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 07:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1829b899-527f-4a11-a005-00aa93f0edd6</guid><dc:creator>Ali Rumane</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you add DEBUG in Preprocessor Symbol Defines, set Optimization Level to 1 and try to debug which function is causing error?&lt;/p&gt;
&lt;p&gt;You can look at the following links to debug your code:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/477/can-i-debug-ble-program"&gt;Link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/27014/how-can-i-distinguish-the-reason-for-hardfault"&gt;Link&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>