<?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>Bluetooth Direct Test Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123971/bluetooth-direct-test-mode</link><description>Good afternoon, 
 The product we are developing contains some radios among which an nRF54L15 chip. At the certification company this chip is undergoing different tests. One of the testcases is that the nRF54L15 is put into Bluetooth RX mode, and then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Aug 2025 14:48:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123971/bluetooth-direct-test-mode" /><item><title>RE: Bluetooth Direct Test Mode</title><link>https://devzone.nordicsemi.com/thread/546958?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2025 14:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bce3e44-098f-40a8-8d20-fca0f8d71a12</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;In the DTM measurement the transmitter is put in a mode where he periodically sends the configured test pattern (usually PRBS9) in a fix interval. The transmit interval depends on the packet length and the used phy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The formula for the interval is defined as follows:&lt;br /&gt;I(L) = ceil((L + 249) / 625) * 625 &amp;micro;s&lt;/p&gt;
&lt;p&gt;L in the formula is length of the packet in us. It&amp;#39;s calculation depends on the used phy and uses the number of payload bytes (=&amp;gt; b):&lt;br /&gt;1Mbit: L = 80 + (b * 8)&lt;br /&gt;2MBit: L = (88 + (b * 8)) / 2&lt;br /&gt;Coded S2: L = 462 + ((b * 8) * 2)&lt;br /&gt;Coded S8: L = 720 + ((b * 8) * 8)&lt;br /&gt;&lt;br /&gt;Afterwards&amp;nbsp;the number of expected packets Pexp for the test duration can be calculated. For this&amp;nbsp;the duration of the reception in us is required (=&amp;gt; t).&lt;br /&gt;Pexp = t / I(L)&lt;br /&gt;&lt;br /&gt;For PER caluclation the missing number of packets is divided by the expected packet number. Lets say the number of receive packets is c.&lt;br /&gt;PER = Pexp - c / Pexp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example with typical values:&lt;br /&gt;Phy: 1MBit&lt;br /&gt;Length: 37 Bytes&lt;br /&gt;Reception Duration: 1s&lt;br /&gt;Received Packet Count: 1570&lt;br /&gt;&lt;br /&gt;L = 80 + (37 * 8) = 376&lt;br /&gt;I(L) = ceil((376 + 249) / 625) * 625us = 625us&lt;br /&gt;Expected Packet Count: Pexp = 1000000 / 625 = 1600&lt;br /&gt;PER = (1600 - 1570) / 1600 = 0.01875 = 1.875%&lt;br /&gt;&lt;br /&gt;We have written our own DTM tool that can be used with devices compatible to the bluetooth specification and our own Bluetooth Tester product. There we calculate the PER for any measurement. I think that I&amp;#39;ve seen other DTM tools that do that the same way.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Adrian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>