4. Using BTool
BTool is a PC Application that allows a user to form a connection between two BLE devices. BTool works
by communicating with a CC2540/41 acting as a network processor by means of HCI vendor specific
commands. You will be able to perform the same functions very similar to those in the SimpleBLE demo;
however with BTool you will have much broader control of the central device.
More information on the network processor configuration and the HostTestRelease project can be found
in the Texas Instruments Bluetooth® Low Energy Software Developer's Guide [3]. More information on the
HCI interface, as well as details on the HCI vendor specific commands that are used by the CC2540/41, can
be found in the TI BLE Vendor Specific HCI Reference Guide [4].
For this section, a PC running windows 7 has been used, but the procedures are essentially the same for
other windows version, such as XP.
Host Board in the following context refers to the hardware platform consisting of a SmartRF05+EM setup
or a CC2540USB Dongle, since either can be used.
4.1 Using SmartRF05EB + CC2540EM/CC2541EM as Host Board
4.1.1 Load HostTestRelease Project on EM using SmartRF05EB
Before using BTool, the HostTestRelease (network processor) application must be loaded onto the central
device. A hex file containing the HostTestRelease application can be found at the following location:
C:\...\BLE-CC254X-1.1b\Accessories\Hex_Files\CC254X_ble_SmartRF_HostTestRelease_Master.hex
For instructions on loading a hex file, please see section 5. It is recommended that you load this firmware
on the SmartRF05EB/EM boards that were previously running the SimpleBLECentral application, and leave
the SimpleBLEPeripheral application on the other set of boards.
4.1.2 Connect SmartRF05EB to PC
BTool, running on a Windows PC, communicates with the EM by means of the serial port (RS-232)
interface on the SmartRF05EB. With a standard DB-9 serial cable, connect the SmartRF05EB to your PC's
serial port. If the PC does not have a serial port, a USB-to-serial converter will be required.
Page 10 of 32
SWRU301
Need help?
Do you have a question about the CC2540 and is the answer not in the manual?
Questions and answers