<?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>RF52 Example examples\ble_peripheral\ble_app_uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64202/rf52-example-examples-ble_peripheral-ble_app_uart</link><description>Hi, 
 
 I am using the example above on a PCA10056 development board with nRF5_SDK_15.2.0_9412b96. 
 No changes have been made to the example code. 
 After 3 minutes approx, the code ends up in app_error_fault_handler. 
 The stack trace shows: 
 ble_advertising_start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jul 2020 07:55:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64202/rf52-example-examples-ble_peripheral-ble_app_uart" /><item><title>RE: RF52 Example examples\ble_peripheral\ble_app_uart</title><link>https://devzone.nordicsemi.com/thread/262115?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 07:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab5c7004-7d5d-46d5-874a-593be185c915</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This example is configured to enter System OFF mode (i.e. deep sleep) when advertising times out after three minutes, and the chip can&amp;#39;t go into sleep mode while in debug mode so that is why the program ends up in the error handler instead.&lt;/p&gt;
&lt;p&gt;To disable the adv timeout you can set the APP_ADV_DURATION to &amp;#39;0&amp;#39; (or BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED) and change the advertisement flags from BLE_GAP_ADV_FLAGS_LE_ONLY&lt;strong&gt;_LIMITED_&lt;/strong&gt;DISC_MODE to BLE_GAP_ADV_FLAGS_LE_ONLY&lt;strong&gt;_GENERAL_&lt;/strong&gt;DISC_MODE.&lt;/p&gt;
[quote user=""]Why does the&amp;nbsp;&lt;span&gt;example end up in a fault condition when a mobile phone HAS connected?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;Does it enter the fault handler while connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>