Texas Instruments 2541EM The CC2541EM is a development tool for TI’s 2.4 GHz CC2541 Bluetooth® Low Energy System-on-Chip. User Manual

Texas Instruments Inc. The CC2541EM is a development tool for TI’s 2.4 GHz CC2541 Bluetooth® Low Energy System-on-Chip.

User Manual

SWRU311December2011Web sites:www.ti.com/lprfE2E Forum:www.ti.com/lprf-forumMake sure to subscribe to the Low-Power RFNewsletter to receive information about updates todocumentation, new product releases,and more.Sign up on the TI web pages.CC2541Evaluation ModuleKitQuick StartGuideOpening the Box and Running theBluetooth®Low EnergySimpleBLEDemo Application1. Kit Contents2 x CC2541Evaluation Modules2 xPulseW1010AntennasDocumentationThe kit isFCC and IC certified andtested/complies with ETSI/R&TTEovertemperaturefrom0 to +35°C. The antenna,W1010 from Pulse,is a ¼ wave dipole antennawith 2 dBi gain.Caution!Thekit containsESDsensitive components. Handle withcare to prevent permanent damage.2.HardwareRequirementsThe CC2541EMK is an add-on kit to theCC2540DK. To run the example described inthis Quick Start Guide, you would needtwoSmartRF05 Boards (Rev 1.8.1 or later). Theseboards are included in the CC2540DK (andnot in the CC2541EMK).More information about the SmartRF05EB canbe found inwww.ti.com/lit/swru210.The CC2541EM boards canalsobe pluggedinto a battery board (seewww.ti.com/tool/soc-bb) forstandalone operation.3.HardwareSetupConnect the antenna to the SMA connector onthe CC2541 evaluation module (CC2541EM).Tighten the antenna’s screw firmly on to the SMAconnector. If not properly connected, you mightsee reduced RF performance.Next, mount the CC2541EMsfirmly on to connectors P5and P6 on theSmartRF05EB.Caution!To minimize risk of injury, avoidtouching components during operation ifsymbolized as hot.4.Power OptionsThere are several ways of applying power to theSmartRF05EB.2 x 1.5 V AAAlkalineBatteriesUSBExternal Power SupplyFor the batteries and USB, there are voltageregulators on the SmartRF05EB that will set theon-board voltage to 3.3 V. The external powersupply should set a voltage that does not exceed3.3 V.Note that there should only be oneactive power source at any one time.Warning!To minimize risk of personal injury orproperty damage, never use rechargeablebatteries to power the board.5.Power theBoardsFind jumper P11 onthe top side of eachSmartRF05EB. This jumper is used to set thepower source for the board. Set P11 to “1-2” ifyou are using battery power. Set P11 to “2-3” ifyou are using USB or anexternal power supply.Once you have set P11,find switch P8 on the topside of eachSmartRF05EB. To power up the boards, flip theswitch from the “OFF” position to “ON”.Do not leave EVM powered whenunattended.6.Start-up ScreenOne of the CC2541EMswill be pre-loadedwith the SimpleBLECentral application, whilethe other will be pre-loaded with theSimpleBLEPeripheral application. The LCDscreens on the two SmartRF05EBs shoulddisplay messagessimilar to those below:The “0x…” value displayed on each board isthe device address. EveryCC2541devicehasa unique address.7.Using the JoystickThe SimpleBLEPeripheral application runsautonomously and does not require any userinteraction. The SimpleBLECentral application,however,requires user interaction by means ofjoystick U1. Find joystick U1 on the top side ofthe SmartRF05EB, immediately below the LCD.The joystick has five different movements: it canbe moved up, down, left, right, and it canbepressed in, justlike a button. Each movementperforms different actions depending on the stateof the device.8.Device DiscoveryBefore the two devicescan connect, the centraldevice must firstdiscover the peripheraldevice. To performdevice discovery, pressup on joystick U1 once.The LCD on the centraldevice should display“Discovering…”.After a few seconds, it should display “DevicesFound 1 / <-To Select”. This means that thecentral device successfully discovered theperipheral. Press left on joystick U1 to view theaddress of the peripheral device. Thisaddressshould match the address seen on theperipheral’s LCD.9.Establish ConnectionTo establish aconnection withthe peripheral,press joystick U1in towards theboard (push it inlike it is a button).Oncetheconnection isestablished, the central device willautomatically perform service discovery on theperipheral using theBLEGATT protocol. Thisshould complete within a fewseconds.The two LCD screens should appear as in theimages below, with the central still displayingthe peripheral’s addressand the peripheralhaving changed from “Advertising” to“Connected”:Be careful that you don’t double tap U1 whichwould terminate the connection immediately,givingDisconnected Reason: 22.
10.Connected OperationsOnce the connection has been established andservice discovery is complete, you can performthe following operations using joystick U1 on thecentral device:Read / Write Data–U1UPRSSI Monitoring–U1DOWNConnection Parameter Update–U1RIGHTTerminate Link–U1IN(towards the board)11.Read / Write DataPressing up on U1 will send a read request to theperipheral device. One byte of data will be read,and the value will bedisplayed. Pressing upagain will send a write request, and one byte ofdata will be written to the peripheral. Theperipheral’s LCD should display the written valueeach time this is done.Bluetoothlow energy is an ideal technology fortransmission of small amounts of data betweentwo deviceswhile consuming very little power, asis demonstrated here.Continuing to press up on the joystick willalternate between reads and writes, with thevalue incrementing each time.12.Monitor RSSIPressing down on U1 will turn on RSSI (receivedsignal strength indication) monitoring. The RSSIwill be displayed on the LCD in units of negativedBm.If the boards are moved farther apart from eachother,the RSSI will drop (since the value isnegative, a higher number means lower RSSI). Ifthey are moved closer together, the RSSI shouldrise.Pressing down on U1 again will turn off RSSImonitoring.13. Connection ParameterUpdatePressingrighton U1 will send aconnectionparameter update request to the peripheral touse a longer connection interval. This will resultin much longer latency when performing datareads and writes; however the power consumedby both devices is significantly reduced.14.Terminate LinkPressing U1 intowards the boardwill terminatethe link. The peripheral will return to anadvertising state.The central device will displaya “Reason” code, which indicates why thedisconnection occurred (values are defined in theBLE stack API).In this case, the reason code of 22 indicates thatthe link termination was initiated by the centraldevice. In the event that the peripheral devicegoes out of range or has power disconnectedfrom it, you will see a reason code of8whichindicates that a link timeout has occurred.You cannowperformdevice discovery and re-connect to the peripheral if desired.15.SimpleBLE Demo SourceCodeThe project and source codefilesfor theseapplications(as well as many others)areincluded with theBluetooth low energy (BLE)stack from Texas Instruments, which can bedownloaded atwww.ti.com/blestack.The two projects implementing this demo arecalled SimpleBLECentral (CC2541EMMasterconfiguration)and SimpleBLEPeripheral(CC2541Slave configuration).These can bemodified as desired, and should provide a goodframework for developing your own custom BLEapplications.More details on theseprojectscan be foundwithin the BLE Software Developer’s Guide,which is included with the stack.Additional ToolsandLinksBLE Packet SnifferACC2540 USB Dongle(notincluded)can beused as a BLE sniffer and monitor packets whilethe SimpleBLE Demo isrunning.The SmartRF Protocol Packet Sniffer softwarecan be downloadedfromwww.ti.com/packetsnifferSmartRF™StudioSmartRF Studio allows you to configure the radio,run RF performance tests, and run link testsbetween the two SmartRF05EBs.SmartRF Studio can be downloadedfromwww.ti.com/smartrfstudioSmartRF Flash ProgrammerTexas Instruments has a simple tool which canbe usedto program and flash theCC2541SmartRF Flash Programmer can bedownloaded fromwww.ti.com/tool/flash-programmerBToolBTool is a Windows application that allows you tocontrol a central deviceusing the serial interfaceand perform variousBLEfunctionswhileconnected to a peripheral device.BTool is included as part of the installation of theBLE stack (see “Useful Links” to the right).IAR Embedded WorkbenchTo develop software, program, and debug theCC2541, you should use IAR EmbeddedWorkbench for 8051.More information on IAR EW8051, including afree evaluation version download, can be found atwww.iar.com/ew8051.Useful LinksTI BLE Stack and Software:www.ti.com/blestackCC2540/41Development Kit User Guide:www.ti.com/lit/pdf/swru301CC2540BLE Software Developer’s Guide:www.ti.com/lit/pdf/swru271CC2540/41User’sGuide:http://www.ti.com/lit/pdf/swru191CC2541Product Page:www.ti.com/cc2541For 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 followingconditions:The user assumes all responsibility and liability for proper and safe handling of thegoods. Further, the userindemnifies TI from all claims arising 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 bereturned within 30 days from the dateof delivery for a full refund. THE FOREGOING LIMITED WARRANTY ISTHE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHERWARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING ANY WARRANTY OFMERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. EXCEPT TO THE EXTENT OF THEINDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANYINDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES.Please read the User's Guide and, specifically, the Warnings and Restrictions notice in the User's Guide prior tohandling the product. This notice contains important safety information about temperatures and voltages. Foradditional information on TI's environmental and/or safety programs, please visitwww.ti.com/eshor contact TI.No license is granted under any patent right or other intellectual property right of TI covering or relating to anymachine, process, or combination in which such TI products or services might be or are used. TI currentlydealswith a variety of customers for products, and therefore our arrangement with the user is not exclusive. TIassumes no liability for applications assistance, customer product design, software performance, orinfringement of patents or services described herein.Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265Copyright 2011, Texas Instruments IncorporatedREGULATORY COMPLIANCE INFORMATIONAs noted in the EVM User’s Guide and/or EVM itself, this EVM and/or accompanying hardware may or may notbe subject to the Federal Communications Commission (FCC) and Industry Canada (IC) rules.For EVMsnotsubject to the above rules, this evaluation board/kit/module is intended for use forENGINEERING DEVELOPMENT, DEMONSTRATIONOR EVALUATION PURPOSES ONLY and is notconsidered by TI to be a finished end product fit for general consumer use. It generates, uses, and can radiateradio frequency energy and has not been tested for compliance with the limits of computing devices pursuant topart 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 theuser at his own expense will berequired 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 legallyallocated frequency and power limits.Any use of radio frequencies and/or power availability of this EVM and itsdevelopment application(s) must comply with local laws governing radio spectrum allocation and power limits forthis evaluation module.It is the user’s sole responsibility to only operate this radio in legally acceptablefrequency space and within legally mandated power limitations.Any exceptions to this is strictly prohibited andunauthorized by Texas Instruments unless user has obtained appropriate experimental/development licensesfrom local regulatory authorities, which is responsibility of user including its acceptable authorization.
For EVMs annotated as FCC–FEDERAL COMMUNICATIONS COMMISSION Part 15 CompliantCautionThis device complies withpart 15 of the FCC Rules. Operation is subject to the following two conditions: (1) Thisdevice may not cause harmful interference, and (2) this device must accept any interference received, includinginterference that may cause undesired operation.Changes or modifications not expressly approved by the party responsible for compliance could void the user'sauthority to operate the equipment.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 part15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interferencewhen the equipment is operated ina commercial environment. This equipment generates, uses, and can radiateradio frequency energy and, if not installed and used in accordance with the instruction manual, may causeharmful interference to radio communications. Operation of this equipmentin a residential area is likely to causeharmful 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 complywith the limits for a Class B digital device, pursuant to part15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference ina residential installation. This equipment generates, uses and can radiate radiofrequency energy and, if notinstalled and used in accordance with the instructions, may cause harmful interference to radiocommunications. However, there is no guarantee that interference will not occur in a particular installation. If thisequipment does cause harmful interference to radio or television reception, which can be determined by turningthe equipment off and on, the user is encouraged to try to correct the interference by one or more of the followingmeasures: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 forcompliance could void the user’sauthority to operate the equipment.Concerning EVMs including radio transmittersThis device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to thefollowing two conditions: (1) this device may not cause interference, and (2) this device must accept anyinterference, including interference that may cause undesired operation of the device.Concerning EVMs including detachable antennasUnder Industry Canada regulations, this radio transmitter may only operate using an antenna of a type andmaximum (or lesser) gain approved for the transmitter by Industry Canada. To reduce potential radiointerference to other users, the antenna type andits gain should be so chosen that the equivalent isotropicallyradiated 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 intheuser guide with the maximum permissible gain and required antenna impedance for each antenna typeindicated. Antenna types not included in this list, having a gain greater than the maximum gain indicated for thattype, 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é de l'utilisateurpour actionner l'équipement.Concernant les EVMs avec appareils radioLe présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts delicence. L'exploitation est autorisée aux deux conditions suivantes : (1) l'appareil ne doit pas produire debrouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillageest 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 uneantenne d'un type et d'un gain maximal (ou inférieur) approuvé pour l'émetteur par Industrie Canada. Dans lebut de réduire les risques de brouillage radioélectrique à l'intention des autres utilisateurs, il faut choisir le typed'antenne et son gain de sorte que la puissance isotrope rayonnée équivalente (p.i.r.e.) ne dépasse pasl'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 manuel d’usage et ayant un gain admissible maximal et l'impédance requise pour chaquetype d'antenne. Les types d'antenne non inclusdans cette liste, ou dont le gain est supérieur au gain maximalindiqué, sont strictement interdits pour l'exploitation de l'émetteur.
Important Notice for Users of this Product in Japan】This development kit is NOT certified as Confirming toTechnical Regulations ofRadio Law of Japan!If you use this product in Japan, you are required by Radio Law of Japan to follow the instructions below withrespect to this product:(1) Use this product in a shielded room or any other test facility as defined in the notification #173issued by Ministry of Internal Affairs and Communications on March 28, 2006, based on Sub-section 1.1 ofArticle 6 of the Ministry’s Rule for Enforcement of Radio Law of Japan,(2) Use this product only after you obtainedthe license of Test Radio Station as provided in Radio Lawof Japan with respect to this product, or(3) Use of this product only after you obtained the Technical Regulations Conformity Certification asprovided in Radio Law of Japan with respect to this product.Also, please do not transfer this product, unless you give the same notice above to the transferee.Please note that if you could not follow the instructions above, you will be subject to penalties of Radio Law ofJapan.Texas Instruments Japan Limited(address) 24-1, Nishi-Shinjuku 6 chome, Shinjukku-ku, Tokyo, Japanhttp://www.tij.co.jp【ご使用にあたっての注意】本開発キットは技術基準適合証明を受けておりません。本製品のご使用に際しては、電波法遵守のため、以下のいずれかの措置を取っていただく必要がありますのでご注意ください。(1)電波法施行規則第6条第1項第1号に基づく平成18年3月28日総務省告示第173号で定められた電波暗室等の試験設備でご使用いただく。(2)実験局の免許を取得後ご使用いただく。(3)技術基準適合証明を取得後ご使用いただく。なお、本製品は、上記の「ご使用にあたっての注意」を譲渡先、移転先に通知しない限り、譲渡、移転できないものとします。上記を遵守頂けない場合は、電波法の罰則が適用される可能性があることをご留意ください。日本テキサス・インスツルメンツ株式会社東京都新宿区西新宿6丁目24番1号西新宿三井ビルhttp://www.tij.co.jp
EVALUATION BOARD/KIT/MODULE (EVM)WARNINGS, RESTRICTIONS AND DISCLAIMERSFor Feasibility Evaluation Only, in Laboratory/Development Environments. Unless otherwise indicated,this EVM is not a finished electrical equipment and not intended for consumer use. It is intended solely for usefor preliminary feasibility evaluation in laboratory/development environments by technically qualified electronicsexperts who are familiar with the dangers and application risks associated with handling electrical mechanicalcomponents, systems and subsystems. It should not be used as all or part of a finished end product.Your Sole Responsibility and Risk.You acknowledge, represent and agree that:1.You have unique knowledge concerning Federal, State and local regulatory requirements (including butnot limited to Food and Drug Administration regulations, if applicable) which relate to your products andwhich relate to your use (and/or that of your employees, affiliates, contractors or designees) of the EVM forevaluation, testing and other purposes.2.You have full and exclusive responsibility to assure the safety and compliance of your products with allsuch laws and other applicable regulatory requirements, andalso to assure the safety of any activities tobe 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 anyhuman body are designed with suitable isolation and means to safely limit accessible leakage currents tominimize the risk of electrical shock hazard.3.You will employ reasonable safeguards to ensure that your use of the EVM will not result in anypropertydamage, injury or death, even if the EVM should fail to perform as described or expected.4.You will take care of proper disposal and recycling of the EVM’s electronic components and packingmaterialsCertain Instructions. It is important to operate this EVM within TI’s recommended specifications andenvironmental considerations per the user guidelines. Exceeding the specified EVM ratings (including but notlimited to input and output voltage, current, power, and environmental ranges) may causeproperty damage,personal injury or death. If there are questions concerning these ratings please contact a TI field representativeprior to connecting interface electronics including input power and intended loads. Any loads applied outside ofthe specified output range may result in unintended and/or inaccurate operation and/or possible permanentdamage to the EVM and/or interface electronics. Please consult the EVM User's Guide prior to connecting anyload to the EVM output. If there is uncertainty as tothe load specification, please contact a TI fieldrepresentative. During normal operation, some circuit components may have case temperatures greater than60 C as long as the input and output are maintained at a normal ambient operating temperature. Thesecomponents include but are not limited to linear regulators, switching transistors, pass transistors, and currentsense resistors which can be identified using the EVM schematic located in the EVM User's Guide. Whenplacing measurement probes near these devices during normal operation, please be aware that these devicesmay 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 theseEVMsAgreement to Defend, Indemnify and Hold Harmless. You agree to defend, indemnify and hold TI, itslicensors and their representatives harmless from and against any and all claims, damages, losses, expenses,costs and liabilities (collectively, "Claims") arising out of or in connection with any use of the EVM that is not inaccordance with the terms of the agreement. This obligation shall apply whether Claims arise under law of tortor 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 insafety critical applications (such as life support) where a failure of the TI product would reasonably be expectedto cause severe personal injury or death, such as devices which are classified as FDA Class III or similarclassification, then you must specifically notify TI of such intent and enter into a separate Assurance andIndemnity Agreement.

Navigation menu