14
BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech. LLC www.cncgeeker.com 1 BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual Revision 1.0 Online download: This manual: www.cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdf Software: http://www.cncgeeker.com/images/manual/Bluetooth/CDROM-BT2540.rar Univelop Comp. Tech. LLC. www.cncgeeker.com 2012.08.31

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

  • Upload
    others

  • View
    17

  • Download
    1

Embed Size (px)

Citation preview

Page 1: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

1

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual Revision 1.0 Online download: This manual: www.cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdf Software: http://www.cncgeeker.com/images/manual/Bluetooth/CDROM-BT2540.rar

Univelop Comp. Tech. LLC.

www.cncgeeker.com

2012.08.31

Page 2: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

2

Content 1. General Information of BT2540 Bluetooth 4.0 BLE (CC2540) Module................. 3

1.1. Scope.................................................................................................................... 3 1.2. General Description ............................................................................................. 3 1.3. Features ................................................................................................................ 3

2. Descriptions of BT2540 Bluetooth 4.0 BLE (CC2540) Module ................................ 5 2.1. Photo of BT2540 Bluetooth 4.0 BLE (CC2540) Module .................................... 5 2.3. Electrical Characteristics for BT2540 Module .................................................... 7

3. Hardware Connection ................................................................................................. 7 3.1. Connection for BT2540 Module, USB BDM and PC ......................................... 7 3.4. Connection between Interface board and SmartRF05 lite ................................... 7

4. Software and PC Configuration.................................................................................. 8 4.1. Install Latest SmartRF Studio.............................................................................. 8 4.2. Install USB debugger for BT2540 (CC2540) Module......................................... 9 4.3. Usage with SmartRF studio 7 ............................................................................. 9 4.4. Usage with SmartRF Flash Programmer .......................................................... 10 4.5. Usage with IAR Embedded Workbench for 8051 ............................................ 11 4.6. Usage with BTool .............................................................................................. 13

Page 3: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

3

1. General Information of BT2540 Bluetooth 4.0 BLE (CC2540) Module

1.1. Scope This document describes the basic functionalities and the electrical specifications of Univelop LLC’s BT2540 (CC2540) Bluetooth BLE(Bluetooth Low Energy) module.

1.2. General Description The BT2540 Bluetooth 4.0 BLE (CC2540) Module is a cost-effective, low-power

module for Bluetooth low energy applications. It enables robust BLE master or slave nodes to be built with very low total bill-of-material costs. The BT2540 combines an excellent RF transceiver with an industry-standard enhanced 8051 MCU, in-system programmable flash memory, 8-KB RAM/256-KB flash, USB port and many other powerful supporting features and peripherals. The BT2540 is suitable for systems where very low power consumption is required. Very low-power sleep modes are available. Short transition times between operating modes further enable low power consumption.

1.3. Features A. Description for Bluetooth 4.0 BE (Bluetooth Low Energy) BT2540 (CC2540) Module

Working on 2.4Ghz ISM banding 15-mm × 24-mm Industry-level Package Bluetooth 4.0 BLE (low energy technology) Compatible Embedded high-gain antenna with extern antenna adaptor Accurate Digital Received Signal-Strength Indicator (RSSI) Suitable for Systems Targeting Compliance With Worldwide Radio Frequency

Regulations: ETSI EN 300 328 and EN 300 440 Class 2 (Europe), FCC CFR47 Part 15 (US), and ARIB STD-T66 (Japan)

Low Power: Active Mode RX Down to 19.6 mA Active Mode TX (–6 dBm): 24 mA Power Mode 1 (3-µs Wake-Up): 235 µA Power Mode 2 (Sleep Timer On): 0.9 µA Power Mode 3 (External Interrupts): 0.4 µA Microcontroller High-Performance and Low-Power 8051 Microcontroller Core In-System-Programmable Flash, 256 KB 8-KB SRAM Peripherals 12-Bit ADC with Eight Channels and Configurable Resolution Integrated High-Performance Op-Amp and Ultralow-Power Comparator General-Purpose Timers (One 16-Bit, Two 8-Bit) 21 General-Purpose I/O Pins (19× 4 mA, 2× 20 mA) 32-kHz Sleep Timer With Capture Two Powerful USARTs With Support for Several Serial Protocols

Page 4: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

4

IR Generation Circuitry Powerful Five-Channel DMA AES Security Coprocessor Battery Monitor and Temperature Sensor Each CC2540 Contains a Unique 48-bit IEEE Address Full-Speed USB Interface Rohs Compatible Gold plated for reliable connection and higher-performance

B. Description for USB Debugger for CC2540/CC2530/CC2431/CC2511 (SmartRF05EB)

Used to evaluate the Bluetooth BT2540 and Ti's Zigbee products. Use SmartRF Studio to perform RF measurements. The radio can be easily configured to measure sensitivity, output power, and other RF parameters. Features:

USB Interface work with CC2540, CC2541, CC2530, CC2531, CC2430, CC2511, CC1100 etc... work with IAR for 8051 software as well as all the following software. a. SmartRF Studio 7,

