<?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>NRF52810 Cannot change pins on DTM example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94966/nrf52810-cannot-change-pins-on-dtm-example</link><description>Hello, 
 I am currently having my product, which is based on the nrf52810 SOC, tested and certified. I have been told to set my device up to use the DTM firmware example in order for the testing agency to effectively test the device. I do not have access</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Dec 2022 04:11:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94966/nrf52810-cannot-change-pins-on-dtm-example" /><item><title>RE: NRF52810 Cannot change pins on DTM example</title><link>https://devzone.nordicsemi.com/thread/402123?ContentTypeID=1</link><pubDate>Sat, 24 Dec 2022 04:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4123792-e338-4808-814c-06c1cc7e7469</guid><dc:creator>epice500</dc:creator><description>&lt;p&gt;Hey Einar!&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/94966/nrf52810-cannot-change-pins-on-dtm-example/401299"]If you have been able to modify the right defines, there&amp;nbsp;is another possible pitfall: The pin numbers used are the GPIO pin numbers (so P0.20 would be 20, even though that is pin 23 in the QFN48, for instance). See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52810/pin.html?cp=4_5_0_6_0"&gt;Pin assignments&lt;/a&gt;&amp;nbsp;for details on this.[/quote]
&lt;p&gt;Turns out this was what was wrong... I put the pins in as they are labeled as gpio pins and the DTM software fired right up.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks so much for the help! Enjoy the holidays!&lt;/p&gt;
&lt;p&gt;M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52810 Cannot change pins on DTM example</title><link>https://devzone.nordicsemi.com/thread/401299?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 14:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:022e17b2-f08f-4f6d-b002-d6b586fce74e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the nRF5 SDK or the nRF Connect SDK? As you mention the file pca100040.h I will assume the nRF5 SDK for now (specifically 17.1.0, though this should be valid for any recent version).&lt;/p&gt;
&lt;p&gt;If you have built for the PCA10040 (nRF52 DK), then pca10040.h is the right file to modify to change&amp;nbsp;RX_PIN_NUMBER and&amp;nbsp;TX_PIN_NUMBER, which are used in&amp;nbsp;uart_init() in examples/dtm/direct_test_mode/main.c. If you are building for another board, you should use the board file for that. Alternatively, you could replace the defines in&amp;nbsp;uart_init() with the specific pins (if you want P0.20 for Rx, write 20 instead of&amp;nbsp;RX_PIN_NUMBER).&lt;/p&gt;
&lt;p&gt;If you have been able to modify the right defines, there&amp;nbsp;is another possible pitfall: The pin numbers used are the GPIO pin numbers (so P0.20 would be 20, even though that is pin 23 in the QFN48, for instance). See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52810/pin.html?cp=4_5_0_6_0"&gt;Pin assignments&lt;/a&gt;&amp;nbsp;for details on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>