<?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>Direct Test Mode - Transmitter Test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73148/direct-test-mode---transmitter-test</link><description>Hey all 
 
 For my project, which is using the nRf52840 as a Bluetooth server, I have to implement a test software. This test software has to, among other things, to send on a specific channel. During this the emitted signal is measured by the test infrastructure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Mar 2021 12:54:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73148/direct-test-mode---transmitter-test" /><item><title>RE: Direct Test Mode - Transmitter Test</title><link>https://devzone.nordicsemi.com/thread/301677?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 12:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b1a6c21-bf63-4a68-9e05-a73c8e11cd7a</guid><dc:creator>M. David.</dc:creator><description>&lt;p&gt;Ok, great. That answers my question. Many thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Direct Test Mode - Transmitter Test</title><link>https://devzone.nordicsemi.com/thread/301654?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 11:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e11bd42d-91e7-4552-9d6a-98d548b32f56</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Samuel,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="M. David."]A further question in this regard: My hardware is using the ANT pin of the nRf52840 SOC as I/O pin to which the BLE antenna is connected to. I&amp;#39;ve seen that for the DMT example project, you could select which pin to use, is this also the case for the radio_test example? Put in other words, Can the pin which is used as I/O for the antenna be configured, and if yes how/where, or is it by default the ANT pin.&amp;nbsp;[/quote]
&lt;p&gt;I&amp;#39;m not sure I fully understand. Do you have a setup where you have a antenna selector switch (an RF switch), and its controlled via a GPIO? If that is the case, you are free to connect this signal to any available GPIO.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that the &amp;quot;ANT&amp;quot; pin on the nRF-IC is the RF pin, and its set-in-stone where that is located on the IC.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Direct Test Mode - Transmitter Test</title><link>https://devzone.nordicsemi.com/thread/301545?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 20:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0cb814-b104-4ce5-85bb-17ff2faccf9e</guid><dc:creator>M. David.</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;H&amp;aring;kon, many thanks for the quick reply. I&amp;#39;ve taken the approach with the ratio_test exmple, as you&amp;#39;ve suggested.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A further question in this regard: My hardware is using the ANT pin of the nRf52840 SOC as I/O pin to which the BLE antenna is connected to. I&amp;#39;ve seen that for the DMT example project, you could select which pin to use, is this also the case for the radio_test example? Put in other words, Can the pin which is used as I/O for the antenna be configured, and if yes how/where, or is it by default the ANT pin.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Direct Test Mode - Transmitter Test</title><link>https://devzone.nordicsemi.com/thread/301501?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 15:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fdb4d9e-9fc1-4723-b5f6-974de70035d7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;For my project, which is using the nRf52840 as a Bluetooth server, I have to implement a test software. This test software has to, among other things, to send on a specific channel. During this the emitted signal is measured by the test infrastructure (RSSI).&lt;/p&gt;
&lt;p&gt;As a basis I&amp;#39;ve been using the functionality the ble_dtm.h header offers. This worked fine for the SDK 15, but I&amp;#39;ve had to update to the newer SDK17 and now I&amp;#39;ve problem calling the function:&lt;/p&gt;[/quote]
&lt;p&gt;Unfortunately, there&amp;#39;s a change in the API between these two SDK versions.&lt;/p&gt;
&lt;p&gt;The ble_dtm library was changed to match the bluetooth core specification, Vol 6, Part F &amp;quot;Direct Test Mode&amp;quot;. This function now takes in the exact data that is expected over the UART 2-wire interface (taken from Bluetooth Core spec v5.2, page 3197):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1616511922399v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can still conform to the similar functionality, but you need to input the cmd as per the DTM bluetooth core specification.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Another question is, is there a better approach for this kind of test, or is using the DTM library ok?[/quote]
&lt;p&gt;DTM is usually used for bluetooth certification, in combination with a upper tester; where it verifies specific RF PHY features and timing that the bluetooth core spec requires. This is different from teleregulatory certifications.&lt;/p&gt;
&lt;p&gt;Many people also use proprietary RF modes, in which case the radio_test example (or the radio_test.c/.h files integrated into your application) can be beneficial to use.&lt;/p&gt;
&lt;p&gt;radio_test is more versatile compared to dtm, as it also includes proprietary and 802.15.4 RF PHY. It depends on what you need in your application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>