<?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>switch between softdevice and DTM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34711/switch-between-softdevice-and-dtm</link><description>Hi Nordic team 
 
 I want to switch between DTM and normal BLE by pressing the button. 
 It is base on two example ble_app_att_mtu_throughput and direct_test_mode. 
 Is there any effect on my existed value in my register?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 May 2018 09:10:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34711/switch-between-softdevice-and-dtm" /><item><title>RE: switch between softdevice and DTM</title><link>https://devzone.nordicsemi.com/thread/133769?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 09:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c1f4cc4-6979-4487-b129-defcd7eb90c8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Perhaps I misunderstood you. If you want to press a button during startup (after reset), and reset after exiting the specific mode, then you do not need to do any cleanup. However, if you want to switch to DTM after the SoftDevice have been enabled, then you should call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group___n_r_f___s_d_m___f_u_n_c_t_i_o_n_s.html?cp=2_3_2_1_0_2_8_2_0#ga45900ecbe6d5ebf9ae78894fe6c75b23"&gt;sd_softdevice_disable()&lt;/a&gt;&amp;nbsp;before you initialize DTM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switch between softdevice and DTM</title><link>https://devzone.nordicsemi.com/thread/133557?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 03:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00d3652b-d076-4a3a-a3ce-b938050e3cba</guid><dc:creator>william_wu_A</dc:creator><description>&lt;p&gt;Hi sir&lt;/p&gt;
&lt;p&gt;What is the specific method to disable softdevice?&lt;/p&gt;
&lt;p&gt;It means to modify the parameter in the sdk_config.h?&lt;/p&gt;
&lt;p&gt;Or set an button to switch the between them?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: switch between softdevice and DTM</title><link>https://devzone.nordicsemi.com/thread/133395?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eea879c2-2e1c-4a76-812e-35ea2480cf23</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should not be a problem as long as you make sure to disable the SoftDevice before entering DTM mode, and make sure that you disable any interrupt sources before exiting DTM mode and starting the SoftDevice. The SoftDevice itself will configure all the relevant registers properly when it is initialized, so it does not relay on any registers having their reset/default values initially.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>