Home

CC2530 Development Kit User`s Guide (Rev. A

image

Contents

1. 17 10 FREQUENTLY ASKED QUESTIONS 18 11 hiddchid ecc 20 12 DOCUMENT HISTORY a a S asi APENINA P CSS N IS SETTORE NV OSEE USE 20 APPENDIX A SETTING UP THE SOFTWARE ENVIRONMENT 21 A 1 GREATEJEHE PROJEGICS u eer Um DRE IPLE PM A E LE LUN E DRM UM LAN 21 A2 3PROJEGLOPTIONSu5izii2d bes aos D Mor i MD DADA E Dor OG Qa eI PUO Neg 22 Abs SELECTIDEVIGE tits E 22 4 SELECT CODE AND MEMORY MODEL pp 23 A 5 i GONFIGURE THE lINKERB 3 12 eu RA CHAR AR AR AA ARARAMARAA GRAB AS 25 A 6 CONFIGURE THE DEBUGGER pp 26 Ati AWRITESSOETWAREHi Bike ROME d el S PUN D Du S 27 A8 Ol CONA E AND DEBUG u S M u eed i 28 MM 28 APPENDIX SOFTWARE SOLUTIONS FOR CC2530 FROM 29 B 1 SiMPLICITI TM NETWORK PROTOCOQOL a a 29 B 2 TIMAC SOFTWARE a aa 29 REMOTITM NETWORK PROTOCQOL a n 30 B 4 ZC
2. ul VDD L_BEAD_182_0402 1 2 FIDUCIAL MARK FM3 FIDUCTAL MARK FM2 PDN ru s e J I 4 F IDUCIAL MARK E 5 5 T 2 lt t x x or 2 C_2U2_0402_X5R_M_4VDC I m y S S 5 il 1 z E 1 a a2 s _3 od S N AU Ru s as ou 2 7 Sd i S3 Sg i Oud i Od CC2530_TX_REDES 42 DVDD AVDD5 AVDD SOC 23 AVDD DREG AVDD3 4 L DGND_USB AVDD2 mE AVDDI 48 SMD SOCKET 2x10 2 lusB P 28 JDVDD USB AVDD pS C252 C254 AVDD GUARD C_iPO_0402_NP _C_50 C 2P2 0402 NPO C 50 us 83 2 p IF zum P2 1 C251 P223 n 2 C IBP 0402 NPU J 50 C253 2288 PLO pig RFLP 25 C_0402 C_0402 PLI PLI REIR L 0402 P12 C261 L261 Pat bi gt E I8P_9492_NP9_J_59 5 PISS Ips RF_N lt 4k 38 PILB 1 7 37 32 C262 Pane 51 7 peste sf CLIPO_0402_NPO_C_50 paa P2 3 23 Pale oie PO_2 XOSC32M_a1t 22 Pa A5 Fate XOSC32M 02 23 P8 5 DCO
3. CONTRACT NO COMPANY NAME 02587 TI Nor way LPW APPROVALS DATE DWG RS 232 Interface DRAWN PEH E SIZE FSCM NO DWG NO REV CHECKED A3 17 1 ISSUED SCALE SHEET B 7 U7 B SN74HC32 U7 t SN74HC32 U7 D SN74HC32 R57 JOYSTICK RT Ase R_0_0603 R_0_0603 1 un 1 JOYSTICK _UP nig oy JOYSTICK RT 1 Si gs 4 T d SZ A B VCC_I0 ne up right R_0_0603 1 CENTRE COMMON 5 JOYSTICK PUSH E nash Nal left down cs C D Ul skrhab_eBl0 1 R61 lt R 0_0603 1 2 1 JOYSTICK_LT us JOYSTICK_DN Sin 55 SN ax xr S ae a V U7 A SN74HC32 1 2 PUSH UP DN LT RT R6 R_18 K _ 603_F 1 2 R17 200K 0603 F m R3 R32 R_200K_0603_F R 200K 0603 F 1 1 2 47 R58 R51 R 338K 8603 F R_330K_ 603_F a R R 4 188K _8603_F 22 gy IBK _ 683_F IN R54 R_47K_0603_G ala 58 C26 JOY_MOVE U8 B TLV272 5 7 JOY_LEVEL R55 R56 R_IBK_0603_F R_1 K_ 603_F CONTRACT NO COMPANY NAME 02587 TI Nor way LPW APPROVALS DATE DWG PAWN SER Joystick SIZE FSCM NO DWG NO REV CHECKED A3 174 ISSUED SCALE SHEE
4. DRAWN CHS SIZE FSCM NO DWG NO REV CHECKED TIK A4 2 0 ISSUED SCALE SHEET 1 4 Not VCC LI L_BEAD_1 02_0402 cy 3 3V 2 C_1 N_8402_X5R_K_1 C_I N_ 4 2_X5R_K_1 C_I N_ 402_X5R_K_10 are C_1 N_8402_X5R_K_10 C_1 N_8402_X5R_K_10 C_I N_ 402_X5R_K_10 C211 C241 C271 C281 alle C291 C3 e S i M 5 n x d 20 I a zs ou 2 Sul v CC2531 u PA_DP 2 3 PA_D 2 mount R1I X2 C331 C321 C_la _0402_NP2_J_50 P2 Pu cu Pi_ LED PILI LED P1I_2 pi P1 5 P1_6 pi PO_O PLZ Pg P0_4 P _5 RESET_N 36 25 c C_2U2_0402_X5R_M_4VDC 2 BIB2G4520C 10 RE_N 2 32 R251 _ 4 2 BIAS N C Unbal dr P2_4 P2_3 34 XOSC_al 22 XOSC Q2 23 DCOUPL RBIAS GND LEN C 1U 0402 X5R K 6P3 C401 Tr R_ 56K_0402_F R3Ul 4 _32 000 10 15 30 16 _32 768 20 50 40 12 X2 w Fr C331 C221 C_15P_ 402_NP _J_5 C231 C_27P_04 2_NP _J_5 C_27P_84 2_NP _J_5 4H qa 44 C_I5P_0402_NP _J_50 C_1 N_0402_X7R_K_25 A2 ANTENNA_IIFA_I_LEFT CONTRACT NO COMPANY NAME 025104 Texas I
5. Table 3 CC2531 USB Dongle Debug Connector Refer to the schematics in the appendices and layout available on the web for additional details 16 32 TEXAS swru208a INSTRUMENTS 9 SmartRFO5 Evaluation Board The SmartRF05 Evaluation Board is thoroughly described the SmartRFO5EB User s Guide 8 That document will describe the hardware features in detail and provide the schematics for the board 17 32 i EXAS INSTRUMENTS swru208a 10 Frequently Asked Questions Q1 A1 Q2 When connecting the SmartRF05EB 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 your permission Read our privacy policy Can Windows connect to Windows Update to search for software O Yes this time only Yes now and every time connect a device Click Next to continue Next gt The SmartRF05EB 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 cebal sys as specified in a
6. Remove Add Group Source Code Control 13 File Properties You are now ready to compile and download the code to the target 27 32 i EXAS swru208a INSTRUMENTS A 8 Compile and 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 l include ioCC2530 h 2 EB M blinky De v EU gone E blinky c 5 Set P1 0 of CC25 La C3 Output 6 7 8 Toggle P1 0 9 for 10 ll Pl 0 1 12 13 14 A 9 Done Congratulations You have just made your first CC2530 software project in IAR 28 32 TEXAS swru208a INSTRUMENTS Appendix B Software Solutions for CC2530 from TI B 1 SimpliciTI Network Protocol The SimpliciTl network protocol is a low power RF protocol for sub 1 GHz 2 4 GHz and IEEE 802 15 4 RF ICs targeting simple small RF networks This open source software is an excellent start for building a network with battery operated devices using a TI low power RF Sy
7. On ZDt f Power D8 BAT254 P8 Switch_6pin 1 J2 3 U4 56021 djs 1 5 Battery 2 1 po li 2 VBUS Current is drawn from input P7 with highest DC_JACK_2 5 voltage D5 BAT254 aE C_I N_ 683_X7R_K_58 cl 7 VCC_EM jumper STRAP_1 PIS 5 I lt VCC_EM ys inn 1 c 5 e Aw 1 1m c4 5 a 5 E 3 IN Nm oo a A a NZ xX Em JA V IO jumper STRAP_1 1013 2 yCC_I0 R29 Power source jumper R 8 0603 1 2 Battery 3 3V USB 2 3 USBZDC default x R7 R_0603 1 2 T 2 Tf x Do Not Mount REGIO2 TESTPOINT_PAD TESTPOINT_PAD TESTPOINT_PAD TP2 TESTPOINT_PAD ce TP3 TP4 C_1 N_ 6 3_X7R_K_5 CONTRACT ND COMPANY NAME 02587 TI Nor way LPW APPROVALS DATE DWG DHAWN E Power supply EH size FSCM NO DWG NO REV CHECKED A3 174 ISSUED SCALE SHEET 4 7 LCD VCC_I0 VCC_I0 o 1 NZ M g e MI Pg d t HMCI631ISF PY HMC CON LCD E 7 no
8. can be used when you don t need banking support i e when you only need access to 64 kilobytes of the flash memory This option is suitable for the CC253xF32 and CC253xF64 devices It is also possible to use this option for the other devices F128 and F256 when only 64 kB flash is required Banked should be used for getting access to the whole flash for the CC253xF128 and CC253xF256 devices The default data model for the Near code model is Small For Banked it is Large 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 CC2530 User Guide and IAR 8051 C C Compiler Reference Guide have more information about the various memory spaces The important thing to remember is 23 32 i EXAS swru208a INSTRUMENTS that the 8051 core uses different instructions to access the various memory spaces Access to IDATA is in general much quicker than accessing XDATA but there is normally much more XDATA available than IDATA For this example we use banked code model and large memory model to support the CC2530F256 device included in the development kit The stack can be placed in XDATA After setting up the above option you should have the following settings Code model Do not use extended stack ION Entended stack at Data model Cal
9. e Support for IEEE 802 15 4 standard e Support for beacon enabled and non beaconing systems e Multiple platforms e Easy application development The TIMAC software stack is certified to be compliant with the IEEE 802 15 4 standard TIMAC software is distributed as object code free of charge There are no royalties for using TIMAC software 29 32 TEXAS swru208a INSTRUMENTS For more information about TIMAC software see the Texas Instruments TIMAC Web site www ti com timac RemoTI Network Protocol Most existing remote controls use infrared technology to communicate commands to consumer electronics devices However radio frequency RF remote controls enable non line of sight operation and provide more advanced features based on bidirectional RF communication ZigBee Radio Frequency for Consumer Electronics RF4CE is the result of a recent agreement between the ZigBee Alliance and the RFACE Consortium http www zigbee org rf4ce and has been designed to be deployed in a wide range of remotely controlled audio visual consumer electronics products such as TVs and set top boxes ZigBee RFACE key benefits e Richer communication and increased reliability e Enhanced features and flexibility e Interoperability e line of sight barrier The RemoT network protocol is Texas Instruments implementation of the ZigBee RF4CE standard It is a complete solution offering hardware and software support for Tl s low power RF p
10. 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 In the left menu select Linker Tick the Override default in the Linker command file section and select the appropriate linker file For this example we will use Ink51ew_cc2530b xcl which is suitable for CC253xF128 and CC253xF256 The b indicates banked code model The other file Ink51ew_cc2530 xcl is suitable for CC253xF32 and CC253xF64 or the larger flash variants if banking is not required Options for node blinky Category Factory Settings General Options C C Compiler Assembler Custom Build Output Extra Output define Diagnostics List Config Proce 4 gt Build Actions Linker command file Override default Debugger TOOLKIT_DIR config Ink51 ew_cc2530b xcl F Third Party Driver Boe Texas Instruments Infineon ROM Monitor Override default program entry Analog Devices Entry prog Silabs s Simulator Search paths one per line TOOLKIT DIRSALIBS Raw binary image File Symbol Segment Align 68 Cancel 25 32 i EXAS swru208a INSTRUMENTS A 6 Configure the Debugger Finally in the debugger section chose Texas Instruments for the Driver Options for node blinky Category Factory Sett
11. by the user Z Stack software notables include e A fully compliant ZigBee and ZigBee PRO feature set e A range of sample applications including support for the ZigBee Smart Energy and ZigBee Home Automation profiles e Over the air download and serial boot loader support e be used together with the RF front ends CC2590 and CC2591 which support 10 dBm and 20 dBm output power respectively and improved receive sensitivity 30 32 TEXAS swru208a INSTRUMENTS The Z Stack software has been awarded the ZigBee Alliance s golden unit status for both the ZigBee and ZigBee PRO stack profiles and is used by ZigBee developers world wide Z Stack software is well suited for Smart energy AMI Home automation Commercial building automation Medical assisted living or personal health and hospital care Monitoring and control applications Wireless sensor networks Alarm and security Asset tracking Applications that require interoperability For more information about Z Stack software see the Texas Instruments Z Stack software web site www ti com z stack 31 32 i EXAS swru208a INSTRUMENTS Appendix C Schematics Please refer to the following pages for the schematics for e CC2530 Evaluation Module CC2531 USB Dongle e SmartRF05 Evaluation Board The layout for the evaluation module and USB dongle can be found on the CC2530 1 and CC2531 2 web pages respectively 32 32
12. 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 15 for considerations and applicable theory for performing open field range measurements The CC2530DK Quick Start Guide www ti com lit swra273 gives a detailed step by step guide for running the PER 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 If the low batteries LED LED D7 below the LCD on the EB board is turned on the batteries should be changed e Both boards have to be set up to operate on the same channel The channel is one of the 16 IEEE802 15 4 channels The first channel channel number 11 per the IEEE specification is at 2405 MHz followed by channels in steps of 5 MHz up to 2480 MHz e For the best range use the highest possible output power on the transmitter e The PER value is calculated using the following formula NumPacketsLost NumPacketsErrors NumPacketsOK NumPacketsLost NumPackets Errors PER The software is looking at the sequence number of the recei
13. 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 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 CC2530 Appendix B lists available software solutions for CC2530 The CC2530DK Quick Start Guide 4 has a short tutorial on how to get started with the kit The CC2530 Software User s Guide 5 provides details about the software examples and information about other software options for the CC2530 The PC tools SmartRF Studio and SmartRF Flash Programmer have their own user manuals Please visit the CC2530 development kit web page 3 and CC2530 product page 1 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 32 D TEXAS INSTRUMENTS 3 Acronyms ACM ADC CDC DK EB EM HID IC ISM KB LCD LED LPRF MCU NC PER Abstract Control Model Analog to Digital Converter Communications Device Class Development Kit Evaluation Board Evaluat
14. 603_X5R_L_6P3 2 c2 L F 4U7 603 X5R K 6 RI R 2 0402 F 2 Not mount C3 R2 CONTRACT NO COMPANY NAME 025104 Texas Instruments APPROVALS DATE DWG 1 T R ATOR SHAWN CHS CC2531 USB DONGLE VOLTAGE REGULATO SIZE FSCM NO DWG NO REV CHECKED TIK A4 2 0 ISSUED SCALE SHEET 2 4 R PCB_FEET_19 H PCB_FEET_19 H ee PCB_FEET_19 S lt gum ed USB MCU IO jumpers Default setting 1 2 open 3 4 open 5 6 mount 7 8 mount 8 10 open 11 12 open 13 14 open 15 16 open 17 18 mount 18 20 mount 21 22 mount 23 24 mount 25 26 mount 27 28 mount 298 30 mount 31 32 mount 33 34 mount 35 36 mount 37 RS232 driver RS2Z32 port On Off jumper EM_UART_TX EM_UART_RX EM_UART_CTS EM_UART_RTS VCC IO Sheet 6 USB JS Interface 2511 2511 debug B port USB_DBG_DC USB_DBG_DD USB_CS USB_MISO USB MOST USB SCLK USB LCD CS 12 14 ZU 25 32 PINROW 2X18 PI USB_JOY_MO USB UART RTS USB_UART_CTS VBUS USB_UART_RX USB_UART_TX 3 3V USB USB_DBG_DD_DIR USB_IO_RESET USB_LCD_MODE USB_EM_RESET VE EM connection External SoC debug JOYSTICK _UP JOYSTICK _DN JO
15. DI EM_UART_RX JOYSTICK_RT EM_UART_TX LLM EM_DBG_DD EM_LCD_MODE 43 44 EM_DBG_DC EM_LED2_SOC 48 e EM_CS EM_LED3_SOC EM_JOY_LEVEL 33 1 38 EM_SCLK EM_POT_A EM_MOSI lt 3 EM_MISO Debug PINROW 2x10 2 EM_USBI 4 EM_FLASH_CS EM USB2 EM_LED2_S0C EM_BUTTONI EM_LED4_SOC eae EM_UART Tie EM_UART_TX EM MISU anri Et EM CS EM LED3 SOC EM UART RTS vera EM_POT_R EM_DBG_DD_DIR resistor in position R34 from 3 3V US through SMD_HEADER_2x1 VCC_EM P22 EM_SNIFF_CLK EM_SNIFF_DATA EM_SNIFF_SFD EM SNIFF MISO DO NOT MOUNT EM Connectors Connectors PINROW 2x P20 1 2 4 VCC_EM PS_PWR_SNOOZE JOYSTICK RT JOYSTICK_DN JOYSTICK_UP JOYSTICK_LT JOYSTICK_PUSH EM_JOY_LEVEL EM JOY MOVE EM LED2 MSP EM_LED3_MSP 4_ 5 EM_LCD_MODE SMD HEADER 2x18 JOYSTICK_PUSH 2 EM_LED2_MSP PS_PWR_SNOOZE EM_LED3_MSP VCC_EM EM_LED4_MSP JOYSTICK _UP EM_USB2 JOYSTICK LT EM_USBI EM_RESET EM_DBG_DD_DIR EM_LCD_CS EM_BUTTON2 EM_JOY_MOVE EM_UART_RTS R33 R_0_0603 R33 DO NOT MOUNT CONTRACT NO COMPANY NAME 02587 TI Nor way LPW APPROVALS DATE DWG DEANN SEN EM Interface SIZE FSCM NO DWG NO REV CHECKED A3 174 ISSUED SCALE SHEET 3 7 7 R_39 K_ 603_J R45 PS_PWR_SNOOZE cs C_1U_0603_X5R_L_6P3 3 T t7 C 2U2 0603 X5R K I8 k
16. ER test e Evaluate and explore the RF capabilities of the CC2530 using SmartRF Studio Chapter 5 3 provides the details how to do so e Developing software for the CC2530 Install IAR Embedded Workbench for 8051 and set up your first software project Chapter 5 4 explains how 7 32 TEXAS swru208a INSTRUMENTS 5 2 Running the Preprogrammed PER Test on the CC2530EM The CC2530EM comes pre programmed with a Packet Error Rate PER test application The PER number is the ratio 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 I ET BER packet length A PER value of 196 when the packet length is 20 bytes 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 CC2530 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
17. EXAS INSTRUMENTS CC2530 Development Kit User s Guide swru208a TEXAS swru208a INSTRUMENTS Table of contents CC2530 DEVELOPMENT KIT USER S GUIDE u 1 1 u u 3 2 ABOUT THIS u u 3 3 ACRON YMO eek PS U M eee 4 4 DEVELOPMENT KIT CONTENTS toca u u 5 5 GETTING STARTED ii Su AAA a aa E O E O EID E 7 5 1 SETTING UP THE HARDWARE pp 7 5 2 RUNNING THE PREPROGRAMMED PER TEST ON THE CC2530EM 8 5 3 EVALUATE THE CC2530 RADIO USING SMARTRF STUDIO Ne 9 5 4 SETTING UP THE SOFTWARE DEVELOPMENT ENVIRONMENT aa 11 6 RF TESTIN G uU E TEU AM 12 6 1 TX PARAMETER TESTING BASICS pp 12 6 2 RX PARAMETER TESTING BASICS pp 13 7 25 us A a a a uta a Cus 14 8 CC2531 USB DONGLE wisiisisiiccedccedsdecedicveaicdedsccdsiecseacvandeusieadesadedadsdedededbandeaadpaaasaeddandbandgaaazad ad 15 9 SMARTRF05 EVALUATION BOARD
18. FREQTUNE 0 618E 0x0F TXPOWER 0x6190 0 5 TACTRL 0x6191 0x69 FSMSTATO 0x6132 0x00 FSMSTAT1 0x6193 0x00 FIFOPCTRL 0x6194 0x40 FSMCTRL 06195 0x01 CCACTRLO 06196 8 FIFO FIFOP LOCK dBm RSSI NV Reset CC2530 and write settings ADCTEST1 0 0 TX Test modes Packet RX Packet 30 Packet count 100 Random 00 01 02 03 04 05 06 07 08 09 0A OC OD OE OF 10 Initialize FRMCTRLO 0540 TX mode gt TX MODE I 0 0 FRMCTALI 0x00 SET RXENMASK ON TX Packet payload size Manual init IEEE 802 15 4 compliant F C Text C Hex Device ID 0xlll2 Start packet TX OCT Last executed command Figure 3 CC2530 control panel in SmartRF Studio Date 16 03 2009 Time 13 51 13 Figure 3 shows the main control panel for the CC2530 It lets you perform 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 CC2530EM SMA connector to perform RF measurements e Run Packet TX and RX tests For this test you should have two EBs with CC2530EMs connected to the PC Double click both of the devices device list SmartRF Studio Figure 2 opening two windows giving control of the two radios at the same time Select one devi
19. PPROVALS DATE DWG DRAWN Smart B Top Level F IDUCIAL MARK F EH size No REV FM4 CHECKED A3 1 751 ISSUED SCALE SHEET 1 7 3 3V USB VBUS 3 3V USB US UTTON 43 3 V USB 3 3V USB USB SoC Debug 54 PUSH_BUTTON_SKRK q t33V USB _e 33V USB L4 m 2 L_BEAD_I02_0402 fig e ci os 2 i g B S e oN S NV x S Es S 8 S 3 a 9 NS D r4 t t 3 3V USB x5 z to lt ig ig PINROW 2x5 sz C33 C35 C36 C34 1 2 E 21 14 45 4 S T 5 5 d d SN 7HH_8 0 E a zi 10 9o lt A 5 A N N 25 3 TE S 3 z ai x USB RESET m a z z 2 B d amp USB LED NZ d d e d NV D5 lt LED_CLISBYCDS I lt d 5 g U3 2511 S 2 DVDD j 2 TZ DVDD AVDD DGUARD AVDD 2 od AVDD_DREG AVDD 2 DCOUPL AVDD 28 USB_ID_RESET z eco 16 P2_2 4 PI_ LED RF_P 23 USB DEG DC 1 3 PI I LED USB_UART_RTS 1951 2 RF N 24 USB_UART_CTS 4 4 38 Bing USB_UAR
20. STACKIV SOELWARE 53 205 255 1l d a i e a a 30 APPENDIX C SCHEMA TOG Rm 32 2 32 TEXAS swru208a INSTRUMENTS 1 Introduction Thank you for purchasing a CC2530 Development Kit The CC2530 is Texas Instrument s second generation ZigBee IEEE 802 15 4 compliant System on Chip with an optimized 8051 MCU core and radio for the 2 4 GHz unlicensed ISM SRD band This device enables industrial grade applications by offering state of the art noise immunity excellent link budget operation up to 125 degrees and low voltage operation In addition the CC2530 provides extensive hardware support for packet handling data buffering burst transmissions data encryption data authentication clear channel assessment link quality indication and packet timing information The CC2530 product folder on the web 1 has more information with datasheets user guides and application notes The CC2530 Development Kit includes all the necessary hardware to properly evaluate demonstrate prototype and develop software targeting not only IEEE802 15 4 or ZigBee compliant applications but also proprietary applications for which a DSSS radio is required or wanted 2 About this manual This manual describes all the hardware included in the CC2530 Development Kit CC2530DK 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
21. T 7 7 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries TI reserve the right to make corrections modifications enhancements improvements and other changes to its products and services at any time and to discontinue any product or service without notice Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete All products are sold subject to Tl s terms and conditions of sale supplied at the time of order acknowledgment TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with Tl s standard warranty Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty Except where mandated by government requirements testing of all parameters of each product is not necessarily performed TI assumes no liability for applications assistance or customer product design Customers are responsible for their products and applications using Tl components To minimize the risks associated with customer products and applications customers should provide adequate design and operating safeguards TI does not warrant or represent that any license either express or implied is granted under any TI patent right copyright mask work right or other TI intellectual property right relating to any combination machine or
22. T_TX 34 Bis USB_UART_RX USB_DBG_DD_DIR i PI_6 P2_3 X0SC32_Q1 17 USB DBG_DD 33P1 7 P2_4 X05C32_02 i8 Daa T ANMODE 5 SB IO Nove B Pa 1 xOSC Q 21 EST 7 P8 2 XOSC O2 20 USB CS 0150 2 USB ELK 8 Po 4 RBIAS 27 USB_M0SI 731 POs USB MISO 18 PADP 1 i1 PADM R44 RESET N GND Exposed 37 R 56K 0402 F USB RESET 53 xi E PUSH BUTTON SKR 3 3V USB E lt lt X 48 000 20 35 20 18 RIB RI 3 R_0402 R_0_0402 IB 1 2 1 2 gt C_0603 2 2 C_33P_0402_NPQ_J_50 lt lt E C20 P12 C_33P_0402_NPO_J_50 USB_B ra VBUS 1 RI2 R_33_0402_6 D 2 1 2 3 2 Rul PRI 250 GND 4 uw we R 33 0402 6 1 3 CONTRACT NO COMPANY NAME Shield 5 Ne 02587 TI Nor way LPW Shield 6 4 APPROVALS DATE DWG x S E lt DAAWN USB Interface o c SIZE FSCM NO DWG NO REV x CHECKED A3 171 s 1 a ISSUED SCALE SHEET 2 7 3 3V USB EM_DBG_DD_DIR EM_DBG_DD SN74AVC4T245 EM_RESET EM_DBG_DC External SOC Debug PINROW_2X5 P3 L 2 DUT_VCC DUT_DD WAREN S4 cy 3 3V USB R30 R 0603 1 L Mount ohm to power DUT connector P3 P5 SMD HEADER 2x12 Li 2 JOYSTICK_DN EM_UART_CTS B TE EM_FLASH_CS EM B TTONI EM LED4 SOC SI T 1 8 EM LE
23. UPL 2 POS log e PRA g 7 RBIAS _ ea RESET N Ui GND x D s 4 b S 2 s 8 ey E HS Bi gt wa PINROW_1x2 i ci a xx gt SMD_SOCKET _2X18 P2 1 M Le VDD 3 4 1 1 OS zs is as zs g p 2 S 2 of 7 ga 3 D 2 a a i SLM vE E E Reset 5 46 1 i 1 vd PL2 7 sa PU 5 S S E P2 0 1 20 3 E a amp CONTRACT NO COMPANY NAME is B a al J o 025184 Texas Instruments APPROVALS DATE DWG CC2530EM Discrete DRAWN ERS SIZE FSCM NO DWG NO REV CHECKED 4 11 ISSUED SEALE SHEET 1 VOLTAGE REGULATOR Generated voltage 3 3 Vo fer TID2531 FMI AN US SoC periferia USB Connector Buttons LEDs SMD sockets HESET N MT FM3 d 1 FM Den 7 K M P1I_ LED Pi_i7LED Pia PISg Pia 1_5 1_ Pi_7 P2_ R222 PA_DM _ PA_DP AES Ear PO_O m oe P _3 Pid 4 P _5 PI_ LED PIH EED Pa Plss PI 4 P15 P1_6 PT P2_1 up PA_DM RF SoC PART Including PCB antenna FIDUCIAL MARKE IDUCIAL MARK FIDUCIAL MARK FIDUCIAL MARK FIDUCIAL_MARK FIDUCIAL_MARK M5 CONTRACT NO 425104 COMPANY NAME Texas Instruments APPROVALS DATE 2531 dongle
24. USH BUTTON El PR BUTTONI POWER SOC R_IBK_0603_G R21 UTTON 2 N 52 ez PUSH BUTTON fa lt K_0603_G IO LEDI I0_LED2_MSP 10_LED2_SOC IO_LED3_MSP 10_CS 10_LED3_SOC 10_LED4_MSP 10_BUTTONI I0_LED4_SOC 10 10_BUTTON2 ed CONTRACT NO COMPANY NAME 02587 TI Nor way LPW APPROVALS DATE DWG DEANN SEN User Interface SIZE FSCM NO DWG NO REV CHECKED A3 174 ISSUED SCALE SHEET 5 7 g YCC I0 C22 i cag S C I8BN d603 7R K 50 188 0603_ 7 _ _58 o3 Ds tc Us SN85C3243DBR AE mcr i C2 V C25 1 624 L av vccHe5 L toen_a6a3_x7R_k_50 L _ _ 7 _ _5 VCC I0 4 RIIN GND 25 ARN ci 24 _ lt B R3IN FORCEONL 23 A Hgin FORCEOFF 22 He 8 RsIN INVALID 2 R46 AB 3 2a R_0_0683 m alrouTr R20UTB L X 18 T20UT RIOUT 19 EM_UART_RX J r30UT 200 18 e J2 T3IN R30uT 17 13 16 T T2IN R40UT LY 14 TIIN 5 L S P16 DSUB_3F 5 x 4 7 R47 2 gt R_0_0603 x P 1 EM_UART_CTS R48 R_B_0603 TL E EM_UART_TX R49 R_0_0603 L P EM_UART_RTS Po RS2392 perti 2 RXD 3 TXD 5 GND 7 RTS ETS
25. YSTICK LT JOYSTICK RT JOYSTICK PUSH EM_JOY_MOVE EM JOY LEVEL EM LCD MODE EM_LCD_CS EM_MISO EM MOSI EM_SCLK EM_FLASH_CS EM_BUTTONI EM_LED4_SOC EM_BUTTON2 EM LEDI EM LED2 MSP EM_LED2_SOC EM_LED3_MSP EM_CS EM_LED3_SOC EM_LED4_MSP EM_DBG_DD EM_POT_R EM_DBG_DC EM_RESET EM_DBG_DD_DIR EM_SNIFF_SFD EM_SNIFF_MISO EM_SNIFF_CLK EM_SNIFF_DATA EM_UART_TX EM_UART_RX EM_UART_CTS PS_PWR_SNOOZE EM_UART_RTS NP Sheet 3 Power Supply Regulators Power jumpers Battery VBUS 3 3V USB VCC_EM PS_PWR_SNOOZE VCC_IO Sheet 4 Joystick JOYSTICK_UP Joystick JOYSTICK _DN JOYSTICK LT JOYSTICK RT JOYSTICK PUSH JOY MOVE r 34 J0Y LEVEL cua e LCD Flash Potmeter Buttons Plo LEDs PINROW_ 2X18 USB_EM_RESET 10_LCD_MODE I0_LCD_CS 10_MISO 10 MOSI 10 SCLK IO FLASH CS IO BUTTONI IO LED4 SO0C 10 BUTTON2 IO_LED 10_LED2_MSP IO LED2 SOC 10 LED3 MSP 10_CS I0_LED3_SOC IO_LED4 _MSP 10_POT_R IO peripherals jumpers All mount as default IO EM RESET User Interface USB IO RESET VCC_IO FIDUCIAL MARKFIDUCIAL MARKFIDUCIAL MARK CONS EAGT NO WEN 02587 TI Nor way B A
26. 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 CC2530 setting the device in the preferred state Can use another compiler than IAR to develop software for CC2530 Yes there are several tools available that can be used for CC2530 Any 8051 compiler e g Keil GCC and SDCC can in theory be used Note that these tools may have limited debugging support for CC2530 19 32 i EXAS INSTRUMENTS swru208a 11 References 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 CC2530 product web site http focus ti com docs prod folders print cc2530 html CC2531 product web site http focus ti com docs prod folders print cc2531 html CC2530DK web site http focus ti com docs toolsw folders print cc2530dk html CC2530DK Quick Start Guide http www ti com lit swra273 CC2530 Software Examples User s Guide http www ti com lit swru137 Texas Instruments Support http support ti com Texas Instrume
27. c 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 CC2530 evaluation board 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 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 ooo gO O Spectrum Analyser CC2530EM SmartRFOSEB USE Figure 4 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 Uncalibrated spectrum analyzers can display errors of several dBs 6 1 TXParameter Testing Basics To investigate the TX performance of the CC2530 you can either use a Spectrum Analyzer or an RF Power Meter Use the Simple TX test mode in SmartRF Studio to set up the device to transmit a signal at the desired frequency Both a modulated or unmodulated carrie
28. ce to be the transmitter by selecting the Packet TX tab shown in the lower middle of Figure 3 On the other device the receiver select the Packet RX tab Set up basic test parameters and press the Start packet RX button Now you can start transmission by pressing the Start packet TX button for the transmitter The status window in the lower right corner of the device control panel 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 RF register values in a user modifiable format by selecting File gt Export CC2530 Code The SmartRF Studio User Manual has more details 10 32 TEXAS swru208a INSTRUMENTS 5 4 Setting up the Software Development Environment To develop software and debug an application on the CC2530 it is recommended to use IAR Embedded Workbench It supports debugging of CC2530 through the SmartRFO5EB so no additional hardware is required IAR EW8051 is bundled with all the required files for CC2530 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 capabili
29. ct or disconnect a board Double click on the item showing CC2530 new device and a new window will appear 9 32 TExAS INSTRUMENTS Z 0x1112 CC2530 SmartRF Studio File Settings Help 8 Current chip values FRMFILTO 0 6180 0 0D FRMFILT1 06181 0x78 SRCMATCH 061892 0x07 SRCSHORTENDO 0 6183 0x00 SRCSHORTEN T 0 6184 0x00 SRCSHORTEN2 0x6195 0x00 SRCEXTENO 0 6186 0x00 SRCEXTEN1 06187 0x00 SRCEXTEN 0 6188 0x00 FRMCTRLO 06189 0x40 FRMCTRL1 056184 0x01 RXENABLE 06188 0x00 RAXMASKSET 0 618C 0x00 RXMASKCLR 0x618D 0x00 swru208a Normal View Register View Notes Radio Modem RF frequency 2405 MHz RF output power 0 dBm All other settings are configured automatically in each test mode TX test and Packet RX T The registers that need to be modified after reset in a microcontroller program are displayed to the right and in the test tabs below Copy settings to Register View IEEE 802 15 4 RF channel Ox 0B s Register values FREGCTRL Ox08 TXPOWER 0432 MDMCTRLO 0x85 DEM NUM ZEROS 7 6 2 DEMOD AVG MODE 5 0 PREAMBLE LENGTH 41 2 TX FILTER O 1 MDMCTRL1 0x14 CORR_THR_SFD 5 0 _ 0 20 RXCTRL 0x3F FSCTRL 0x54 FSCAL1 0428 AGCCTRLI 0x11 ADCTESTO 0x10 RFIRGMO 0 6143 0x00 RFIRQM1 0x6144 0x00 RFERRM 0 6145 0x00 FREGQCTRL 0x618F 0x08
30. e New Project Tool chain Project templates Device specific project templates Generic project templates Library project templates ROM monitor Description Creates an empty project Cancel 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 21 32 i EXAS swru208a INSTRUMENTS A 2 Project Options Right click the project to set up the project options IAR Embedded Workbench IDE File Edit View Project Simulator Tools Window 21 Workspace Cor ipile Rebuild All Clean l Stop Build 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 Assembler Custom Build Target Data Pointer Code Bank Output Library Configuration Lit Build Actions Linker Debugger Third Party Driver Device No device selected Texas Instrurnent CPU core Infineon ROM Monitor Analog Devices Silabs Near Simulator Device information Code model Data model Calling convention Small Y DATA stack reentrant Y m Locati
31. e RF module based on one of the recommended reference designs for the CC2530 radio The module is equipped with a 32 MHz crystal a 32 768 kHz crystal external passive components for the balun and antenna match filter an SMA connector for the antenna or any other RF instrument connection and general IO headers connectors The table below shows the pin out from the CC2530 to the two connectors on the backside of the evaluation module CC2530 CC2530 Signal Signal Table 1 CC2530EM pin out The part number of the EM connector is SFM 110 02 SM D A K TR from Samtec It 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 14 32 TEXAS swru208a INSTRUMENTS 8 CC2531 USB Dongle 4 Meandred F antenna IO Connector r 207 CC2531F256 EDS ene get Button S2 Button S1 Debug connector Voltage regulator Figure 6 CC2531 USB Dongle The USB dongle that is included in the kit comes preprogrammed such that it can be used together with the SmartRF Packet Sniffer 10 to capture packets going over the air To use the dongle as a sniffer just install the Packet Sniffer PC application available on the web 10 plug in the USB dongle and start capturing packets The Packet Sniffer User Manual 11 has more information The USB dongle can also be used as a genera
32. ing 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 The purpose of the SmartRFOBEB is to serve as a general I O board for testing of the various peripherals of the CC2530 microcontroller The EB also contains a separate USB controller which is used as a bridge between the PC and the CC2530 for programming the flash of the CC2530 It is also used for debugging the software running on the CC2530 The evaluation board can be powered from several different sources e 2x 1 5V AA batteries included in this kit e USB via the USB connector e DC power 4 to 10 Volt not included in this kit e External regulated power source not included in this kit The power source can be selected using jumper P11 on the SmartRFOBEB The SmartRFO5EB User s Guide 8 provides more details After assembling the hardware you now have several options for working with the CC2530 e Run the packet error rate PER test which is preprogrammed on the CC2530 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 P
33. ings General Options C C Compiler Assembler Custom Build Setup Extra Options Plugins Build Actions Linker Driver M Bunto Debugger Texas Instruments h main Third Part Driver Texas Instrurnent Infineon ROM Monitor m Setup macros Analog Devices Use macro file Silabs wn Simulator Device Description file Dveride default TOOLKIT_DIR confighdevices T exas Instruments CC2530 dd a Cancel All the other project options can be left as is and you can close the Project Options dialog by clicking OK 26 32 i EXAS swru208a 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 ioCC2530 h gt int main void Set P1 0 of CC2530 as output P1DIR 0x01 Toggle P1 0 for 1 0 1 The code will toggle P1 0 very quickly Add the file to the project by right clicking the project and selecting Add blinky c Embedded Workbench IDE File Edit View Project Texas Instruments Emulator Tools Window Help l include ioCC2530 h 2 3int main void aD Options 4 Lg C3 Ou 5 Set P1 0 of Ci Make 6 PIDIR 0x01 7 Rebuild All 8 Toggle Pi 0 Clean 9 for 10 ll Pl 0 1 Add
34. ion Module Human Interface Device Integrated Circuit Industrial Scientific and Medical Kilo Byte 1024 byte Liquid Crystal Display Light Emitting Diode Low Power RF Micro Controller Not connected Packet Error Rate Radio Frequency Receive System on Chip Serial Peripheral Interface Short Range Device Texas Instruments Transmit Universal Asynchronous Receive Transmit Universal Serial Bus 4 32 swru208a TEXAS swru208a INSTRUMENTS 4 Development Kit contents The CC2530 Development Kit CC2530DK includes hardware and software that allows quick testing of the CC2530 RF performance and offers a complete platform for development of advanced prototype RF systems e Evaluate the CC2530 right out of the box The kit can be used for range testing using the pre programmed PER tester running on the 2530 e Use SmartHF 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 CC2530 are available on pin connectors on the SmartRFO5EB allowing easy interconnection to peripherals on the EB board or other external sensors and devices The CC2530DK contains the following components e 2x SmartRFO5EB the two large boards e 2x CC2530 Evaluation Modules the two small boards e 2x Antennas e 1x CC2531 USB Dongle e Cables e Batteries e Documents Figure 1 CC2530 Development Kit Con
35. l development board for USB and RF software There is a USB firmware library available from the TI web pages with an implementation of a complete USB framework including examples showing both HID and CDC ACM There is a link to this library on the CC2530 DK web pages 3 Table 2 shows which CC2531 signals are connected to what IO on the dongle Dongle Connector User IO Green LED Red LED Button S1 Button S2 Table 2 CC2531 USB Dongle Pinout In order to debug and program firmware on the CC2531 the CC2531 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 15 32 i TEXAS swru208a INSTRUMENTS Figure 7 CC2531 USB Dongle connected to SmartRF05EB The debug connector on the CC2531 USB Dongle matches the debug connector on the SmartRF05EB and the CC Debugger Note that by default the CC2531 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 Alternatively resistor R2 can be mounted The table below shows the pin out of the debug connector Connection GND VCC CC2531 P2 2 DC CC2531 P2 1 DD NC NC CC2531 RESET NC 2 3 4 5 6 7 8 9 Optional external VCC R2 must be mounted NC A o
36. ling convention Large Y XDATA stack reentrant v Location for constants and strings Number of virtual registers 8 gt 9 ew pik m OM mapped as data C CODE memory For the Banked code model some additional settings are required Select the Code Bank tab in the options window and set up the following parameters Options for node blinky Category General Options C C Compiler Assembler Custom Build Target Data Code Bank Library Configuration Lit lt j Build Actions Linker Debugger Number of banks 0x07 Third Party Driver Texas Instrument addreer Infineon ROM Monitor Register mask 0 0 Analoq Devices ip 08000 Simulator Bank start Bank end oxFFFF E Cancel In addition to the common root bank the CC2530 uses 7 code banks in order to access the whole 256 kB of Flash The number of banks should be set to 0x07 for both F128 and F256 Register address Ox9F is the CC2530 FMAP register which controls what code bank that is currently mapped into the 8051 address space The register mask of 0x07 specifies that it is the 3 least significant bits in the FMAP register that are used for selecting banks 24 32 i TEXAS swru208a INSTRUMENTS 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
37. meet such requirements Following are URLs where you can obtain information on other Texas Instruments products and application solutions Products Applications Amplifiers amplifier ti com Audio www ti com audio Data Converters dataconverter ti com Automotive www ti com automotive DLP Products www dlp com Broadband www ti com broadband DSP dsp ti com Digital Control www ti com digitalcontrol Clocks and Timers www ti com clocks Medical www ti com medical Interface interface ti com Military www ti com military Logic logic ti com Optical Networking www ti com opticalnetwork Power Mgmt power ti com Security www ti com security Microcontrollers microcontroller ti com Telephony www ti com telephony RFID www ti rfid com Video amp Imaging www ti com video and ZigBee Solutions www ti com lprf Wireless www ti com wireless Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2009 Texas Instruments Incorporated
38. n inf file Both files inf and sys are included in the SmartRF installation If you have not installed SmartRF Studio it is recommended that you do so before proceeding Both the SmartRF Studio User Manual and SmartRF05EB User s Guide has more details SmartRF05EB with the CC2530EM is not detected by IAR SmartRF Studio Why Make sure you have installed SmartRF Studio as described in A2 Then 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 SmartRF05EB If the board is listed as an unknown device please follow the steps outlined in the SmartRF Studio User Manual Device Manager File Action View Help e ma ARA MYCOMPUTER J Ml Batteries Cebal controlled devices Computer J lt Disk drives Display adapters 3 DVD CD ROM drives J ig Human Interface Devices IDE ATAJATAPI controllers Keyboards 5 Mice and other pointing devices Modems Monitors i Network adapters PCMCIA adapters Darke OAM 18 32 i EXAS INSTRUMENTS Q3 A3 Q4 A4 swru208a How can measure the current consumption of the CC2530 The easiest way to measure current consumption of the chip in various modes is to connect the EM directly to the SmartRFO5EB and disconnect everything on the board that consumes power
39. ng such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge and agree that they are solely responsible for all legal regulatory and safety related requirements concerning their products and any use of TI products in such safety critical applications notwithstanding any applications related information or support that may be provided by TI Further Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety critical applications TI products are neither designed nor intended for use in military aerospace applications or environments unless the TI products are specifically designated by TI as military grade or enhanced plastic Only products designated by TI as military grade meet military specifications Buyers acknowledge and agree that any such use of TI products which TI has not designated as military grade is solely at the Buyer s risk and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO TS 16949 requirements Buyers acknowledge and agree that if they use any non designated products in automotive applications TI will not be responsible for any failure to
40. nstruments APPROVALS DATE DWG CC2531 USB DONGLE RF PART DRAWN CHS SIZE FSCM NO DWG NO REV CHECKED TIK A4 2 0 ISSUED SCALE SHEET 3 4 ot RE ount USB Interface 3V 1 DI 0 AN c N R_0_0402 2 PI_ LED I VBUS S2 bi PI USB_A m tr a VBUS R21 R_33_0402_G D 2 2 _ T D 3 R31 ND 4 R 33 0482 6 i 5 Sh ie ld Shield 6 q R92 C31 C_47P_0402_NP _J_50 PA_DM PA_DP 21 C_47P_0402_NP0_J 50 SoC debug f lash Additional testpins IO 0700 BL_3 _ 8U_NO_SILK 1 P2 2 p P2 TM gt t P14 SET N 4 gt P1_5 gt P1_7 Po_ 5 X pa_4 x PD_3 gt Po_ gt IO Pa a8 LED Hed RII R_270_0402_F gt 4 2 PILI LED lt DILED_ELI3 2ISURC LED_Green R71 dd R 270 0402 F 2 C_I pv D2 LED_ELI9 2ISYGC button P 1 2 1 p 51 D PUSH_BUTTON_SKRK 1_2 button_P_1_3 S2 D PUSH_BUTTON_SKRK P1 3 p CONTRACT NO COMPANY NAME 025104 Texas Instruments APPROVALS DATE DWG DHAWN CHS CC2531 USB dongle USB circuitry SIZE FSCM NO DWG NO REV CHECKED TIK A4 2 0 ISSUED SCALE SHEET 414 To CC253 VCC EXT dod VBUS 21 N From PC U2 R3 TPS76933 R_0_0402 2 N F c C_1U_
41. nts Low Power RF Online Community http www ti com Iprf forum SmartRFO5EB User s Guide http www ti com lit swru210 SmartRF Studio http www ti com smartrfstudio SmartRF Packet Sniffer http focus ti com docs toolsw folders print packet sniffer html SmartRF Packet Sniffer User Manual http www ti com lit swru187 TIMAC http www ti com timac Z Stack http www ti com z stack DNOO2 Practical Sensitivity Testing http www ti com lit swra097 DN018 Range Measurements in an Open Field Environment http www ti com lit swra169 IAR Embedded Workbench for 8051 http www iar com 12 Document history Description Changes 2009 04 20 Editorial update 2009 04 08 20 32 i TEXAS swru208a 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 7 51 of the tool supports CC2530 and CC2531 out of the box no patches required A 1 Create the project After installing IAR EW8051 start the application The dialog window below should appear Z JAR Embedded Workbench IDE File Edit Project OIS windov Help o 17S D 4 x ae Workspace Create new project in current workspace D Add existing project to current workspace Open existing workspace Select Create new project in current workspace Creat
42. on for constants and strings gt Number of virtual registers 8 memory C ROM mapped as data CODE memory 22 32 EXAS INSTRUMENTS swru208a A new window will appear that allows you to browse through the device configuration files to choose an appropriate device Select the CC2530 i51 file from the lt ew8051_install_dir gt 8051 devices Texas Instruments folder This i51 device description file contains basic information about the chip Look in Texas Instruments ex E3 My Recent Documents cclll0 51 ccllll i51 ccz430 51 ccz431 i51 ccz5l0 i51 ccz511 51 8 2531 151 Msc1200Y2 i51 eS msc120073 i51 ej MsC1201Y2 i51 ej MsC1201Y3 51 M5C1210Y3 i51 ej MsC1210Y4 i51 i 5 121015 51 8 MsC1211Y2 51 ej MsC1211Y3 51 8 MsC1211Y4 i51 amp j MsC1211Y5 i51 eS MsC1212Y2 51 ej MsC1212Y3 51 ej MsC1212Y4 i51 ej MsC1212Y5 51 E tusb3410 i51 MsC1202Y2 i51 fs M5C1202Y3 i51 SS MSC1210Y2 i51 2530 51 Files of type device description file i51 Cancel My Network File name Places Back in the General Options view you will see that CC2530 is now the selected device CPU core should be set to Plain Device information Device CC2530 a CPU core Plain A 4 Select Code and Memory Model Next select code model Either Near or Banked can be chosen Near
43. process in which TI products or services are used Information published by TI regarding third party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof Use of such information may require a license 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 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 Reproduction of this information with alteration is an unfair and deceptive business practice TI is not responsible or liable for such altered documentation Information of third parties may be subject to additional restrictions Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice TI is not responsible or liable for any such statements TI products are not authorized for 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 unless officers of the parties have executed an agreement specifically governi
44. r 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 12 32 TEXAS swru208a INSTRUMENTS 6 2 RX Parameter Testing Basics To investigate the RX performance of the CC2530 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 CC2530EM and or with your own prototype hardware In this case connect the unit you want to test to a known good transmitter 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 14 13 32 i EXAS swru208a INSTRUMENTS 7 CC2530EM SMA antenna 32 kHz Crystal connector CC2530F256 32MHz Crystal Figure 5 CC2530 Evaluation Module The CC2530EM is a complet
45. roduct portfolio With the RemoTI network protocol we provide e An industry leading RFACE compliant stack featuring the interoperable CERC profile support a simple API easy to understand sample application code full development kits and reference designs and much more e Operation on our best in class IEEE 802 15 4 compliant System on Chip the CC2530 with excellent RF co existence and RF performance The four flexible power modes include the lowest current consumption power down mode for long battery in life low duty cycle applications e Extensive worldwide support and tools to ensure that development of ZigBee RFACE based products is simple fast and can be completed at minimal cost e A Golden Unit platform RemoTl it is used for testing other implementations of the ZigBee RF4CE standard for standard compliance For more information on Tl s RemoTI network protocol see the Texas Instruments RemoTl network protocol web site www ti com remoti or contact Iprf rf4ce ti com 4 Z Stack Software The Z Stack software is Tl s ZigBee compliant protocol stack for a growing portfolio of IEEE 802 15 4 products and platforms The Z Stack software stack is compliant with both ZigBee 2006 and ZigBee 2007 specification supporting both the ZigBee and ZigBee PRO features sets The Z Stack software includes implementation of two ZigBee application profiles Smart Energy and Home Automation Other application profiles can easily be implemented
46. stem on Chip SoC The SimpliciTI network protocol was designed for easy implementation and deployment out of the box on several TI RF platforms It provides several sample applications Key Applications e Alarm and security occupancy sensors light sensors carbon monoxide sensors glass breakage detectors e Smoke detectors e Automatic meter reading gas meters water meters e meters e Active RFID applications Key Features e Low power A Tl proprietary low power network protocol e Flexible o Direct device to device communication o Simple star with access point for store and forward to end device o Range extenders to increase range to four hops e Simple uses a five command API e Low duty cycle e Ease of use SimpliciTl is distributed as source code free of charge For more information about the SimpliciTl network protocol see the Texas Instruments SimpliciTl network protocol web site www ti com simpliciti B 2 TIMAC Software TIMAC software is an IEEE 802 15 4 medium access control software stack for Tl s IEEE 802 15 4 transceivers and System on Chips You can use TIMAC when you e Need a wireless point to point or point to multipoint solution e g multiple sensors reporting directly to a master e Need a standardized wireless protocol e Have battery powered and or mains powered nodes e Need support for acknowledgement and retransmission e Have low data rate requirements around 100 kbps effective data rate Features
47. t use f backlight supply l 8 not use 2 backlight supply m USB_IO_RESET 12 not use 3 logic power supply 4 13 not use 4 logic power supply 5 14 not use 5 Reset lactive lowl 6 T 2 I0 LCD MODE 15 not use B register selection vA L UE 16 not use 8 serial data in g R 0 0603 10 serial clock input 9 R8 1l chip select 1 2 VCC_I0 cM 745 46 e N S FLASH VCC_ID 10 LCD CS IO_MOSI IO_SCLK IO_FLASH_CS 9 1 0 10 VCC_10 CD 1n 5 i Sa IN USB_IO_RESET POTMETER VCC IO E N R40 R_IK0_0603_J EM RESET 1 2 ESE VR 10 POT R ES T 0 VCC_I0 v u 10 _ 5 i 55 Ns PUSH BUTTON _ a bi R19 R_82_0603_G 1 2 USB_EM_RESET R_1 0K_ 603_G 1 R53 10_MISO gy VCC_10 BUTTON _POWER_MSP VCC_IO Switch_6pin a BUTTONI_POWER_SOC U7 E SN74HC32 POWER CONN VDD GND 7 VCC I0 PIS VCC I0 LED_CLIS GCD Green Red Yella R_270_0603_J R_270_0603_J R_270_0603_J R38 R_270_ 603_J R36 R37 R38 PO S 7 J LEDI LED2 LED3 LED4 LED_CLIS URCDLED_CLIS YCD LED_CLIS URCD Uia SN74CBTLV3257PW lt BUTTON 1 o BUTTONI POWER MSP 51 P
48. tents 5 32 TEXAS swru208a INSTRUMENTS SmartRFO5EB The SmartRFO5EB evaluation board is the main board in the kit with a wide range of user interfaces e 3x16 character serial LCD Full speed 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 CC2530EM The CC2530EM 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 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 CC2531 USB Dongle The CC2531 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 CC2531 USB controller The dongle comes preprogrammed with firmware such that it can be used as a packet sniffer device Antenna 2 4 GHz antenna Titanis from Antenova 6 32 TEXAS swru208a 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 TI Support 6 if anyth
49. ties 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 CC2530 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 The CC2530 Software Examples User s Guide 5 will take you through the initial steps of starting up IAR setting up the project and compile and debug the software Full source code for the software examples can be downloaded from the CC2530DK web page 3 Appendix A in this document will guide you through the steps of setting up your own project from scratch Appendix B gives a brief overview of complete software solutions for CC2530 from Texas Instruments 11 32 TEXAS swru208a INSTRUMENTS 6 RF Testing NB When running RF performance tests it is recommended to disable all other peripherals on the SmartRFOBEB in order to 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 basi
50. ved 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 1000 the PER value is 0 6 e The RSSI value shown on the LCD is in dBm and represents the average RSSI value from the last 32 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 a Intel HEX file ready to be programmed on the device is included in the CC2530 Software Examples available on the CC2530DK web site 3 8 32 TEXAS swru208a INSTRUMENTS 5 3 Evaluate the CC2530 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 CC2530 The application communicates with the CC2530 via the USB controller the CC2511 on the SmartRFO5EB board The USB controller uses the debug interface of the CC2530 to execute commands and to read and write registers SmartRF Studio lets you explore the radio on the CC2530 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 fle
51. xible 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 CC2530DK will also be installed In order to use the SmartRF Studio with CC2530 connect the CC2530EM to the SmartRFOSEB 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 i SmartRF Studio j SmartRF 01 DK SmartRF 02 DK SmartRF 03 DK SmartRF 04DK SmartRF 05 DK Current Status NSTRUMENTS 2530 new device 021100 050500 0x0007 Calculation Window CC2530 Calculation Window CC2520 Productinfo SmartRF productline Figure 2 CC2530 and SmartRF Studio Make sure you select the tab called SmartRF amp 05 DK The connected evaluation board should be listed showing that a CC2530 is available Actually all connected SmartRFO5EB boards will be listed in this window The list is dynamically updated as you conne

Download Pdf Manuals

image

Related Search

Related Contents

User Manual  Manuale tecnico  Manual - Chenbro  取扱説明書 - VORNADO | ボルネード    MANUEL D'INSTALLATION INSTALLATION MANUAL  Revolabs Microphone HDX 7000 User's Manual  Panasonic HC-X900  OM, Non-Branded, BKS4615, 952802353, 2010-10, Chain  Bedienungsanleitung - Pfeilheim 4-6  

Copyright © All rights reserved.
Failed to retrieve file