User Manual Part 1

CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kit Guide, Doc. # 001-93731 Rev. *A 84
Example Projects
4.5.4 Verify Output
This project will be used whenever the CySmart PC tool (see CySmart PC Tool on page 160) is
invoked for testing other example projects. In addition, the LED control operation can be verified as
follows.
1. Power the BLE Pioneer kit through the USB connector J13.
2. Program the BLE Pioneer kit with the CapSense and LED example project described in
CapSense Slider and LED on page 47.
3. Connect the BLE dongle to one of the USB ports on the PC.
4. Program the dongle with the
BLE_Dongle_CySmart project. See Using Example Projects on
page 42 for programming instructions.
5. Press the user button SW2 on both the BLE dongle and the BLE Pioneer kit. The BLE dongle will
start scanning and the BLE Pioneer kit will start advertising.
6. Wait for the BLE connection between the BLE dongle and the Pioneer baseboard. The connec-
tion success status will be indicated by a 3-second ON state of the red LED followed by the OFF
state on the baseboard.
7. Swipe your finger on the CapSense slider and check the LED brightness variation on the dongle.
4.6 Direct Test Mode (DTM)
4.6.1 Project Description
Bluetooth Core specification (v4.0 and later), Volume 6, Part F defines Direct Test Mode (DTM) as a
method to test the BLE PHY layer and provide a report back to the tester. It uses one of the two
methods, over Host Controller Interface (HCI) or through a two-wire UART interface.
Device under test (DUT) is the BLE system that is to be tested (for example, BLE Pioneer kit). With
DTM, the RF performance of the BLE system can be verified during development or in production
line. The environment consists of the DUT and a tester. The tester has two parts; the upper tester
sends commands through one of the two methods (HCI or two-wire UART) and the lower tester per-
forms the corresponding action over the RF link. The tester compares the command sent over HCI
and the response received over RF, and provides a result of the performance.
Figure 4-67. Direct Test Mode (DTM) Setup
The BLE component allows configuring the device in DTM by enabling the HCI. The appropriate
response to commands from the tester are performed by the BLE stack and does not involve sepa-
rate application handling. The only task is to start the BLE component and call the API to process the
events.
DUT
Upper
Tester
Lower
Tester
RF (2.4 GHz)
HCI/UART