<?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>DTM and radio test build and testing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90438/dtm-and-radio-test-build-and-testing</link><description>Hi All! 
 I am using nrf21540 in my custom board with nrf52833/20 to extend the range. I am trying both NCS and nrf5 sdk. I got examples in both SDKs but facing issues in building the project. Can you please help me in this regard? 
 1)In Nrf5 SDK facing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Aug 2022 20:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90438/dtm-and-radio-test-build-and-testing" /><item><title>RE: DTM and radio test build and testing</title><link>https://devzone.nordicsemi.com/thread/379775?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 20:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901dcf04-fa80-448b-a0bb-0f91821d06c1</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/bendik-heiskel"&gt;Bendik Heiskel&lt;/a&gt;!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After i compiled the pca10112 soft device and pca10100(nrf52833) then i need to compile pca10100e(nrf52820) .For nrf52820 i migrated the code from pca10100 as per the instructions of nordic forum.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I got the following error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1659472055146v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;multiple definitions of `UARTE0_UART0_IRQHandler&amp;#39;;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also attached the .emproject file. Can you please look into it if I missed anything?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/soluton.txt"&gt;devzone.nordicsemi.com/.../soluton.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks in Advance!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM and radio test build and testing</title><link>https://devzone.nordicsemi.com/thread/379406?ContentTypeID=1</link><pubDate>Sun, 31 Jul 2022 19:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05878c57-2aad-4add-91e8-e47db2501ce7</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I compiled pca10112 it compiled well without any error!&lt;/p&gt;
&lt;p&gt;Thanks And regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM and radio test build and testing</title><link>https://devzone.nordicsemi.com/thread/379369?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 16:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb4c0b1a-8cd9-42ae-bf9b-07eefbcb9925</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/bendik-heiskel"&gt;Bendik Heiskel&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much for the reponse! I followed your steps for the nrf5 sdk . And also pasted the header files&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#include &amp;quot;nrf21540_defs.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf21540_gpio.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf21540_macro.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf21540_spi.h&amp;quot;&lt;br /&gt;#include &amp;quot;nrf21540_types.h&amp;quot;&lt;/p&gt;
&lt;p&gt;#if defined(NRF21540_DRIVER_ENABLE) &amp;amp;&amp;amp; (NRF21540_DRIVER_ENABLE == 1)&lt;br /&gt;#include &amp;quot;nrf21540.h&amp;quot;&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;in main.c&lt;/p&gt;
&lt;p&gt;after that, i got the following errors.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1659111241483v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please help me in this regard?&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM and radio test build and testing</title><link>https://devzone.nordicsemi.com/thread/379334?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 13:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1a4332b-080d-4892-bcaa-1266e565a271</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;You have to add the nrf21540 header file. This link show how to do it in Segger embedded studio:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_headers_ses.html?cp=1_0_2_6_5_1"&gt;https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_headers_ses.html?cp=1_0_2_6_5_1&lt;br /&gt;&lt;/a&gt;The nrf21540.h file is located in: &lt;br /&gt;components\drivers_ext\nrf21540&lt;br /&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The radio_test sample in the nRF connect SDK are dependent on some files form the DTM sample, when creating a new freestanding application in VS code the paths for these files are incorrect as they are relative paths. To fix this you must change these lines in the CMakeList.txt file to the absolute paths for these files from the DTM sample:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Application sources
target_sources_ifdef(CONFIG_FEM app
			PRIVATE ../../bluetooth/direct_test_mode/src/fem/fem.c)
target_sources_ifdef(CONFIG_NRF21540_FEM app
			PRIVATE ../../bluetooth/direct_test_mode/src/fem/nrf21540.c)
target_sources_ifdef(CONFIG_GENERIC_FEM app
			PRIVATE ../../bluetooth/direct_test_mode/src/fem/generic_fem.c)
zephyr_include_directories(../../bluetooth/direct_test_mode/src/fem/)&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;It&amp;#39;s recommended to use the DTM and radio_test samples from NCS as these have a more complete support for the nRF21540.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>