<?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>Test mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111801/test-mode</link><description>Hi 
 We are currently in the midst of our production process and are utilizing a microcontroller that communicates with a BLE chip. As part of our quality assurance, we aim to test the Tx mode and the Rx sensitivity using UART. 
 To proceed with this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jun 2024 09:31:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111801/test-mode" /><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/489460?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 09:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae3cf818-d73e-442f-910d-d3b776e38eaa</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;You have to calculate it:&lt;/p&gt;
&lt;p&gt;(number of received packets) / (number of transmitted packets) * 100%&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/489349?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 14:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:948d63f2-2196-4b28-9303-941ad9fb8dbe</guid><dc:creator>Shalom Gerbi</dc:creator><description>&lt;p&gt;How can I see the PER?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/489344?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 14:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345b171b-a92b-48b6-bb84-f203089fdc48</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You need two instances of DTM for this. Set one device as receiver and one as transmitter. Same datarate and channel for both. Packet type PRBS9 (TS only).&lt;/p&gt;
&lt;p&gt;Press start test on the RX side.&amp;nbsp;On the TX side, set the timeout to a few seconds. Press start test and wait for it to finish&lt;/p&gt;
&lt;p&gt;When you stop the test on the RX side, it will report the number of packets it has received. You can adjust the timeout on the TX side untill you have for instance 1500 packets received.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is how the Bluetooth tested does as well. The DUT will just report&amp;nbsp; the number of packets it has received between test start and stop. The tester calculates the PER based on the number of sent and received packets.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s an old app note with some python script here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_appnotes/struct/appnotes_nan34.html"&gt;https://infocenter.nordicsemi.com/topic/struct_appnotes/struct/appnotes_nan34.html&lt;/a&gt;&amp;nbsp;that you may be able to use with some tweaking.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/489336?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 13:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:940ba5aa-63e8-425f-a6d7-e817184dfebc</guid><dc:creator>Shalom Gerbi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;Thank you for the assistance with the BLE Direct Test Mode setup. &lt;br /&gt;I have successfully tested the configuration using the Direct Test Mode app to better understand the requirements. &lt;br /&gt;However, there is one aspect that remains unclear and not fully detailed in the documentation: the calculation of Packet Error Rate and how the RX synchronizes with the TX during the test.&lt;br /&gt;How can i test the PER during the DTM&amp;nbsp;mode&amp;nbsp;&lt;br /&gt;What&amp;nbsp;&lt;span&gt;RX Tx synchronizes shouyld be&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718718828117v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488679?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 12:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edd4a52b-0223-4183-8eaf-c6737c605467</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;For DTM, see the Bluetooth Core spec. There are no better info.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For radio test, see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have a Bluetooth tester you intend to use in production? What equipment and instuments do you plan to use?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488619?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 09:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6893caa3-cdd3-445f-9286-32a67d09170d</guid><dc:creator>Shalom Gerbi</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Measuring the output power via spectrum.&lt;/li&gt;
&lt;li&gt;Receiving packet error information.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;These commands will be sent over UART from my controller,&lt;/p&gt;
&lt;p&gt;Could you please provide the steps to enter BLE test mode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488615?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22d89eee-c10c-4da9-ab1f-26b39aca0d82</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Do you have a Bluetooth tester you intend to use in production? What equipment and instuments do you plan to use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488598?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 06:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c7f9c4e-b638-4e9e-930e-3fcf941d79ae</guid><dc:creator>Shalom Gerbi</dc:creator><description>&lt;p&gt;I still find it difficult to understand how to test this in production. Do you have a detailed Protocols API? The document is very messy and does not explain the process clearly. It doesn&amp;#39;t specify the order of steps, what is needed, or how to proceed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488270?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 09:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f2d7892-f5f7-48b6-9808-cef7485bb370</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;DTM uses a defined command set over UART. You can find the details in the Bluetooth Corespec.&amp;nbsp;&lt;a href="https://www.bluetooth.com/specifications/core-html/"&gt;https://www.bluetooth.com/specifications/core-html/&lt;/a&gt;&amp;nbsp;volume 6, part F&lt;/p&gt;
&lt;p&gt;It&amp;#39;s meant only to be used by a Bluetooth tester. If you don&amp;#39;t have that, you can use radio test instead:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Testing sensitiivity isn&amp;#39;t straigth forward here. If you use a nRF devices (a DK) as the tester (TX) you can use the command &amp;quot;&lt;span&gt;start_tx_modulated_carrier&amp;quot; and the number of packets (e.g. 1500) and count the number of received packets on DUT. You can then calculate the PER (packet error rate).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe you can use a fixed level in a production test and just verify that PER is ok, compared with a golden sample.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/488268?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 09:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d75825-c714-45c6-bd7f-946a2717466a</guid><dc:creator>Shalom Gerbi</dc:creator><description>&lt;p&gt;Thank you. I have reviewed this document, but I&amp;#39;m finding it difficult to understand what we should do if we want to test it. I only see the commands listed.&lt;/p&gt;
&lt;p&gt;As I explained earlier, we want to test it in production by sending commands over the UART and getting back the results. Let me clarify:&lt;/p&gt;
&lt;p&gt;We have a controller that manages all the BLE activity, and we want to test the transmission chain. Specifically, we want to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Send a command over the UART.&lt;/li&gt;
&lt;li&gt;Connect the antenna to a power meter or spectrum analyzer to measure the output power.&lt;/li&gt;
&lt;li&gt;Test the sensitivity by sending a signal to the antenna and receiving back the BER (Bit Error Rate).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;From this document, I am having trouble understanding which commands to send and in what order. Could you please provide more detailed instructions or examples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Test mode</title><link>https://devzone.nordicsemi.com/thread/487275?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2024 10:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:148fa017-1137-4069-a868-2343fabd0016</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;The best approach is to use DTM and a Bluetooth tester here, unless you can do a automated test setup in Labview for instance.&lt;/p&gt;
&lt;p&gt;DTM can be found here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direct_test_mode/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direct_test_mode/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>