Texas Instruments 2540EM 用户手册

下载
页码 6
 
December 2013 
 
 
Web sites: 
www.ti.com/ble
  
E2E Forum: 
www.ti.com/ble-forum
 
Make sure to subscribe to the Low-Power RF 
Newsletter to receive information about updates to 
documentation, new product releases, and more. 
Sign up on the TI web pages. 
 
 
CC2540 Evaluation Module Kit Quick Start Guide
 
 
Opening the Box and Running the Bluetooth® Low Energy SimpleBLE Demo Application 
 
1. Kit Contents 
 
 
 
2 x CC2540 Evaluation Modules 
 
2 x Pulse W1010 Antennas  
 
Documentation 
 
The  kit  is  FCC  and  IC  certified  and  tested/complies  with 
ETSI/R&TTE  over  temperature  from  0  to  +35°C.  The 
antenna, W1010 from Pulse, is a ¼ wave dipole antenna with 
2 dBi gain.
 
 
 
FCC/IC Regulatory Compliance 
FCC Part 15 Class A Compliant 
IC ICES-003 Class A Compliant
 
2. Hardware Requirements 
 
The  CC2540EMK  is  an  add-on  kit  to  the 
CC2540DK. To run the example described in this 
Quick  Start  Guide,  you  would  need  two 
SmartRF05  Boards  (Rev  1.8.1  or  later).  These 
boards are included in the CC2540DK (and not in 
the CC2540EMK). 
 
More information about the SmartRF05EB can 
be found in 
 
 
The CC2540EM boards can also be plugged into 
a  battery  board  (see 
)  for 
standalone operation. 
3. Hardware Setup 
 
Connect  the  antenna  to  the  SMA  connector  on 
the  CC2540  evaluation  module  (CC2540EM). 
Tighten the antenna’s screw firmly on to the SMA 
connector.  If  not  properly  connected,  you  might 
see reduced RF performance.  
 
Next,  mount  the  CC2540EMs 
firmly  on  to  connectors  P5 
and 
P6 
on 
the 
SmartRF05EB.  
 
 
 
 
4. Power Options 
 
There are several ways of applying power to the 
SmartRF05EB; 
 
  USB (5V through USB plug) 
  External Power Supply (see below) 
  2 x 1.5V AA Non-Rechargeable Alkaline 
Batteries 
 
Voltage regulators on the SmartRF05EB will set 
the on-board voltage to 3.3V. 
 
External Power Supply
1
 Requirements: 
Nom Voltage: 4 to 20 VDC 
Max Current: 1500 mA 
Efficiency Level V 
 
Warning!  To  minimize  risk  of  personal  injury  or 
property damage, never use rechargeable batteries to 
power the board.
 
5. Power the Boards 
 
Locate the power source 
header  P11  just  above 
the 
LCD 
on 
the 
SmartRF05EB.  Connect 
pins  1  and  2  if  you  are 
using batteries to power the board. Connect pins 
2  and  3  if  you  are  using  USB  or  external  power 
supply. 
 
Once  you  have  set  P11, 
find switch P8 just next to 
the  DC  jack  on  the 
SmartRF05EB.  To  power 
on  the  board,  flip  the 
switch from “OFF” 
to “ON”. 
 
6. Start-up Screen 
 
One  of  the  CC2540EMs  will  be  pre-loaded  with 
the  SimpleBLECentral  application,  while  the 
other 
will 
be 
pre-loaded 
with 
the 
SimpleBLEPeripheral 
application.  The  LCD 
screens  on  the  two  SmartRF05EBs  should 
display messages similar to those below: 
 
  
 
 
The “0x…” value displayed on each board is the 
device  address.  Every  CC2540  device  has  a 
unique address. 
7. Using the Joystick 
 
The 
SimpleBLEPeripheral 
application 
runs 
autonomously  and  does  not  require  any  user 
interaction.  The  SimpleBLECentral  application, 
however,  requires  user  interaction  by  means  of 
joystick  U1.  Find  joystick  U1  on  the  top  side  of 
the SmartRF05EB, immediately below the LCD. 
 
 
 
The joystick has five different movements: it can 
be  moved  up,  down,  left,  right,  and  it  can  be 
pressed  in,  just  like  a  button.  Each  movement 
performs different actions depending on the state 
of the device. 
 
8. Device Discovery 
 
Before  the  two  devices 
can  connect,  the  central 
device 
must 
first 
discover  the  peripheral 
device. 
To 
perform 
device  discovery,  press 
up  on  joystick  U1  once. 
The  LCD  on  the  central 
device  should  display 
“Discovering…”.  
 
After  a  few  seconds,  it  should  display  “Devices 
Found  1  /  <- 
To  Select”.  This  means  that  the 
central  device  successfully  discovered  the 
peripheral.  Press  left  on  joystick  U1  to  view  the 
address  of  the  peripheral  device.  This  address 
should  match  the  address  seen  on  the 
peripheral’s LCD. 
 
  
 
9. Establish Connection 
 
To 
establish 
connection 
with 
the 
peripheral, 
press  joystick  U1 
in 
towards 
the 
board  (push  it  in 
like it is a  button). 
Once 
the 
connection 
is 
established,  the  central  device  will  automatically 
perform service discovery on the peripheral using 
the  BLE  GATT  protocol.  This  should  complete 
within a few seconds. 
 
The  two  LCD  screens  should  appear  as  in  the 
images below, with the central still displaying the 
peripheral’s  address  and  the  peripheral  having 
changed from “Advertising” to “Connected”: 
 
   
 
 
Be careful that you don’t double tap U1 which 
would terminate the connection immediately, 
giving Disconnected Reason: 22. 
                                      
1
 When using an external power supply, make sure it meets the listed requirements in addition to complying with applicable regional product regulatory and 
safety certification requirements such as UL, CSA, VDE, CCC, and PSE.