<?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 serialization example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39281/dtm-serialization-example</link><description>I&amp;#39;m busy with porting a serialization example to a custom controller, but I can&amp;#39;t find the example how to run a serialized DTM application with SDK15. 
 
 The main question that I have, uses DTM mode within the connectivity example the same serialization</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Apr 2024 12:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39281/dtm-serialization-example" /><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/478067?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 12:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d70b004-e8e0-4573-a4b4-c04ad28fcf56</guid><dc:creator>EzechielC</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Has there been any evolution on the serialized DTM example since the post of Jorgen on October 15th, 2019 ? If I try to implement it based on the non-serialized DTM example, can it work properly ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/214990?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 08:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46eb043-d84a-427b-8f76-f235b4ac7fa6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not aware of any plans to add a serialized DTM example back to the SDK. If this is an important feature for you, I recommend that you communicate this to your regional Nordic sales manager.&lt;/p&gt;
&lt;p&gt;If you post your questions and exact steps/code in a new thread, we may also help you achieve what you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/214323?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 09:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a19669-fa44-4a68-8249-b9dc54f5e230</guid><dc:creator>BenEdna</dc:creator><description>&lt;p&gt;Hi,&lt;span class="user-name"&gt;&lt;/span&gt;&lt;a class="internal-link view-post navigable" href="https://devzone.nordicsemi.com/f/nordic-q-a/39281/dtm-serialization-example/152364#152364"&gt;&lt;span class="ui-agodate ui-tip "&gt;&lt;/span&gt; &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is there a plan to create a working serialized DTM example?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to create a example using two nRF52-DK starting from the serialized heartrate sensor (HCI). This example works perfectly.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve adapted it so that after initializing the ble_stack with ble_stack_init&amp;nbsp; I set the connectivity chip into DTM mode from the application chip, but I never see the connectivity chip go into DTM mode or see a SER_PKT_TYPE_DTM_CMD message arrive in the ser_conn_received_pkt_process (debugging on connectivity chip).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    bool erase_bonds;

    // Initialize.
    log_init();
    NRF_LOG_INFO(&amp;quot;Logging started.&amp;quot;);

    timers_init();
    buttons_leds_init(&amp;amp;erase_bonds);
    power_management_init();
    ble_stack_init();
    
    uint32_t                      err_code;
    app_uart_stream_comm_params_t uart_params;

    /* UART config for connectivity chip */
    uart_params.baud_rate = UART_BAUD_RATE_19200;
    uart_params.rx_pin_no = SER_CON_RX_PIN;
    uart_params.tx_pin_no = SER_CON_TX_PIN;

    err_code = ble_dtm_init(&amp;amp;uart_params);
    NRF_LOG_INFO(&amp;quot;DTM mode started.&amp;quot;);

    if (err_code == NRF_SUCCESS)
    {
        /* Close transport layer on our side */
        err_code = sd_softdevice_disable();
        APP_ERROR_CHECK(err_code);
    }
    APP_ERROR_CHECK(err_code);

    /* (Re-)open uart port */
        uint32_t err_code;
        
    const app_uart_comm_params_t comm_params =
      {
          SER_APP_RX_PIN,
          SER_APP_TX_PIN,
          RTS_PIN_NUMBER,
          CTS_PIN_NUMBER,
          APP_UART_FLOW_CONTROL_DISABLED,
          false,
          5152768                           /**&amp;lt; 19200 baud */
      };

    APP_UART_FIFO_INIT(&amp;amp;comm_params,
                       256,                    /**&amp;lt; UART RX buffer size. **/
                       256,                    /**&amp;lt; UART TX buffer size. **/    
                       uart_error_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);

    APP_ERROR_CHECK(err_code);
    
    for(;;)
    {
        NRF_LOG_PROCESS();
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;* Are there any other steps required ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/152686?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 12:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6425cba3-892e-45c5-ba12-732a17906cbf</guid><dc:creator>Erwin v. H.</dc:creator><description>&lt;p&gt;Dear,&lt;/p&gt;
&lt;p&gt;I got it working for my own project.&lt;/p&gt;
&lt;p&gt;If I call the code below it switches the connectivity chip to DTM mode.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  uint32_t                      err_code;
  app_uart_stream_comm_params_t uart_params;
  
  uart_params.baud_rate = NORDIC_DTM_BAUDRATE;
  uart_params.rx_pin_no = NORDIC_DTM_RX_PIN_NR;
  uart_params.tx_pin_no = NORDIC_DTM_TX_PIN_NR;
  
  err_code = ble_dtm_init(&amp;amp;uart_params);

  if (err_code == NRF_SUCCESS)
  {
    err_code = sd_softdevice_disable();
    APP_ERROR_CHECK(err_code);
  }
  APP_ERROR_CHECK(err_code);  
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Erwin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/152364?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 12:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81c27493-f93a-400e-9fb7-02c3f7fb6b07</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, I got verification that this issue is also present in older SDKs (v11.0.0, 12.x.0 and 13.x.0). This means that we do not have a working version of serialized DTM available.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DTM serialization example</title><link>https://devzone.nordicsemi.com/thread/152219?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 13:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a86c1b5-9284-40c5-beea-0a091a304863</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The serialized DTM example was removed, as it did not work correctly for RX. This is mentioned in the release notes of SDK 14.0.0:&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;*** Known Issues
****************

** Overall **
 - Serialized Direct Test Mode does not report RX packet count correctly.&lt;/pre&gt;
&lt;p&gt;How to run the serialized DTM example is described on the bottom of page&amp;nbsp;&lt;a title="Serialization software setup" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/nrf51_setups_serialization.html?cp=4_0_3_1_4_1#serialization_software"&gt;Serialization software setup&lt;/a&gt;. I will get confirmation on that the example works as expected in SDK 13.x.0, and report back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>