<?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>Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30564/beacon-example-stopped-on-own-board</link><description>Hi All, 
 I am just play with nRF52 SoC. 
 We design small wearable device based on MDBT42V BLE module with nRF52832 chip inside. For lear we have nRF52 DK. 
 I work with Segger Embedded Studio. S132 BLE core 
 I can open example Beacon project, build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Feb 2018 03:26:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30564/beacon-example-stopped-on-own-board" /><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121182?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2018 03:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b5bbfe-253b-4bfe-a053-3fb618f19991</guid><dc:creator>Pitman</dc:creator><description>&lt;p&gt;I found what&amp;#39;s wrong. Fix it and example now works on our board.&lt;br /&gt;&lt;br /&gt;What&amp;#39;s wrong:&lt;br /&gt;&lt;br /&gt;When I set BOARD_CUSTOM define and edit board_custom.h for set correct defines for struct NRF_CLOCK_LFCLKSRC to NRF_CLOCK_RF_SRC_SYNTH. The function sdh_state_observer_notify() from nrf_sdh.c for determine clock source used defines from sdk_config.h. When I set correct clock source as NRF_CLOCK_RF_SRC_SYNTH inside sdk_config.h the example build and run success. I removed duplicate defines NRF_CLOCK_LFCLKSRC from board_custom.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121104?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e03b65-083a-4288-ab9d-160641117b96</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Have you enabled monitor mode debugging? The step-by-step debugging may stop the softdevice and cause problem; I&amp;#39;m not well versed in that area so search for &amp;quot;monitor mode debugging&amp;quot; in this forum to get more info. Also take a look at the monitor mode debugging in the JLink reference menu (should be in your JLink folder).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121099?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecd89d77-bbc6-42b3-a427-28eaeaad7a37</guid><dc:creator>Pitman</dc:creator><description>&lt;p&gt;Other HW. Other Schematic. May be need more additionaly changes. I try found solution.&lt;/p&gt;
&lt;p&gt;I use debugger for run step by step. After Init functions programm run in loop forever. Where called two functions. One for check state, second is power_manage(). First cycle call power_manage() with exit, second cycle call power_manage but never exit from function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121096?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:25:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee68aa54-c243-4471-9383-f6587869c67c</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Is it the beacon example and the only changes are for the LF setting? What do you mean by &amp;quot;second call power_manage()&amp;quot; i.e. where does this &amp;quot;second&amp;quot; come from?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121091?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4edf8d2a-e2f2-497b-b590-a620426ce634</guid><dc:creator>Pitman</dc:creator><description>&lt;p&gt;I&amp;#39;ll do it my tomorrow. Thanks for your fast answer.&lt;br /&gt;I forgot wrote my SDK version. This is nRF5_SDK_14.2.0_17b948a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121090?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 14:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:536e4a9d-a46e-44b8-8720-634434c0b597</guid><dc:creator>Pitman</dc:creator><description>&lt;p&gt;Yes, nothing.&lt;br /&gt;&lt;br /&gt;Our custom board programmed via nRF52 DK. And test Beacon works at the same time on nRF52 DK. Via nRF Connect I see only DK board, not my.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121089?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f021f369-09c5-47f7-b590-476e392947f8</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;And you could not &amp;quot;see&amp;quot; (with BLE sniffer or nRFconnect app)&amp;nbsp; your custom board advertising after power up?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon example stopped on own board.</title><link>https://devzone.nordicsemi.com/thread/121087?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2018 13:50:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef8b7cbf-aa70-44fc-9dbf-06194b4dcadd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you confirm that you are changing to NRF_CLOCK_LF_SRC_SYNTH in&amp;nbsp;NRF_SDH_CLOCK_LF_SRC?&lt;/p&gt;
&lt;p&gt;That is:&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_CLOCK_LF_SRC 2&lt;/p&gt;
&lt;p&gt;If that is not the problem, can you try to use the RC oscillator and see whether that works (only for debugging)?&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_CLOCK_LF_SRC 0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>