You are here

Project #018: Direct Test Mode (DTM) | Cypress Semiconductor

Project #018: Direct Test Mode (DTM)

In today's project, we will learn about Bluetooth Low Energy's Direct Test Mode (DTM).

DTM is a standard mode in the BLE 4.1 specification (Vol 6, Part F) that allows testing of the radio's Physical Layer (PHY) by transmitting and receiving sequences of test packets. This is often used in compliance and production-line testing, without the need of going through the complete BLE Protocol Stack, i.e. it skips the Host Stack and talks directly to the radio in an isolated manner.

Another layer in the BLE specification is the Host Controller Interface (HCI) - a standard-defined interface to exchange data between the BLE Host Stack and the radio Controller. In PSoC 4 BLE, the underlying physical communication for the HCI protocol is UART. Through UART, the commands and responses are communicated between the PSoC 4 BLE and a commercial RF Tester. When the HCI mode is selected in the BLE Component, a UART Component in PSoC 4 BLE is reserved for this use. Once the BLE Component is configured for HCI mode, there is no further application code to be written to implement the DTM mode, except enabling global interrupts, starting the BLE Component, and processing BLE events. The proper response to commands from tester is handled by the BLE Stack as part of BLE Component.

Several commercial options are avaialble for RF Testers. In this example, we use the Rohde&Schwarz CBT Tester.

You can download this PSoC Creator project along with a detailed PDF of instructions, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day018_Direct_Test_Mode

 

   

 

 

 

Comments

williamyeh_1598931's picture

download?

sherapova_2972126's picture

This sort of message continually moving and I want to peruse quality substance, so glad to discover great spot to numerous here in the post, the composition is simply awesome, a debt of gratitude is in order for the post. Rutabagas

zacknight_2986731's picture

I've been hunting down some tolerable stuff on the subject and haven't had any fortunes up until this point, You just got another greatest fan!.. brian holm lawyer san diego

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.