SWRA720 February 2022 CC1352P , CC1352P7 , CC1352R , CC1354P10 , CC1354R10 , CC2340R2 , CC2640R2F , CC2640R2F-Q1 , CC2640R2L , CC2642R , CC2642R-Q1 , CC2651P3 , CC2651R3 , CC2651R3SIPA , CC2652P , CC2652P7 , CC2652PSIP , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP , CC2674P10 , CC2674R10 , CC2755R10
SimpleLink, Launchpad, Simplelink, are trademarks of Texas Instruments.
Bluetooth is a registered trademark of Bluetooth SIG.
Windows is a registered trademark of Microsoft group of companies.
R&S is a registered trademark of Rohde & Schwarz.
National Instruments is a registered trademark of National Instruments Corporation.
All trademarks are the property of their respective owners.
Requirements for programming the DUT:
Requirements for testing:
R&S® CBTGo software
The overall setup to perform Bluetooth Low Energy using the CBT Bluetooth tester is shown in the diagram below.
The CBT Bluetooth tester (Figure 2-1 shows two views: rear and front panels) connects to both a PC and the Device Under Test (DUT), which is a custom board or a development kit such as the Launchpad.
The PC runs the CBTGo software and connects to the CBT via a General Purpose Interface Bus (GPIB) interface to control and configure it to perform the tests. It also gathers the test results for printing and sharing.
The CBT connects to the DUT in two ways: a RF connection to transmit the Bluetooth data to the DUT and a RS232 connection to communicate with the DUT and perform control and gather packet data and statistics.
The DUT must have a software that exposes a communications interface to interact with the CBT. This can be accomplished by adding the Direct Test Mode (DTM) functionality to the application or use an application specifically designed for DTM.
The out-of-the-box host_test project, provided with the Simplelink SDK, is a complete HCI-enabled software that allows DTM to operate in a transparent manner through a UART port. For a Simplelink Launchpad, the UART port is the XDS110 secondary channel port (the one not used by the XDS110 JTAG functionality).
A discussion about enabling DTM on an end application is outside of the scope of this application note, but additional details about the DTM and HCI test modes can be found at the BLE5 Stack User's Guide chapter BLE5-Stack → Host Controller Interface (HCI)
To perform the testing, two setup procedures will be described in the next steps: program the DUT with the out-of-the-box host_test, install the control software and perform the hardware connections.
Download and install the Simplelink SDK. It typically installs under the directories below: (M_mm_mm_mm is the version being used).
CC13xx/26xx: C:\ti\simplelink_cc13xx_26xx_sdk_M_mm_mm_mm
CC2640R2: C:\ti\simplelink_cc2640r2_sdk_M_mm_mm_mm
Download and install one of the utilities referenced above to program the DUT on the development kit or the board.
The host_test has both a precompiled hexadecimal executable (.hex extension) or a complete project to be built with Code Composer Studio or IAR. This procedure will cover the use of the precompiled hexadecimal executable, which is typically located at the directory below:
CC13xx/26xx: C:\ti\simplelink_cc13xx_26xx_sdk_M_mm_mm_mm\examples\rtos\<BOARD>\ble5stack\hexfiles
CC2640R2: C:\ti\simplelink_cc2640r2_sdk_M_mm_mm_mm\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\hexfiles
Details about building and loading code using CCS or IAR can be found at the BLE Quick Start Guide chapter of the BLE5 Stack User's Guide or the Bluetooth LE Fundamentals module of the SimpleLink Academy.
Connect the board to the computer and open Uniflash. By default it will recognize the board and device as shown below (this will not work if you are using a standalone XDS110)
Click the Start button.
In the screen that opens, click on the Browse button and browse to the directory where the <host_test_app.hex> file is located. Click on Open.
Click on the Load Image button to connect and program the device. Several steps will be executed and it will end with the software flashed to the device.
Once the operation completes successfully, the device is programmed and Uniflash can be closed.