<?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>Unexpected System resets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4586/unexpected-system-resets</link><description>SourceCode_SSDI_BTLE_BeaconReceiver.zip I am starting to use the Nordic chips, and have a PCA10004 board running. I have modified the experimental_ble_app_multiactivity_beacon example a bit to see what is happening.
I disabled the advertising_start(</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Dec 2014 13:54:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4586/unexpected-system-resets" /><item><title>RE: Unexpected System resets</title><link>https://devzone.nordicsemi.com/thread/16238?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2014 13:54:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bed811e7-c9a2-40e9-bea4-525d5f41e7b2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you add your complete project? If it is secret, please create a case in the MyPage support portal. What SDK version and SoftDevice version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected System resets</title><link>https://devzone.nordicsemi.com/thread/16239?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2014 17:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb213cba-ef0f-4391-800b-d57567a99878</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I recommend you to try to use the debugger.&lt;/p&gt;
&lt;p&gt;Start a debug session and put a breakpoint in &lt;code&gt;app_error_handler()&lt;/code&gt;. To see the actual error code; remove optimization (click Options for Target-&amp;gt;C/C++. Select Level 0 instead of Level 3).&lt;/p&gt;
&lt;p&gt;&lt;code&gt;app_error_handler()&lt;/code&gt; will reset the chip and I see that &lt;code&gt;beacon_scanner_error_handler()&lt;/code&gt; calls it. This may be the reason, but I&amp;#39;m not sure why.&lt;/p&gt;
&lt;p&gt;Please edit your question and include your findings.&lt;/p&gt;
&lt;p&gt;Edit: I have been able to reproduce the issue, I&amp;#39;m not really sure what&amp;#39;s happening. Investigating.&lt;/p&gt;
&lt;p&gt;Edit2: It seems the issue occurs because of a drift difference between RTC0 and TIMER0. RTC0 is used internally by the timeslot, while TIMER0 is used by the application.&lt;/p&gt;
&lt;p&gt;The issue should be resolved by replacing&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NRF_TIMER0-&amp;gt;CC[1] += TIMESLOT_LEN_US;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NRF_TIMER0-&amp;gt;CC[1] += TIMESLOT_LEN_US - (TIMESLOT_LEN_US / 1000) - 1;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;in &lt;code&gt;scanner_beacon.c&lt;/code&gt;, line 289.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>