b. SmartRF Flash Programmer, c. IAR Embedded Workbench for 8051

Dimensions: 70mm X 25mm

Page 5: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

5

2. Descriptions of BT2540 Bluetooth 4.0 BLE (CC2540) Module

2.1. Photo of BT2540 Bluetooth 4.0 BLE (CC2540) Module 2.1.1 BT2540 Bluetooth 4.0 BLE (CC2540) Module

Fig. 1 BT2540 Bluetooth 4.0 BLE (CC2540) Module Dimension: 15mm X 22mm. 2.1.2 Adaptor board for BT2540 Bluetooth 4.0 BLE (CC2540) Module (Optional)

Fig. 2 Adaptor for BT2540 Bluetooth 4.0 BLE (CC2540) Module

Dimension: 30mm X 36mm.

Page 6: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

6

2.1.3 BT2540 Bluetooth 4.0 BLE (CC2540) Module on adaptor board (Optional)

Fig. 3 Adaptor with BT2540 Module on it

2.1.4 USB SmartRF05-Lite BDM for CC25xx/CC24xx/CC11xx (Optional)

Fig. 4 USB debugger for BT2540 (CC2540) Module

Dimension: 25mm X 70mm.

2.1.5 BT2540 Bluetooth 4.0 BLE (CC2540) Module Development kit (Optional)

Fig. 5 BT2540 (CC2540) Module Development kit

Includes:

1. USB SmartRF05-Lite BDM for CC25xx/CC24xx/CC11xx X2 2. BT2540 Bluetooth 4.0 BLE (CC2540) Module X2

Page 7: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

7

2.3. Electrical Characteristics for BT2540 Module Symbol Parameter Min Typical Max Units

TSTR Storage Temperature

- 40 +150 oC

TOP Working Temperature

- 15 + 25 + 85 oC

VCC Working Voltage 2.5 3.3 3.5 V ICC Current 0.01 3 50 MA

3. Hardware Connection

3.1. Connection for BT2540 Module, USB BDM and PC

Fig.6. Use 10 pin BDM cable to connect BDM socket on the adaptor, then use USB cable to connect the SmartRF05 lite BDM with a Personal Computer (PC).

3.4. Connection between Interface board and SmartRF05 lite Fig.7 sch for BT2540 Bluetooth Module Fig.8 PCB for BT2540 Bluetooth Module

Page 8: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

8

Fig.9 sch for Adaptor for BT2540 Bluetooth Module (CC2540)

Fig.10 PCB footnote for Adaptor for BT2540 Bluetooth Module (CC2540)

4. Software and PC Configuration

4.1. Install Latest SmartRF Studio Download SmartRF studio and install it in the computer, which includes the driver for USB debugger

Page 9: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

9

4.2. Install USB debugger for BT2540 (CC2540) Module Plug USB debugger for BT2540 (CC2540) Module into one of the USB port on the computer, the software will be installed automatically, afterwards, USB debugger for BT2540 (CC2540) Module will be shown up as following:

4.3. Usage with SmartRF studio 7

double click the above item, a windows will be popped out.

Page 10: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

10

4.4. Usage with SmartRF Flash Programmer After open software SmartRF Flash programmer, you can click “flash image” to select different flash image files, and then click “Perform actions” to program the chip in BT2540.

Page 11: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

11

4.5. Usage with IAR Embedded Workbench for 8051 The USB debugger for cc2540 Bluetooth module and BT2540 module also supports latest IAR Embedded Workbench for 8051. Here are the steps:

a. First install IAR Embedded Workbench for 8051 from EW8051-8111-Autorun.exe in CDROM/software/. This step will install drivers for Smart05RF lite BDM.

b. Connect the Smart05RF lite BDM with USB to that machine, the driver will be installed automatically.

c. Install BLE-CC254x-1.3.exe in CD-ROM\Bluetooth_BLE. Which is all the source and example code from TI for CC2540.

d. Use 10 pin BDM cable to connect BDM socket on the adaptor with BT2540 model, then use USB cable to connect the smartRF05 lite with a Personal Computer (PC).

!!! please be sure that the pin alignment (pin 1 from BDM should connect with pin 1 on BT 2540 model).

Page 12: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

12

e. Open IAR, then open an example workshop installed in Step c., one example is as follows:

f. select the project, then click right button of mouse, and select “option” as follows:

then following windows will pop-up,

g. in this window, then select “Debugger” select Driver as “Texas Instruments”

Then you are done. You just compile/make the whole project, and run the code, if you are in step model,

Page 13: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

13

Here is the screenshop for the usage with “IAR Embedded Workbench for 8051”

4.6. Usage with BTool if it is UART/RS232, (port# need to be replaced with the actual port #)

if it is Serial over USB: (port# need to be replaced with the actual port #)

Page 14: BT2540 Bluetooth 4.0 BLE (CC2540) Module Users …cncgeeker.com/images/manual/Bluetooth/BT2540manual.pdfBT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual Univelop Comp. Tech

BT2540 Bluetooth 4.0 BLE (CC2540) Module V1.0 Users Manual

Univelop Comp. Tech. LLC www.cncgeeker.com

14