Texas Instruments 2540EM The CC2540EM is a development tool for TIs 2.4 GHz CC2540 Bluetooth low energy system-on-chip User Manual EVALUATION BOARD KIT MODULE EVM ADDITIONAL TERMS

Texas Instruments Inc. The CC2540EM is a development tool for TIs 2.4 GHz CC2540 Bluetooth low energy system-on-chip EVALUATION BOARD KIT MODULE EVM ADDITIONAL TERMS

Users Manual

 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 www.ti.com/lit/swru210.   The CC2540EM boards can also be plugged into a battery board (see www.ti.com/tool/soc-bb) 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 Supply1 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  a 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.
 10. Connected Operations  Once  the  connection  has  been  established  and service  discovery  is  complete,  you  can  perform the following operations using joystick U1 on the central device:    Read / Write Data – U1 UP   RSSI Monitoring – U1 DOWN   Connection Parameter Update – U1 RIGHT   Terminate Link – U1 IN (towards the board)   11. Read / Write Data  Pressing up on U1 will send a read request to the peripheral device. One byte of data will be read, and  the  value  will  be  displayed.  Pressing  up again will send a write request, and one byte of data  will  be  written  to  the  peripheral.  The peripheral’s LCD should display the written value each time this is done.       Bluetooth  low  energy  is  an  ideal  technology  for transmission  of  small  amounts  of  data  between two devices while consuming very little power, as is demonstrated here.  Continuing  to  press  up  on  the  joystick  will alternate  between  reads  and  writes,  with  the value incrementing each time. 12. Monitor RSSI  Pressing down on U1 will turn on RSSI (received signal strength indication) monitoring. The RSSI will be displayed on the LCD in units of negative dBm.     If the boards are moved farther apart from each other, the RSSI will drop (since the value is negative, a higher number means lower RSSI). If they are moved closer together, the RSSI should rise.  Pressing down on U1 again will turn off RSSI monitoring. 13. Connection Parameter Update  Pressing  right  on  U1  will  send  a  connection parameter  update  request  to  the  peripheral  to use a longer connection interval. This will result in  much  longer  latency  when  performing  data reads and writes; however the power consumed by both devices is significantly reduced.   14. Terminate Link  Pressing U1  in towards the board  will terminate the  link.  The  peripheral  will  return  to  an advertising state. The central device will display a  “Reason”  code,  which  indicates  why  the disconnection occurred (values are defined in the BLE stack API).      In this case, the reason code of 22 indicates that the  link  termination  was  initiated  by  the  central device.  In  the  event  that  the  peripheral  device goes  out  of  range  or  has  power  disconnected from  it,  you  will  see  a  reason  code  of  8  which indicates that a link timeout has occurred.  You  can  now  perform  device  discovery  and  re-connect to the peripheral if desired. 15. SimpleBLE Demo Source Code  The  project  and  source  code  files  for  these applications  (as  well  as  many  others)  are included  with  the  Bluetooth  low  energy  (BLE) stack  from  Texas  Instruments,  which  can  be downloaded at www.ti.com/blestack.  The  two  projects  implementing  this  demo  are called  SimpleBLECentral  (CC2540EM  Master configuration)  and  SimpleBLEPeripheral (CC2540  Slave  configuration).  These  can  be modified as desired, and should provide a good framework for developing your own custom BLE applications.  More  details  on  these  projects  can  be  found within  the  BLE  Software  Developer’s  Guide, which is included with the stack.   Additional Tools and Links  BLE Packet Sniffer  A  CC2540  USB  Dongle  (not  included)  can  be used as a BLE sniffer and monitor packets while the SimpleBLE Demo is running.    The SmartRF Protocol Packet Sniffer application can be downloaded from  www.ti.com/tool/packet-sniffer. SmartRF™ Studio  SmartRF Studio allows you to configure the radio, run  RF  performance  tests,  and  run  link  tests between the two SmartRF05EBs.    SmartRF  Studio  can  be  downloaded  from www.ti.com/smartrfstudio SmartRF Flash Programmer  Texas Instruments has a simple tool which can be used to program and flash the CC2540.     The  SmartRF  Flash  Programmer  application can be downloaded from www.ti.com/tool/flash-programmer BTool  BTool is a Windows application that allows you to control a central device using the serial interface and  perform  various  BLE  functions  while connected to a peripheral device.    BTool is included as part of the installation of the BLE stack (see “Useful Links” to the right). IAR Embedded Workbench  To  develop  software,  program,  and  debug  the CC2540,  you  should  use  IAR  Embedded Workbench for 8051.     More  information  on  IAR  EW8051,  including  a free evaluation version download, can be found at www.iar.com/ew8051. Useful Links  TI BLE Stack and Software: www.ti.com/ble-stack  CC2540/ Development Kit User Guide: www.ti.com/lit/swru301  CC2540 BLE Software Developer’s Guide: www.ti.com/lit/swru271  CC2540/41 User’s Guide: www.ti.com/lit/swru191  CC2540 Product Page: www.ti.com/cc2540  For additional help, visit the TI E2E Forums: www.ti.com/lprf-forum
