<?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>Custom nRF21540 DTM UART pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86970/custom-nrf21540-dtm-uart-pins</link><description>Dear nRF, 
 I know this topic has been covered many times, but I am unsure how I can change the uart pins for BLE 2-wire? I have not found any configuration for it inside dtm source code in SDK. 
 I have custom board that has nRF52840 + nRF21540 FEM,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Apr 2022 12:00:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86970/custom-nrf21540-dtm-uart-pins" /><item><title>RE: Custom nRF21540 DTM UART pins</title><link>https://devzone.nordicsemi.com/thread/363558?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 12:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e538a0e8-1eab-4a79-b52d-9973e6c133b2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Pin P1.00 is &amp;lt;32&amp;gt;.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF21540 DTM UART pins</title><link>https://devzone.nordicsemi.com/thread/363556?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 11:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8556cb2e-ea6d-4fbe-8625-550d95e64834</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t already I suggest to check out:&lt;br /&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once you are familiar with devicetree and how to make overlay files, then you will be able to modify or add the nrf21540:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840.dts#L113"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840.dts#L113&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF21540 DTM UART pins</title><link>https://devzone.nordicsemi.com/thread/363549?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 11:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9e332f-2547-4003-8485-6998d4e39d14</guid><dc:creator>rikhard</dc:creator><description>&lt;p&gt;Update: I managed to install toolchains, built the direct_test_mode app and verified that the pins P0.06 and P0.08 and for BLE 2-wire communication. I was able to run tests against Anritsu MT8852B via FTDi -cable.&lt;/p&gt;
&lt;p&gt;However, then I needed to change the GPIO pins from default to something else. I changed them to P0.25 and P0.06 and that change works after I committed the changes to overlay file as per&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary"&gt;https://devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But if I used P1.00 (overlay file configuration as pasted below), the communication between DUT and tested did not happen.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How can I configure P1.00 as serial?&lt;/p&gt;
&lt;p&gt;I try to run this with nRF21540db board. My custom board does not have other GPIOs available than P1.00 and P0.25.&lt;/p&gt;
&lt;div&gt;
&lt;div style="padding-left:30px;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;19200&amp;gt;;
	tx-pin = &amp;lt;100&amp;gt;;
	rx-pin = &amp;lt;25&amp;gt;;
	rts-pin = &amp;lt;5&amp;gt;;
	cts-pin = &amp;lt;7&amp;gt;;
};
&lt;/pre&gt;
&lt;div style="padding-left:30px;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>