Home
CC2420DBK Demonstration Board Kit User Manual
Contents
1. 5 91E 1aaus 310938 asnssi ANS vv ENE nal a dk Aau ON ama ON wasi 3ZIS prg Cg gs as HZXEMSA NAMI I P NAVE HS a E 4epo41uczoJgowWN BI Zzezdd na B E I ama 31ya STvAQHddV 3 DES z h Sv NOJA HO grsza SE IF 5 3hYN ANS ON LIVELNOI 3 ME 9 00 x Ge ZIVIX ans pr JS A E VIYIX ana fa le ll D 3 HZX EUSE NGA 3 HOSN3S ANIL ana dodi IGLNI 1IS add ana 2 EGEJ as x ux capa wania Y E li WA ego g mm mt Dei 1nos1 ied IZINL IQXH Zdd 33Av P A RR ELNIYIIXL Eld HA OH E sa s zn das HOW dd Jauv TS BS ER s s Hm amp u al ga aa ai su xA E y yo x E LEMA sig liyaxl Sad UBIERA Ke Ei a 4 E Ey x E EN Bd S yao fa hi sad aga E 3 j e PIS BT cfa Z u SA B Plo Ain BI 4313W 103 sia IZLI zad 33 5 in ala ec lo Bm Son EECH Ke z 86 B S lo WIBL JBI G7H 8 t ta 3 SUI Sv E lavi 00d 19501 99 9 pad a SE ai d ev lsvl 13d zasol edd ead Re sa RE pa ay lawl za aq zga ER sa ER SN E SPERM ee Ivi 3d taul iaa m N dd 3 El S E POSTAE d da d dei ZA ziv IZIYI dd MI gga Te NE E t d ay lel SId l NI d SE L NEU 1 99d 3307230 28d i 28d LU EN D ETH 2 4 Sv ISIYI Id 8170 gga F a7 3558 Wee a vio sad N3 HSU z 4 4dv adv Zay avi va ago ved vad SE E i 4S a Igavl 9Yd LOSIN EBd
2. 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 E INSTRUMENTS Table 5 P4 pinout CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 15 51 C Chipcon Products from Texas Instruments 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 decoupling 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 ro
3. 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 48 51 INSTRUMENTS C Chipcon Products from Texas Instruments Troubleshooting It does not work e Make sure that the power supply is connected to the correct pins on the power connector e Is the supply voltage correctly polarized If 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 I cannot program the AVR using the serial port e f 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 e fyouare using the JTAG ICE JTAG ICE mkll or AVR ISP with AVR studio you must use disable the boot reset vector enable Bootloader e If you get the following message in AVR Studio when trying the bootloader o No supported board found AVR Prog 1 37 e Make sure that the bootloader step by step procedure is followed If the procedure is followed the bootloader can be corrupted e Follow this procedure to reprogram the bootloader o Download bootloader for
4. 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 d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 39 51 INSTRUMENTS C Ehipeon Products from Texas Instruments The debugging dialog window will appear as depicted in figure 27 Now settings for subseguent 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 ES E Ele Project Edit view Tools Debug Window Help 8x SCHT oO BRASS Sh MAAN PA gt mm THN G o OOP ORO 6 ujio ifraccae ra x CLT E Me Se Se ato Workspace x x d Ver ee c E e El Register 0 15 DESCRIPTION 000000 oc 94 3 8 Register 16 31 E Startup routine and main loop 000009 63 00 n eoe M and E Si void main void i I 000012 oc 94 m E Stack Monitor UINT16 ledDutyCycle dimmerDif ference 00001B 63 00 JE 1 0 ATmega128 UINTS n 000024 oc 94 00002D 63 00
5. Initalize ports for communication with CC2420 and other peripheral units 000036 0C 94 PORT INIT 00003F 63 00 ENABLE EXT RAM MP _EXT_RAM 000051 00 EO Initialize PUMO with a period of CLK 1024 00005A AO EO PUMO INIT TIMER CLK DIV1024 000063 oc 94 Donner FF 81 Initialize and enable the ADC for reading the pot meter 000075 C8 01 ADC INIT i 00007E CD BF ADC SET CHANNEL ADC INPUT 0 POT METER anto pp ADC ENABIE 000090 SE B9 Wait for the user to select node address and initialize for basic RF operation 000099 85 60 while TRUE 0000 2 37 9A if JOYSTICK CENTER PRESSED 0000AB 91 ED basicRfInit amp rfRxInfo 26 0x2420 0x1234 0000B4 04 CD rfTxInfo dest ddr 025678 vl l ooonBD 6a E1 000006 80 93 er Zlo info Bye pinea Loaded plugin STK500 X R00 0x80 D Loaded partfile C Program Files 0x00 Loaded objectfile rf blink led c 2027 0x00 S RO3 OxBl 8 R04 0x04 ROS 0x0D R06 0x2 R07 0x40 ROB 0x40 R09 Ox0E R10 OxDA Rll 0x01 R12 0x58 NATA pe all SCC NWaten 4 ach 2 A Watcha A Watch ndo a x ATmegal28 JTAGICE nit USB Stopped C3 Ln 118 Col2 CAP NUM SCRL Figure 27 AVR Debugging Dialog Window d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 40 51 INSTRUMENTS C Chipcon Products from Texas Instruments Now select the Debug
6. X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 5 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 Rof no 18 12 03 CP 2442 000 MHz du div Ret Lev dam Horisontal Polarization 0 degr 4 Antenna CC2420DB Top view Figure 3 Radiated pattern horizontal mounting Figure 3 depicts the antenna pattern while the CC2420DB is mounted horizontally with the antennas parallel section aligned to the 0 degree direction i E CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 6 51 INSTRUMENTS C Chipcon Products from Texas Instruments Rei ae 18 12 03 CP 2442 000 Mit 5 abr aiv Ref Lev dim 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
7. HI CC2428D8 1 2 FM3 IC Chipcon A P3 E x2 FE E E us b B asi E a BL Sd Gi us ob Bai a FE q DI EJ Pal Pia Power E El jitac strap D401 ug ua El E e m EH EE E us Le Um sz 0303 EI 2 csas 2304 EY o 382 E 1 RESET H Down D301 E d ATI a us Ep E gt em i SS La Ma P2 4 18v H4 H3 ct JA i Top Assembly Bottom Assembly Figure 10 CC2420DB PCB layout silkscreen li i X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 18 51 INSTRUMENTS Schematic Products from Texas Instruments ipcon Ch Dh IH 8 I 1aaus awas V i EEN ON ama ON aasa 3ZIS ppg 73A31 dOL g9IUZVLII elt 3iva 53vADuddy 2 d H Sv NOJdIHI absZza AE LA Cp OCH 3WvN Ab ON LJYHLNOJ T aixz MOHNId LEN s 3 Li ES dvuls EN e AdddNS HIMOd B 7 E A SXz MOHNId T D Ed FF ee P E eT re
8. Ext Crystal Resonator Medium Freg Ext Crystal Resonator Medium Freg Ext Crystal Resonator Medium Freg TU Est Crystal Resonator Medium Freq T Ext Crystal Resonator Medium Freq Ext Crystal Resonator Medium Freq Ext Crystal Resonator Medium Freg 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 ms CKSEL Ext Crystal Resonator High Freq Start up time 1K CK 4 ms CKSEL Ext Crystal Resonator High Freq Start up time 1K CK 64 ms CKSE Ext Crystal Resonator High Freq Start up time 16K CK O ms CKSE T Ext Crystal Resonator High Freq Start up time 16K CK 4 ms CKSE Start up time 16K CK 64 ms CKS Start up time 258 CK 64 ms C a Start up time 1K CK O ms CKE Start up time 1K CK 4 ms CKE Start up time 1K CK 64 ms CK Start up time 16K CK 0 ms CK Start up time 16K CK 4 ms CK Start up time 16K CK 64 ms C v Auto Verify v Smart Warnings veis _ Read Entering programming mode OK Writing fuses OxFF 0x14 OxBF OK Reading fuses OxFF 0x14 OxBF OK Fuse bits verification OK Leaving programming mode OK da TEKAS Figure 19 AVR Studio Fuses Window CC2420DB CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 32 51 INSTRUMEN
9. 1 3 2004 11 03 Page 2 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 joystick 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 Im
10. 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 E INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual Table 3 AVR UO pins rev 1 3 2004 11 03 Page 13 51 C Chipcon Products from Texas Instruments 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 PG4 External 32 kHz crystal 19 PG4 General purpose I O 10 PES 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 19 TXD1 RS 232 data to PC 28 PD3 20 GND Ground N A Table 4 P3 pinout ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 14 51 INSTRUMENTS C Chipcon Products from Texas Instruments
11. 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 Runtherf bink led code example using the CC2420DBK and verify correct performance Q 0 oO 0 0 O O e f you get the following message in AVR Studio when trying the bootloader o Programming Verifying error address 0x0000 Expect 0x940C Receive 0x0000 e 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 28subkat id 128dok id 115 X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 49 51 INSTRUMENTS C Chipcon Pro from Texas References CC2420 Datasheet ducts nstruments http www chipcon com index cfm kat_id 2 amp subkat_ id 212 amp dok id 115 Atmel ATmega 128L data sheet http www atmel com dyn resources prod documents doc2467 pdf Atmel Application note AVR109 Self programming Bootloade
12. os ni UTA ESR NAMI t gt IS Sgr lig say SA Sv 1804 288 eaan au z i ZEN ra 8n t uuoa gylr bay IVAVI pyd masi led DA ab ous eaeu GR leqvl eva ss aga a usa pg Pu MEE e he Su gH zqv 7 lzavl zvd 3 Sik ge Gemen ls SXZ MOHNId KEE S ay tel iva Loi En 3d TZ Zud K s E UNE R aay Y Igayl avd B1NI EL Gad Y aad Lr E A e NOLLMS HSfld ee E IS1NI 2E20 S3d gad Zu z EH e ad Gl zJ vi 3d Irini e3d TZ kd bad a AP uojing isse 10d1 9dw Sd NIV WEJO Edd Edd wliswi sadvi SJd IBNIWV QXIX z3d t z3d KE 1AI1 I0Y tdd Oda dxXL 13a E 134 s dd ed SCH JEJAVI Edd 1dd 01X8 Gad t t gag E Is e lzadvi zdd ysnd aujuea 3 S y unm yajims j f ri NOVI bad 1asaul 13534 19001498401 pos aad adai add Nadl T 3 A SZIVSSWIV sp na in B z ysnd 4 3 Teas eH eig Vum 3HIN32 H gt AE 1 a lj ER 972090744474 DUES ER dn E g u m Z XZ MOUNId ST sn I gd TERA H EGEH b DIN Se gsi AE ic page 3 CC2420DB schemat 13 Figure rev 1 3 2004 11 03 Page 21 51 CC2420DBK Demonstration Board Kit User Manual TEXAS STRUMENTS i IN C Chipcon Products from Texas Instruments DONE u_ Im bc m H D E u 3 Y a G 3 i ZP u l ce ul a E E a Ui Ze ux nM bi a Zz alo A lo LO SM BO A SSC n LU SP x i SIS NG 2 SHa sn a E up m Y gt 2 E lt 3 E so s D D o a st D ce i Bi g s
13. 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 46 51 INSTRUMENTS C Ehipeon Products from Texas Instruments 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 frame is depicted in the Figure 33 and Figure 34 Octets 2 1 4 to 20 n 2 Da
14. 0 Watchdog Timer always on WDTON 0 ke On Chip Debug Enabled DCDEN 0 v JTAG Interface Enabled JTAGEN I Serial program downloading SPI enabled SPIEN 0 I Preserve EEPROM memory through the Chip Erase cycle EESA amp VE 0 Boot Flash section size 512 words Boot start address FE 00 BOOTS I Boot Flash section size 1024 words Boot start address F COO 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 v Boot Reset vector Enabled default address 0000 BOOTRST 0 Brown out detection level at VCC 4 0 V BODLEYEL 0 ke Brown out detection level at VCC 2 7 V BODLEVEL 1 ke Brown out detection enabled BODEN 0 TU CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 T Ext Clock Start up time 6 CK O ms CKSEL 0000 SUT 00 M Auto Verify v Smart Warnings ep Pea Entering programming mode OK Writing fuses OxFF 0x14 OxBF OK Reading fuses OxFF 0x14 OxBF OK n m Fuse bits verification OK Leaving programming mode OK Figure 18 AVR Studio Fuses Window CC2420DB CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 31 51 C Ehipeon Products from Texas Instruments JTAGICE mkII 10 xi Program Fuses LockBits Advanced Board Auto v Ext Crystal Resonator High Freq
15. 0nF 1096 C 100N 0603 X7R K 50 C305 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C306 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C307 Capacitor 0603 100nF 1096 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 1096 C 100N 0603 X7R K 50 C311 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C312 Capacitor 0603 100nF 1096 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 5 R_270_0603_J R302 Resistor 0603 2700 5 R 270 0603 J R303 Resistor 0603 47kQ 2 R_47K_0603_G E INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 26 51 C Chipcon Products from Texas Instruments Bill of materials CC2420DB MCU section Reference Description Value Part R304 Resistor 0603 2700 596 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 4TkO 296 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 4TkO 296 R 47K 0603 G R312 Resistor 0603 00 R_0_0603 R313 Resistor 0
16. 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 12 51 INSTRUMENTS C Chipcon Products from Texas Instruments AVR UO pins AVR Pin AVR pin name Pin usage I O connector Number 32 PD7 T2 UART 1 RS232 CTS P3 pin 17 33 PGC 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 ADT RAM address Data N A 45 PA6 AD6 RAM address 4 Data N A 46 PA5 AD5 RAM address 4 Data N A 47 PA4 AD4 RAM address 4 Data N A 48 PA3 AD3 RAM address 4 Data N A 49 PA2 AD2 RAM address 4 Data N A 50 PA1 AD1 RAM address 4 Data N A 51 PAO ADO RAM address Data N A 52 VCC Supply power N A 53 GND Ground N A 54 PF7 ADCT 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
17. 206 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 E INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 28 51 C Chipcon Products from Texas Instruments Bill of materials CC2420DB RAM Reference Description Value Part C601 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C602 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C603 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C604 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 R601 Resistor 0603 10kQ 2 R 10K 0603 G R602 Resistor 0603 10kO 296 R 10K 0603 G R603 Resistor 0603 10kQ 2 R 10K 0603 G R604 Resistor 0603 10kQ 2 R 10K 0603 G R605 Resistor 0603 10kQ 2 H 10K 0603 G R606 Resistor 0603 10kO 296 R 10K 0603 G R607 Resistor 0603 10kQ 2 R 10K 0603 G R608 Resistor 0603 10kQ 2 R 10K 0603 G R609 Resistor 0603 10kQ 2 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 i i 11 X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 29 51 INSTRUMENTS C Chipcon Products from Texas Instruments Using the CC2420DB Demonstration Board The CC2420DB Demonstration Board is designed for quick protot
18. 420DB To enable software control of the RS 232 driver U101 the jumper J3 can be moved Step By Step procedure 1 Move RS 232 jumper J3 from P9 to P3 between pin 3 and 4 2 It will share the same port pin PE4 as the yellow LED so when RS 232 is on the LED will be set d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 10 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 NY 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 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 X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 11 51 INSTRUMEN
19. 5 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 The Basic RF library can thus not be used to communicate with compliant 802 15 4 networks A pair of CC2420DBs running this
20. 603 47kQ 2 R_47K_0603_G R314 Resistor 0603 H 10K 0603 CG 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 74HCO05 X2 Crystal HC 49 SMD X_8 000 20 30 10 16 E INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 27 51 C Chipcon Products from Texas Instruments 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 1096 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 10 C 100N 0603 X7R K 50 C503 Capacitor 0603 100nF 10 C 100N 0603 X7R K 50 C504 Capacitor 0603 33nF 1095 C 33N 0603 X7R K 25 C505 Capacitor Low C 470U 8 CVAX Impedance C506 Capacitor 1
21. 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 If 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 When 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 Studi
22. C71 Capacitor 0402 5 6pF 0 25pF C 5P6 0402 NPO C 50 C81 Capacitor 0402 0 5pF 0 25pF C 0P5 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 E INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 25 51 C Chipcon Products from Texas Instruments Bill of materials CC2420DB RF Section Reference Description Value Part P5 Surface mount SMA SMA SMD straight R421 Resistor 0603 20 R 2 0603 F 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 O or less Bill of materials CC2420DB MCU section Reference Description Value Part C303 Capacitor 0603 100nF 1096 C 100N 0603 X7R K 50 C304 Capacitor 0603 10
23. H UNE a d Ente mm ER E g o u om 27 z je le w 2 d O aje T e o rmm T I C 33N ABB3 X7A K 25 Ir C403 T i C_2U2_1206_X7R_K_1B ig U 2 MIC5209 3 385 QUT GND u4 IN GND T A 9V Battery connector D401 2080938 ES CAD E C 2U2 1205 X7R Kl dj 93N AB NND2 S0d AB NNOJ Bd d supply al power UNREG Extern j Figure 14 CC2420DB schematic page 4 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 22 51 INSTRUMENTS Products from Texas Instruments ipcon Ch 1915 Lass awas aanssi ah ON ama ON wasi is or NMYHG ZEZ SH SA2Z ZII ma alya STvAQHddV SY NOJdIHJ Bvszu SWYN ANYdAO2 QN I2YHINOJ NO0 33H0 2897 OSA H X EBSB HBD EIERE JN OL inasy IMO ingew inazy inni ginozu ALIANT NISH t 22 140304803 Mir E NO3J803 NIEH 90659 Ge Lana 5053 Bs ES aga BT A Biyax gaza waaga ieu Ix NULL A NIZL Fe NIEL 1nggL px IN innz pa inno pe NIZH NI ADE zI 27 DR X HZX ERSU NAMI gt nea KYAJTBTI ALI SZ X HAXCEBBRINEE 3 De EREM cas A Kc EvZEXVIN iain Qu X 4X caa Na RI 2081 SLITZEZSH qu zEzsu SLH ZEZ5SH ai zezse aae daju ZEZ
24. PL n I 3 NICSSHA usariy PA BEE Saaana 3 7 LMO7I3BA Z1s3a1y pr ia IX L 5 3 dN Z8 8 gdG 3 187 E s SvIgu N3 83HA Ns Ssuf i 8 Les d 4 s zD 2s0x SERE Hasse ZN 107IS0X as o ER 3uoa ensa IS d Q5 2 dN Z v ads Ig 1 savd gnsd ATIS 3138 NIT ANSI usife ve e s auvng dqNaa SO PEU Es ass EE ASTIAAN 905 2 SE vas Fe BE E A E E 2 Li 4 4 sore usa HOLME KEL 40414 30313 E T ZBPH SNZ71 tne ave saa zen ani EAS ies IZN INS YANS oko A ch IZN pe Gd BG 1 AdN Z bH SdA I IHITAGAY HD PS ITAY SN ES Dante kaa aa ATAY M ZA qdAv INYH OIGAG se d ZdH IIAVv BI aasad s 7 AS das quvnad 7 id ddAv aav aga E aBd dd v Bav dqdAv 7 OJA ITAY a Caper 03A E EGUAU e i i i d d d d a DEER B s a E E e El zn i E M z i 3 i s q RI RI 8 g 5 5 E E S S 5 5 4 2h zl a io d A SAO Sd dd a SUE Si a E E a UE zn 4 Ma ara Saul ad Su u GR i i A A AgI AEE ABT CC2420DBK Demonstration Board Kit User Manual INSTRUMENTS da TEKAS Products ipcon from Texas Instruments Ch
25. 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 4 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 parallel 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 75 17 61 mm Height H 6 17 mm 0 97 mm 1 19 mm x 72 6 55 mm Quarter wavelength 1 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 A 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
26. SH OL ic page 5 CC2420DB schemat Figure 15 rev 1 3 2004 11 03 Page 23 51 CC2420DBK Demonstration Board Kit User Manual INSTRUMENTS da TEKAS 1919 1aaus aqvas a3nssi ZU vv ENE Asa ON ma on wasi aas pa NA yya Ave Bda zvzda ama 31ya STvAQHddV Sv NOJdIHJ Bvszu SYN ANVdAOS ON LIVHLNOJ Products from Texas Instruments ipcon Ch Gaga 2294 L1 Cap 0I H 97 0907 518174 972090718174 97 0907 50174 susy E x sagu ERGO BI H EBRO yal m x 094 casu E 972090750174 a lt GEI 372098710174 AE 1834 DEBIAN ASA 8 X EGSQ NAMI 1093 aq ROPA an agHPe 2 an Daza B 90 ay BaY IXBUZVSSSZAIZldl Si v 8v js jd NE G3 8 X EIA NAMI E GEHE d v an zN v AE OL TERA NAMI 7 zaga en A T ai ana g 0 zam LY aY E a 90 ga Sav Sy x S0 sa say eM a 0 Ya Pay EY a ED Ea Edy E zo ea py zav lw a 10 DE uv S SI BO ga Gig ba adv OSA HAX C898 ap o O T 22 aol p EZS2H Z Ace ZIV Gav 6 rev 1 3 2004 11 03 Page 24 51 ic page CC2420DB schemat Figure 16 CC2420DBK Demonstr
27. TS C Chipcon Products from Texas Instruments AVR UO 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 PE6 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 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
28. TS C Chipcon Products from Texas Instruments 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 lola 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 ke Application Protection Mode 1 No lock on SPM and LPM in Application Se Application Protection Mode 2 SPM prohibited in Application Section TU Application 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 I Boot Loader Protection Mode 2 SPM prohibited in Boot Loader Section TU Boot Loader Protection Mode 3 LPM and SPM prohibited in Boot Loader TU 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 p
29. 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 d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 34 51 INSTRUMENTS cC Chipcon Products from Texas Instruments 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 Please refer to figure 22 JTAGICE mkII Figure 22 JTAG ICE mkll Program Window i TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 35 51 INSTRUMENTS C Chipcon Products from Texas Instruments e Click on the Read button in the EEPROM area to display the Save As dialog window Save as a Save in C3 Data D f ek E3 laa 2004 40 002 hex File name 2004 40 001 hex Save as type Intel Hex Files hex a90 y Cancel WA Figure 23 EEPROM Save
30. atform 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 AVR Studio 4 Select debug platform and device Debug Platform Device AYA Simulator ICE200 xj Figure 25 JTAG ICE mkll Device Platform Settings d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 38 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 E Connection Debug Status JTAG connection Target clock frequency 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 JT AG 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 COM Part debugwIHE Baud rate Disable debug WIRE
31. ation Board Kit User Manual INSTRUMENTS da TEKAS C Chipcon Products from Texas Instruments Bill of Materials Bill of materials CC2420DB Top level section 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 1096 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
32. cC Chipcon Products from Texas Instruments User Manual Rev 1 3 CC2420DBK Demonstration Board Kit d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 1 51 INSTRUMENTS C Chipcon Products from Texas Instruments Table of contents INTRODUCTION p 3 POB entiendes N cade tae KOGA Ka RODNO PAS LUE 4 ANTENNA 5 POWER SUPPLY SECTION Porra ice pede url ER ERE deeded RR RSS LXX ERE EY Rx ee da Cete naaa 7 RS 232 INTERFACE 8 MICROCONTROLLER AND USER INTERFACE o cocccccccnnncnnnnnnnnnonononononononononononononononononononononenenenenenones 8 EXTERNAL do dela 8 FLASH MEMORY REQUIREMENTS ccccccccccnnnncnnnnnnnnnnnnnnnnnnnnnnnnnnnononnnnnononononononnnnnononononononnnnononononon 8 CC2420DB Low POWER MODE ouppop nnn nnn na nana aan 8 JUMPER SETTINGS FOR DEMONSTRATION BOARD CONTROL 9 CC2420DB CURRENT MEASUREMENT AND CONSUMPTION cessent 11 PCB HAYO WI Judd 16 BILL OF MATERIALS 25 USING THE CC2420DB DEMONSTRATION BOARD eene nnns 30 CC2420 SOFTWARE DOWNLOAD AND EVALUATION USING AVR STUDIO 4 sss 30 PREPROGRAMMED 64 BIT IEEE Appptses cccceeeceeesececeeecececeeececececaeeeeesaeeeeeeaeaeaeesaeaeaeaes 30 PREPROGRAMMED FUSES lt cesece
33. controller is interfaced to the CC2420 via its built in SPI interface as well as some general UO 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 includes 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
34. do ger ICESO Upgrade df i RUTO ICESO Selftest Dl ima Plugin Manager Customize Options Show Key assignments STKSOO AVRISP ITAG ICE Figure 30 Starting AVR Prog in AVR Studio Hex file rf blink led hex Browse EEPROM Program Verify Read Device ATmegal 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 i TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 44 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 compiler for C This tool provides a framework for most of the features supported by the Atmega128L microcontroller used with the CC2420DB Demonstration Board 3 Softwar
35. e 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 gt Basic RF Library Rf basic send packet etc Standard C Hardware Abstraction Library 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 peripherals etc via function macro calls without specific knowledge about the hardware details ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 4
36. i 11 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 50 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 d TEXAS INSTRUMENTS CC2420DBK Demonstration Board Kit User Manual 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 Sale
37. ices the microcontroller can be reprogrammed Both the program code memory flash and the EEPROM can be reprogrammed AVRISP JTAG ICE AYRStudio File Project View Tools Debug Help iDsHgoxmsesoc nEwY M44 4 BE sl 3 Trace disabled d Sec EI D v Workspace gt Erase Device IV Erase Device Before Programming Parallel High Voltage Serial IV Verify Device After Programming r Flash Use Current Simulator Emulator FLASH Memory Input HEX File G 02_Inteme_prosjekter 02500_inteme_tekn El Program Verify Read m EEPROM Use Current Simulator Emulator EEPROM Memory InputHEXFilef Program Verity Read Loaded plugin STK500 mano x Setting device parameters serial programming mode OK Entering programming mode OK Reading fuses OxDOC4 OK Leaving programming mode OK zi 4 f Build gt Messages Find in Files e CAP NUM SCRL Figure 29 AVRISP Program Window used to program flash or EEPROM Note When using the AVR ISP programmer the boot vector fuse must be disabled d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 42 51 INSTRUMENTS C Chipcon Products from Texas Instruments The device used for programming must be connected to the CC2420DB programming socket The programming interface uses 4 signal lines These four line
38. lock Start up time 6 CK O ms CKSEL 0000 SUT 00 IV Auto Verify S Entering programming mode OK Writing fuses OxFF 0x1C OxBF OK Reading fuses OxFF 0x1C OxBF OK y G Fuse bits yerification 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 mkII 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 proper fuse programming d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 37 51 INSTRUMENTS C Ehipeon Products from Texas Instruments 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 pl
39. lxz MauNId NA SHU p AE A EE 886e1 0 pepeveusg 3 Od AEE a 21373324 a rea d TS G2 3r d S uw a m m KR HOLY ING ay id 4 434v usg 4 us 394 LIA ENER 3125 Sad os as vad IS IS Ed N3 793H8 ENKEN zad ulasau UL3S38 13d aas qas aad vaa VII Ed 0313 0313 od dost Sms Siu SLY SLI ZEZSH lax LIXH dl zezsu i SLI SIF dy ZEZSH e Igxa LAKI SlH zEzSH euvajue DO oi pajgauuog pued JH N du Bees HSIJOHLNOJOHJIN agace Mes lHvd dH gt 5 JgOvdHdlNI ZEZ SH gt gt a a G M U gt gt Ii o m N E m z s 310H H EH BII VUn WvH OMA TIVIJTIIJ ABRA TYING NTAH C 1 rev 1 3 2004 11 03 Page 19 51 ic page CC2420DB schemat Figure 11 CC2420DBK Demonstration Board Kit User Manual INSTRUMENTS da TEKAS Products ipcon from Texas Instruments Ch 2 rev 1 3 2004 11 03 Page 20 51 ic page CC2420DB schemat Figure 12 9 Z 1aasus aqvas canssi El vv qax3a3u3 Asa ON ma on wasi aas apg NM VH 1HvVd JdH BI zv z23 ama gival STvAOHddV Sv NOJdIHJ Bvszu SYN ANVdAOS ON LIVHLNOJ R z sd 5 ad Ed k T SA Ae E LA ABI de d z erp m Buus uy ggd F LE Sch IA m OSTI BAN Zaye 54071 T 32 a ER 183 u i s 2 Il s
40. 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 always have the RS 232 This jumper can be driver enabled hence the disconnected and instead driver is forced on controlled by software if desired i E INSTRUMENTS Table 2 Jumpers explanation CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 9 51 C Chipcon Products from Texas Instruments Jumper J1 Jumper J2 umper J3 Figure 6 Jumpers on CC2
41. o 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 36 51 INSTRUMENTS C Ehipeon Products from Texas Instruments 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 v JTAG Interface Enabled JTAGEN 0 v Serial program downloading SPI enabled SPIEN 0 Preserve EEPROM memory through the Chip Erase cycle EESAWE 0 TU Boot Flash section size 512 words Boot start address FE 00 BOOTS I 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 I Boot Reset vector Enabled default address 0000 BOOTRST 0 Brown out detection level at YCC 4 0 V BODLEYEL 0 ke Brown out detection level at YCC 2 7 V BODLEVEL 1 ke Brown out detection enabled BODEN 0 TU CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 T Ext C
42. ogrammed 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 30 51 INSTRUMENTS E Chipcon Products from Texas Instruments Preprogrammed Fuses The configuration of the processor fuses can be performed through the SPI interface 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 0 00 CO gr de c Io 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 E INSTRUMENTS GER Program Fuses LockBits Advanced Board Auto ATmegal03 Compatibility Mode M103C
43. portant 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 3 51 INSTRUMENTS C Chipcon Products from Texas Instruments PCB PCB depicts an overview of the CC2420DB with description of the various components embedded on the PCB 3 3V voltage regulator AVR ISP connector Optional 9V or 4x 1 5 AA battery 3 TET TT 9 FAM CEA ZK EXA aqqqgsuqeq URRERERIMI H n IA d Ww yuyu CC2420 RF WARE or NC e Section External RAM 1x 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 d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 4 51 INSTRUMENTS C Chipcon Products from Texas Instruments capacitor placement of C63 and C62 See schematics for details The
44. r CC2420DBK based on this application note http www atmel 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 Histo ry 31 03 2004 06 05 2004 26 07 2004 03 11 2004 Description Changes Initial release 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 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 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 i
45. rovides 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 d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 33 51 INSTRUMENTS C Ehipeon Products from Texas Instruments 4 Start AVR Studio and establish a new project only one time See section on how to start a new debugging 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 Ertu 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
46. s Office Korea amp South East Asia Chipcon AS 37F Asem Tower 159 1 Samsung dong Kangnam ku Seoul 135 798 Korea Tel 82 2 6001 3888 Fax 82 2 6001 3711 Email KAsiasales chipcon com rev 1 3 2004 11 03 Page 51 51
47. s 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 Connect power to CC2420DB Start AVR Studio Hold down the S2 push button Push and release the S1 reset button while still holding the S2 push button In AVR Studio select Tools gt AVR Prog from the menu See figure 22 Release the S2 push button DNS X x oN Browse to find your application program hex file 9 Click on the Flash Program button to program the flash 10 Disconnect serial port 11 Reset CC2420DB 12 Start your application program ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 43 51 INSTRUMENTS cC Chipcon Products from Texas Instruments AYRStudio AVR Prog AAA ES B Halo OOP OR
48. sacesccsiecenecdsatescestesanecduncannecstvanecesieanuecduhdaceeateannecssnanecettaneues 31 PREPROGRAMMED LOCK Be 33 JTAG ICE OR JTAG ICE wll 33 SAVING THE IEEE ADDRESS OF THE CC2420DB seen nennen enne nnne 34 RESTORING THE IEEE ADDRESS OF THE CC2420DB coccccccccnonononononononnnnnnnnnnnnnicnnncnnnnnnnnnnonons 36 A NEW DEBUGGING PROJECT WITH CC2420DB 2 0 ccccccccccccccccccccececeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenenes 38 BOOTLOADER EE 43 INTRODUCTION TO EXAMPLES PROVIDED WITH CC2420DB sse 45 LIBRARIES AND EXAMIPLES 2 axi inia aA ARRANA cepe ku petia n pne tu ae Ka SARA 45 HARDWARE DEFINITION EIER 3e eiie rd ill dee Haee PIER 45 HARDWARE ABSTRACTION LIBRARY HAL 45 BASIC RF LIBRARY EE 46 SOFTWARE EXAMPLE PROGRAMMED ON CC2420DB sese 46 DATA PACKET DESCRIPTION 2 ste i Peste dd edu dede elo dj late v pale asa 47 DATA TRANSMISSION PROTOCOL occcccccccnccnnnnnnnnnnnnnnnnnnnnnnnnnnnnononononnnnnonnnnononnnnnnnnnnnnnnnnnnnonononononon 48 Ibis z leleuic 49 IT DOES NOT WORK Deere ee et er err ek ve eb Du e eva vas 49 CANNOT PROGRAM THE AVR USING THE SERIAL PORT oocococononcnonnninininininininininnnininininininnninininoss 49 BOOT RESET VECTOR ENABLE eiii rrr do ene dada 49 BOOTLOADER Zu eere esee Ee 49 REFERENCES cunas onion iita uie ni item 50 ADDRESS INFORMATION aaa iaa 51 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev
49. ta MAC Frame sequence Address i MHR MSDU MFR Octets 4 1 1 4to20 n PHY Preamble tart of Frame Frame layer Sequence Delimiter Length SHR PHR PSDU 11 41020 n PPDU Figure 33 IEEE 802 15 4 data frame Octets 2 1 2 Data MAC Frame Sequence sublayer Control Number f MHR MFR i Octets 4 1 1 i 5 Start of PHY Preamble Frame Frame layer Sequence Delimiter Length SHR PHR PSDU 11 Figure 34 IEEE 802 15 4 acknowledge frame d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 47 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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 6 CC2420 device 2 receives acknowledge frame 7 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 transmission failed no acknowledgement the red LED will toggle
50. 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 IV Always activate extemal reset when reprogramming device IV Disable use of BREAK UG kpoints 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 project is reloaded with AVR Studio the project settings are configured properly d TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 41 51 INSTRUMENTS C Chipcon Products from Texas Instruments In System Programming Using the AVRISP in circuit programmer or similar dev
51. 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 8 51 INSTRUMENTS C Chipcon Products from Texas Instruments 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
52. 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 I O 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 ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 7 51 INSTRUMENTS C Chipcon Products from Texas Instruments RS 232 interface 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
53. uting 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 A _ __ _ _ _ _ Y n lt 034mm Ji E 0 321 mm 4 1 122 mm Figure 8 CC2420DB Layer Build Up X TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 16 51 INSTRUMENTS C Chipcon Products from Texas Instruments Layer 2 Figure 9 CC2420DB PCB layout ub TEXAS CC2420DBK Demonstration Board Kit User Manual rev 1 3 2004 11 03 Page 17 51 INSTRUMENTS C Chipcon Products from Texas Instruments
54. yping 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 crystal 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 SCH 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 prepr
Download Pdf Manuals
Related Search
Related Contents
Samsung DV4006 Manual de Usuario "user manual" Bakers Pride Oven DR-34 User's Manual Planning for Landscape Change: An Introduction and User's Guide Liebherr KT 1430 Comfort Manuel d`utilisation Modèle S 582 Texte intégral PDF (244 ko) Raypak 399 User's Manual United States Stove 2007 User's Manual Samsung SW55USP User's Manual Copyright © All rights reserved.
Failed to retrieve file