EVALUATION BOARD/KIT/MODULE (EVM) ADDITIONAL TERMSTexas Instruments (TI) provides the enclosed Evaluation Board/Kit/Module (EVM) under the following conditions:The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies TI from all claimsarising from the handling or use of the goods.Should this evaluation board/kit not meet the specifications indicated in the User’s Guide, the board/kit may be returned within 30 days fromthe date of delivery for a full refund. THE FOREGOING LIMITED WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TOBUYER AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING ANY WARRANTY OFMERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTHABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIALDAMAGES.Please read the User's Guide and, specifically, the Warnings and Restrictions notice in the User's Guide prior to handling the product. Thisnotice contains important safety information about temperatures and voltages. For additional information on TI's environmental and/or safetyprograms, please visit www.ti.com/esh or contact TI.No license is granted under any patent right or other intellectual property right of TI covering or relating to any machine, process, orcombination in which such TI products or services might be or are used. TI currently deals with a variety of customers for products, andtherefore our arrangement with the user is not exclusive. TI assumes no liability for applications assistance, customer product design,software performance, or infringement of patents or services described herein.REGULATORY COMPLIANCE INFORMATIONAs noted in the EVM User’s Guide and/or EVM itself, this EVM and/or accompanying hardware may or may not be subject to the FederalCommunications Commission (FCC) and Industry Canada (IC) rules.For EVMs not subject to the above rules, this evaluation board/kit/module is intended for use for ENGINEERING DEVELOPMENT,DEMONSTRATION OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end product fit for general consumeruse. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computingdevices pursuant to part 15 of FCC or ICES-003 rules, which are designed to provide reasonable protection against radio frequencyinterference. Operation of the equipment may cause interference with radio communications, in which case the user at his own expense willbe required to take whatever measures may be required to correct this interference.General Statement for EVMs including a radioUser Power/Frequency Use Obligations: This radio is intended for development/professional use only in legally allocated frequency andpower limits. Any use of radio frequencies and/or power availability of this EVM and its development application(s) must comply with locallaws governing radio spectrum allocation and power limits for this evaluation module. It is the user’s sole responsibility to only operate thisradio in legally acceptable frequency space and within legally mandated power limitations. Any exceptions to this are strictly prohibited andunauthorized by Texas Instruments unless user has obtained appropriate experimental/development licenses from local regulatoryauthorities, which is responsibility of user including its acceptable authorization.For EVMs annotated as FCC – FEDERAL COMMUNICATIONS COMMISSION Part 15 CompliantCautionThis device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not causeharmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate theequipment.FCC Interference Statement for Class A EVM devicesThis equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules.These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercialenvironment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with theinstruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely tocause harmful interference in which case the user will be required to correct the interference at his own expense.
FCC Interference Statement for Class B EVM devicesThis equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules.These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipmentgenerates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may causeharmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. Ifthis equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off andon, the user is encouraged to try to correct the interference by one or more of the following measures:• Reorient or relocate the receiving antenna.• Increase the separation between the equipment and receiver.• Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.• Consult the dealer or an experienced radio/TV technician for help.For EVMs annotated as IC – INDUSTRY CANADA CompliantThis Class A or B digital apparatus complies with Canadian ICES-003.Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate theequipment.Concerning EVMs including radio transmittersThis device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) thisdevice may not cause interference, and (2) this device must accept any interference, including interference that may cause undesiredoperation of the device.Concerning EVMs including detachable antennasUnder Industry Canada regulations, this radio transmitter may only operate using an antenna of a type and maximum (or lesser) gainapproved for the transmitter by Industry Canada. To reduce potential radio interference to other users, the antenna type and its gain shouldbe so chosen that the equivalent isotropically radiated power (e.i.r.p.) is not more than that necessary for successful communication.This radio transmitter has been approved by Industry Canada to operate with the antenna types listed in the user guide with the maximumpermissible gain and required antenna impedance for each antenna type indicated. Antenna types not included in this list, having a gaingreater than the maximum gain indicated for that type, are strictly prohibited for use with this device.Cet appareil numérique de la classe A ou B est conforme à la norme NMB-003 du Canada.Les changements ou les modifications pas expressément approuvés par la partie responsable de la conformité ont pu vider l’autorité del'utilisateur pour actionner l'équipement.Concernant les EVMs avec appareils radioLe présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation estautorisée aux deux conditions suivantes : (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter toutbrouillage radioélectrique subi, même si le brouillage est susceptible d'en compromettre le fonctionnement.Concernant les EVMs avec antennes détachablesConformément à la réglementation d'Industrie Canada, le présent émetteur radio peut fonctionner avec une antenne d'un type et d'un gainmaximal (ou inférieur) approuvé pour l'émetteur par Industrie Canada. Dans le but de réduire les risques de brouillage radioélectrique àl'intention des autres utilisateurs, il faut choisir le type d'antenne et son gain de sorte que la puissance isotrope rayonnée équivalente(p.i.r.e.) ne dépasse pas l'intensité nécessaire à l'établissement d'une communication satisfaisante.Le présent émetteur radio a été approuvé par Industrie Canada pour fonctionner avec les types d'antenne énumérés dans le manueld’usage et ayant un gain admissible maximal et l'impédance requise pour chaque type d'antenne. Les types d'antenne non inclus danscette liste, ou dont le gain est supérieur au gain maximal indiqué, sont strictement interdits pour l'exploitation de l'émetteur.SPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACER
【【Important Notice for Users of EVMs for RF Products in Japan】】This development kit is NOT certified as Confirming to Technical Regulations of Radio Law of JapanIf you use this product in Japan, you are required by Radio Law of Japan to follow the instructions below with respect to this product:1. Use this product in a shielded room or any other test facility as defined in the notification #173 issued by Ministry of Internal Affairs andCommunications on March 28, 2006, based on Sub-section 1.1 of Article 6 of the Ministry’s Rule for Enforcement of Radio Law ofJapan,2. Use this product only after you obtained the license of Test Radio Station as provided in Radio Law of Japan with respect to thisproduct, or3. Use of this product only after you obtained the Technical Regulations Conformity Certification as provided in Radio Law of Japan withrespect to this product. Also, please do not transfer this product, unless you give the same notice above to the transferee. Please notethat if you could not follow the instructions above, you will be subject to penalties of Radio Law of Japan.Texas Instruments Japan Limited(address) 24-1, Nishi-Shinjuku 6 chome, Shinjuku-ku, Tokyo, Japanhttp://www.tij.co.jp【無線電波を送信する製品の開発キットをお使いになる際の注意事項】本開発キットは技術基準適合証明を受けておりません。本製品のご使用に際しては、電波法遵守のため、以下のいずれかの措置を取っていただく必要がありますのでご注意ください。1. 電波法施行規則第6条第1項第1号に基づく平成18年3月28日総務省告示第173号で定められた電波暗室等の試験設備でご使用いただく。2. 実験局の免許を取得後ご使用いただく。3. 技術基準適合証明を取得後ご使用いただく。なお、本製品は、上記の「ご使用にあたっての注意」を譲渡先、移転先に通知しない限り、譲渡、移転できないものとします。   上記を遵守頂けない場合は、電波法の罰則が適用される可能性があることをご留意ください。日本テキサス・インスツルメンツ株式会社東京都新宿区西新宿6丁目24番1号西新宿三井ビルhttp://www.tij.co.jpSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACERSPACER
EVALUATION BOARD/KIT/MODULE (EVM)WARNINGS, RESTRICTIONS AND DISCLAIMERSFor Feasibility Evaluation Only, in Laboratory/Development Environments. Unless otherwise indicated, this EVM is not a finishedelectrical equipment and not intended for consumer use. It is intended solely for use for preliminary feasibility evaluation inlaboratory/development environments by technically qualified electronics experts who are familiar with the dangers and application risksassociated with handling electrical mechanical components, systems and subsystems. It should not be used as all or part of a finished endproduct.Your Sole Responsibility and Risk. You acknowledge, represent and agree that:1. You have unique knowledge concerning Federal, State and local regulatory requirements (including but not limited to Food and DrugAdministration regulations, if applicable) which relate to your products and which relate to your use (and/or that of your employees,affiliates, contractors or designees) of the EVM for evaluation, testing and other purposes.2. You have full and exclusive responsibility to assure the safety and compliance of your products with all such laws and other applicableregulatory requirements, and also to assure the safety of any activities to be conducted by you and/or your employees, affiliates,contractors or designees, using the EVM. Further, you are responsible to assure that any interfaces (electronic and/or mechanical)between the EVM and any human body are designed with suitable isolation and means to safely limit accessible leakage currents tominimize the risk of electrical shock hazard.3. Since the EVM is not a completed product, it may not meet all applicable regulatory and safety compliance standards (such as UL,CSA, VDE, CE, RoHS and WEEE) which may normally be associated with similar items. You assume full responsibility to determineand/or assure compliance with any such standards and related certifications as may be applicable. You will employ reasonablesafeguards to ensure that your use of the EVM will not result in any property damage, injury or death, even if the EVM should fail toperform as described or expected.4. You will take care of proper disposal and recycling of the EVM’s electronic components and packing materials.Certain Instructions. It is important to operate this EVM within TI’s recommended specifications and environmental considerations per theuser guidelines. Exceeding the specified EVM ratings (including but not limited to input and output voltage, current, power, andenvironmental ranges) may cause property damage, personal injury or death. If there are questions concerning these ratings please contacta TI field representative prior to connecting interface electronics including input power and intended loads. Any loads applied outside of thespecified output range may result in unintended and/or inaccurate operation and/or possible permanent damage to the EVM and/orinterface electronics. Please consult the EVM User's Guide prior to connecting any load to the EVM output. If there is uncertainty as to theload specification, please contact a TI field representative. During normal operation, some circuit components may have case temperaturesgreater than 60°C as long as the input and output are maintained at a normal ambient operating temperature. These components includebut are not limited to linear regulators, switching transistors, pass transistors, and current sense resistors which can be identified using theEVM schematic located in the EVM User's Guide. When placing measurement probes near these devices during normal operation, pleasebe aware that these devices may be very warm to the touch. As with all electronic evaluation tools, only qualified personnel knowledgeablein electronic measurement and diagnostics normally found in development environments should use these EVMs.Agreement to Defend, Indemnify and Hold Harmless. You agree to defend, indemnify and hold TI, its licensors and their representativesharmless from and against any and all claims, damages, losses, expenses, costs and liabilities (collectively, "Claims") arising out of or inconnection with any use of the EVM that is not in accordance with the terms of the agreement. This obligation shall apply whether Claimsarise under law of tort or contract or any other legal theory, and even if the EVM fails to perform as described or expected.Safety-Critical or Life-Critical Applications. If you intend to evaluate the components for possible use in safety critical applications (suchas life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, such as deviceswhich are classified as FDA Class III or similar classification, then you must specifically notify TI of such intent and enter into a separateAssurance and Indemnity Agreement.Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2013, Texas Instruments Incorporated

Navigation menu