<?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>n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45163/n51822-dtm-settings</link><description>Hi 
 I want to get a certification. I need your help because I am not currently in DTM mode. 
 The procedure I checked is as follows. 
 1. J-LINK , USB to Serial Converter 
 
 
 2. Firmware update 
 
 
 
 - Update List 
 nRF5_SDK_15.3.0_59ac345 
 nRF51_SDK_10</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2019 08:49:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45163/n51822-dtm-settings" /><item><title>RE: n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/thread/178258?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 08:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92b604be-4517-45e2-8e93-3f9126547445</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to compile/build the project after you have modified the main.c file. Build process will generate a new hex-file that you flash to the board. See the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v12-3-0/getting_started_examples"&gt;gettings started section&lt;/a&gt; in the SDK documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/thread/178216?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 05:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701bb5dc-d4d0-4e1c-9878-83332a256fdd</guid><dc:creator>SCCRF</dc:creator><description>&lt;p&gt;&lt;span&gt;I&amp;#39;m sorry, but I don&amp;#39;t understand.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Please explain in detail.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;The main.c file can be modified through the Keil program.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;The main.c file cannot be updated through nrfgostudio.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Should I replace the main.c file with the hex file?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Please explain.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/thread/177620?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63151734-3397-43e8-bf72-3467f79159ea</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to recompile the firmware with the correct pins. For nRF51, we recommend using SDK v12.3.0, as this is the latest one with support for nRF51 series ICs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/thread/177547?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 10:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c471359-3633-49c3-be40-34d8a58abf91</guid><dc:creator>SCCRF</dc:creator><description>&lt;p&gt;&lt;span&gt;How do I do the HEX edition?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;What kind of program do you use?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: n51822 DTM Settings?</title><link>https://devzone.nordicsemi.com/thread/177463?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 01:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8554f2e8-7c95-4bfd-b789-11f7a2a5f001</guid><dc:creator>Eugene Yu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The prebuilt firmware is assigned UART T/Rx pin as below.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define RX_PIN_NUMBER  11
#define TX_PIN_NUMBER  9
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But your hardware doesn&amp;#39;t use same pin as default.&lt;/p&gt;
&lt;p&gt;Try to change the firmware code as below.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void uart_init(void)
{
    // Configure UART0 pins.
    nrf_gpio_cfg_output(TX_PIN_NUMBER);
    nrf_gpio_cfg_input(RX_PIN_NUMBER, NRF_GPIO_PIN_NOPULL);

    NRF_UART0-&amp;gt;PSELTXD       = 10;//TX_PIN_NUMBER;
    NRF_UART0-&amp;gt;PSELRXD       = 11;//RX_PIN_NUMBER;
    NRF_UART0-&amp;gt;BAUDRATE      = DTM_BITRATE;

    // Clean out possible events from earlier operations
    NRF_UART0-&amp;gt;EVENTS_RXDRDY = 0;
    NRF_UART0-&amp;gt;EVENTS_TXDRDY = 0;
    NRF_UART0-&amp;gt;EVENTS_ERROR  = 0;

    // Activate UART.
    NRF_UART0-&amp;gt;ENABLE        = UART_ENABLE_ENABLE_Enabled;
    NRF_UART0-&amp;gt;INTENSET      = 0;
    NRF_UART0-&amp;gt;TASKS_STARTTX = 1;
    NRF_UART0-&amp;gt;TASKS_STARTRX = 1;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>