Home
CC2543-CC2544 Development Kit User`s Guide
Contents
1. Agreement to Defend Indemnify and Hold Harmless You agree to defend indemnify and hold TI its licensors 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 in accordance with the terms of the agreement This obligation shall apply whether Claims arise 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 such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death such as devices which are classified as FDA Class III or similar classification then you must specifically notify Tl of such intent and enter into a separate Assurance and Indemnity Agreement Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2012 Texas Instruments Incorporated IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries TI reserve the right to make corrections enhancements improvements and other changes to its semiconductor products and services per JESD46 latest issue and to discontinue any product or service per JESD48 latest issue Buyers should obtain the latest relevant information b
2. Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs 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 or combination in which such TI products or services might be or are used TI currently deals with a variety of customers for products and therefore 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 INFORMATION As 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 Federal Communications 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 consumer use It generates uses and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC or ICES 00
3. E Use macro file Analog Devices Silabs Simulator All the other project options can be left as is and you can close the Project Options dialog by clicking OK 28 31 la TEXAS swru318 INSTRUMENTS A 7 Write Software At this point the project is configured and you can write your first lines of code We will show a small blinking LED example In the project create a new file that you save as blinky c Type the following code include lt ioCC2543 h gt int main void int i Set P1 0 of CC2543 as output P1DIR 0x01 Toggle P1 0 for Pl 0 1 for i 0 i lt 10000 i asm NOP The code will toggle P1 0 quickly Add the file to the project by right clicking the project and selecting Add blinky c vz TAR Embedded We File Edit View Project Texas Instruments Emulator Tools Window Help D Hgg ajo Sh Hp J Workspace 1 include lt ioC0C2543 h gt 2 3int main void 4 Options 5 int i Make E 7 ff Set P1 0 of CC2543 as output Compile 6 P1DIR 0x01 Rebuild All 3 10 Toggle Fi 0 Clean 11 for 12 Stop Build 12 PLO 1 r 7 Add Add Files PURES 2 4 Re Add blinky c Lr ame fii Group Source Code Control File Properties Set as Active liad vn You are now ready to compile and download the code to the target 29 31 la TEXAS swru318 INSTRUMENTS A 8 Compile and
4. OE nT Renee 24 DE RON EC OPTIONS Se Re Re o dd o to ed 25 A 3 SELECTDE A E EEE EE o tn de de SEEE e O 25 A 4 SELECT CODE AND MEMORY MODEL da a ee ee do da e o De A er 26 A 5 CONFIGURE THE LAN RER ta alesis ca O E Ra see ee cet se 2 A 6 CONFIGURE THE D BUGOERS cr o a ba ete sea ca alec ete ae ada oe 28 A 7 WRIE SOP WRB ass sees e a sie a oa Mo a eds LE ee a a eee 29 A S COMPILE BA DEBE EEEE ENE AN sea EE e a ete T AE ea oe aes 30 A 9 DONNER EEE A EENE EPRE IE EE EET EEA EEEE T AEAN EESE ENEE NETE EAEE NEES Cd I Ete 30 APPENDIX B SCHEMATIC Sarea ea 31 2 31 13 TEXAS swru318 INSTRUMENTS 1 Introduction Thank you for purchasing a CC2543 CC2544 Development Kit The CC2543 and CC2544 devices are RF SoCs designated for the proprietary 2 4 GHz RF market that can be used in any application but are tailored for wireless HID applications The CC2544 is tailored for the USB dongles and the CC2543 for peripheral devices such as wireless mouse applications The single chip RF transceiver and MCU supports data rates up to 2Mbps and has extensive baseband automation including auto acknowledgement and address decoding It provides excellent link budget with programmable output power up to 4dBm which enables long range without external front ends The CC2543 and CC2544 devices come with a powerful two channel DMA which reduces the need of the MCU operating in active mode hence significantly improves power consumption In addition they have one 16
5. The PER test has two modes of operation MASTER mode and REMOTE mode The CC2543 can run both while the CC2544 can only run the MASTER mode This is because the CC2544 is mounted on the CC2544 USB Dongle board which has no graphical user interfaces required for REMOTE mode operation When the CC2544Dongle is powered up it automatically enters MASTER mode and no further action is required from the user In this section the PER test will be explained for the CC2543EM mounted on the SmartRFOSEB To get a quick walkthrough on how to set up the PER test confer the CC2543 CC2544DK Quick Start Guide 4 A printed copy of this is included in the kit The source code for the PER test can be downloaded from the kit product page 5 When the preloaded PER test is powered on the CC2543EM mounted on the SmartRFO5EB the user will be presented with a choice between the two modes of operation MASTER and REMOTE The operations of these two modes are presented below 5 2 2 1 MASTER Mode When a device enters the MASTER mode it can be described as a MASTER device When this mode is started the program enters the function master beacon mode In this function the device is configures the radio in a default state Modulation GFSK Data rate 250kbps Frequency 2402 MHz and starts transmitting a beacon packet every 10 ms After every transmitted packet the MASTER device listens for a acknowledgement packet containing configuration settings for a new PE
6. Tl and its representatives against any damages arising out of the use of any Tl components in safety critical applications In some cases Tl components may be promoted specifically to facilitate safety related applications With such components Tls goal is to help enable customers to design and create their own end product solutions that meet applicable functional safety standards and requirements Nonetheless such components are subject to these terms No Tl components are authorized for use in FDA Class III or similar life critical medical equipment unless authorized officers of the parties have executed a special agreement specifically governing such use Only those Tl components which Tl has specifically designated as military grade or enhanced plastic are designed and intended for use in military aerospace applications or environments Buyer acknowledges and agrees that any military or aerospace use of Tl components which have not been so designated is solely at the Buyer s risk and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use Tl has specifically designated certain components which meet ISO TS16949 requirements mainly for automotive use Components which have not been so designated are neither designed nor intended for automotive use and TI will not be responsible for any failure of such components to meet such requirements Products Audio Amplifiers Da
7. between number of packets being lost and the total number of packets being sent The PER relates to the more traditional Bit Error Rate BER through the formula PER 1 1 BER yo _ length A PER value of 1 is normally used as the limit for determining the sensitivity threshold of the radio The sensitivity threshold is the lowest input signal strength at which the receiver can decode the signal with a reasonable degree of correctness By using the PER test on the CC2543 and the CC2544 it is possible to perform practical range testing Place the transmitter at a fixed location and place the receiver at a given distance from the transmitter Then run the PER test to measure packet errors and monitor the signal strength Read the description below for an explanation how the PER and RSSI values are calculated Repeat at different distances to get an idea of the range that can be obtained To get an idea of the best performance of the device the test should be performed outdoors on a large field with no other RF sources to avoid fading reflections and uncontrolled interference Alternatively the range test can be used to see what range is obtainable in the actual environment where the RF system is going to be deployed See document 11 for considerations and applicable theory for performing open field range measurements The CC2543 CC2544DK Quick Start Guide www ti com lit swru315 gives a detailed step by step guide for running the PER
8. bit and two 8 bit timers and 20mA drive strength on selected general purpose l O pins They also have a 40 bit radio timer used by the Link Layer Engine The on chip voltage regulator supports a wide range of supply voltages and the CC2544 has a USB 5V to 3 3V regulator The on chip MCU is the High Performance and Low Power 8051 Microcontroller with Code Prefetch The CC2544 has full speed USB support with 6 endpoints separate 1kB FIFO memory internal pull up and 5V to 3 3V regulator The CC2543 and CC2544 product folders on the web 1 2 have more information with datasheets user guides and application notes The CC2543 CC2544 Development Kit includes all the necessary hardware to properly evaluate demonstrate prototype and develop software for proprietary applications 2 About this manual This manual describes all the hardware included in the CC2543 CC2544 Development Kit CC2543 CC2544Dk and points the user to other useful information sources Chapter 4 briefly describes the contents of the development kit and chapter 5 gives a quick introduction to how to get started with the kit In particular it describes how to install SmartRF Studio to get the required drivers for the evaluation board how the hardware can be used and lists the software that is available for the development kit Chapter 6 explains some simple methods for performing practical RF testing with the development kit Chapter 7 8 and 9 describe the hardware in
9. gain est sup rieur au gain maximal indiqu 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 to Technical Regulations of Radio Law of Japan If 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 and Communications on March 28 2006 based on Sub section 1 1 of Article 6 of the Ministry s Rule for Enforcement of Radio Law of Japan 2 Use this product only after you obtained the license of Test Radio Station as provided in Radio Law of Japan with respect to this product or 3 Use of this product only after you obtained the Technical Regulations Conformity Certification as provided 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 of Japan Texas Instruments Japan Limited address 24 1 Nishi Shinjuku 6 chome Shinjukku ku Tokyo Japan http Awww tij co jp CALE TO RABY KtHKMBABSEReSITHWECA AR ROCPAICRULUTS BREBTOE D UFOUWUTHADBHBEMITULEKDEPSWKTFOCCHERBKESEW 1 SEAT RERE BRIS ICR lt ERIS
10. lets you explore the radio on the CC 2543 44 as it gives you full overview and access to the radio registers The tool has a control interface for running basic radio performance tests from the PC SmartRF Studio also offers a flexible code export function of radio register settings for software developers Before proceeding please download and install the latest version of SmartRF Studio from the web 9 By installing Studio the USB drivers needed for proper interaction between the PC and the hardware of the CC2543 CC2544DK will also be installed In order to use the SmartRF Studio with CC2543 and CC2544 connect the CC2543EM or CC2544Dongle to the SmartRFO5EB Next connect the SmartRFO5EB board to the PC via one of the USB cables included in the kit If you have installed SmartRF Studio select automatic installation of driver in the device wizard that appears The device wizard will only pop up when you turn on the SmartRFO5EB and only once for each board Allow Windows to complete the driver installation before proceeding With the board connected to the PC you can start SmartRF Studio The following window should appear 11 31 13 TEXAS swru318 INSTRUMENTS CC2530 246 CC2531 2 4 GHz USB tem on Chap System on Chip 1 mT an F CC2520 2 4 GHz CC2541 3 4 GHz BLE Bystem on List of connected devices P SmartRFOSEB USB device ID 6613 Firmware revision 0029 CC2544 P SmartRFOSEB USB device
11. 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 but not limited to Food and Drug Administration 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 applicable regulatory 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 to minimize the risk of electrical shock hazard 3 You will employ reasonable safeguards to ensure that your use of the EVM will not result in any property damage 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 packing materials Certain Instructions It is important to operate this EVM within Tl s recommended specifications and environmental consid
12. operation Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment FCC Interference Statement for Class A EVM devices This 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 commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause 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 devices This 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 equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equi
13. the EM as reference design for RF layout The schematics are included at the end of this document and the layout files can be found on the web 1 CC2544 USB Dongle The CC2544 USB Dongle is a fully operational USB device that can be plugged into a PC The dongle has 2 LEDs two small push buttons and connector holes that allow connection of external sensors or devices The dongle also has a connector for programming and debugging of the CC2544 USB controller Antenna The antenna W1010 from Pulse is a wave dipole antenna with 2 dBi gain 6 31 13 TEXAS swru318 INSTRUMENTS 5 Getting started 5 1 Setting up the hardware After opening the kit make sure you have all components Please contact your TI Sales Representative or Tl Support 6 if anything is missing Start by connecting the antennas to the SMA connector on the RF evaluation boards Tighten the antenna s screw firmly on to the SMA connector If not properly connected you might see reduced RF performance It is also possible to connect the EM board to RF instruments via coax cables The EM is designed to match a 50 Ohm load at the SMA connector Next the evaluation modules should be plugged in to the SmartRFO5EB Make sure to set the switch P19 to SOC TRX right position The purpose of the SmartRFO5EB is to serve as a general I O board for testing of the various peripherals of the CC2543 microcontroller The EB also contains a separate USB cont
14. 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 maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this list having a gain greater 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 a 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 utilisateur pour actionner l quipement Concernant les EVMs avec appareils radio Le pr sent appareil est conforme aux CNR d Industrie Canada applicables aux appareils radio exempts de licence L exploitation est autoris e aux deux conditions suivantes 1 l appareil ne doit pas produire de brouillage et 2 l utilisateur de l appareil doit accepter tout brouillage radio lectrique subi m me si le brouillage est susceptible d en compromettre le fonctionnement Concernant les EVMs avec antennes d tachables Conform ment a la r glementation d Industrie Canada le pr sent metteur radio peut fonctionner avec une antenne d un type et d un gain maximal ou inf rieur approuv pour l metteur par Industrie Canada Dans le but de r
15. 3 rules which are designed to provide reasonable protection against radio frequency interference Operation of the equipment may cause interference with radio communications in which case the user at his own expense will be required to take whatever measures may be required to correct this interference General Statement for EVMs including a radio User Power Frequency Use Obligations This radio is intended for development professional use only in legally allocated frequency and power limits Any use of radio frequencies and or power availability of this EVM and its development application s must comply with local laws governing radio spectrum allocation and power limits for this evaluation module It is the user s sole responsibility to only operate this radio in legally acceptable frequency space and within legally mandated power limitations Any exceptions to this are strictly prohibited and unauthorized by Texas Instruments unless user has obtained appropriate experimental development licenses from local regulatory authorities which is responsibility of user including its acceptable authorization For EVMs annotated as FCC FEDERAL COMMUNICATIONS COMMISSION Part 15 Compliant Caution This device complies with part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired
16. Debug Select Project gt Make from the menu or press F7 to build the project The IDE will now compile assemble and link the files in the project to generate an executable that can be downloaded to the target A message window at the bottom of the screen should show the progress and indicate that the project was built successfully Next download the application to the target by selecting Project gt Debug from the menu or press Ctrl D The application will now be downloaded to the target and you can start stepping through the code from main 5 Seda ed File Edit View Project Debug Texas Instruments Emulator Tools Window Help osa mec M 3 Irr ort23t X Workspace 1 include lt ioCC2543 h gt 2 3int main void a 5 int i a E Output T ff Set F1 0 of C2543 as output 10 z7 Toggle Pi 0 11 for i f 13 Pl 0 1 14 for i 0 1 lt 10000 i 15 16 asm NOP 17 if 19 A 9 Done Congratulations You have just made your first CC2543 software project in IAR 30 31 13 TEXAS swru318 INSTRUMENTS Appendix B Schematics Please refer to the following pages for the schematics for e CC2543 Evaluation Module e CC2544 USB Dongle e SmartRFO5 Evaluation Board The layout for the evaluation module and USB dongle can be found on the CC2543 1 and CC2544 2 product web pages respectively 31 31 EVALUATION BOARD KIT MODULE EVM ADDITIONAL TE
17. ESACSAMBBATRH1I735 TEDS Nh ERER SOMERS CCPAWELEKCK 2 RRRORMENSECO PAVERS 3 RNIR SHR NES CH AUEZE lt 138 HAm FiO CHALET TNE CHEK BEAIBALEURY BE BECERBUEOLCLET ERA TEURUESR BSRKORRIMBACNSARHVHSCLEECHREB lt KEEW AAFFUA FYVAYIXVYRAAEH Rr EX Ne 6 JH24K15 NE HEIL http Awww tij co jp EVALUATION BOARD KIT MODULE EVM WARNINGS RESTRICTIONS AND DISCLAIMERS For 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 use for preliminary feasibility evaluation in laboratory development environments by technically qualified electronics experts who are familiar with the dangers and application risks associated with handling electrical mechanical components 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 but not limited to Food and Drug Administration 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 law
18. Figure 7 CC2544 USB Dongle The CC2544 USB dongle that is included in the kit comes preprogrammed such that it can be used as a MASTER device in the PER test The functionality of the PER test is described in section 5 2 The USB dongle can also be used as a general development board for USB and RF software Table 2 shows which CC2544 signals are connected to what IO on the dongle The lO holes on each side of the CC2544Dongle are numbered from 1 to 4 where 1 is the one closest to the USB connector Green LED LED1 Red LED LED2 Table 2 CC2544 USB Dongle Pinout In order to debug and program firmware on the CC2544 the CC2544 USB dongle can be connected to the SmartRFO5EB as shown in the picture below The small adapter board and flat cable is included in the development kit 17 31 13 TEXAS swru318 INSTRUMENTS Figure 8 CC2544 USB Dongle connected to SmartRFO5EB The debug connector on the CC2544 USB Dongle matches the debug connector on the SmartRFO5EB and the CC Debugger Note that by default the CC2544 dongle is not powered through the debug connector so an external power source must be used while programming The easiest solution is to connect it to a USB port on the PC The table below shows the pin out of the debug connector CC2544 P1 2 DC CC2544 P1 3 DD CC2544 RESET Table 3 CC2544 USB Dongle Debug Connector Refer to the schematics in the appendices and layout available on the web f
19. ID 9027 Firmware revision 0029 002543 4 Texas Instruments Figure 3 CC2543 and CC2544 in SmartRF Studio The connected evaluation board should be listed showing that a CC2543 or CC2544 is available The list is dynamically updated as you connect or disconnect a board Double click on the highlighted CC2543 or CC2544 device icon and a new window will appear We will use the CC2543 in this guide ia a 90 27 C C2543 E File Settings View Evaluation Board Help Easy Mode Us Expert Mode Register Vie F Parameters ee a a Register export Category Setting name W Proprietary 2 4 GHz Register Value Hex GFSK 2 Mbps data rate 500 kHz deviation BT 2420Mhz GFSK 2 Mbps data rate 320 kHz deviation BT 2420Mhz GFSK 1 Mbps data rate 250 kHz deviation BT 2420Mhz GFSK 1 Mbps data rate 156 kHz deviation BT 2420Mhz MSK 500kbps data rate 2420Mhz Ee Dicken date rato FADO EM LOU 8833838338358 Modulation format amp Data rate TX Power GFSK 500 kHz deviation 2 Mbps data rate x 4 Expected packet count 100 C Infinite SEMAPHOREO SEMAPHORE1 SEMAPHORE2 RFSTAT Viewing format Hexadecimal 4 Seg number included in payload _ VVWVWVWYVVYVVYVVYVVYVVVvVvVvvvvvvovvvvw Figure 4 CC2543 control panel in SmartRF Studio 12 31 13 TEXAS swru318 INSTRUMENTS Figure 4 shows the main control panel for the CC2543 It lets you p
20. If you intend to evaluate the components for possible use in safety critical applications such as life support where a failure of the Tl product would reasonably be expected to cause severe personal injury or death such as devices which are classified as FDA Class III or similar classification then you must specifically notify Tl of such intent and enter into a separate Assurance and Indemnity Agreement Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2012 Texas Instruments Incorporated EVALUATION BOARD KIT MODULE EVM ADDITIONAL TERMS Texas 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 Tl 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 be returned within 30 days from the date of delivery for a full refund THE FOREGOING LIMITED WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHER WARRANTIES EXPRESSED IMPLIED OR STATUTORY INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES
21. MSC1212V4 51 OC2511F16 i51 MSC1200V2 51 MSC1212V5 51 OC2S511F32 i51 MSC1200V3 51 tusb3410 51 CC2530F32 i51 MSC1201V2 51 jE Computer File name CC2543F32 151 description file 151 an F Back in the General Options view you will see that CC2543 is now the selected device CPU core should be set to Plain Device information Device CC2543F32 Mm CPU core Plain A 4 Select Code and Data Model Next select code model Use Near The default data model for the Near code model is Small The data model determines how the compiler amp linker use the memory of the 8051 for storage of variables With the small data model variables are typically stored in the DATA memory space For the large data model variables are stored in XDATA The CC254x User Guide and IAR 8051 C C Compiler Reference Guide have more information about the various memory spaces The important thing to remember is that the 8051 core uses different instructions to access the various memory spaces Access to DATA is in general much quicker than accessing XDATA but there is normally much more XDATA available than DATA For this example we use Near code model and large data model The stack can be placed in XDATA After setting up the above option you should have the following settings 26 31 13 TEXAS swru318 INSTRUMENTS Code model a Do not use extended stack Extended stack at 0002000 Location for cons
22. R test If this configuration packet is received the MASTER device reads out the packet content and then enters a new function called master per test mode In this function the radio is configured according the settings given in the configuration packet Then the radio starts transmitting the given number of packets at a rate of 10 ms For every sent packet the REMOTE device will send an empty acknowledgement If the MASTER device receives these acknowledgements the bottom line on the LCD display will state the following status Remote ONLINE If the MASTER device does not receive these acknoledgmenets the bottom line will say Remote OFFLINE After the MASTER device is finished transmitting all the packets it will go back to the function master_beacon_mode and send a beacon packet every 10 ms 5 2 2 2 REMOTE Mode When a device enters the REMOTE mode it can be described as a REMOTE device When this mode is started the program query the user for a PER test configuration It will ask the user to choose frequency modulation type packet length number of packets to be sent and LNA gain Only for data rates 2Mpbs All of these options will be stored in an array called ack config The joystick U1 and button S1 on the SmartRFO5EB is used to change and select the different options for the test configuration After the choices have been completed by the user the program enters the function called remote per test
23. RMS Texas 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 Tl 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 be returned within 30 days from the date of delivery for a full refund THE FOREGOING LIMITED WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHER WARRANTIES EXPRESSED IMPLIED OR STATUTORY INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs please visit www ti com esh or contact TI No license is granted under any patent right or other intellectual property right of Tl covering or relating to any machine process or combination in which such TI products or services might be or are used TI currently deals with a variety of customers
24. Regulations Conformity Certification as provided 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 of Japan Texas Instruments Japan Limited address 24 1 Nishi Shinjuku 6 chome Shinjuku ku Tokyo Japan http Awww tij co jp CALE TO RABY KtHKMBABSEReSITHWECA AR ROCPAICRULUTS BREBTOE D UFOUWUTHADBHBEMITULEKDEPSWKTFOCCHERBKESEW 1 SEAT RERE BRIS ICR lt ERISESACSAMBBATRH1I735 TEDS Nh ERER SOMERS CCPAWELEKCK 2 RRRORMENSECO PAVERS 3 RNIR SHR NES CH AUEZE lt 138 HAm FiO CHALET TNE CHEK BEAIBALEURY BE BECERBUEOLCLET ERA TEURUESR BSRKORRIMBACNSARHVHSCLEECHREB lt KEEW AAFFUA FYVAYIXVYRAAEH Rr EX Ne 6 JH24K15 NE HEIL http Awww tij co jp EVALUATION BOARD KIT MODULE EVM WARNINGS RESTRICTIONS AND DISCLAIMERS For 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 use for preliminary feasibility evaluation in laboratory development environments by technically qualified electronics experts who are familiar with the dangers and application risks associated with handling electrical mechanical components systems and subsystems It should not be used as all or part
25. TEXAS INSTRUMENTS 2543 CC2544 Development Kit User s Guide TTT ae A swru318 13 TEXAS swru318 INSTRUMENTS Table of contents CC2543 CC2544 DEVELOPMENT KIT USER S GUIDE ecccccccccccccccccccccccccccccccccccccccccccccccceecs 1 1 INTRODUC TION iacens Ue E A seins 3 2 ABOUT THIS MANTA Ln o ee ee 3 3 ACRONYM ios 4 4 DEVELOPMENT KIT CONTENTS 0 i 5 5 GETTING STARTED SR a D dead re A 7 5 1 SE LENCO THE AR D ARE A eu EIA E le E 7 5 2 RUNNING THE PREPROGRAMMED PER TEST ON THE CC2543EM AND THE CC2544DONGLE coococccncnnnncnnos 8 5 2 1 VEIE LOONIE EE A E ATA E EA EAA AN T EA A E AA 8 X227 Program Flows A A A v a 9 Ds E A II AO CASA a o SABEN A AR o a ee RS de ui 11 5 3 EVALUATE THE CC2543 AND CC2544 RADIO USING SMARTRE STUDIO ccceececcecceccscscescecescescscess 11 5 4 SETTING UP THE SOFTWARE DEVELOPMENT ENVIRONMENT ccccecescececcecscecccececcscecesceccscecscecesesccecs 13 6 RE TESTING A A a 14 6 1 TX PARAMETER TESTING BASICOS ces dd ui 14 6 2 RX PARAMETER TESTING BA e e ES 15 7 CC254 JEM En RE Mn SN SE a contiennent ne 16 8 O23 44 USB DONGLE lt A cs ni Sua ic 17 9 SMARTRFOS EVALUATION BOAR Dio cc 19 10 FREQUENTEY ASKED OUESTIONS tesina 20 11 REFERENCES aenta poto llciaS 23 12 DOCUMENT HISTORY nuts cacas 23 APPENDIX A SETTING UP THE SOFTWARE ENVIRONMENT uu ccccccccccccccccccccccccccccccees 24 A l EREATE THE PROTECT EI dt EASE E OEE RT Ont TIT Cerne ea EE
26. ass 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 the equipment Concerning EVMs including radio transmitters This device complies with Industry Canada licence exempt RSS standard s Operation is subject to the following two conditions 1 this device may not cause interference and 2 this device must accept any interference including interference that may cause undesired operation of the device Concerning EVMs including detachable antennas Under Industry Canada regulations this radio transmitter may only operate using an antenna of a type and maximum or lesser gain approved for the transmitter by Industry Canada To reduce potential radio interference to other users the antenna type and its gain should be 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 maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this list having a gain greater 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 a la norme NMB 003 du Canada Le
27. d and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause 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 devices This 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 equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures e Reorient or relocate the receiving antenna e Increase the separation between the equipment and receiver e Connect the equipment into an outlet on a circuit different from that to which the receiver is connected e Consult the dealer or an experienced radio TV technician for help For EVMs annotated as IC INDUSTRY CANADA Compliant This Cl
28. duire les risques de brouillage radio lectrique a 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 manuel d usage et ayant un gain admissible maximal et l imp dance requise pour chaque type d antenne Les types d antenne non inclus dans cette liste ou dont le gain est sup rieur au gain maximal indiqu 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 to Technical Regulations of Radio Law of Japan If 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 and Communications on March 28 2006 based on Sub section 1 1 of Article 6 of the Ministry s Rule for Enforcement of Radio Law of Japan 2 Use this product only after you obtained the license of Test Radio Station as provided in Radio Law of Japan with respect to this product or 3 Use of this product only after you obtained the Technical
29. e test again or to set up a new test is presented 5 2 2 3 Flow Chart In Figure 2 Simplified Flow Chart for the CC254x PER Test a simplified flow chart describing the PER test functionality is presented Here the reader can see the program flow for the PER test running on the CC2543EM mounted on a SmartRFO5EB Some minor details of the program are omitted Reset or power on Initialize 10 ms delay Master Received OK gt Listen for ACK Query user for PER test configuration Set radio configuration from received config Packet 100 ms delay pekt_count 0 Reiry New Test Yes erc_pckts 0 lost_pckts 0 No 10 ms delay Figure 2 Simplified Flow Chart for the CC254x PER Test 10 31 13 TEXAS swru318 INSTRUMENTS 5 2 3 Set Up the CC254x PER Test The PER test can be set up between two CC2543EMs or one CC2543EM and a CC2544 USB Dongle The CC2544Dongle has no graphical user interface so it is limited to MASTER mode operation It is set to the MASTER mode by default when powered Make sure that only one MASTER device is running The use of multiple MASTER devices will cause the PER test to malfunction This is because the REMOTE device will auto acknowledge all beacon signals from any MASTER device and multiple MASTER devices might then start transmitting simultaneously After a single MASTER device has been powered up leave it on the desired test location and co
30. efore placing orders and should verify that such information is current and complete All semiconductor products also referred to herein as components are sold subject to Tl s terms and conditions of sale supplied at the time of order acknowledgment Tl warrants performance of its components to the specifications applicable at the time of sale in accordance with the warranty in Tl s terms and conditions of sale of semiconductor products Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty Except where mandated by applicable law testing of all parameters of each component is not necessarily performed Tl assumes no liability for applications assistance or the design of Buyers products Buyers are responsible for their products and applications using TI components To minimize the risks associated with Buyers products and applications Buyers should provide adequate design and operating safeguards TI does not warrant or represent that any license either express or implied is granted under any patent right copyright mask work right or other intellectual property right relating to any combination machine or process in which Tl components or services are used Information published by Tl regarding third party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof Use of such information may require a license
31. elopment of advanced prototype RF systems e Evaluate the CC2543 and the CC2544 right out of the box The kit can be used for range testing using the pre programmed PER tester running on the two devices e Use SmartRF Studio to perform RF measurements The radio can be easily configured to measure sensitivity output power and other RF parameters e Prototype development All I O pins from the CC2543 are available on pin connectors on the SmartRFO5EB allowing easy interconnection to peripherals on the EB board or other external sensors and devices The CC2543 CC2544DK contains the following components e 2x SmartRFO5EB the two large boards e 2x CC2543 Evaluation Modules the two small boards e 2x Antennas Pulse W1010 e 1x CC2544 USB Dongle e Cables e Batteries e Documents Figure 1 CC2543 CC2544 Development Kit Contents 9 31 13 TEXAS swru318 INSTRUMENTS SmartRFO5EB The SmartRFO5EB evaluation board is the main board in the kit with a wide range of user interfaces 3x16 character serial LCD Full soeed USB 2 0 interface UART LEDs Serial Flash Potentiometer Joystick Buttons The EB is the platform for the evaluation modules EM and can be connected to the PC via USB to control the EM CC2543EM The CC2543EM evaluation module contains the RF IC and necessary external components and matching filters for getting the most out of the radio The module can be plugged into the SmartRFO5EB Use
32. erations per the user guidelines Exceeding the specified EVM ratings including but not limited to input and output voltage current power and environmental ranges may cause property damage personal injury or death If there are questions concerning these ratings please contact a Tl field representative prior to connecting interface electronics including input power and intended loads Any loads applied outside of the specified output range may result in unintended and or inaccurate operation and or possible permanent damage to the EVM and or interface electronics Please consult the EVM User s Guide prior to connecting any load to the EVM output If there is uncertainty as to the load specification please contact a TI field representative During normal operation some circuit components may have case temperatures greater than 60 C as long as the input and output are maintained at a normal ambient operating temperature These components include but are not limited to linear regulators switching transistors pass transistors and current sense resistors which can be identified using the EVM schematic located in the EVM User s Guide When placing measurement probes near these devices during normal operation please be aware that these devices may be very warm to the touch As with all electronic evaluation tools only qualified personnel knowledgeable in electronic measurement and diagnostics normally found in development environments should use these EVMs
33. erform a number of operations e Run TX Test modes for testing of RF output power and spectrum e g by connecting a spectrum analyser or a power meter to the CC2543EM SMA connector to perform RF measurements e Run Packet TX and RX tests For this test you should either have two EBs with CC2543EMs connected to the PC or two EBs connected to one CC2544Dongle and a CC243EM o Double click on both of the devices in the device list in SmartRF Studio Figure 3 opening one Device Control Panel for each device giving control of the two radios at the same time o Select one device to be the transmitter by selecting the Packet TX tab shown in the lower middle of Figure 4 o Onthe other device the receiver select the Packet RX tab o Setup basic test parameters and press the Start button on the receiver o Now you can start transmission by pressing the Start button for the transmitter o The status window will show the number of packets sent on the transmitter side and the number of received packets and signal strength of the last received packet on the receiver side e Read and or modify registers and common settings such as RF frequency or channel and output power e Export device register values in a user modifiable format by clicking the Code export button in the Register view panel on the left side The SmartRF Studio User Manual has more details 5 4 Setting up the Software Development Env
34. for products and therefore 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 INFORMATION As 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 Federal Communications 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 consumer use It generates uses and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC or ICES 003 rules which are designed to provide reasonable protection against radio frequency interference Operation of the equipment may cause interference with radio communications in which case the user at his own expense will be required to take whatever measures may be required to correct this interference General Statement for EVMs including a radio User Power Frequency Use Obligations This radio is intended for development professional use only in legally allocated frequency and power limits Any use of radio frequencies and or power availability of this EVM and its development a
35. from a third party under the patents or other intellectual property of the third party or a license from TI under the patents or other intellectual property of TI Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties conditions limitations and notices TI is not responsible or liable for such altered documentation Information of third parties may be subject to additional restrictions Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated Tl component or service and is an unfair and deceptive business practice Tl is not responsible or liable for any such statements Buyer acknowledges and agrees that it is solely responsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of Tl components in its applications notwithstanding any applications related information or support that may be provided by TI Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures monitor failures and their consequences lessen the likelinood of failures that might cause harm and take appropriate remedial actions Buyer will fully indemnify
36. he USB driver installation failed The most common reasons are either Windows not finding the driver or the user ignoring the Found New Hardware Wizard First of all make sure you have installed SmartRF Studio which includes the appropriate drivers for the evaluation board The drivers for the evaluation board are normally located in the directory C Program Files x86 Texas Instruments SmartRF Tools Drivers where C Program Files x86 Texas Instruments SmartRF Tools is the default root installation directory for SmartRF Studio The path may be different if you have chosen a different installation directory for SmartRF Studio Next make sure you follow the steps in the hardware wizard It is necessary to follow the steps for driver installation for each new board that is connected to the PC If the automatic driver installation as described in A1 above fails please select manual installation of drivers When prompted by the wizard select Browse my computer for driver software You will see the following window 20 31 13 TEXAS swru318 INSTRUMENTS l Update Driver Software SmartRFDSE Browse for driver software on your computer Search for driver software in this location C Program Files 86 Texas Instruments SmartRF Tools Drivers Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the device and all driver software
37. in the same category as the device e If the above fails select Let me pick from a list of device drivers on my computer new window will open asking for a location of where drivers can be found Locate the SmartRFO5EB file and select that driver for installation Finally verify that the device is associated with the correct driver by opening the Device Manager on you PC When the EB is connected the Cebal controlled devices list contains SmartRFO5EP File Action View Help e m E H mN E Rs a Ey CNAO132622 gt Batteries H Bluetooth Radios a a Cebal controlled devices L SmartRFOSEB gt Ml Computer gt ae ControlVault Device gt q Disk drives gt AE Display adapters E DVD CD ROM drives F 5 Human Interface Devices gt 2 Imaging devices gt ED Keyboards i JA Mice and other pointing devices s A Monitors JF Multi port serial adapters If the board is listed as an unknown device or associated with another driver right click the device in the Device Manager and select Uninstall After uninstalling unplug the board from the PC and plug it in again The Found New Hardware Wizard should re appear Follow the steps as outlined in the beginning of this section 21 31 13 TEXAS swru318 Q3 A3 Q4 A4 INSTRUMENTS How do measure the current consumption of the CC2543 The easiest way to measure current consumption of the chip in vario
38. ironment To develop software and debug an application on the CC2543 or CC2544 it is recommended to use IAR Embedded Workbench lt supports debugging of CC2543 and CC2544 through the SmartRFOSEB so no additional hardware is required IAR EW8051 is bundled with all the required files for CC2543 and CC2544 to start development e Register definition header file e Linker command file e Driver and device description file needed for debugging and programming Note that other compilers and linkers can be used but these tools may have limited debugging capabilities An evaluation version of IAR Embedded Workbench is included in the Development Kit To install the software insert the CD and follow the instructions You will be asked to register on IAR s web site to get a license key for the product As the owner of a CC2543 CC2544 Development Kit you are entitled to a 60 day evaluation period The evaluation version in the kit automatically gives you 30 days Please contact your local IAR sales representative for the additional 30 days evaluation period For a list of sales offices and distributors in your country please see this site http www iar com contact Appendix A in this document will guide you through the steps of setting up your own project from scratch 13 31 13 TEXAS swru318 INSTRUMENTS 6 RF Testing NB When running RF performance tests it is recommended to disable all other peripherals on the SmartRFO5EB in order t
39. lt the EVM User s Guide prior to connecting any load to the EVM output If there is uncertainty as to the load specification please contact a TI field representative During normal operation some circuit components may have case temperatures greater than 60 C as long as the input and output are maintained at a normal ambient operating temperature These components include but are not limited to linear regulators switching transistors pass transistors and current sense resistors which can be identified using the EVM schematic located in the EVM User s Guide When placing measurement probes near these devices during normal operation please be aware that these devices may be very warm to the touch As with all electronic evaluation tools only qualified personnel knowledgeable in 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 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 in accordance with the terms of the agreement This obligation shall apply whether Claims arise 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
40. m analyzers can display errors of several dBs For more information regarding RF testing refer to Application Note 103 Basic RF Testing of CCxxxx Devices 12 6 1 TX Parameter Testing Basics To investigate the TX performance of the CC2543 and the CC2544 you can either use a Spectrum Analyzer or an RF Power Meter Use the Continuous TX test mode in SmartRF Studio to set up the device to transmit a signal at the desired frequency Both a modulated or unmodulated carrier signal can be generated Use the RF Power Meter to observe the output power or the spectrum analyzer to observe the spectrum and to measure the error vector magnitude EVM 14 31 13 TEXAS swru318 INSTRUMENTS 6 2 RX Parameter Testing Basics To investigate the RX performance of the CC2543 or CC2544 you can use a signal generator or Packet TX in SmartRF Studio with another EB EM to generate the packets to receive The receiver can be configured by using the Packet RX test feature in SmartRF Studio By adding a jammer a third node that generates either noise on the same channel or a strong signal on an adjacent channel it is also possible to measure co channel rejection and selectivity blocking performance The PER test application that was described in section 5 2 can be used for simple sensitivity measurements with the CC2543EM and or with your own prototype hardware In this case connect the unit you want to test to a known good t
41. ntinue setting up a REMOTE device The test can be set up and started remotely through the REMOTE device If the user needs to restart the test at any time while a test is running simply press Button 1 S1 on the SmartRFO5EB While the button is pressed the test is halted on the REMOTE device while the MASTER device continues normal operation When the button is released the REMOTE device remotely restarts the test for both MASTER and REMOTE If the user wants to set up a new test while a test is running simply push the joystick like a button The REMOTE device will remotely make the MASTER abort the current test and make it go back to beacon mode At the REMOTE device the user will be queried for the configuration for a new test This happens when the joystick is pressed there is no functionality linked to the release of the joystick button 5 3 Evaluate the CC2543 and CC2544 Radio using SmartRF Studio SmartRF Studio is a PC application developed for configuration and evaluation of many of the RF IC products from Texas Instruments including the CC2543 and CC2544 The application communicates with the CC2543 and CC2544 via the USB controller the CC2511 on the SmartRFO5EB board The USB controller uses the debug interface of the CC2543 44 to execute commands and to read and write registers Refer to Figure 8 CC2544 USB Dongle connected to SmartRFO5EB for a picture showing how to connect the CC2544Dongle to the SmartRFO5EB SmartRF Studio
42. o avoid unwanted noise on the on board voltage In particular make sure the RS232 level converter line driver is disabled RF testing can be performed by using SmartRF Studio together with the Development Kit The basic set up is described in section 5 3 As described in that chapter SmartRF Studio can be used to set up basic tests and tune RF registers accordingly Since the CC2543 evaluation module is equipped with an SMA connector both radiated via antenna and conducted via cable tests can be performed and it is easy to hook the EM up to RF measurement equipment For the CC2544Dongle it is only possible with radiated tests as this device has an on board PCB antenna The RF equipment may be connected in two different ways e To measure radiated performance connect an appropriate antenna to the spectrum analyzer or power meter and an antenna on the EM board e To measure conducted performance connect a 50 Ohm coaxial cable directly from the EM to the RF equipment 50 Ohm coax cable L O Spectrum Analyser CC2543EM SmartRFO5EB USB gt o7 Figure 5 RF Test Set Up with a Spectrum analyzer By using good quality RF cabling the loss in the cabling should be negligible However make sure that the spectrum analyzer is calibrated If possible check it against a calibrated instrument such as an RF signal generator Un calibrated spectru
43. onitor Extended stack at 002000 Silabs us Data model Calling convention Smet DATA acer gt Location for constants and strings Number of virtual registers g BAM memory ROM mapped as data CODE memory Device information CPU core CRE 25 31 la TEXAS swru318 INSTRUMENTS A new window will appear that allows you to browse through the device configuration files to choose an appropriate device Select the CC2543F32 file from the lt ew8051_install_dir gt 8051 devices Texas Instruments folder This i51 device description file contains basic information about the chip E Open Na JE de 8051 config devices k Texas Instruments e e Search Texas Inst Organize New folder sir Favorites JCC1110F8 i51 CC2530F6451 MSC1201V3 51 CCI110F16 i51 CC2530F128 51 MSC1202V2 51 Libraries CC1110F32 i51 CC2530F256 51 MSC1202V3 51 JOC1111F8 i51 CC2531F128 i51 MSC1210v2 51 JOC1MAFIG 51 CC2521F25651 MSC1210V3 51 CCHF 0C2533F32 i51 MSC1210 4 i51 Gia Network CC2430F32 i51 CC2533F64 i51 MSC1210V5 51 CC2430F64 i51 CC2533F96 i51 MSC1211V2 51 CC2430F128 i51 CC2540F128 51 MSC1211V3 51 CC2431F128 i51 CC2540F256 51 MSC1211V4 51 CC2510F8 i51 CC2541F25651 MSC1211V5 51 CC2510F16 i51 CC2543F32 51 MSC1212 2 i51 CC2510F32 i51 CC2544F32 51 MSC1212V3 51 JOC2511F8 i51 CC2545F32 i51
44. or additional details 18 31 13 TEXAS swru318 INSTRUMENTS 9 SmartRFO05 Evaluation Board The SmartRF05 Evaluation Board is thoroughly described in the SmartRFO5EB User s Guide 8 That document will describe the hardware features in detail and provide the schematics for the board 19 31 13 TEXAS swru318 INSTRUMENTS 10 Frequently Asked Questions Q1 Al Q2 When connecting the SmartRFO5EB to my PC via USB the dialog window below appears Why What should do Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with pour permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device Click Next to continue The SmartRFO5EB will be recognized as a USB device by the operating system and it will ask the user to provide information about which USB driver that should be associated with the device If you have installed SmartRF Studio just follow the instructions and select Automatic installation Windows should find the required driver automatically The drivers are included in the SmartRF Studio installation SmartRFO5EB with the CC2543EM or CC2544Dongle is not detected by IAR SmartRF Studio Why It might be that t
45. orial formation and release notes Source Code Control k Create New Project Tool chair Project templates Empty project a Device pecific project templates E Analog Devices cA Generic project templates cA Library project templates ROM monitor Description Creates an empty project 0K Cana Select Empty project and click OK You will now be asked to save the project Select an appropriate name for the project and save it The dialog window will close and the project will be listed in the workspace panel at the left side of the IDE 24 31 13 TEXAS swru318 INSTRUMENTS A 2 Project Options Right click the project to set up the project options PE IAR Embedded Workbe File Edit View Project Simulator Tools Window Help Workspace g x IAR Information Center for 8051 GETTIN Files Ez BR Elh AN blinky Debug a EAN Options III T Wiis Moke nfonmation Center fe Compile brmation Center for 8051 GET Rebuild All Clean TTING STARTED A 3 Select Device In the dialog window that appears the first thing that is required is to select the device for which the project is built Click on the button next to the device field Options for node blinky Category C C Compiler Custom Build Build Actions Linker Debugger Third Party Driver Device No device selected Texas Instrument F52 System Navigi ee Code model 3 Do not use extended stack ROM M
46. pment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures e Reorient or relocate the receiving antenna e Increase the separation between the equipment and receiver e Connect the equipment into an outlet on a circuit different from that to which the receiver is connected e Consult the dealer or an experienced radio TV technician for help For EVMs annotated as IC INDUSTRY CANADA Compliant This 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 the equipment Concerning EVMs including radio transmitters This device complies with Industry Canada licence exempt RSS standard s Operation is subject to the following two conditions 1 this device may not cause interference and 2 this device must accept any interference including interference that may cause undesired operation of the device Concerning EVMs including detachable antennas Under Industry Canada regulations this radio transmitter may only operate using an antenna of a type and maximum or lesser gain approved for the transmitter by Industry Canada To reduce potential radio interference to other users the antenna type and its gain should be so chosen that
47. pplication s must comply with local laws governing radio spectrum allocation and power limits for this evaluation module It is the user s sole responsibility to only operate this radio in legally acceptable frequency space and within legally mandated power limitations Any exceptions to this are strictly prohibited and unauthorized by Texas Instruments unless user has obtained appropriate experimental development licenses from local regulatory authorities which is responsibility of user including its acceptable authorization For EVMs annotated as FCC FEDERAL COMMUNICATIONS COMMISSION Part 15 Compliant Caution This device complies with part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful 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 the equipment FCC Interference Statement for Class A EVM devices This 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 commercial environment This equipment generates uses and can radiate radio frequency energy and if not installe
48. ransmitter with coaxial cables and attenuators Add more attenuators until the PER value is 1 The signal strength at the receiver side is then the sensitivity limit of the system For more information regarding sensitivity measurements refer to Design Note 2 Practical Sensitivity Testing 10 15 31 13 TEXAS swru318 INSTRUMENTS 7 CC2543EM SMA antenna connector A ee 32MHz Crystal gt ts Figure 6 CC2543 Evaluation Module The CC2543EM is a complete RF module based on one of the recommended reference designs for the CC2543 radio The module is equipped with a 32 MHz crystal external passive components for the balun and antenna match filter a SMA connector for the antenna or any other RF instrument connection and general lO headers connectors The table below shows the pin out from the CC2543 to the two connectors on the backside of the evaluation module CC2543 CC2543 CC2543 CC2543 a Signal Table 1 CC2543EM pin out The part number of the EM connector is SFM 110 02 SM D A K TR from Samtec lt mates with the TFM 110 02 SM D A K TR also from Samtec Please refer to the reference design on the web 1 for further details 16 31 13 TEXAS swru318 INSTRUMENTS 8 CC2544 USB Dongle LED2 S Button S2 CC2544 Meandred Inverted F antenna e Right IO test holes LED1 Button S1 Debug connector underneath bottom layer Left lO test holes
49. roller which is used as a bridge between the PC and the CC2543 and the CC2544 for programming the flash of these devices It is also used for debugging the software running on the CC2543 and CC2544 The evaluation board can be powered from several different sources 2 x 1 5V AA batteries included in this kit USB via the USB connector DC power 4 to 10 Volt not included in this kit External regulated power source not included in this kit The power source can be selected using jumper P11 on the SmartRFOSEB The SmartRFOSEB User s Guide 8 provides more details After assembling the hardware you now have several options for working with the CC2543 and CC2544 e Run the packet error rate PER test which is preprogrammed on the CC2543 and CC2544 The PER test is a quick way to evaluate the range which can be achieved with the radio Chapter 5 2 will guide you through the PER test e Evaluate and explore the RF capabilities of the CC2543 and CC2544 using SmartRF Studio Chapter 5 3 provides the details how to do so e Developing software for the CC2543 and CC2544 Install IAR Embedded Workbench for 8051 and set up your first software project Chapter 5 4 explains how 7 31 13 TEXAS swru318 INSTRUMENTS 5 2 Running the Preprogrammed PER Test on the CC2543EM and the CC2544Dongle 5 2 1 Introduction The CC2543EM and CC2544Dongle come pre programmed with a Packet Error Rate PER test application The PER number is the ratio
50. s and other applicable regulatory 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 to minimize the risk of electrical shock hazard 3 You will employ reasonable safeguards to ensure that your use of the EVM will not result in any property damage 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 packing materials Certain Instructions It is important to operate this EVM within Tl s recommended specifications and environmental considerations per the user guidelines Exceeding the specified EVM ratings including but not limited to input and output voltage current power and environmental ranges may cause property damage personal injury or death If there are questions concerning these ratings please contact a Tl field representative prior to connecting interface electronics including input power and intended loads Any loads applied outside of the specified output range may result in unintended and or inaccurate operation and or possible permanent damage to the EVM and or interface electronics Please consu
51. s changements ou les modifications pas express ment approuv s par la partie responsable de la conformit ont pu vider l autorit de l utilisateur pour actionner l quipement Concernant les EVMs avec appareils radio Le pr sent appareil est conforme aux CNR d Industrie Canada applicables aux appareils radio exempts de licence L exploitation est autoris e aux deux conditions suivantes 1 l appareil ne doit pas produire de brouillage et 2 l utilisateur de l appareil doit accepter tout brouillage radio lectrique subi m me si le brouillage est susceptible d en compromettre le fonctionnement Concernant les EVMs avec antennes d tachables Conform ment a la reglementation d Industrie Canada le present metteur radio peut fonctionner avec une antenne d un type et d un gain maximal ou inf rieur approuv pour l metteur par Industrie Canada Dans le but de r duire les risques de brouillage radio lectrique a 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 manuel d usage et ayant un gain admissible maximal et l imp dance requise pour chaque type d antenne Les types d antenne non inclus dans cette liste ou dont le
52. setup_mode In this function the REMOTE device configures the radio in a default state Modulation GFSK Data rate 250kbps Frequency 2402 MHz and starts to listen for beacon packets from a MASTER device If it receives a beacon packet the REMOTE device will transmit an acknowledgement containing the information previously stored in the ack_config array It will repeat this whole process for 100 ms If it has not received a beacon packet and transmitted a acknowledgement within 100 ms the user is queried with the following message No Beacon Signal The user can then chose to retry by pushing button1 on the SmartRFO5EB or to set up a new test by pushing the joystick U1 up and then pressing button1 S1 If a beacon packet was received and an acknowledgement was sent the program enters the function called remote per test mode In this function the REMOTE device go in to a Rx state and continuously updates the LCD on the SmartRFO5EB with the packet error rate the Received Signal Strength Indication value RSSI and number of good packets received When the test is finished the user is presented with the final result The user can then move the joystick down to access the second 9 31 13 TEXAS swru318 INSTRUMENTS result screen which contains the number of good packets received number of packets with CRC error received and the number of lost packets If the user pushes button1 S1 a choice between restarting the sam
53. ta Converters DLP Products DSP Clocks and Timers Interface Logic Power Mgmt Microcontrollers RFID OMAP Applications Processors Wireless Connectivity www ti com audio amplifier ti com dataconverter ti com www dlp com www ti com clocks interface ti com logic ti com power ti com microcontroller ti com www ti rfid com www ti com omap Applications Automotive and Transportation Communications and Telecom Computers and Peripherals Consumer Electronics Energy and Lighting Industrial Medical Security Space Avionics and Defense Video and Imaging TI E2E Community www ti com wirelessconnectivity www ti com automotive www ti com communications www ti com computers www ti com consumer apps www ti com energy www ti com industrial www ti com medical www ti com security www ti com space avionics defense www ti com video Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2012 Texas Instruments Incorporated Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery amp Lifecycle Information Texas Instruments CC2545EMK CC2543 CC2544DK
54. tants and strings Number of virtual registers BAM memory i ROM mapped as data CODE memory A 5 Configure the Linker Next you will need to instruct the IDE what linker command file to use The linker command file contains information the linker uses in order to place code and variables in ram and flash Thus the linker file must match the flash and ram size of device you are working with Normally the linker file should be tailor made to an application for optimum performance but the default command file will work with most applications Use the default configuration file Options for node blinky General Options C C Compiler Assembler Custom Build Config Diagnostics Check Build Actions Debugger Third Party Driver Texas Insi t STOOLKIT_DIRS config devices Texas Instruments nk51ew_ Override default program entry Entry symbol program start Defined by application Silabs Search paths one per line STOOLKIT_DIRS LIE Raw binary image File 27 31 13 TEXAS swru318 INSTRUMENTS A 6 Configure the Debugger Finally in the debugger section chose Texas Instruments for the Driver Options for node blinky Category General Options C C Compiler Custom Build Linker Driver Run to mai Third Party Driver Texas Instrument Exclude system breakpoints on FS2 System Navigi exit Fl putchar getchar Infineon Nordic Semiconduc Setup macros ROM Monitor
55. test We recommend following the steps in that guide Please note the following e The most natural power source to use for range testing is batteries There is a voltage regulator on the SmartRFO5EB that regulates the voltage to 3 3V on the board regardless of the voltage from the batteries e Both boards have to be set up to operate on the same channel The available channels are in steps of 1 MHz from 2402 MHz up to 2480 MHz e The PER value is calculated using the following formula NumPackets Lost NumPackets Errors i gt gt gt gt NumPackets OK NumPackets Lost NumPackets Errors The software is looking at the sequence number of the received packet to determine how many packets are lost since the last received packet The PER value on the LCD shows the number per 1000 to avoid time consuming floating point calculations on the controller That is if the LCD shows a PER of 6 o the PER value is 0 6 e The RSSI value shown on the LCD is in dBm and represents a running average RSSI value from the last 8 received packets The RSSI value will never be the same for all packets even though the boards are located at the same distance from each other This is caused by interfering signals reflections thermal noise etc The source code for the PER test and an Intel HEX file ready to be programmed on the device is available on the CC2543 CC2544DK web site 3 8 31 13 TEXAS swru318 INSTRUMENTS 5 2 2 Program Flow
56. the kit and where to find more information about how to use it A troubleshooting guide can be found in chapter 10 Appendix A gives a detailed description of how to set up the software development environment for the CC2543 and CC2544 The CC2543 CC2544DK Quick Start Guide 4 has a short tutorial on how to get started with the kit The PC tools SmartRF Studio and SmartRF Flash Programmer have their own user manuals Please visit the CC2543 CC2544 development kit web page 3 CC2543 product page 1 and CC2544 product page 2 for additional information Further information can be found on the TI LPRF Online Community 7 See chapter 11 for a list of relevant documents and links 3 31 13 TEXAS swru318 INSTRUMENTS 3 Acronyms DK Development Kit EB Evaluation Board EM Evaluation Module HID Human Interface Device IC Integrated Circuit KB Kilo Byte 1024 byte LCD Liquid Crystal Display LED Light Emitting Diode LPRF Low Power RF MCU Micro Controller NC Not connected PER Packet Error Rate RF Radio Frequency RX Receive SoC system on Chip TI Texas Instruments TX Transmit UART Universal Asynchronous Receive Transmit USB Universal Serial Bus MHz Mega Hertz 4 31 la TEXAS swru318 INSTRUMENTS 4 Development Kit contents The CC2543 CC2544 Development Kit CC2543 CC2544DK includes hardware and software that allows quick testing of the CC2543 and CC2544 RF performance and offers a complete platform for dev
57. us modes is to connect the EM directly to the SmartRFO5EB and disconnect everything on the board that consumes power by removing all jumpers The jumper on header P13 should not be removed Connect the ampere meter between the two terminals on P15 On P10 the jumper for the EM_RESET signal connector 35 36 should be mounted On P1 no jumpers are required but in order to control the SoC from a debugger mount a jumper between 19 20 DBG_DD and 21 22 DBG_DD Make sure the RS232 Enable switch is in the disable position Use SmartRF Studio to set the radio in different modes RX TX etc or download an application on the CC2543 setting the device in the preferred state Can I use another compiler than IAR to develop software for CC2543 44 Yes there are several tools available that can be used for CC2543 and CC2544 Any 8051 compiler e g Keil GCC and SDCC can in theory be used Note that these tools may have limited debugging support for CC2543 and CC2544 22 31 13 TEXAS swru318 INSTRUMENTS 11 References 1 CC2543 product web site http www ti com product cc2543 2 CC2544 product web site http www ti com product cc2544 3 CC2543 CC2544DK web site http www ti com tool cc2543 cc2544dk 4 CC2543 CC2544DK Quick Start Guide http www ti com lit swru315 5 CC254x PER Test Software http www ti com litv zip swrc251 6 Texas Instruments Support http support ti com 7 Texas Instruments Low Po
58. wer RF Online Community http www ti com Iprf forum 8 SmartRFO5EB User s Guide http www ti com lit swru210 9 SmartRF Studio http www ti com smartrfstudio 10 DN002 Practical Sensitivity Testing http www ti com lit swra097 11 DNO18 Range Measurements in an Open Field Environment http www ti com lit swra169 12 AN103 Basic RF Testing of CCxxxx Devices http www ti com lit pdf swra370 13 IAR Embedded Workbench for 8051 http www iar com 12 Document history Revision Date Description Changes 2012 04 20 23 31 la TEXAS swru318 INSTRUMENTS Appendix A Setting up the Software Environment This appendix will guide you through the initial steps of setting up a complete software development environment with IAR Embedded Workbench for 8051 Version 8 10 and newer of the tool supports CC2543 and CC2544 out of the box In this example we will explain how to set up a project for the CC2543 The same procedure can be used for the CC2544 by simply replacing all references to CC2543 with CC2544 A 1 Create the project After installing IAR EW8051 start the application Then select the Create New Project under the Project option FE LAR Embedded Workbench Add Files Add Group Import File List Edit Configurations Remove Create New Project Add Existing Project 2 Ce nte r fo r 8 0 A Options SERR you need to get started tut
Download Pdf Manuals
Related Search
Related Contents
25年10月の消防広報重点事項 - scalenet.com オービスフェア 水素計 検出器 保守マニュアル Tarif complet et description des balances Quintix Sartorius. Philips Blu-ray Disc player BDP2500 3P Technik 1000500 Installation Guide 1 - Schneider Electric SERVICE MANUAL Copyright © All rights reserved.
Failed to retrieve file