Home
CC2530 Development Kit User`s Guide
Contents
1. lt USB BUTTON USB SoC Debug 54 PUSH_BUTTON_SKRK VCC 93V USB USB L4 VCC IO lt L_BEAD_102_0603 tt 5 4 2 0 NV 2 2 g 8 1 i 5 85 1 037 55 as i i P2 4 IO ic i mes PINROW 2X5 2 1 c33 1 5 1 c36 5 2 5 1 DIL x 1 2 3 4 a NM 21 2 8 t 5 6 E oP 8 g 8x7 x a 8 E 1 5 o o o a rs Bt 5 xL 8 8 T USB RESET o 2 o 3 2 8 E 5 9 8 8 USB LED NZ 8 5 7 8 5 S 06 1 lt 7 LED CL150YCD 21 5 X CC2511 8 2 6 2 DVDD 8 DVDD AVDD 1 gt DGUARD AVDD 22 ol AVDD DREG AVDD 25 DCOUPL AVDD 26 14 2 0 USB n yR RESET 19 52 0 16 2 2 4 RF P 23 USB DBG DC zi 1 LED USB_UART_RTS 1 2 24 USB UART CTS 1 1 39 P1_3 USB UART TX 35 P1_4 USB UART RX 34 P1 5 USB DBG DD DIR 33 P16 P2 3 XOSC32 17 USB LCD MODE USB DBG DD 32 P1 7 P2 4 XOSC32 Q2 18 USB ICD CS USB JOY MOVE 5 TOM ER 6 1 XOSC Q1 21 USB EM RESET USB CS 7 2 02120 USE SCL Pont RBIAS 27 USB MOSI m USB MISO 13 5 10 PADP 1 11 PADM R44 31 RESET N GND Expo
2. UP R57 JOYSTICK BE R 0 0603 0603 1 2 JOYSTICK UP 5 zr Z 8 NIV ic c 0 IO R62 PUSH up right R 0 0603 1 2 CENTRE COMMON 5 JOYSTICK PUSH _ mash Su left down 112091 1008 0603 X7R 50 8 D 2 8 Ut Sw skrhab_e010 E R61 lt 0 0603 1 2 JOYSTICK LT t JOYSTICK_DN e E 8 Te 1 Ti i y U7 A SN74HC32 1 U7 B SN74HC32 U7 C SN74HC32 A U7 D SN74HC32 JOY MOVE PUSH R6 100 0603 1 2 8 TLV272 08 8 TLV272 R17 200 0603 F 5 2 7 JOY LEVEL DN 1 R32 200 0603 200 0603 R55 R56 R 10K 0603 G Ra 10K_0603_G 10K 0603 G R_100K_0603_F 1 1 2 R50 R51 100 0603 __ 330 0603 330K 0603 1 5 4 1 1 1 RT R5 2 VCC IO 1 Du NI U7 E 8 1 32 SN74HC32 x C 100P 0603 J 50 57 20 0 c gt C26 0 POWER CONN 53 t 1 c12 8 8 14 VDD GND 7 2 8 2 8 3 8 2 8 COMPANY o 02587 TI Norway LPW APPROVALS DATE
3. nennen nennen nnnnnnn nnne 18 11 Refererices 21 12 2 0 0 21 Appendix Setting up the Software Environment 4 4 2222224 22 AN Greatetheproject dint dee 22 2 lt eei 23 32 Geleet DEVTE 23 4 Select Code and Memory 24 A 5 Configure the 26 Configure the 27 Wote Sof Wale 28 Compile and 29 rd BI A REM 29 Appendix B Software Solutions for CC2530 from 2 2 30 B 1 SimpliciTI Network 30 2 E dodanie darter ven 30 RemoTI Network gt 31 4 Z Stack Software nnn 31 Appendix C 33 2 33 TEXAS swru208b INSTRUMENTS 1 Introduction Thank yo
4. PAD 8 SHDN ADJ 5 TESTPOINT PAD 2 TESTPOINT_PAD P 2 2 R63 x2 TP3 5 5 3 Gnd 6 6K2 0603 G x wW I S a oo 2 E 3 EE 3 2 e Ti x M o 87 V CONTRACT NO 02587 COMPANY NAME TI Norway LPW APPROVALS DATE DWG Power supply DRAWN PEH SIZE FSCM NO DWG NO REV CHECKED 1 8 1 ISSUED SCALE SHEET 4 7 LCD VCC_IO 1 3 IO MISO BUTTON1 POWER MSP 10 10 e NV eu 5 8 2 S r M1 3 5 HMC16311SF PY HMC CON TN gt LCD 1 2 7 not use T backlight 2 4 8 not use 2 backlight supply USB IO RESET 12 not use 3 logic power supply 4 Tue 13 not use 4 logic power supply 5 14 not use 5 Reset active low 6 1 2 15 use 6 register selection LLL I0 LCD MODE 16 not use 9 serial data in 8 R_0_0603 10 serial clock input 11 chip select 9 Re TO TT TZ 13 10 14 15 J 16 a a VCC IO 8 45 1 C4 Leb
5. Code Bank utput Library Configuration Lit 4 Build Actions Linker Number of banks 0x07 Debugger Third Party Driver Register address 0x9F Texas Instruments Infineon Register mask ROM Monitor Analog Devices BN SE 08000 Silabs Simulator Bank end OxFFFF In addition to the common root bank the 2530 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 which code bank is currently mapped into the 8051 address space The 3 least significant bits in the FMAP register are used to specify the bank number However since the other bits in this register are not used it is recommended to set the 25 33 TEXAS swru208b INSTRUMENTS register mask to OxFF instead of 0x07 which will allow IAR to use some bank switch macros with less overhead 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 In the left menu select Linker
6. 1 88 S S 2 Co 5 P4 NV PINROW 1x2 5 8 59 gt lt gt lt gt lt gt lt SMD_SOCKET_2X10 P2 3 1 4 1 5 3 4 1 1 1 VDD gt e ttre s B L3 0 Os 1 Oo 28 11 42 2 gt 1 44 lt Reset 15 6 E 2 2 0 18 a 5 8 8 E 0 5 gt 5 5 o o 025104 Texas Instruments APPROVALS DWG CC2530EM Discrete DRAWN TIK SIZE FSCM NO DWG NO REV CHECKED NN A4 1 3 1 ISSUED SCALE SHEET 1 1 VOLTAGE REGULATOR Generated voltage 3 3 V for CC2531 SoC periferials USB Connector Buttons LEDs SMD sockets RESET N PO O PO 2 PO 3 PO 4 PO 5 P1 O LED P1 1 LED P1 2 P1 3 P1 4 P1 5 P1 6 P1 7 P2 1 P22 PA DM PA DP FIDUCIAL MARK 1mm FIDUCIAL MARK 1mm FIDUCIAL MARK 1mm FM1 2 1 D Y RESET_N 0 2 PO 3 PO 4 PO 5 P1 O LED P1 1 LED P12 P1 3 P1 4 P1 5 P1 6 P1 7 P2 1 P22 PA DM PA DP RF SoC PART Including PCB antenna CONTRACT NO 025104 COMPANY NAME Texas Instruments APPROVALS DATE DRAWN TIK 5 6 2531 USB dongle CHECKED MAP SIZE FSCM NO DWG NO REV A4 2 4 ISSUED SCALE SHEET 1 4
7. TEXAS INSTRUMENTS CC2530 Development Kit User s Guide swru208b TEXAS swru208b INSTRUMENTS Table of contents CC2530 Development Kit User s Guide 1 1 irren rro SED REDE 3 2 About this 3 3 5 4 4 Development Kit 1 5 5 2 7 5 1 Setting up the hardware ded da dad dde dete 7 5 2 Running the Preprogrammed PER Test on the CC2530EM 8 5 3 Evaluate the CC2530 Radio using SmartRF 9 5 4 Setting up the Software Development e 11 6 RF TOSUN EAA ODAR 12 6 1 TX Parameter Testing een 12 6 2 RXParameter Testing 2222 110000 13 7 CO2530 EM 14 8 2531 USB retener 15 9 SmartRF05 Evaluation Board nn niin nnn nnne nnn 17 10 Frequently Asked Questions
8. VBUS From PC Oo C1 C 1U 0603 X5R L 6P3 Not mount C3 R2 U2 TPS76933 R3 R_0_0402 CC2531 VCC EXT 3 3V Oo oa 1 2070 2 CONTRACT COMPANY NAME 025104 Texas Instruments APPROVALS DATE DWG DRAWN TIK CC2531 USB DONGLE VOLTAGE REGULATOR SIZE FSCM NO DWG NO REV CHECKED MAP A4 2 4 ISSUED SCALE SHEET 2 4 3 3V Oo L1 L BEAD 102 0402 1 2 e e 3 gt x gt gt gt 2 e x x x T cc L a 8 294 S 5 D C 2U2 0402 X5R M 4VDC 3 E 2 8 5 el el e e 1 5 1 1 58 1 1 zi 1 5 5 1 E NE 58 8 8 2 v e 2 2 27 7D so gt CC2531 v V 7 DVDD2 DVDD1 4 DGND USB PA DP USB P A2 PA DM USB M ANTENNA 1 LEFT DVDD_USB 2 2 1 R9 P2 1 R 0 0402 P2 2 P1 O LED 4 1 4 P1_1 LED JTI_2450BM15A0002 P1 2 B1 C5 P1 3 C 0P5 0402 NPO B 50 P1 4 3 P1 5 V P1 6 VW P1 7 PO 0 PO 2 oa PO 3 PO 4 5 201 R 2K2 0402 G RESET 1 8s 7 2 a e e 3 2 z oz o v 99 5 5 2 5 m O gt lt gt lt u 5 e 3 3 1 9 3 So
9. 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 CC253xF 64 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 Diagnostics List Config Proce 4 gt Build Actions Linker command file Override default Debugger TOOLKIT_DIR config Ink51 ew_cc2530b xcl N Third Party Driver Texas Instruments Infineon ROM Monitor Override default program entry Analog Devices Silabs 0 Simulator Search paths one per line TOOLKIT DIRSALIBS Raw binary image File Symbol Segment Align ees Cancel 26 33 TEXAS swru208b INSTRUMENTS A 6 Configure the Debugger Finally in the debugger section chose Texas Instruments for the Driver Options for node blinky Category Factory Settings General Options C C Compiler Assembler Custom Build Setup Extra Options Plugins Build Actions Linker Driver Runto Debugger Texas Instruments Y main Third Party Driver Texas Instrument Infineon ROM Monitor Setup macros Analog Devices Use macro f
10. TX power 45 dBm 71 dBm Range Extender None 71 High Gain Mode RX Continuous TX Continuous RX Expected packet count 100 Infinite Hexadecimal Seq number included in payload Viewing format Dump data to file Packet RX RF Device Commands Average RSSI Received ok Received not ok Packet error rate 2530 Rev 24 DID 2770 swru208b 2770 CC2530 Register View 9 Code export Register Value Hex Dm FRMFILTO FRMFILT1 SRCMATCH SRCSHORTENO SRCSHORTEN1 SRCSHORTEN2 SRCEXTENO SRCEXTEN1 SRCEXTEN2 FRMCTRLO FRMCTRL1 RXENABLE RXMASKSET RXMASKCLR RFIRGMO RFIRQM1 RFERRM FREGCTRL TXPOWER TXCTRL FSMSTAT FIFOPCTRL FSMCTRL CCACTRLO CCACTRL1 SSISTAT Figure 3 CC2530 control panel in SmartRF Studio Figure 3 shows the main control panel for the CC2530 It lets you perform a number of operations 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 Run Packet TX and RX tests For this test you should have two EBs with CC2530EMs connected to the PC Double click on both of the devices in the device list in SmartRF Studio Figure 2 opening one Device Control Panel for each device giving control of the t
11. 1 1 25 a gt mm 5 1 bi gt V WY 2 S 2 el ol o CONTRACT NO COMPANY NAME 025104 Texas Instruments APPROVALS DATE DWG CC2531 USB DONGLE RF PART DRAWN TIK SIZE FSCM NO DWG NO REV CHECKED MAP 4 2 4 ISSUED SCALE SHEET 3 4 USB Interface 1 22 28 N 2 R91 R 0 0402 2 P1 O LED 9 VBUS 2 3 P1 9 USB A 9 Ca VBUS 1 R21 2 R 33 0402 G e PA DM pu 1 2 es _ PA DP R31 OND Lu R 33 0402 G 1 1 Shield 5 C21 2 2 C 47P 0402 NPO J 50 Shield 6 VW C31 V C 47P 0402 J 50 SoC debug flash Additional testpins IO DEBUG STL21 BL 31 0080 NO SILK 4 3 1 EE gx P2 1 P1 4 8 RESET N 7 9 10 gt P15 P1 6 P1 7 5 gt _4 3 2 Not mount R92 PO LED_Red R11 R 270 0402 F 1 2 1 D1LED_EL19 21SURC AA LED Green R71 R 270 0402 F 2 D2 LED_EL19 21SYGC 77 1 button P 1 2 S1 PUSH BUTTON SKRK 1 2 button P 1 3 52 PUSH BUTTON SKRK 1 2 P1_1 LED P1_3 CONTRACT NO COMPANY NAME 025104 Texas Instruments APPROVALS DATE DWG DRAWN TIK CC2531 USB dongle USB circuitry SIZE FSCM NO DWG NO
12. New Hardware Wizard Please choose your search and installation options So S Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed C Search removable media floppy CD ROM Include this location in the search Program Files T exas Instruments Extras Drivers Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware If the above fails select Don t search will choose the driver to install A new window will open asking for a location of where drivers be found Locate the srf05eb inf 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 SmartRFO5EB File Action View 2 MYCOMPUTER Batteries Cebal controlled devices 0 Computer lt Disk drives a Display adapters DVD CD ROM drives Human Interface Devices 29 IDE ATAJATAPI controllers 9 Keyboards 3 Mice and other pointing devices Modems 90 Monitors 88 Network adapters adapte
13. Potmeter JOYSTICK DN Buttons JOYSTICK LT LEDs JOYSTICK RT JOYSTICK PUSH 2X18 USB EM RESET EM JOY MOVE EM JOY LEVEL USB IO RESET EM LCD MODE _ IO LCD MODE EM LCD CS d IO 1CD CS EM MISO 4 IO MISO VCC IO EM d IO MOSI EM SCLK 1 IO SCLK EM FLASH CS IO FLASH CS EM BUTTON EM LED4 SOC 10 LED4 SOC EM BUTTON2 IO BUTTON2 EM LED1 IO LED EM LED2 MSP IO LED2 MSP EM LED2 SOC IO LED2 SOC EM LED3 MSP 10 LED3 EM CS EM LED3 SOC IO LED3 SOC EM_CS EM_LED3_SOC EM LED4 MSP IO LED4 MSP EM DBG DD m OEM RESET EM DBG DC EM_DBG_DD_DIR EM_SNIFF_SFD EM_SNIFF_MISO EM SNIFF CLK ripherals jumper peripherals jumpers Sheet 5 All mount as default EM_UART_TX EM_UART_RX EM_UART_CTS POWER_PS EM_UART_RTS CONTRACT NO COMPANY NAME MARK FIDUCIAL MARK FIDUCIAL MARK 02587 TI Norway LPW Sheet 3 APPROVALS DATE DWG FM4 FM6 SmartRFO5SEB Top Level DRAWN PEH SIZE FSCM NO DWG NO REV FM2 CHECKED A3 1 8 1 25 ISSUED SCALE SHEET 4 7 3 3V USB
14. X7R K 50 CONTRACT NO 02587 COMPANY NAME TI Norway LPW APPROVALS DATE DWG EM Interface DRAWN PEH SIZE FSCM NO DWG NO REV CHECKED 1 8 1 ISSUED SCALE SHEET 3 7 1 R70 0603 LPS3015 222ML 2 1 eoe 2 2uH U4 TPS63030 1895 2 t ee pes R 0 0603 1 8 p zi x 58 8 T c io o 1 c38 T Si 22 c 8 SNZ o POWER PS VCC_EM jumper 5 1 P15 1 R68 R 1 0 0603 J 1 2 C10 C_4U7_0805_X5R_K_25 2 R69 1 180K 0603 G 4 C11 C_10U_0805_X5R_K_10 Battery Power On Off VBUS Current is drawn from input with highest voltage P7 DC JACK 2 5 1 D5 BAT254 2 jumper STRAP 1 1 2 io 5 4 Switch_6pin 2 Power source jumper R29 R_0_0603 1 2 Battery 1 3 3 USB 2 3 USB DC default 8 R7 0603 R65 DO Not Mount 9 leuko 1 1 2 U2 R35 2 1 Out 4 0 0603 1 7 zd as TESTPOINT PAD
15. and set up your first software project Chapter 5 4 explains how 7 33 TEXAS swru208b 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 1 BER packet length A PER value of 1 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 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 ob
16. 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 33 TEXAS swru208b 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 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 US
17. 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 33 TEXAS INSTRUMENTS 3 Acronyms ACM ADC CDC Abstract Control Mode Analog to Digital Converter Communications Device Class Development Kit Evaluation Board Evaluation 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 Pac
18. 2531 RESET NC 2 3 4 5 6 7 8 9 Optional external VCC R2 must be mounted NC Table 3 2531 USB Dongle Debug Connector Refer to the schematics in the appendices and layout available on the web for additional details 16 33 TEXAS swru208b INSTRUMENTS 9 SmartRF05 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 33 TEXAS swru208b INSTRUMENTS 10 Frequently Asked Questions Q1 A1 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 or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only every time connect a device Click Next to continue Next gt 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 instructio
19. 3 3V USB through connector 8 i SMD HEADER 2x10 SMD HEADER 2x10 SMD HEADER 2x10 P22 195 gt ne 2 NT 4 JOYSTICK_DN EM_SNIFF_CLK 3 T JOYSTICK PUSH 3 2 UART CTS 5 5 EM_FLASH_CS EM_SNIFF_DATA 5 1 02_ MSP BUTTON1 EM_LED4_SOC EM_LED1 EM_SNIEF_SFD 9 EM_SNIFF_MISO POWER_PS gt 8 EM_LED3_MSP EM_UART_RX T5 JOYSTICK RT A VCC EM TU EM LED4 MSP EM UART TX EM_DBG_DD 12 er EM_LCD_MODE 11 99 DBG DC JOYSTICK UP 1 14 EM USB2 EM LED2 SOC 1 16 EM CS EM LED3 SOC NZ JOYSTICK LT 1 16 EM_USB1 EM_JOY_LEVEL 1 EM_SCLK 1 18 EM_RESET EM BUTTON2 POT 1 20 EM MOSI 45 L1 20 EM LCD CS 1 26 1 2 EM MISO EM JOY MOVE c EM DBG DD DIR 5 R33 2 R_0603 M C21 1 c28 8 EM Connectors lt 8 R33 DO NOT MOUNT 8 2 8 8 57 8 2 2 8 Debug Connectors PINROW 2X10 PINROW 2X10 EM USB1 EM USB2 EM_BUTTON1 EM_LED4 SOC EM UART RX EM UART TX EM UART CTS EM UART RTS EM POT R EM DBG DD DIR P18 1 2 4 EM_FLASH_CS EM LED2 SOC EM DBG DD EM DBG DC EM MISO EM CS EM LED3 SOC EM SCLK EM MOSI VCC EM POWER PS JOYSTICK RT JOYSTICK DN JOYSTICK UP JOYSTICK LT JOYSTICK PUSH EM JOY LEVEL EM JOY MOVE P20 1 2 4 EM LED1 EM LED2 MSP EM LED3 EM LED4 MSP EM LCD MODE EM RESET EM BUTTON2 EM LCD CS C30 100 0603
20. B 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 SmartRFO5SEB 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 2 SmartRF Studio 7 Texas Instruments Smart Studio 7 Sub 1 GHz ISM band 2 4 GHz 1 Connected List of connected devices gt SmartRFOSEB USB device ID 2770 Firmware revision 0013 CC2530 1 Connected device s Texas Instruments 7 Figure 2 2530 SmartRF Studio The connected evaluation board should be listed showing that a CC2530 is available The list is dynamically updated as you connect or disconnect a board Double click on the highlighted CC2530 device icon and a new window will appear 9 33 TEXAS INSTRUMENTS 2 2770 2530 Device Control Panel File Settings View Evaluation Board Help E Expert Mode RF Parameters Frequency 2405 7 MHz 7 Register View IEEE 802 15 4 channel Parameters
21. DWG DHAWN Joystick SIZE FSCM NO DWG NO REV CHECKED 1 8 1 ISSUED SCALE SHEET 7 7 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries Tl 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 115 terms and conditions of sale supplied at the time of order acknowledgment 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
22. 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 1 include ioCC2530 h 2 fblinky De v EU E blinky c 5 Set 21 0 of 25 La Output 6 7 8 Toggle 0 9 10 Neu Pl 0 1 12 PEDES 12214 9 Congratulations You have just made your first CC2530 software project in IAR 29 33 TEXAS swru208b INSTRUMENTS Appendix B Software Solutions for CC2530 from 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 System 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 Alar
23. REV CHECKED MAP AA 2 4 ISSUED SCALE SHEET 4 4 gm Uo 9 PCB FEET 19 PCB FEET 19 PCB FEET 19 di USB MCU IO jumpers Default setting 1 2 open 3 4 open 5 6 mount 7 8 mount 9 10 open 11 12 open 13 14 open 15 16 open 17 18 mount 19 20 mount 21 22 mount 23 24 mount 25 26 mount 27 28 mount 29 30 mount 31 32 mount 33 34 mount 35 36 mount RS 232 RS232 driver RS232 port On Off jumper EM UART TX EM UART RX EM UART CTS EM UART RTS VCC IO Sheet 6 P1 PINROW 2X18 USB Interface Power Supply CC2511 Regulators CC2511 debug Power jumpers USB port Battery USB UART RTS USB UART CTS VBUS VBUS VCC EM USB UART USB UART TX 433V USB 3 3V USB POWER PS USB DBG DD DIR IO USB DBG DC USB DBG DD USB CS USB MISO USB IO RESET Sheet 4 USB LCD CS VSB LODEMORE USB_EM_RESET USB_JOY_MOVE JOYSTICK_UP doysticls JOYSTICK_DN JOYSTICK LT JOYSTICK RT JOYSTICK PUSH JOY MOVE JOY_LEVEL Sheet 7 EM connection LCD External SoC debug Flash JOYSTICK UP
24. 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 SmartRFO5EB 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 2530 It is also used for debugging the software running on the CC2530 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 SmartRFO5EB 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 PER 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
25. 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 7 firmware such that it can be used as a packet sniffer device Antenna 2 4 GHz antenna Titanis from Antenova 6 33 TEXAS swru208b 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 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
26. 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 30 33 TEXAS swru208b 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 RF4CE 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 RF4CE key benefits e Richer communication and increased reliability e Enhanced features and flexibility e Interoperability line of sight barrier The network protocol is Texas Instruments implementation of the ZigBee RFACE standard It is a complete solution offering hardware and software support for 1 15 low power RF product portfolio With the RemoTI network protocol we provide e An industry leading RFACE compliant stack featuring the interoperable profile support a simple API easy to u
27. e FLASH 8 S P IO LCD CS o US 25 MOSI 2 IO SCLK IO FLASH CS IO IO de 8 al 2 USB_IO_RESET POTMETER 10 R40 1 0 0603 J 1 1 2 2 PERLE 0 2 IO sg PUSH BUTTON USB EM RESET i N 2 E x oS or LED VCC IO 6 5 4 U10 SN74CBTLV3257PW Switch_6pin aro 2 vcc Io 3 IO LED1 1 2 LL Io 12 506 11 x 10 LED3 MSP BUTTON POWER SOC 10 __10______________ 6 LED4 MSP 139 0807710011046 VCC 10 e LED_CL150GCD 14 R36 LED1 VCC IO 2 R 270 0603 J SN74ALVC14 Green g 1 65 7 5 amp LED CL150URCD NZ x LED2 a EX F 5 5 R 270 0603 J 22 SN74ALVC14 Red 11 8 a 8 LED CL150YCD BUTTON 1 LED3 ppe o R_270_0603_J SN74ALVC14 Yellow 22 Utt C 3 We LED CL150DCD S1 LED4 PUSH BUTTON R39 B Dp d R 270 0603 J SN74ALVC14 Orange s d Utt D BUTTON POWER SOC BUTTON 2 IO 9 VS 5 E 1 12 52 PUSH BUTTON e SN74ALVC14 01 U11 F 2 VCC IO e 9 X 10 IO EM RESET c E SN74ALVC14 Ut
28. ersonal injury or death unless officers of the parties have executed an agreement specifically governing 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 products are designated by as compliant with ISO TS 16949 requirements Buyers acknowledge and agree that if they
29. evelopment 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 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 Spectrum Analyser CC2530EM SmartRFOSEB 4 Figure 4 RF Test Set Up with 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 TX Parameter Testing Basics To investigate the TX performance of the CC2530 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 Bo
30. igBee Smart Energy and ZigBee Home Automation profiles download and serial boot loader support e Can 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 31 33 TEXAS swru208b 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 32 33 TEXAS swru208b INSTRUMENTS Appendix C Schematics Please refer to the following pages for the schematics for e CC2530 Evaluation Module CC2531 USB Dongle SmartRFO05 Evaluation Board The layout for the evaluation module and USB dongle can be found on the CC2530 1 and CC2531 2 web pages respectively 33 33 FIDUCIAL_MARK FIDUCIAL MARK FM1 FM AN Y D 721 7 L1 L BEAD 102 0402 1 2 FIDUCIAL MARK FIDUCIAL MARK FM2 FM5 ge Is
31. ile Silabs Simulator Device Description file Overide default TOOLKIT_DIR confighdevices T exas Instruments CC2530 dd Cancel All the other project options can be left as is and you can close the Project Options dialog by clicking OK 27 33 TEXAS INSTRUMENTS A 7 Write Software swru208b 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 218918 0x01 Toggle P1 0 for P1 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 IAR Embedded Workbench IDE File Edit Project Texas Instruments Emulator Tools Window Help l include ioCC2530 h 2 n 58 E main void on 5 Set 21 0 of Make 6 PIDIR 4 7 Rebuild All 8 Toggle P1 0 Clean 9 10 ll Pl 0 1 Add gt Add Files R Add blinky c ATENE Add Group Source Code Control gt LI File Properties You now ready to compile and download the code to the target 28 33 TEXAS swru208b INSTRUMENTS A 8 Compile and Debug Select Project gt
32. ket 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 33 swru208b TEXAS swru208b 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 CC2530 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 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 2xSmartRFOBEB the two large boards 2x 2530 Evaluation Modules the two small boards e 2xAntennas e 1 2531 USB Dongle e Cables Batteries e Documents Figure 1 CC2530 Development Kit Contents 5 33 TEXAS swru208b INSTRUMENTS SmartRF05EB 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
33. l 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 Compiler Reference Guide have more information about the various memory spaces The important thing to remember is 24 33 TEXAS swru208b 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 stack at Data model Calling convention Large stack reentrant Location for constants and strings Number of virtual registers 8 9 a pk 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
34. m 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 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 five command API e Low duty cycle e Ease of use is distributed as source code free of charge For more information about the network protocol see the Texas Instruments X 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 115 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 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
35. n Module The CC2530EM is a complete 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 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 CC2530 2530 Signal 1 Signal 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 33 TEXAS swru208b INSTRUMENTS 8 2531 USB Dongle Meandred F antenna Connector LEDs 2531 256 Button 52 Button 51 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 i
36. nderstand 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 RF4CE based products is simple fast and can be completed at minimal cost Golden Unit platform it is used for testing other implementations of the ZigBee RF4CE standard for standard compliance For more information on 115 network protocol see the Texas Instruments network protocol web site www ti com remoti or contact Iprf rf4ce ti com 4 Z Stack Software The Z Stack software is 115 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 by the user Z Stack software notables include A fully compliant ZigBee and ZigBee PRO feature set range of sample applications including support for the Z
37. nformation The USB dongle can also be used as a general development board for USB and RF software There is a USB firmware library available from the 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 lo SEP Dongle Connector 77 1 2 Green LED 0 3 Red LED P1 1 4 Button 51 5 Button 52 P1 7 P1 6 P1 5 1 4 Table 2 2531 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 33 TEXAS swru208b INSTRUMENTS Figure 7 CC2531 USB Dongle connected to 8 The debug connector on the CC2531 USB Dongle matches the debug connector on the SmartRFO5EB 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 5 CC2531 P2 2 DC CC2531 P2 1 DD NC NC CC
38. ns and select Automatic installation Windows should find the required driver cebal sys as specified in an inf file Both files inf and sys are included in the SmartRF Studio installation SmartRFO5EB with the CC2530EM is not detected by IAR SmartRF Studio Why First of all note that Windows 7 64 bit and Windows Vista 64 bit are not yet supported It might be that the 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 Texas Instruments Extras Drivers where C Program Files Texas Instruments 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 Install from a list or specific location Advanced You will see the following window 18 33 TEXAS swru208b INSTRUMENTS Q3 A3 Found
39. o o T ue x 6 1 xl x gt x 0 1 10 FIDUCIAL MARK FIDUCIAL MARK 5 i x 4 5 5 E 5 202 0402 X5R 4VDC FM3 6 e 5 3 3 a 1 5 1 gt gt gt 9 ue 1 2 1 z 1 z 1 1 1 gt 9 5 2 29 ag 8 Ne RA zo Go zin SE un L p CC2530_TX_REDES DVDD AVDD5 AVDD_SOC AVDD_DREG AVDD3 27 DGND_USB AVDD2 USB_M AVDD1 P1 SMD SOCKET 2X10 P3 AVDD4 31 252 254 SMA_SMD AVDD_GUARD C_1P0_0402_NP0_C_50 2 2_0402_ _ _50 P0 4 P1 3 1 2345 1 JH J P2 1 C251 L252 PO pos C 18P 0402 NPO J 50 L_2N0_0402_S 2 C253 C255 P1 1 13 14 1 4 ds a C253 2 C 0402 0 6 15 16 P1 5 AF L251 0 7 17 18 P1 6 L 0402 1 1 1 7 261 1261 18 _0402 C 18P 0402 450 L 2 0 0402 S 32 C262 decr 33 2 1P0 0402 C 50 P2 3 1 22 z XOSC32M_Q1 3 XOSC32M_Q2 5 x u 2 _ SD ake
40. ols may have limited debugging support for CC2530 20 33 TEXAS swru208b INSTRUMENTS 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 Instruments 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 010002 Practical Sensitivity Testing http www ti com lit swra097 001018 Range Measurements an Open Field Environment http www ti com lit swra169 IAR Embedded Workbench for 8051 http www iar com 12 Document history Revision Date Description Changes Updated schematics Use screenshots from SmartRF Studio 7 Added more details 2010 04 23 about driver ins
41. rs ui Darke FOAM 2 IDT 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 How do 1 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 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 19 33 TEXAS swru208b INSTRUMENTS Q4 A4 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 use another compiler than IAR to develop software for 7 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 to
42. sed 37 56K 0603 x1 X 48 000 15 18 60 16 USB_RESET 43 3V USB Do Not Mount S 1 8 R10 R18 2 2 R 0603 R_0_0603 fi fe 8 2 2 C19 43 3V USB 1 2 1 C6 4 ds 10 0603 50 3 E gt 71 8 VBUS 8 NC 5 82 877 E o P12 e o USB B VBU 1 1 R12 R 33 0603 G 2 1 2 3 2 4 4 R 33 0003 6 a CI eT 9 8 CONTRACT NO COMPANY NAME Shield 5 5 02587 Norway LPW 2 gt gt Shield 6 APPROVALS DWG lt gt DRAWN PEH USB Interface 8 8 SIZE FSCM NO DWG NO REV CHECKED A3 1 8 1 ISSUED SCALE SHEET 2 7 VECO External SOC Debug SN74AVC4T245 EM DBG DD DIR PINROW 2X5 PINROW SMD 2X5 1 27MM P3 P4 1 2 00 3l 2 aad 0 2 DUT VCC 57 5 5 5 DUT_DD EM RESET 8 7 8 EM DBG DC 3 10 9 10 54 v 1 VCC_EM R30 R_0603 c2 1 5 5 N 7 1 1 29 TH z Zr Mount 0 ohm resistor in position R30 e 8 to power DUT from
43. t E z o CONTRACT NO COMPANY NAME 02587 TI Norway LPW APPROVALS DWG DRAWN User Interface SIZE FSCM NO DWG NO REV CHECKED 1 8 1 ISSUED SCALE SHEET 5 7 n o 1 Ci4 211 Ct5 7 lt i C22 1 1 cos x2 92 L 100N 0603 X7R K 50 2 C 100N 0603 X7RK50 0603 K 8 5 Z 277 Ue SN65C3243DBR 1 C14 28 2 27 1 1 2 V C25 C24 28 6 45 100 X7R 50 VCC IO 4 295 2 5 24 R2IN c1 L24 7 6 R3IN FORCEONL_23 7 22 3 INVALID 7 o 574 9 TioUT R20UTB 29 ard 3 19 ROUT 19 1 UART 11 18 18 R30uT _17 9 13 _16 5 14 15 5 16 DSUB_9F 5 9 4 8 3 R47 2 7 R_0_0603 6 1 EM_UART_CTS 48 R_0_0603 1 2 EM_UART_TX R49 R 0 0603 EM UART RTS PC RS232 port 2 RXD 3 TXD 5 GND 7 RTS 8 CTS CONTRACT NO COMPANY NAME 02587 TI Norway LPW APPROVALS DATE DWG RS 232 Interface DRAWN fsz FSCM NO DWG NO REV CHECKED 1 8 1 ISSUED SCALE SHEET 6 7
44. tainable 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 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 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
45. tallation in the FAQ section New recommended register mask for the code bank configuration appendix section A4 2009 04 20 Editorial update 2009 04 08 21 33 TEXAS 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 and newer of the tool supports CC2530 and CC2531 out of the box A 1 Create the project After installing IAR EW8051 start the application The dialog window below should appear IAR Embedded Workbench IDE File Edit view Project 005 Window Help Qed Ha Workspace el Create new project in current workspace D Add existing project to current workspace Open existing workspace Select Create new project in current workspace Create 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 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 22 33 TEXAS swru208b INSTRUMENTS 2 Project Options Right click the project to set
46. ted 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 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 33 TEXAS swru208b 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 D
47. th 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 12 33 TEXAS swru208b 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 33 TEXAS swru208b INSTRUMENTS CC2530EM SMA antenna 32 kHz Crystal connector CC2530F256 32MHz Crystal Figure 5 CC2530 Evaluatio
48. ts Desktop My Documents 1110 51 1 CC2430 i51 7311 cC2510 i51 CC2511 i51 CC2531 i51 Msc1200Y2 i51 msc120073 i51 ej MsC1201Y2 i51 ej MsC1201Y3 51 M5C1210Y3 i51 2 MsC1210Y4 i51 5 121015 51 8 MsC1211Y2 51 ej MsC1211Y3 51 8 MsC1211Y4 i51 29 MsC1211Y5 i51 MsC1212Y2 51 MsC1212Y3 51 ej MsC1212Y4 i51 MsC1212Y5 51 E tusb3410 i51 29 MsC1202Y2 i51 5 1202 3 1 My Computer MSC1210Y2 i51 My Network File name Places 2530 51 Files of type device description file i51 Cancel Back the General Options view you will see that CC2530 is now the selected device CPU should be set to Plain Device information Device 222530 Plain 4 Select Code and Memory Model Next select code model Either Near or Banked can be chosen Near 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 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 CC253xF 128 and CC253xF256 devices The default data model for the Near code model is Smal
49. u 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 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
50. up the project options Embedded Workbench IDE File Edit View Project Simulator Tools Window Dass Workspace gt Cor ipile Rebuild All Clean 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 Instrument CPU core Infineon ROM Monitor Analog Devices Silabs Near Simulator Device information Code model Data model Calling convention Small v stack reentrant Y m Location for constants and strings gt Number of virtual registers 8 memory C ROM mapped as data CODE memory 23 33 TEXAS swru208b INSTRUMENTS 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 151 device description file contains basic information about the chip Look in Texas Instruments E3 My Recent Documen
51. use any non designated products in automotive applications TI will not be responsible for any failure to 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 Communications and www ti com communications Telecom DSP dsp ti com Computers and www ti com computers Peripherals Clocks and Timers www ti com clocks Consumer Electronics www ti com consumer apps Interface interface ti com Energy www ti com energy Logic logic ti com Industrial www ti com industrial Power Mgmt power ti com Medical www ti com medical Microcontrollers microcontroller ti com Security www ti com security RFID www ti rfid com Space Avionics amp www ti com space avionics defense Defense and ZigBee Solutions www ti com Iprf Video and Imaging www ti com video Wireless www ti com wireless apps Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2010 Texas Instruments Incorporated
52. wo radios at the same time Select one device 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 button on the receiver Now you can start transmission by pressing the Start button for the transmitter 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 Read and or modify registers and common settings such as RF frequency or channel and output power 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 10 33 TEXAS swru208b 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 limi
53. work right or other TI intellectual property right relating to any combination machine or 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 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 is not responsible or liable for any such statements TI products not authorized for use in safety critical applications such as life support where a failure of the product would reasonably be expected to cause severe p
Download Pdf Manuals
Related Search
Related Contents
PJ X3131 PJ WX3131 PJ X3241 PROYECTOR DE DATOS BENDIX TCH-003-014 User's Manual Samsung 721S Manuel de l'utilisateur KOOL_PR03 INST - Improvements Catalog EX756 Owner`s Manual(English) Panasonic KX-TG5561M Cordless Phone (KXTG5561M) Homecheck Professional Contamination Report User Guide Sunbeam HG3300 Electric Grill User Manual Copyright © All rights reserved.
Failed to retrieve file