<?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>nRF5340 automatically runs DTM when power is supplied</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83164/nrf5340-automatically-runs-dtm-when-power-is-supplied</link><description>Dear Nordic 
 I have a question to ask your.When I used the NRF52 Series and nRF5 SDK,I made a simple modification tot the radio test program in examples\peripheral\radio_test so that the NRF52 series chip can be directly fixed at the frequency when the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 08:16:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83164/nrf5340-automatically-runs-dtm-when-power-is-supplied" /><item><title>RE: nRF5340 automatically runs DTM when power is supplied</title><link>https://devzone.nordicsemi.com/thread/345192?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 08:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58264b38-27bd-4b5f-b256-1e252fe2c7cc</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;
&lt;p&gt;In main.c, you add these headers:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;quot;radio_test.h&amp;quot;
#include &amp;lt;string.h&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And this code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	struct radio_test_config my_config;
	memset(&amp;amp;my_config, 0, sizeof(struct radio_test_config));
	my_config.type = UNMODULATED_TX;
	my_config.mode = NRF_RADIO_MODE_BLE_1MBIT;
	my_config.params.unmodulated_tx.txpower = RADIO_TXPOWER_TXPOWER_0dBm;
	my_config.params.unmodulated_tx.channel = 40;

	radio_test_start(&amp;amp;my_config);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And you should have a unmodulated carrier at channel 40.&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>