Home

CC 2420 DBK User Manual

image

Contents

1. n Gl Laaus ags aanss LAN zi by q3323u3 3 iE AJH ON ma ON WS TS org Po EE e QS 3 HZX EU9G NGBI I NM VH SS S 3 Ye PAULO ANA Boas ee d n a ma alya STvAdHddv Ei 3 DES Sv NOJdIHJ gpz S De 3 SAYN_ANYdNOT ON LIVHLNOT 3 TEE S si aivec az7eaa ax ae Sein ana pr 339 IS zx A Y KR EZE ana 9 d 2 Ii HOSN3S ANAL ana dO214 igiNI 128 add ana fa 2 EGEJ AS HZXTEO9ATNABI I Dm E UE ME p Se LNOSL 7x axy IZLINI IIXH Zid 32Av DE a re Cl s M ax IELNI ITX1 Eld S z 3 EL g s 3 8 zn cas 5 HOU tad dauv 9 k and zo 3 S iu y A AO Su ER S D s m y E EIN EE EA 05r unc ease NOD I ESL E ENS E s SAS BANS wag 7 SI uu sega aaa 5 PIS D Is Gro Ba Ld Ska E m m3 ES 3 H3ld 104 sia A IZLI zad ITA FF in 3la 3 ela Slo S S s 5 8 ILE AE t a a ms m MALTE zs SIV 8v 8 jz a 3 sas 4 8v levi add 3S01 98 5 vad a sy ae evi lod z3501 E9d4 3 bad e DI Eq Pa E Se Ee es sS zs Ya ay vi Zod aw Zgo 9 aw Sa ER is eS A lvi dd cal 194 NT S a S a 1Od AE e ds z za Zs A ZIYI bod tamb usa fa NY m e z 4 e m Ev EYI sad e P o jh viv W viv 999 3190 2390 89 T 28d 9 E080 X2 4 een A ey ST tavi Zod 18190 gag Pat asa e IER a IJO sad A NS SSU v 4 4dv dv Zay l avl va aga rad at ved e TE V A Sqv iSavl 9vd os gd TS os Lt ASALTOS NUS e 2 E pm KK Gav ISavI Svd USON zed PE 15 x an An EL o Ass GE UUos gyif av IOVI vyo 328 iad es Ja AA B
2. SmartBF 03 Product line C n l D co I Connecting Smarter User Manual Rev 1 3 SmariRF CC2420DBK Demonstration Board Kit Chipcon AS Gaustadall en 21 NO 0349 Oslo Norway Tel 47 22 95 85 45 fax 47 22 95 85 46 E mail support chipcon com Table of contents INTRODUCTION tre ag Seege me trente EE Ka ee EEN tie ent EN A PGB EE Ee 4 gg M PM REESE 5 en MR 7 9 232 INTERFACE Nia mind akika eh snas di de temoa C din credo ee 8 MICROCONTROLLER AND USER INTERFACE nennen nnt tenerent tenens 8 EXTERNAL AM aaa 8 FLASH MEMORY REQUIREMENTS aa 8 CC2420DB Low POWER MODE SUPPORT sssssscscsesesessssesesesecacsesavassesesesecacsesasacseseeececsesenaes 8 JUMPER SETTINGS FOR DEMONSTRATION BOARD CONTROL nnne nnns 9 CC2420DB CURRENT MEASUREMENT AND CONSUMPTION see 11 POB EE 16 BILL OR DEE 25 USING THE CC2420DB DEMONSTRATION BOARD sees nnmnnn 30 CC2420 SOFTWARE DOWNLOAD AND EVALUATION USING AVR STUDIO 4 30 PREPROGRAMMED 64 BIT IEEE ADDRESS ssssseseeereeeeeetntn ennt nns 30 PREPROGRAMMED PUSE Sort ii fiat deu 31 DEER RM REENEN 33 JTAG ICE ORJTAG ICE MKI 8880808 A AAA a 33 SAVING THE IEEE ADDRESS OF THE CC2420DB oocoocccocococococonooccncococononoonononnnronononrnnononrnnannnos 34 RESTORING THE IEEE ADDRESS OF THE CC2420DB ococococococcocococcncncoconononononorononnnnnnornnonnoronos 36 A NEW DEBUGGING PROJECT WITH CC24200Dp tenente nennt 38 BOOTLOADER mrsa dee aa e a e acaale 43 INTRODUCTION TO E
3. or 4x 1 5 AA battery P antenna CB W FAM CT TAE Sy up2diuj 2 A Aan an MM NN CC2420 RF NN section External RAM 1 x 32 kB RF Section The CC2420DB RF section includes all the necessary components for correct operation The CC2420 is connected to a 16 MHz crystal A small 2 4 GHz PCB antenna is also included RF test and measurement equipment can be connected to the SMA on the PCB by swapping Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 4 52 capacitor placement of C63 and C62 See schematics for details The RF layout is identical to the CC2420EM which is part of the CC2420DK Development Kit Antenna The PCB antenna is a so called Inverted F type The Inverted F antenna is a wire monopole where the top section is folded down to be parallel with the ground plane By folding the antenna down you will reduce the height and maintain a resonant wire length A capacitance will be introduced to the input impedance of the antenna due to the parallel section However as a rule of thumb design guide the length height L H will be approximately equal to a quarter wavelength 1 4 A reduction of the antenna height H will in general decrease the antenna bandwidth Please see Figure 2 for the antenna dimensions Figure 2 Antenna dimensions The height of the antenna is defined as the distance from the ground plane to the paral
4. 9 Click on the Flash Program button to program the flash 10 Disconnect serial port 11 Reset CC2420DB 12 Start your application program Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 43 52 AYRStudio ICESO Selftest Plugin Manager Customize Options Show Key assignments STKSOO AVRISP ITAG ICE Figure 30 Starting AVR Prog in AVR Studio Hex file fif blink led hex Browse EEPROM Program Verify Read Device amp Tmegsi 28 BOOT 7 Advanced Figure 31 AVRprog bootloader Window Important If the AVR ISP or the JTAG ICE programmer is used to program application examples the bootloader will be deleted if no protection mode is applied to this section of the microcontroller flash The bootloader is modified source code from ATMEL AVR application note AVR109 Self programming and compiled with IAR Embedded Workbench Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 44 52 Introduction to Examples Provided with CC2420DB To develop software for the CC2420DB three tools are needed 1 Atext editor e g UltraEdit 32 with support for syntax highlighting and running a compiler 2 Acompiler assembler linker e g WinAVR The WinAVR is a suite of open source software development tools for the Atmel AVR series of RISC microprocessors for the Windows platform It includes the GCC com
5. ama salva SIVADUASV Sv NOJdIHJ 8rSca SAYN_ANYdNOT ON LIVHLNOT Dpn bEC E UAJY 3 9 i pu a La T val Pa DES Lo A i oy B 37 Sof a i Ssh ay Lu Pla e Cal Ca CUE fe D 3 Sg gt S ofsa FS Ceo eg 7 a Sc D E a CURE a PANA ipg V B8V owl gyl avl uvl av Gei oi amp E N ad t S gt u a N NTH aNg za se ds ig 88 88 ay CN D N s3 LY a 3 zv a a N 30 v NB p ay DA H u zv z 23 PY AE 1 eH gt TAUZVSISZAIZIQ T En gare I S e Van SIV 8Y AS YHLX EASA NBI AS NHLX eGA RECH gt 09 bru Se A i Y Y Ace us x HIX EUSH NAGI 289 i en 4S 37 ana aov E z 20 za Tay 9v mu 90 Scars gay Sv GE SE Say 2 KA vay rs gien Ea Soe Ge zo zar zs m ze 10 D ay RE M sua ad Bs or H X EBSd N gl I av Eed ao adv 1997 i Ki DECKER AE ZQqv adqv ic page 6 CC2420DB schemat Figure 16 SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 24 52 Chipcon AS Bill of Materials Bill of materials CC2420DB Top level section
6. 19 TXD1 RS 232 data to PC 28 PD3 20 GND Ground N A Table 4 P3 pinout Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 14 52 P4 pinout Pin Signal name in Pin usage CC2420 pin AVR pin number schematic 1 N C N A N A N A 2 AREF Voltage reference for A D N A 62 Converter RESET Reset N A 20 4 SCLK CC2420 SPI clock AVR 32 SCLK 11 ISP 5 PF1 Joystick left N A 60 6 SO CC2420 SPI out 34 SO 13 7 PF2 Joystick N A 59 8 SI CC2420 SPI in 33 SI 12 9 PF3 Temperature sensor N A 58 10 VREG EN CC2420 voltage regulator 41 VREG EN 15 enable 11 PFO Potentiometer N A 61 12 FIFO CC2420 FIFO 30 FIFO 26 13 CSn CC2420 SPI chip select 31 CSn 10 14 FIFOP CC2420 FIFOP 29 FIFOP 25 15 3 3V 3 3V Regulated supply N A N A 16 RESETn CC2420 Reset 21 RESETn 16 17 N C N A N A N A 18 CCA CC2420 Clear Channel 28 CCA 31 Assessment 19 SFD CC2420 Start of Frame 27 SFD 29 Delimiter 20 GND Ground N A N A Table 5 P4 pinout Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 15 52 PCB layout RF circuits operating at high frequencies are normally sensitive to the physical layout of the PCB Chipcon has carefully optimized the layout of the CC2420DB Demonstration Board and we therefore recommend that our customer copy at least the RF parts and the decoupl
7. EEPROM Note When using the AVR ISP programmer the boot vector fuse must be disabled Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 42 52 The device used for programming must be connected to the CC2420DB programming socket The programming interface uses 4 signal lines These four lines can be accessed at the 6 pin connector P6 The pin out and description is listed in the table below Signal pin AVR programming socket pin Table 7 ISP header connector Bootloader The CC2420DB is shipped with a bootloader This loader communicates with AVR Studio After reset the bootloader must have a way to determine to start the program mode or to run the application software residing in the application code section of the flash To start the bootloader the push button S2 on CC2420DB is used to enter program mode This button is held low after reset while starting the AVR Prog from the Tools menu in AVR Studio until the bootloader program window is loaded Please see Figure 30 and Figure 31 Step by Step procedure 1 Connect the CC2420DB serial port to your PC COM port 2 Connect power to CC2420DB 3 Start AVR Studio 4 Hold down the S2 push button 5 Push and release the S1 reset button while still holding the S2 push button 6 In AVR Studio select Tools AVR Prog from the menu See figure 22 7 Release the S2 push button 8 Browse to find your application program hex file
8. Hence if the external RAM U3 is removed the current consumption will decrease with 2mA The jumper J2 is controlling the power for the potentiometer RT1 and temperature sensor U2 which will also contribute to the total current consumption in any power down mode Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 11 52 AVR I O pins AVR Pin AVR pin name Pin usage UO connector Number 1 PEN N C N A 2 PEO RXDO PDI Joystick up ISP MOSI P6 pin 4 P3 pin 6 3 PE1 TXDO PDO Joystick right ISP MISO P6 pin 1 P3 pin 8 4 PE2 XCKO AINO Joystick centre push button P3 pin 5 5 DEZ OC3A AIN1 Red LED P3 pin 11 6 PE4 OC3B INT4 Yellow LED P3 pin 4 7 PE5 OC3C INT5 Switch S2 P3 pin 10 8 DEG T3 INT6 Interrupt from joystick P3 pin 12 9 PE7 IC3 INT7 General purpose UO P3 pin 14 10 PBO SS SPI Interface CSn CC2420 P4 pin 13 11 PB1 SCK SPI Interface SCLK CC2420 P6 pin 3 P4 pin 4 12 PB2 MOSI SPI Interface SI CC2420 P4 pin 8 13 PB3 MISO SPI Interface SO CC2420 P4 pin 6 14 PB4 OCO Orange LED P3 pin 18 15 PB5 OC1A VREG EN Enable volt P4 pin 10 regulator on CC2420 16 PB6 OC1B RESETn CC2420 P4 pin 16 17 PB7 OC2 OC1C Green LED P3 pin 16 18 PG3 TOSC2 External 32 kHz crystal P3 pin 7 General purpose UO 19 PG4 TOSC1 External 32 kHz crystal P3 pin 9 General purpose
9. Reference Description Value Part P1 DC jack 2 5mm DC_JACK 2 5 centre pin P2 D Sub 9 pin female DSUB_9F P3 Pin row 2x10 PINROW_2X10 P4 Pin row 2x10 PINROW_2X10 P9 Pin row 2x5 PINROW_2X5 R101 Resistor 0603 00 R_0_0603 Not mounted Bill of materials CC2420DB RF Section Reference Description Value Part C101 Capacitor 0402 10nF 1096 C 10N 0402 X7R K 25 C11 Capacitor 0402 100nF 10 C 100N 0402 X5R K 10 C171 Capacitor 0402 68pF 596 C 68P 0402 NPO J 50 C251 Capacitor 0402 100nF 10 C 100N 0402 X5R K 10 C261 Capacitor 0402 100nF 10 C 100N 0402 X5R K 10 C351 Capacitor 0402 100nF 10 C 100N 0402 X5R K 10 C371 Capacitor 0402 68pF 596 C 68P 0402 NPO J 50 C381 Capacitor 0402 27pF 5 C 27P 0402 NPO J 50 C391 Capacitor 0402 27pF 5 C 27P 0402 NPO J 50 C421 Capacitor 0805 10uF 1596 C 10U 0805 X5R L 25 C431 Capacitor 0805 10uF 1596 C 10U 0805 X5R L 25 C441 Capacitor 0402 68pF 596 C 68P 0402 NPO J 50 C481 Capacitor 0402 68pF 596 C 68P 0402 NPO J 50 C61 Capacitor 0402 0 5pF 0 25pF C OP5 0402 NPO C 50 C62 Capacitor 0402 5 6pF 0 25pF C_5P6_0402 NPO_C_50 Not mounted C63 Capacitor 0402 5 6pF 0 25pF C 5P6 0402 NPO C 50 C71 Capacitor 0402 5 6pF 0 25pF C_5P6_0402 NPO_C_50 C81 Capacitor 0402 0 5pF 0 25pF C OP5 0402 NPO C 50 L61 Inductor 0402 7 5nH 596 L 7N5 0402 J L62 Inductor 0402 5 6nH 0 3nH L 5N6 0402 S L81 Inductor 0402 7 5nH 596 L 7N5 0402 J Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Man
10. UO 20 RESET Reset Switch S2 ISP JTAG P4 pin 3 P6 pin 5 P10 pin 6 21 VCC Supply power N A 22 GND Ground N A 23 XTAL2 Crystal Oscillator N A 24 XTAL1 Crystal Oscillator N A 25 PDO SCL INTO FIFOP interrupt from CC2420 P4 pin 14 26 PD1 SDA INT1 FIFO interrupt from CC2420 P4 pin 12 27 PD2 RXD1 INT2 UART 1 RS232 RXD1 P3 pin 15 28 PD3 TXD1 INT3 UART 1 RS232 TXD1 P3 pin 19 29 PDA IC1 Polling SFD on CC2420 P4 pin 19 30 PD5 XCK1 UART 1 RS232 RTS P3 pin 13 31 PD6 T1 Polling CCA on CC2420 P4 pin 18 Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 12 52 AVR UO pins AVR Pin AVR pin name Pin usage UO connector Number 32 PD7 T2 UART 1 RS232 CTS P3 pin 17 33 PGO WR WR_N Write RAM N A 34 PG1 RD RD_N Read RAM N A 35 PCO A8 RAM address N A 36 PC1 A9 RAM address N A 37 PC2 A10 RAM address N A 38 PC3 A11 RAM address N A 39 PC4 A12 RAM address N A 40 PC5 A13 RAM address N A 41 PC6 A14 RAM address N A 42 PC7 A15 Select RAM upper lower 32K N A 43 PG2 ALE Latch enable N A 44 PA7 AD7 RAM address Data N A 45 PA6 AD6 RAM address Data N A 46 PA5 AD5 RAM address Data N A 47 PA4 AD4 RAM address Data N A 48 PA3 AD3 RAM address Data N A 49 PA2 AD2 RAM address Data N A 50 PA1 AD1 R
11. X7R K 50 C311 Capacitor 0603 100nF 1095 C 100N 0603 X7R K 50 C312 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 D301 LED green SMD LED CL150GCD D302 LED orange SMD LED EL11 21USOC D303 LED yellow SMD LED CL150YCD D304 LED red SMD LED CL150URCD L301 EMI filter bead BLM11A102S P10 Pin row 2x5 PINROW 2X5 P6 Pin row 2x3 PINROW 2X3 R301 Resistor 0603 2700 596 R 270 0603 J R302 Resistor 0603 2700 596 R 270 0603 J Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 26 52 Bill of materials CC2420DB MCU section Reference Description Value Part R303 Resistor 0603 47kQ 2 R_47K_0603_G R304 Resistor 0603 270Q 5 R_270_0603_J R305 Resistor 0603 2700 5 R 270 0603 J R306 Resistor 0603 47kQ 2 R 47K 0603 G R307 Resistor 0603 47KQ 2 R 47K 0603 G R308 Resistor 0603 47kQ 2 R 47K 0603 G R309 Resistor 0603 47kQ 2 R 47K 0603 G R310 Resistor 0603 47kQ 2 R 47K 0603 G R311 Resistor 0603 47KQ 2 R 47K 0603 G R312 Resistor 0603 OC R_0_0603 R313 Resistor 0603 47KQ 2 R 47K 0603 G R314 Resistor 0603 R 10K 0603 G RT1 Trimming pot 10K R 0 10K TRIM knob S1 Push button SMD PUSH BUTTON S2 Push button SMD PUSH BUTTON U1 Atmel ATMEGA128 microcontroller MLF64 U2 Temperature sensor LM61 SOT23 U5 4 directional switch SKRHAB_E010 Joystick U8 Hex inverter oc 74HC05 X2 Crystal HC 49 SMD X_8 000 20 30 10 16 Chipco
12. frame is depicted in the Figure 33 and Figure 34 Octets 2 1 4 to 20 n 2 Data MAC Frame sequence Address sublayer Control Number Information FCS MHR MSDU MER Octets 4 1 1 i 5 4 to 20 n PHY Preamble Start of Frame Frame layer Sequence Delimiter Length SHR PHR PSDU 11 4to20 n Figure 33 IEEE 802 15 4 data frame Octets 2 1 2 Data MAC Frame sequence FCS sublayer Control Number MHR MFR i Octets 4 1 1 i 5 i U 1 Start of PHY Preamble Frame Frame layer Sequence pelimiter Length SHR PHR PSDU 11 Figure 34 IEEE 802 15 4 acknowledge frame Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 47 52 Data transmission protocol The data transmission protocol is very simple only using data and acknowledgement frames Step by Step procedure 1 Joystick is pressed on device 2 2 CC2420 device 2 transmits the data frame 3 CC2420 device 1 receives the data frame 4 Microcontroller uC device 1 gets the FIFOP interrupt from CC2420 RXFIFO is read frame is checked for FCS and the green LED is blinked 5 CC2420 device 1 waits 12 symbol periods before automatically transmitting the acknowledgement reply CC2420 device 2 receives acknowledge frame Microcontroller uC device 2 gets the FIFOP interrupt from the CC2420 RXFIFO is read and frame is verified for FCS 8 The yellow LED will blink without further reply indicating the acknowledgement If transmiss
13. rev 1 3 2004 11 03 Page 8 52 Name Connector P3 Atmega12 8 TOSC1 PG4 Pin 9 Pin 19 TOSC2 PG3 Pin 7 Pin 18 Table 1 Low power mode signal To demonstrate an application using the power down mode 1 Apply 4x 1 5 AA batteries with a battery clip to the battery connector 2 The library macros will be made available on how to set the ATmega128L into the various power mode that can be applied to minimize the current draw on CC2420DB 3 Apply the joystick switch as the external interrupt to wake up the ATmega128L to idle mode and run an application CC2420DB temperature range The CC2420DB can support a temperature range of 30 C to 85 C limited by the crystal tolerance and the CC2420 temperature range Jumper settings for demonstration board control The CC2420DB demonstration board has three default jumper settings for proper operation Figure 5 depicts the placement of the three jumpers J1 J2 and J3 They are mounted on connector P9 Please see CC2420DB schematics page 1 for more details Jumper Purpose Comments J1 To apply power of 3 3 voltto An option can be to remove the circuitry on the PCB the jumper and connect an board ampere meter in series to measure current consumption J2 To apply power of 3 3 voltto Can be removed to the potentiometer and disconnect the devices if not temperature sensor on the used to decrease current PCB board consumption J3 To al
14. the programming device connected to the CC2420DB the programming settings window will appear Please refer to figure 22 JTAGICE mkII zii resp Geste Figure 22 JTAG ICE mkll Program Window Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 35 52 e Click on the Read button in the EEPROM area to display the Save As dialog window EA aa Save in C3 Data D e 3 ek E3 laa 2004_40_002 hex File name 2004_40_001 hex Save as type Intel Hex Files hex a90 Cancel AL Figure 23 EEPROM Save As Dialog Window e Browse to the appropriate folder to save the EEPROM data file For example the data can be stored at the following location C Chipcon Projects CC2420DB Data e Type a new filename and click on the Save button to start the upload and file saving process The example above shows filenames that were created using the serial numbers for each board in a kit e f you are going to save the EEPROM data for another CC2420DB board repeat this procedure Restoring the IEEE Address of the CC2420DB The Atmega128L EEPROM memory is used to store the Chipcon assigned unique 64 bit address Occasionally the content of the EEPROM content must be restored from a disk file The AVR Studio in conjunction with JTAG ICE JTAG ICE mkll or AVR ISP will be used to download the EEPROM data from a disk file specified by the user to the Atmega128L EEPROM memory Wh
15. 50IN Dy Lig geanaaz 18 d JO1298uugca2 AJ811988 AG La S0d AB NNO23 SAN AG NDI d Bd Sauwn Ajddns samod jeuuajx3 ic page 4 CC2420DB schemat Figure 14 SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 22 52 Chipcon AS TAIS 133Hs Savas aanssi Zl vy MERE el AJH ON ma ON w353 3215 org NMYHT zez se ODC ama salva SIVADUASV Sv NOJdIH3 2520 BWN ANY NOT ON 13Y8Lnd3 ek 2059 ON UL TEBA NEQI TI JO OS PUTOS IN oL IN al IN 47 ep z Dier IN 2 LZ 9053 Ta 5053 051 AEE arci ux ana enzi XYAT grazia Sz X HIX EBSRTNEE 3 ASA EQIITNA I EaSI Sl lax 4nasy NILL Fr Lno a NIZL pr noes NIEL z 1nozH LNOEL ae IN ino ANOZL fa ealnoza ANOIL pr AILTY ANI NISH ON 039403 ms NO323803 NIEH 13 NIZH aNg NIIS IIA Apr A z3 9S YYZXTEASATNABITI 19 Die 1453 EPZEXVIA d E an 87 H X EQBQ NQOI 1 2451 SLITZEZSH du zezsu S1H ZEZBH aLTZEZSE asejJajul zEZGH OL ic page 5 CC2420DB schemat Figure 15 SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 23 52 Chipcon AS 919 133Hs 3138 aanss Cl vy MERE el AJH ON ma ON WISS 3215 org NMYHT Ave Bdazezaa
16. 602 Capacitor 0603 100nF 10 C_100N_0603_X7R_K_50 C603 Capacitor 0603 100nF 10 C_100N_0603_X7R_K_50 C604 Capacitor 0603 100nF 10 C_100N_0603_X7R_K_50 R601 Resistor 0603 10kQ 2 R_10K_0603_G R602 Resistor 0603 10kQ 2 R_10K_0603_G R603 Resistor 0603 10kO 2 R_10K_0603_G R604 Resistor 0603 10kO 2 R 10K 0603 G R605 Resistor 0603 10kO 296 R 10K 0603 G R606 Resistor 0603 10kQ 2 R 10K 0603 G R607 Resistor 0603 10kO 296 R 10K 0603 G R608 Resistor 0603 10kO 296 R 10K 0603 G R609 Resistor 0603 10kO 296 R 10K 0603 G U10 32kB SRAM IDT71V256SA20YI U3 32kB SRAM IDT71V256SA20YI U6 Quad NAND gate 74HC00 U9 Octal latch with 3 74HC573 State output Table 6 Bill of materials Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 29 52 Using the CC2420DB Demonstration Board The CC2420DB Demonstration Board is designed for quick prototyping and also for quick practical evaluation such as range testing Software can be programmed into the AVR microcontroller either using an external programmer such as the AVR ISP programmer AVR JTAG ICE or using the serial port to communicate with the bootloader that is programmed into the MCU when the CC2420DB is shipped from the factory If the bootloader is overwritten when using an external programmer the AVR must be re programmed with the bootloader before it is possible to program the AVR via the serial port again Note that due to the 8 MHZ cryst
17. AM address Data N A 51 PAO ADO RAM address Data N A 52 VCC Supply power N A 53 GND Ground N A 54 PF7 ADC7 TDI JTAG interface P10 pin 9 55 PF6 ADC6 TDO JTAG interface P10 pin 3 56 PF5 ADC5 TMS JTAG interface P10 pin 5 57 PF4 ADC4 TCK JTAG interface P10 pin 1 58 PF3 ADC3 Temperature sensor ADC P4 pin 9 59 PF2 ADC2 Joystick down P4 pin 7 60 PF1 ADC1 Joystick left P4 pin 5 61 PFO ADCO Potentiometer ADC P4 pin 11 62 AREF Reference voltage for ADC P4 pin 2 63 GND Ground N A 64 AVCC ADC voltage ref N A Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 13 52 Table 3 AVR UO pins P3 pinout Pin Signal name in Pin usage AVR pin number schematic 1 N C N A N A 2 Unregulated supply voltage Insert R101 to connect 3 FORCE ON RS 232 on off 05 PE3 4 PE4 Yellow LED 06 PE4 5 PE2 Joystick centre push button 04 PE2 6 PEO ISP MOSI Joystick up 02 PEO 7 PG3 External 32 kHz crystal 18 PG3 General purpose UO 8 PE1 ISP MISO Joystick right 03 PE1 9 PG4 External 32 kHz crystal 19 PG4 General purpose UO 10 PE5 Push button S2 07 PE5 11 PE3 Red LED N A 12 PE6 Joystick interrupt 08 PE6 13 RTS RS 232 handshaking 30 PD5 14 PE7 External interrupt General 09 PE7 purpose UO 15 RXD1 RS 232 data from PC 27 PD2 16 PB7 Green LED 17 PB7 17 CTS RS 232 handshaking 32 PD7 18 PB4 Orange LED 14 PB4
18. BODLEVEL 0 M Brown out detection level at YCC 2 7 V BODLEVEL 1 M Brown out detection enabled BODEN 0 CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 T Ext Clock Start up time 6 CK 0 ms CKSEL 0000 SUT 00 bed M Auto Verify V Smart Warnings __ Verity Head Entering programming mode OK Writing fuses OxFF 0x14 OxBF OK Reading fuses OxFF 0x14 OxBF OK 8 m Fuse bits verification OK Leaving programming mode OK Figure 18 AVR Studio Fuses Window CC2420DB Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 31 52 JTAGICE mkII Program Fuses LockBits Advanced Board Auto Ext Crystal Resonator Medium Freq Start up time 258 CK 64 ms C a Ext Crystal Resonator Medium Freq Start up time 1K CK 0 ms CKE Ext Crystal Resonator Medium Freq Start up time 1K CK 4 ms CKE Ext Crystal Resonator Medium Freq Start up time 1K CK 64 ms CK Ext Crystal Resonator Medium Freq Start up time 16K CK 0 ms CK Ext Crystal Resonator Medium Freq Start up time 16K CK 4 ms EK Ext Crystal Resonator Medium Freq Start up time 16K CK 64 ms C T Ext Crystal Resonator High Freq Start up time 258 CK 4 ms CKSE Ext Crystal Resonator High Freq Start up time 258 CK 64 ms CKSI Ext Crystal Resonator High Freq Start up time 1K CK 0
19. BSS cay 7 IEQVI Eva ss aga a usa pa Pu MEE rel Ft ER sv za Izavi zvd 3 RE E 3 emeR AC 2 cei SXZ7MOUNTe sw SE 5 3 S WV avi Led Z1NI EJI 23d TE 23d pg L 8 BJ INg adv IBaYI avd SLNI EL 939 7 934 cu ren x ndr R i NOLLnB HShd Seca Ed 3 S S1NI 3E20 83d EM Ze ZREN e ald HTL 220v dd 1NI 8E20 bad bad E AE E uojing pasay n lari sa2dqv gad NIV vEJO Edd Edd eT ISN1 594v Sdd DNIV GXIX 239 Zaid E a 1391 9av vdd Odd ax1 134 T t E ES EI ER dd ead E ledavl Edd Iddi gXH Gad t Gad NOME Ste is H Izagvi zdd ysnd asjuaa e Yala aie id x avi id 136341 a leumpasstp t aad mw Ig3avi 03d Nad TT T a SZIVESWIV AM agn Lust 10 E A a arid 3 S E890 357H Eley 4 2 Mia 3H1N33 m is ui 4 ECK E AE E E 972090714074 GOEH puBra dn Le gn y Li 8 Y 3 n EXZ MDHNId sn is 94 Tense Zed EDEN F BID3 BvHUDS p esl AE ic page 3 CC2420DB schemat Figure 13 SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 21 52 Chipcon AS Slt 133Hs 3195 aanss Cl vy MERE el AJH ON ma ON WISS 3215 org NMYHT DO Lean 39Y110A AT ZHZII ama 3ivd sivAduddv Sv NOJdIHJ 8rScu SYN ANVdNOS ON 1IVELNOI x ux saziznz 3 sl a UY BOX Spar nz 3 Laya ang and i SZ X WX EOI NETO ya ie Ed i Bey Age Ajiddns pajejnbas A S E i i eno NL SAE E 602Z
20. GL Tea K d rj P Elf E us EL us LA Bl eal El D ES C484 E us oh He E G1 ues q Pg E Power Wd supp y EJ Jsrac strap D401 uig ua a E ya 9s ER E dei up Eu E us EE sz D303 Ei 2 cses D384 p D322 E T RESET H E naa f p E RTI E A LES EP TA H FM2 FM De Sie La P2 4 18v H4 H3 Top Assembly Bottom Assembly Figure 10 CC2420DB PCB layout silkscreen Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 18 52 Schematic S 13348 avis qanssi 1 bv q3 233H2 Ag ON MT ON _WIS43 3215 org NAYHO 713437 dOL 8dacrzoo Ima 31d STIvAOHddVv Lb Sv NOZdIHJ 8rSse AE LA t g dH Dn ANVdAOO ON 1IVELNOI Ed lag xZ MasNId a E s E LA EN dvuls Me n AdddnS HaM d B SxXZ MOHNI d D ES Ed ed rr elle yu ee QIXZ MaHNId DEEN 5 AE EE teBeylon pajeseus
21. P wee Se a Workspace x x A Name S void nain void a 8 E G Register 0 15 DESCRIPTION 000000 oc 94 S m f Register 16 31 E Startup routine and main loop 000009 63 00 H A Processor Said main ved ee 000012 oc 94 Es Stack Monitor UINT16 ledDutyCycle dinnerDifference 00001B 63 00 El BB uo ATmega128 UINTS n 000024 OC 94 00002 63 00 Initalize ports for communication with CC2420 and other peripheral units 000036 0C 94 PORT INIT 00003F 63 00 O as PIA EE O 000051 00 EO Initialize PUMO with a period of CIK 1024 BE EO PWMO_INIT TIMNER_CLK_DIV1024 000063 0C 94 O0006C FF 81 Initialize and enable the ADC for reading the pot meter 000075 C8 Ol ADC_INIT 00007E CD BF ADC SET CHANNEL ADC INPUT 0 POT METER 000087 81 BB ADC_ENABIE WW 000090 SE B9 Wait for the user to select node address and initialize for basic RF operation 000099 85 60 while TRUE 0000A2 37 9A if JOYSTICK CENTER PRESSED 4 DODDAB 91 EO basicRflnit amp rfRxInfo 26 0x2420 0x1234 000084 04 CD rfTxInfo dest ddr 0x5678 loans Es gt DODOC6 60 93 Sp ou Be blinkede Loaded plugin STK500 X Roo 0x80 D Loaded partfile C Program Files oLe 0x00 Loaded objectfile rf blink led c 2027 0x00 S RO3 OxBl 8 R04 0x04 ROS 0x0D RO6 0x2 R07 0x40 ROB 0x40 R09 Ox0E Rl0 OxDA Rll 0x01 Rl2 0x58 arene gt f Setzer EIERE ER
22. The Basic RF library can thus not be used to communicate with compliant 802 15 4 networks A pair of CC2420DBs running this program will establish a point to point RF link on channel 26 using the following node addresses PAN ID 0x2420 both nodes Short address 0x1234 if the joystick button is pressed down at startup 0x5678 if the joystick is moved in any direction at startup Please note that there is no so called PAN coordinator Data packets containing a 5 byte payload will be transmitted when the pot meter is turned or joystick center button is held down The first byte of the payload contains the pot meter value which is used to control the PWM duty cycle on the receiving node The other bytes are random never initialised The program uses the following LED indicators Red Transmission failed acknowledgment not received Yellow Transmission OK acknowledgment received Orange Remote controlled dimmer Green Packet received Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 46 52 Data packet description The frame formats used are data and acknowledges frames according to the IEEE 802 15 4 standard The Frame Control Field FCF is fixed address information field is short addresses only and the payload data is inserted by the application The preamble Start of Frame Delimiter the FCS is generated and inserted in the package by CC2420 The data frame and acknowledge
23. XAMPLES PROVIDED WITH CC2420DB ooocoooccocococoncoconnoncnnnnnornnonnnnnnoronns 45 LIBRARIES AND EXAMPLES oooocccocococococococncncncnnnnnananananananananarananananananananananararanannnnnnnnnnnnnnn 45 HARDWARE DEEINLTION FILES linia 45 HARDWARE ABSTRACTION LIBRARY HAL nia dali 45 BASIC RE LIBRA ti anida 46 SOFTWARE EXAMPLE PROGRAMMED ON CC2420DB cscscsssssscscsesesesscsesesecececsesesacacsesacsesees 46 DATA e NEI ln e 47 DATA TRANSMISSION PROTOCOL sitial la lala 48 TROUBLESHOOTING eege ee AA A ete AA 49 I DOES NOE WORIS E 49 CANNOT PROGRAM THE AVR USING THE SERIAL PORT 49 BOOrRESET VECTOR EE 49 eener 49 REFERENCES 000 EE 50 ADDRESS INFORMATION 0d 51 Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 2 52 Introduction The CC2420 is a single chip IEEE 802 15 4 compliant and ZigBee ready RF transceiver It provides a highly integrated flexible low cost solution for applications using the world wide unlicensed 2 4 GHz frequency band The CC2420DBK demonstration board kit is a complement to the development kit DK as the hardware is representative of an actual application and it is well suited as a prototyping platform for application code The CC2420DBK Demonstration Board Kit includes two CC2420DB Demonstration Boards These boards contain a CC2420 with necessary support components an Atmel Atmega128L AVR microcontroller 32 kBytes external RAM a PCB antenna as well as a joy
24. al used with the Atmel controller some higher Baud rates cannot be supported for communication between computer and CC2420DB using the serial port There is a table in the Atmel ATmega 128 data sheet that list the Baud rate error for different crystal frequencies and Baud rates CC2420 Software Download and Evaluation Using AVR Studio 4 Use a serial cable to connect the serial interface of the CC2420DB to the serial port of a PC running AVR Studio Our SmartRF Studio cannot communicate with the CC2420DB but can be used to find register values for the CC2420 220V Power ao supply PC running AVRStudio Serial GE CC2420DB OR AVR ISP Serial cable JTAG ICE Programmer Figure 17 Software download using AVR Studio 4 Preprogrammed 64 bit IEEE Address Each CC2420DB in a Demonstration Board Kit revision 1 6 or newer is preprogrammed with a unique 64 bit IEEE address These addresses are stored in Little Endian format in the lowest 8 bytes of the EEPROM of the Atmega128L microcontroller This places the least significant byte LSB at location 0x0000 and the most significant byte MSB at location 0x0007 The IEEE address is also displayed on a sticker affixed to each CC2420DB Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 30 52 Preprogrammed Fuses The configuration of the processor fuses can be performed through the SPI interfa
25. cation Protection Mode 3 LPM and SPM prohibited in Application Sec Application Protection Mode 4 LPM prohibited in Application Section Boot Loader Protection Mode 1 No lock on SPM and LPM in Boot Loader M Boot Loader Protection Mode 2 SPM prohibited in Boot Loader Section Boot Loader Protection Mode 3 LPM and SPM prohibited in Boot Loader Boot Loader Protection Mode 4 LPM prohibited in Boot Loader Section gt IV Auto Verify Entering programming mode OK Writing lockbits OXEF OK Reading lockbits O EF OK Lock bits verification OK Leaving programming mode OK m Figure 20 AVR Studio Lock Bits Window JTAG ICE or JTAG ICE mkil The CC2420DB provides a connector for the JTAG ICE programmer to communicate with AVR Studio This interface can be used to debug or download source code using Coff files or hex files The JTAG connector is P10 The Coff files are built using the make file option make extcoff See the make file enclosed with our software example for details Step by Step procedure 1 Connect JTAG ICE to connector P10 on CC2420DB Please refer to figure 20 for location of the connector 2 Connect power to CC2420DB 3 Disable the Boot Reset Vector Enabled fuse Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 33 52 4 Start AVR Studio and establish a new project only one time See section on how to start a new debugg
26. ce A serial port is included on the CC2420DB This port is used when software is programmed into the AVR MCU using the bootloader and is also used by several of the example programs The port includes support for RTS CTS type hardware flow control handshaking Microcontroller and user interface The microcontroller used is an AVR Atmega128L from Atmel This controller has 128 KB of Flash program memory 4 KB of SRAM data memory and 4 KB of non volatile EEPROM data memory The controller is interfaced to the CC2420 via its built in SPI interface as well as some general I O pins The MCU is also connected to four LED s a joystick and an extra button for user interface purposes The different examples use these peripherals differently An analog temperature sensor a potentiometer and 64K of external RAM are also included An ISP and a JTAG ICE connector are provided for programming the AVR without using the serial port In this case an Atmel AVR JTAG or ISP programmer should be connected to their respective connectors All of the I O pins are connected to footprints for 2 x 10 pin row connectors These connectors are compatible with Agilent logic analyzer probes and can be used either for testing or for prototyping For instance it is possible to add a daughter board with additional circuitry using these connectors External RAM The lower 4 Kbytes of the external RAM is overlaid by the Atmega128L internal register and RAM CC2420DB incl
27. ce with the AVR ISP programmer or the JTAG ICE programmer and AVR Studio 4 The JTAG ICE fuse window is depicted in figure 18 and 19 The CC2420DB is configured with the following fuses enabled 1 Note o qo 0 Or 4 Oo m On Chip Debug Enabled JTAG Interface Enabled Serial program downloading SPI enabled Preserve EEPROM memory through the Chip Erase Cycle Boot Flash section size 512 Boot start address Boot vector enabled default address 0000 Brown out detection level at VCC 2 7 V Brown out detection enabled Ext Crystal Resonator High Freq Start Up time 16CK 64 ms CKSEL 1111 SUT 11 When using the JTAG ICE mkll or the AVR ISP programmer the boot vector fuse must be disabled Drac ic Program Fuses LockBits Advanced Board Auto ATmegal03 Compatibility Mode M103C 0 Watchdog Timer always on WDTON 0 M On Chip Debug Enabled DCDEN 0 M JTAG Interface Enabled JTAGEN M Serial program downloading SPI enabled SPIEN 0 M Preserve EEPROM memory through the Chip Erase cycle EESA amp VE 0 Boot Flash section size 512 words Boot start address FE 00 BOOTS M Boot Flash section size 1024 words Boot start address F C00 BOOTS Boot Flash section size 2048 words Boot start address F 800 BOOTS Boot Flash section size 4096 words Boot start address F 000 BOOTS M Boot Reset vector Enabled default address 0000 BOOTRST 0 Brown out detection level at YCC 4 0 V
28. ect is reloaded with AVR Studio the project settings are configured properly Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 41 52 In System Programming Using the AVRISP in circuit programmer or similar devices the microcontroller can be reprogrammed Both the program code memory flash and the EEPROM can be reprogrammed AVRISP JTAG ICE AVRStudio i Ele Project view Tools Debug Help OSHO BRASA 4 3 El 3 race disabled zl Sex EI D Y e eom Workspace gt i NI j mw iiu BHP OB AN n ge AYRISP Program Fuses LockBits Advanced Board Auto r Device Erase Device r Programming mode amp ISP IV Erase Device Before Programming Parallel Hiah Voltage Serial JM Verify Device After Programming Flash Use Current Simulator Emulator FLASH Memory Input HEX File 8 302 eme prosiekte O2500 inteme tekn all Program Verify Read r EEPROM Use Curent Simulator Emulator EEPROM M Emory Input HEX File ge Progam Ya Read E Loaded plugin STKS00 o 2 Setting device parameters serial programming mode OK Entering programming mode OK Reading fuses OxDOC4 OK Leaving programming mode OK ha 4 gt f Build Messages IKI gt e CAP NUM SCRL Figure 29 AVRISP Program Window used to program flash or
29. en a project is first created in AVR Studio the EEPROM will be erased when the cof file is downloaded to the CC2420DB For this reason the EEPROM memory content must be reloaded from the previously saved disk file after creating the new AVR Studio project The following procedure can be used to restore the initially EEPROM data e With power removed from the CC2420DB connect the JTAG ICE JTAG ICE mkll or AVR ISP to the their respective connectors on the CC2420DB Make sure the JTAG cable is oriented correctly Please refer to figure 21 to see where pin 1 is located e Open AVR Studio and click on the AVR button When AVR Studio detects the programming device connected to the CC2420DB the programming settings window will appear Select the Fuses tab Please refer to figure 24 e Disable the Preserve EEPROM memory through the Chip Erase Cycle fuse and click on the Program button Examine the fuses dialog window for proper fuse programming Please refer to figure 24 Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 36 52 AA Program Fuses LockBits Advanced Board Auto ATmegal03 Compatibility Mode M103C 0 Watchdog Timer always on W DTON 0 ke On Chip Debug Enabled OCDEN 0 M JTAG Interface Enabled JTAGEN 0 M Serial program downloading SPI enabled SPIEN 0 Preserve EEPROM memory through the Chip Erase cycle EESAWE 0 Boot Flash section size 512 words Boot
30. for CC2420 from our web site Connect AVR ISP to connector P6 and a PC with running AVR Studio See chapter about bootloader for details Apply power Verify correct fuses settings according to CC2420DBK User Manual Program the flash with the downloaded bootloader a90 hex file Please remember to set the lock bit Mode 2 for the Bootloader Section Start the bootloader according to the User Manual Program the flash with the rf_blink_led example using bootloader AVR Prog and the rf_blink_led hex file Disconnect RS 232 cable and AVR ISP o Run the rf_bink_led code example using the CC2420DBK and verify correct performance O O If you get the following message in AVR Studio when trying the bootloader o Programming Verifying error address Ox0000 Expect 0x940C Receive 0x0000 Follow the procedure above to reprogram the bootloader with the latest version from the Chipcon web side and check Atmega128L fuse settings http www chipcon com index cfm kat id 2 amp subkat id 12 amp dok id 115 Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 49 52 References CC2420 Datasheet http www chipcon com index cfm kat id 2 amp subkat id 128dok id 115 Atmel ATmega 128L data sheet http www atmel com dyn resources prod documents doc2467 pdf Atmel Application note AVR109 Self programming Bootloader CC2420DBK based on this application note http www at
31. g 39g AEE amp eg AE azuni 3 9 K 5 3 4 3 3 3 3 y 9 n d gn m mm ES N 20 N a gc ovr ad i RUP UO Le 20 Id Ka 434 usa dr us 39V 1 TODA as aas Gad os as 3d IS dai IS Edd N3 S3HA N3CS3HA zag UL3S38 uL3s34 i35 RER ds aad woo v33 Edd 0313 0214 od 40214 cie sit Siu SLITZEZSU E Ix xd gqi zezsu i E SLA ech IH ZEZSH euuajue B3gd 0 pejasuuoo yued qy un x nee AS N qH 5 HSTTOWLNOIGHTIN once nantes 2 NTHM eva E J2vJHalNI z z SH m 36 8nsa d gt c D 1 I gt gt a dl RS ea E m Cv 3710H A EE PH EH end za Wa Vum NAVE AYAIN XuvW 0WIORdI er TON sf Z 73710H Z 73 70H Ee ZH iH ic page 1 CC2420DB schemat Figure 11 SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 19 52 Chipcon AS DZ 133H8 3138 aanss Cl vy MERE el AJH ON SMa ON w353 3215 org NMYHT Levd Je 8d8z zaa ama salva SIVADUASV Sv NOJdIHJ 8rSca SAYN_ANYdNOT ON LIVHLNOT ABI We gto SD euus uy god LE EE La ME ES IBAN DES EE E eu ji m amp 8 D Leg 3 ec NI 93HA 11531V 3 3 ES pe PTE 3 8 7 LNO ISA SEN 85 3 0N 2050794579 j L 5 svigu N3 83uA P N3 83H i S Ala H S TE MAROA U13534 ursssd 07350x ose o DER yA isp 34017905 Po M3 Q5 1 dN Z Q 946711 Sd d ansa ATIS 3138 zz anga usg usa s quvne dqNad 1 ee Y ass EE BG T AAN 2048799573 e
32. ing around the CC2420 when making their own PCB designs The PCB is of a 4 layer type in order to provide a well defined ground plane as well as adequate routing space The laminate used is standard FR 4 board material The PCB is 1 0mm thick with layer 1 on the topside layers 2 and 3 are internal layers and layer 4 is on the bottom side Layers 1 and 4 are used for routing while layer 2 is a ground plane and layer 3 is used for power routing All areas in the RF section that are not utilized for routing are filled with copper connected to ground to provide RF shielding The ground planes on all layers are stitched together with closely spaced vias Please see figure 8 for a board stack up for the CC2420DB PCB 0 321 mm 4 lt 0 34 mm 0 321 mm 1 122 mm Figure 8 CC2420DB Layer Build Up Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 16 52 Layer 4 Figure 9 CC2420DB PCB layout Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 17 52 Ht H2 P5 ANT CC2420DB 1 2 FW3 EI Chipcon A P3 P4 E x2 Go
33. ing project 5 Load the select Coff file built using the make file option extcoff 6 Start debugging Note When using the JTAG ICE programmer the boot vector fuse must be disabled EPI Y E ED Figure 21 JTAG ICE connector P10 on CC2420DB Saving the IEEE Address of the CC2420DB Before any debugging is preformed on the CC2420DB the content of the Atmega128L EEPROM memory must be read and saved to a disk file on the development computer This will allow the IEEE address to be restored if the EEPROM gets erased or corrupted The AVR Studio program in conjunction with the JTAG ICE or AVR ISP is applied to upload the EEPROM data from the Atmega128L microcontroller and recorded to the disk file specified by the user When a project is first created in AVR Studio the EEPROM will be erased when the cof file is downloaded to the CC2420DB Due to this it is important to save the EEPROM content to a disk file before creating the new project The following procedure can be applied to save EEPROM data initially or at any desired time e With power removed from the CC2420DB connect the JTAG ICE JTAG ICE mkll or AVR ISP to the their respective connectors on the CC2420DB Make sure the JTAG cable is oriented correctly Please refer to figure 21 to see where pin 1 is located Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 34 52 e Open AVR Studio and click on the AVR button When AVR Studio detects
34. ion failed no acknowledgement the red LED will toggle RF Device 1 RX 12sp TXACK FIFOP int uC Device 1 i GLED RF Device 2 TX RX ACK NO ACK FIFOP int uC Device 2 Joystick pressed j YLED RLED Figure 35 Data Transmission Protocol Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 48 52 Troubleshooting It does not work Make sure that the power supply is connected to the correct pins on the power connector Is the supply voltage correctly polarized H not the protection diode will prevent any current from flowing and are indicated on the PCB On the DC jack the tip is and the ring is cannot program the AVR using the serial port If you have programmed the AVR using an external programmer you must use an external programmer to program the AVR with the bootloader before you can use the serial port to program the AVR again Boot reset vector enable If you are using the JTAG ICE JTAG ICE mkll or AVR ISP with AVR studio you must use disable the boot reset vector enable Bootloader If you get the following message in AVR Studio when trying the bootloader o No supported board found AVR Prog 1 37 Make sure that the bootloader step by step procedure is followed If the procedure is followed the bootloader can be corrupted Follow this procedure to reprogram the bootloader o Download bootloader
35. is mounted horizontally with the antennas parallel section aligned to the O degree direction Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 6 52 Ref_no 18_12 03 CP 2442 000 Mitr 5 agi alv Ref Lev dBm Horisontal Polarization Qian 0 degr 4 Antenna CC2420DB Top view Figure 4 Radiated antenna pattern vertical mounting Figure 4 depicts the antenna pattern while the CC2420DB is mounted vertically with the antennas parallel section aligned to the O degree direction The peak antenna gain is 5 dBi the corresponding peak field strength is 90dBuV m Power supply section The power supply section contains two voltage regulators a 3 3 V regulator for use by the microcontroller and the UO pins of the CC2420 The internal regulator of CC2420 is used to generate the 1 8 voltage supply applied for powering of the CC2420 core A diode prevents permanent damage if wrong polarity is applied to the board There are two power connectors a 2 5mm DC jack type connector allows you to connect an unregulated battery eliminator easily the positive supply is on the center pin and a connector for a 9V battery on the bottoms side of the PCB It is also possible to use 4 AA or AAA alkaline cells to power the CC2420DB if a suitable battery pack is used Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 7 52 RS 232 interfa
36. l 82 2 6001 3888 Fax 82 2 6001 3711 Email KAsiasales chipcon com SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 51 52 Disclaimer Chipcon AS believes the information contained herein is correct and accurate at the time of this printing However Chipcon AS reserves the right to make changes to this product without notice Chipcon AS does not assume any responsibility for the use of the described product neither does it convey any license under its patent rights or the rights of others The latest updates are available at the Chipcon website or by contacting Chipcon directly As far as possible major changes of product specifications and functionality will be stated in product specific Errata Notes published at the Chipcon website Customers are encouraged to sign up for the Developer s Newsletter in order to receive the most recent updates on products and support tools When a product is discontinued this will be done according to Chipcon s procedure for obsolete products as described in Chipcon s Quality Manual This includes informing about last time buy options The Quality Manual can be downloaded from Chipcon s website Trademarks SmartRF is a registered trademark of Chipcon AS SmartRF is Chipcon s RF technology platform with RF library cells modules and design expertise Based on SmartRF technology Chipcon develops standard component RF circuits as well as full custom ASICs based
37. lel section and the length is from the end of the antenna parallel section to the feed point Length L 26 19 mm 9 19 mm 1 22 mm x 17 61 mm Height H 6 17 mm 0 97 mm 1 19 mm x 6 55 mm Quarter wavelength 2 4 L H 17 61 mm 6 55 mm 24 16 mm The physical size of the antenna is decreased somewhat compared to the theoretical length c 4 f 3x10 4x2 45x10 30 61 mm The radiated pattern for the PCB antenna was measured with the horizontal polarization direction for the CC2420DB by measuring with vertical and horizontal mounting of the demonstration board Important Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 5 52 In practical range testing outdoors with line of sight LOS and use of the wireless dimmer application example the following range has been verified at Chipcon Norway with optimal SmartRF Studio settings for the respective data rates 1 Data rate settings 250 kbps range measured 170 meters Please note that these range tests were performed with a simple packet protocol no link margin no robust protocol close to the sensitivity limit of CC2420 and no retransmission Hot ap 18 12 03 UF 2442 000 MHz 4 dE div Ret Lev dBm Horisontal Polarization 0 degr 4 Antenna CC2420DB Top view Figure 3 Radiated pattern horizontal mounting Figure 3 depicts the antenna pattern while the CC2420DB
38. ls etc via function macro calls without specific knowledge about the hardware details Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 45 52 Basic RF Library The Basic RF library contains simple functions for packet transmission and reception with the Chipcon CC2420 radio chip The intention of this library is mainly to demonstrate how the CC2420 is operated and not to provide a complete and full functional packet protocol The protocol uses 802 15 4 MAC compliant data and acknowledgment packets however it contains only a small subset of the 802 15 4 standard Association scanning beacons is not implemented No defined coordinator device roles peer to peer all nodes are equal Waits for the channel to become ready but does not check CCA twice 802 15 4 CSMA CA Does not retransmit packets Can not communicate with other networks using a different PAN identifier Short addresses only Software Example Programmed on CC2420DB The CC2420DB is preprogrammed with an RF link application example called rf blink led and the source code is available for download from our web site The program demonstrates the use of the CC2420DB libraries including the basic RF library The packet protocol being used is a small subset of the IEEE 802 15 4 standard It uses an 802 15 4 MAC compatible frame format but does not implement any other MAC functions mechanisms e g CSMA CA
39. mano a x YEM ATmega128 JTAGICE mkII USB Stopped Ln 118 Col2 CAP NUM SCRL Figure 27 AVR Debugging Dialog Window Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 40 52 Now select the Debug tab and check for the following settings If different than shown in figure 28 make the required changes The most important setting here is the Preserve EEPROM contents when reprogramming device Click on the Apply buttons to update the project file aps and then click the OK button to continue JTAGICE mkII x Connection Debug Status r General Bun timers in stopped mode v Preserve EEPROM contents when reprogramming device v Always activate extemal reset when reprogramming device d i v Disable use of BREAK instruction for breakpoints v Enable 1 0 Debug Register IDR in run mode Program Startup Entry function main Y Warn and break if not found or not in section corresponding to boot reset fuses Restore Default Cancel Apply Figure 28 JTAG ICE mkll Debug Settings Window Since the IEEE address was erased when the program was initially downloaded when establishing a new project The address must be restored before debugging or normal operation begun Save project and exit debugging Follow procedure in the section Restoring the IEEE Address of the CC2420DB The next time the same debugging proj
40. mel com dyn general tech doc asp doc id 8053 AVR Studio http www atmel com dyn products tools asp family_id 607 AVR GCC http www avrfreaks net AVRGCC index php WinAVR http sourceforge net projects winavr IEEE 802 15 4 standard http standards ieee org getieee802 802 15 html Document History Revision Date Description Changes 31 03 2004 Initial release 06 05 2004 Updated schematics and BOM according to CC2420DB revision 1 2 References to figures corrected Added antenna gain figure and information of Baud rate deviation on RS 232 interface to PC Included information about the protection bit that prevents accidental overwriting of the bootloader section of flash 1 2 26 07 2004 Updated LED text layout and BOM with new crystal specifications according CC2420DB revision 1 4 Added information about external RAM ZigBee memory requirements low power mode and CC2420DB temperature range Updated microcontroller fuses and bootloader step by step procedure 1 3 03 11 2004 Updated memory requirements Added procedure on how to start a new debugging project with CC2420DB using JTAG ICE mkll Added details about the 64 bit IEEE address preprogrammed on the each CC2420DB Updated information about the preprogrammed fuse settings Added information about current measurements and RS 232 driver software control Updated Troubleshooting for bootloader Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Ma
41. ms CKSEL T Ext Crystal Resonator High Freq Start up time 1K CK 4 ms CKSEL Est Crystal Resonator High Freq Start up time 1K CK 64 ms CKSE Ext Crystal Resonator High Freq Start up time 16K CK 0 ms CKSE T Ext Crystal Resonator High Freq Start up time 16K CK 4 ms CKSE M Ext Crystal Resonator High Freq Start up time 16K CK 64 ms CKS v Auto Verify 7 Y Smart Warnings Xen nea Entering programming mode OK Writing fuses OxFF 0x14 OxBF OK Reading fuses OxFF 0x14 OxBF OK Fuse bits verification OK Leaving programming mode OK z Figure 19 AVR Studio Fuses Window CC2420DB Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 32 52 Preprogrammed Lock Bits The following lock bit is preprogrammed to protect the bootloader from accidental overwrites 1 Boot Loader Protection Mode 2 SPM prohibited in Boot Loader Section Note The only way to erase this bit is to use JTAG ICE mkll or AVR ISP and run an erase cycle of the flash using AVR Studio See figure 20 GER Program Fuses LockBits Advanced Board Auto v Mode 1 No memory lock features enabled Mode 2 Further programming disabled Mode 3 Further programming and verification disabled I Application Protection Mode 1 No lock on SPM and LPM in Application Se Application Protection Mode 2 SPM prohibited in Application Section Appli
42. n AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 27 52 Bill of materials CC2420DB Voltage regulator section Reference Description Value Part C401 Capacitor 1206 2 2uF 10 C_2U2 1206_X7R_K_10 C402 Capacitor 1206 2 2uF 10 C_2U2 1206_X7R_K_10 C403 Capacitor 0603 33nF 10 C 33N 0603 X7R K 25 C404 Capacitor tantalum 100uF 20 C_100U_TAN_D_KEMET low ESR D401 Schottkey diode 2A 20BQ030 P7 9V battery connector CONN_9V_POS positive P8 9V battery connector CONN_9V_NEG negative U4 3 3 V low drop MIC5209 3 3BS regulator 500 m Bill of materials CC2420DB RS 232 section Reference Description Value Part C501 Capacitor 0603 100nF 10 C_100N 0603 X7R K 50 C502 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C503 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C504 Capacitor 0603 33nF 10 C 33N 0603 X7R K 25 C505 Capacitor Low C 470U 8 CVAX Impedance C506 Capacitor 1206 2 2uF 10 C 2U2 1206 X7R K 10 C507 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 U101 RS 232 Transceiver MAX3243 3 5V Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 28 52 Bill of materials CC2420DB RAM Reference Description Value Part C601 Capacitor 0603 100nF 10 C_100N_0603_X7R_K_50 C
43. nual rev 1 3 2004 11 03 Page 50 52 Address Information Web site http www chipcon com E mail wireless chipcon com Technical Support Email Technical Support Hotline support chipcon com 47 22 95 85 45 Headquarters Chipcon AS Gaustadall en 21 NO 0349 Oslo NORWAY Tel 47 22 95 85 44 Fax 47 22 95 85 46 E mail wireless chipcon com US Offices Chipcon Inc Western US Sales Office 19925 Stevens Creek Blvd Cupertino CA 95014 2358 USA Tel 1 408 973 7845 Fax 1 408 973 7257 Email USsales chipcon com Sales Office Germany Chipcon AS Riedberghof 3 D 74379 Ingersheim GERMANY Tel 49 7142 9156815 Fax 49 7142 9156818 Email Germanysales chipcon com Sales Office Asia Chipcon AS Unit 503 5 F Silvercord Tower 2 30 Canton Road Tsimshatsui Hong Kong Tel 852 3519 6226 Fax 852 3519 6520 Email Asiasales chipcon com Sales Office Japan Chipcon AS 403 Bureau Shinagawa 4 1 6 Konan Minato Ku Tokyo Zip 108 0075 Japan Tel 81 3 5783 1082 Fax 81 3 5783 1083 Email Japansales chipcon com Chipcon AS is an ISO 9001 2000 certified company Chipcon AS Chipcon Inc Eastern US Sales Office 35 Pinehurst Avenue Nashua New Hampshire 03062 USA Tel 1 603 888 1326 Fax 1 603 888 4239 Email eastUSsales chipcon com Sales Office Korea amp South East Asia Chipcon AS 37F Asem Tower 159 1 Samsung dong Kangnam ku Seoul 135 798 Korea Te
44. o vp va 2 2940 BNR 3 SD ENST z EISE XXL 90212 doa a e SS d dH CECILE 0313 zag e ana SCH P INSTYAS 3i SE aN a Gd 9727 GAN re 1 d s quaV SAND D IdI qdAv ON RE Syn pe SOx ITA ZA 00AY WVHA se edd ddayv BI adad se MSTICAY qHvnad EIERE gay aqad 3Bd dd v Bav ddAv 7 O2A ddA V El 8 5 a 5 dv 03A Edda d d a Si d DEE 2 R z E d z g g S 8 z E a d FA e E 2 a 8 S E 3 E E 38 fl S i Sr 3 Su ES Gd Sd Su d i DISK Gd a t ISCH d A D ABT ME b s XBR L 25 3 C421 d Campe XBR L 25 be R 2 8803 F C43l R421 ic page 2 CC2420DB schemat Figure 12 LL bon E402 XSR KB LL Go 0402 XER K Id casi SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 20 52 Chipcon AS
45. on customer requirements and this technology All other trademarks registered trademarks and product names are the sole property of their respective owners O 2004 Chipcon AS All rights reserved Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 52 52
46. piler for C This tool provides a framework for most of the features supported by the Atmega128L microcontroller used with the CC2420DB Demonstration Board 3 Software platform provided by the processor manufacturer Libraries and Examples The CC2420 libraries and examples include a variety of source files to ease and support the program development Besides the standard C libraries the source support files are divided into 4 main groups Hardware Definition Files Hardware Abstraction Library Basic RF library and finally application example Application Example Rf blink led source code A Basic RF Librar Y Rf_basic_send_packet etc Standard C Hardware Abstraction Library 2 RS232 SPI ADC etc Libraries Hardware Definition Files AVR and CC2420 register definitions etc Figure 32 Library stack Hardware Definition Files The hardware definition files include files define the hardware registers in the MCU and the CC2420 They also include useful macros for the CC2420DB and all definitions generally support the C language Hardware Abstraction Library HAL To support quick and easy program development Chipcon provides a library of macros and functions that simplify hardware access on the CC2420 These are located in the Hardware Abstraction Library HAL and implement a hardware abstraction interface for the user program As a result the user program can access the microcontroller periphera
47. proper fuse programming Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 37 52 A New Debugging Project With CC2420DB When AVR Studio opens a debugging file cof file generated by the GCC tools it looks for a previous project file aps with the same filename If none is found new project or if the user answers no when prompted with A project already exists using this object file would you load this the Select device platform and device settings dialog window will appear This indicates that a new project file aps is being created and initialized Make the settings as shown in figure 25 and click the Finish button to continue Welcome to AYR Studio 4 m Select debug platform and device Debug Platform Device AVR Simulator ICE200 zi Figure 25 JTAG ICE mkll Device Platform Settings Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 38 52 Now select the Connection and check for the following settings If different than shown below make the required changes Since this is a new project settings for the Debug tab can t be specified the microcontroller s Flash and EEPROM will be erased before the program is downloaded to Flash Click on the OK button to continue Please refer to figure 26 for reference JTAGICE mkII X Connection Debug Status r JT G connection Target clock fre
48. quency Accurate specification of the target device s clock frequency is necessary in order to correctly set the JTAG port clock frequency Over specifying this parameter will cause JTAG communications failure Daisy chain Target device is part of a JTAG daisy chain Devices before jo Instruction bits before jo Devices after jo Instruction bits after jo r EOM Port debugwIHE Disable debug WIRE Baud rate Cancel Apply Figure 26 JTAG ICE mkll Connection Settings At this point AVR Studio downloads the program into the CC2420DB Atmega128L Flash memory graphically showing progress at the bottom of the screen If successful the program counter is reset and AVR Studio enters debugging mode Completion or error status is shown in the message box at the bottom of the window Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 39 52 The debugging dialog window will appear as depicted in figure 27 Now settings for subsequent downloading of project files can be specified and saved in the aps file Select the Debug tab on the menu of the AVR Studio window click JTAGICE mkll Options item on the menu Debug gt JTAGICE mkll Options AYRStudio rf blink led c ini x Ele Project Edit View Tools Debug Window Help 8x DGHgo se amp c nrxeg MARA rm FRU GO REP ORD A EI oS frea ree CLT
49. start address FE 00 BOOTS M Boot Flash section size 1024 words Boot start address FCOO BOOTS Boot Flash section size 2048 words Boot start address F800 BOOTS Boot Flash section size 4096 words Boot start address FO00 BOOTS M Boot Reset vector Enabled default address 0000 BOOTRST 0 Brown out detection level at YCC 4 0 V BODLEYEL 0 M Brown out detection level at YCC 2 7 V BODLEVEL 1 M Brown out detection enabled BODEN 0 CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 T Ext Clock Start up time 6 CK 0 ms CKSEL 0000 SUT 00 IV Auto Verify s Entering programming mode OK Writing fuses OxFF Ox1C OxBF OK Reading fuses OxFF 0x1C OxBF OK L bh Fuse bits verification OK Leaving programming mode OK Figure 24 JTAG ICE mkll Fuses Dialog Window e Return to the Program tab and click on the Browse button in the EEPROM area to display the Open dialog window to browse to the appropriate folder to find the needed EEPORM data file e Select an EEPROM data file and click the Open button to return to the JTAG ICE JTAG ICE mkll or AVR ISP dialog window e Back at the respective programming device dialog window click the Program button in the EEPROM area to start the download process e Return to the Fuses tab enable the Preserve EEPROM memory through the Chip Erase Cycle fuse and click Program button Examine the fuses dialog window for
50. stick buttons and LED s that can be used to implement a visual user application interface The demonstration board is also furnished with connectors where all of the internal signals on the PCB are available This User Manual describes how to use the CC2420DBK Demonstration Board Kit Atmel s AVR Studio and associated software is used to program and debug software Please see the reference section of this document for links to Atmel s documentation on how to use their tools Your CC2420DBK Demonstration Board Kit should contain the following items Kit contents Item Number of articles Demonstration Board CC2420DB 2 Quick Start instructions 1 CC2420DB Important Notice From revision 1 5 and newer 1 CC2420 sample kit 1 RS 232 cable 2 Important Contact your local telecommunication authorities before transmitting an RF signal to ensure that there are no local restrictions on the use of the 2 400 2483 5 ISM band The CC2420 operates in the 2 4 GHz frequency band Although this frequency band is usually described as world wide some countries do not allow unlicensed operation in this band Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 3 52 PCB PCB depicts an overview of the CC2420DB with description of the various components embedded on the PCB 3 3V voltage regulator mme gt 0483388 AG AVR ISP connector Optional 9V
51. ual rev 1 3 2004 11 03 Page 25 52 Bill of materials CC2420DB RF Section Reference Description Value Part P5 Surface mount SMA SMA_SMD straight R421 Resistor 0603 20 R_2 0603 E R451 Resistor 0402 43kQ 1 R_43K_0402 F U7 Single chip CC2420 transceiver X1 Crystal ceramic X 16 000 10 15 30 16 SMD 4x2 5mm Note The crystal X1 mounted on the CC2420DB board is a 16 000 MHz crystal with 10 ppm initial tolerance 15 ppm drift over temperature and a temperature range of 30 C to 85 C The crystal is designed for 16 pF load capacitance In an actual application the tolerance drift and temperature range of the crystal must be considered with application requirements in mind Please consult the data sheet more information It is possible to choose a larger crystal package to save cost The crystal should have an ESR of 60 Q or less Bill of materials CC2420DB MCU section Reference Description Value Part C303 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C304 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C305 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C306 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C307 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C308 Capacitor 0603 22pF 596 C 22P 0603 NPO J 50 C309 Capacitor 0603 22pF 596 C 22P 0603 NPO J 50 C310 Capacitor 0603 100nF 10 C 100N 0603
52. udes this memory because it can be used for debugging purposes to buffer and store data if desired The 32 kB RAM size is not a requirement nor necessary for a low cost a Full Functional Device FFD or Reduced Functional Device RFD Please refer to the Atmega128L data sheet for more details Flash Memory Requirements The flash requirement for a FFD device with the Chipcon MAC will be approximate 20 kBytes and 10 16 kBytes for a RFD Additional flash size must be available for the application Important The memory requirement will be dependant on compiler optimization level hardware platform and feature used in the stack CC2420DB Low Power Mode support To apply a low power mode with CC2420DB for application development it will be necessary to apply an additional clock source together with the 8 MHz crystal The Atmega128L provides the Timer Counter oscillator pins TOSC1 and TOSC2 and these pins are available on the CC2420DB connector P3 The oscillator is optimized for use with a 32 768 kHz crystal This clock source can be connected the following ways 1 Acrystal can be connected directly between the pins 2 An external clock source can be applied to the TOSC1 Atmel does not recommend this method The 32 768 kHz crystal will clock the timer O and then the overflow or compare match timer interrupt is applied to wake up Atmega128 from power save mode Chipcon AS SmartRF CC2420DBK Demonstration Board Kit User Manual
53. ways have the RS 232 This jumper can be driver enabled hence the disconnected and instead driver is forced on controlled by software if desired Chipcon AS Table 2 Jumpers explanation SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 9 52 TU ji Figure 5 Jumpers umper J3 Jumper J2 Figure 6 Jumpers on CC2420DB To enable software control of the RS 232 driver U101 the jumper J3 can be moved Step By Step procedure Chipcon AS Move RS 232 jumper J3 from P9 to P3 between pin 3 and 4 It will share the same port pin PE4 as the yellow LED so when RS 232 is on the LED will be set SmartRF CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 10 52 CC2420DB Current Measurement and Consumption It is fully possible to measure the actual current consumption with CC2420DB To measure the current jumper J1 must be removed and an ampere meter connected in series The current measurement is performed for the current total draw of the CC2420DB N A Ng A jm sf 3 P3 Figure 7 Connector P3 with ampere meter attached To help minimize the current consumption of the CC2420DB for a specific IEEE 802 15 4 devices the default jumper J3 can be moved to enable software control of the RS 232 driver The external RAM will always draw 2mA in any power down mode since its power supply cannot be disabled

Download Pdf Manuals

image

Related Search

Related Contents

Manual - VM 315 IR  PDF  équivoque homophonique en français : polyvalence fortuite  LRP 65846 equipment case  User`s manual ENGLISH  HC-6835 Ruggedized Security Workstation  PDF:12161KB  user manual    MA WINBOOK 9701132 ES EN PT.indd  

Copyright © All rights reserved.
Failed to retrieve file