<?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>Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59291/keep-system-alive-after-ble-advertising-time-out-and-stop-advertising-in-nrf52832</link><description>Hi, 
 I had study all of BLE example code in &amp;quot;.\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral&amp;quot; directory. 
 There have two solution after BLE advertising had time-out: 
 1. execute &amp;quot;ble_advertising_start()&amp;quot; again. --&amp;gt; Start next advertising. 
 2. execute</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Mar 2020 13:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59291/keep-system-alive-after-ble-advertising-time-out-and-stop-advertising-in-nrf52832" /><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/241387?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 13:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f694c11d-3deb-4a31-9888-b059ac6ccbe0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The Softdevice use TIMER0. TIMER1 is available to the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/241386?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 13:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e7dec14-7241-4358-8073-2524372dc67b</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;I use TIMER0 to trigger &amp;quot;battery_level_meas_timeout_handler()&amp;quot; and &amp;quot;linklight_timeout_handler()&amp;quot;. but SoftDevice is using TIMER1. How can I make sure which timer is used for SAADC Sample?&lt;/p&gt;
&lt;p&gt;In my program, when on_adv_evt() had been trigger when advertising is time-out, and I didn&amp;#39;t &amp;quot;advertising again&amp;quot; or &amp;quot;enter sleep mode&amp;quot;. How can keep SAADC sample work?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/241037?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 08:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c166d7d-3274-4dde-96f8-405861e91864</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You were using TIMER0 to trigger SAADC sampling. The problem is that this timer instance is already reserved and used by the Softdevice.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-65e6a4b05de14501992bff22e2a07319/pastedimage1584951109749v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-65e6a4b05de14501992bff22e2a07319/pastedimage1584951132178v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;An overview of which peripherals are reserved to the Softdevice can be found here: &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/sd_resource_reqs/hw_block_interrupt_vector.html?cp=4_6_0_0_6_0"&gt;https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/sd_resource_reqs/hw_block_interrupt_vector.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/240912?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 14:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da8a4e3-8394-4906-ae48-16f7edc5e3da</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please find the attach file.&lt;/p&gt;
&lt;p&gt;When BLE advertising is time-out, main-loop (line 943 to 945 in main.c) is still alive, but&amp;nbsp;saadc_callback() will not execute anymore.&lt;/p&gt;
&lt;p&gt;How can I do, if I want keep &amp;quot;saadc_callback()&amp;quot; function alive.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Test.7z"&gt;devzone.nordicsemi.com/.../Test.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/240845?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 11:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:323b6e7b-e219-4da9-8898-05717db2380e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Chianglin,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It sounds like it should work as intended if you just remove the call to&amp;nbsp;sleep_mode_enter()?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep system alive after BLE advertising time-out and stop advertising in nRF52832</title><link>https://devzone.nordicsemi.com/thread/240661?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 13:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5412eee0-1227-4aa7-b40b-dbb698d3380c</guid><dc:creator>awneil</dc:creator><description>[quote userid="34970" url="~/f/nordic-q-a/59291/keep-system-alive-after-ble-advertising-time-out-and-stop-advertising-in-nrf52832"] execute &amp;quot;sleep_mode_enter()&amp;quot; --&amp;gt; The system will not work.[/quote]
&lt;p&gt;Of course it still works - but you need to wake it up!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>