<?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>Integrating DTM functionality into an app with softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26673/integrating-dtm-functionality-into-an-app-with-softdevice</link><description>Hello, I am investigating the possibility of integrating the DTM functionality into our app (which uses the softdevice) to allow us to use a single image for production testing and deployment. What I am hoping to achieve is to allow a user to select/deselect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2017 15:10:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26673/integrating-dtm-functionality-into-an-app-with-softdevice" /><item><title>RE: Integrating DTM functionality into an app with softdevice</title><link>https://devzone.nordicsemi.com/thread/104925?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 15:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eea0487-dde9-4b3d-9b31-454e5a852d25</guid><dc:creator>pajo</dc:creator><description>&lt;p&gt;Thanks Sigurd. That makes sense. What I want to do is feasible, but I need to be careful about interrupts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating DTM functionality into an app with softdevice</title><link>https://devzone.nordicsemi.com/thread/104928?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 15:07:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0147be36-6da7-465a-be6d-841dcebd3f35</guid><dc:creator>pajo</dc:creator><description>&lt;p&gt;Thanks for your response John!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating DTM functionality into an app with softdevice</title><link>https://devzone.nordicsemi.com/thread/104926?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 14:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:539ce4ee-6e5f-4615-8c19-42b6ef9ed563</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your approach is feasible, and this can be done inside the same app. On step 3, you also need to make sure that all interrupts that are used by the application are disabled, so when you are in DTM mode you will not get any interrupts that was enabled by either the application code or the SoftDevice code.&lt;/p&gt;
&lt;p&gt;The approach John DeWitt describes is a bit more safe and simple, since you enter the mode you want on startup/initialization, and need to power cycle to change mode. With this approach you don&amp;#39;t need to take care of &amp;quot;uninitializing&amp;quot; the application code before entering DTM mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating DTM functionality into an app with softdevice</title><link>https://devzone.nordicsemi.com/thread/104927?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 21:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe523be-dcb2-47c5-9b24-6c53f4bc3849</guid><dc:creator>John</dc:creator><description>&lt;p&gt;We do have the DTM test and our app in a single image. The way we manage control is a bit more heavy handed than your proposed use of a button press while the device is already running. What we do is check a pin (could be controlled by a button, but we use a test fixture), during initialization and if that pin is pulled low we give control to the DTM code. If the pin is high, we boot normally and the soft device and our application take control. It requires a power cycle to activate DTM, but it works very well and it&amp;#39;s simple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>