Home
CC2400DK User Manual
Contents
1. Z Pb T370H a h ZH O ZE 9310H EH Z 7 370H IH ma en aandaa IA WA HWA WIN Ill 133Hs sqvas aanss El vy T3133H3 R I GN ma ON wasi azs YI st NAVE e Com Eu 13431 dOl Sdumbedo SMa aval SIWAGUddv mara SY NOJdIHI AER ZN AS BIN Agang ON 1IVELNOI AE G C z E at zs ett te E El ane 0 1 waza PUR MON 40 A EE Z S SE 277 Garza 494 A g i U E ue K gt se5ej04 pejeJeues pa G al E E re td Ed BLXZTMOHNI d BIXZTMOHNI d aaan j SZ ATP 20 Operen AIVLIOA I D DS gt ID UH sg E E ou E aA m Nog i sag Iad idd ad usa uss sed 17195 ERR os as 1g IS HOT 30404 NOT3JH03 9019 3019 0313 9134 0313 5134 199 014 19 04 514 sly ST EEZSH DN KI XL o aaa DO aL Zzezsuy o xa XH sig du zezsy S EE EE 519 EECH aax DIEN Buusjue Bd 0 pejoeuuas pved 4y i 18vo 38 43 71704 1NOJOYIIN 3IVW3831NI ZEZ S8y 36 an5d Zd ic page 1 CC2400DB schemat Figure 7 CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 14 of 30 INSTRUMENTS da TEXAS SlZ Lashs sivas qansst
2. Reference Description Value Part P1 DC jack 2 5mm DC_JACK_2 5 center pin P2 D Sub 9 pin female DSUB_9F P3 PINROW_2X10 Pin row 2x10 P3 PINROW_2X10 Pin row 2x10 R101 Resistor 0603 00 Not Mounted Bill of materials CC2400DB RF Section Reference Description Value Part C1 Capacitor 0603 2 2 uF 10 C_2U2_0603_X5R_K_10 C11 Capacitor 0402 100 nF 10 C_100N_0402 X5R_K_10 C61 Capacitor 0402 0 5pF 0 25pF C_OP5_0402_NP0_C_50 C62 Capacitor 0402 5 6 pF 0 25 pF Not Mounted C63 Capacitor 0402 5 6 pF 0 25 pF C_5P6_0402 NPO C 50 C71 Capacitor 0402 100 nF 10 C_100N_0402 X5R_K_10 C81 Capacitor 0402 0 5pF 0 25pF C_0P5_0402_NPO_C_50 C101 Capacitor 0402 10 nF 10 C_10N_0402_X7R_K_25 C161 Capacitor 0402 68 pF 5 C 68P 0402 NPO J 50 C251 Capacitor 0402 100 nF 10 C_100N_0402 X5R_K_10 C261 Capacitor 0402 100 nF 10 C_100N_0402 X5R_K_10 C411 Capacitor 0402 68 pF 5 C 68P 0402 NPO J 50 C421 Capacitor 0402 27 pF 5 C 27P 0402 NPO J 50 C431 Capacitor 0402 27 pF 5 C_27P_0402_NPO_J_50 C481 Capacitor 0402 68 pF 5 C 68P 0402 NPO J 50 L61 Inductor 0402 7 5 nH 5 L_7N5_ 0402 J L62 Inductor 0402 5 6 nH 5 L_5N6_0402 J L71 Inductor 0402 27 nH 5 L_27N_0402_J L81 Inductor 0402 7 5 nH 5 L_7N5_0402_J P5 Surface mount SMA SMA_SMD straight R4 Resistor 0402 2 2 Q 5 R2R2_0402_J R451 Resistor 0402 43 KQ 1 R_43K_0402_F i TEXAS CC2400DBK Demonstra
3. Table 1 AVR I O pins Ji TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 9 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Pin Signal name in Pin usage CC2400 AVR pin number schematic pin 1 2 Unregulated supply voltage 3 PD6 Joystick left 10 PD6 AINO 4 5 PD7 Joystick center push 11 PD7 AIN1 6 PD5 Joystick down 9 PD5 T1 7 PB7 Joystick right 8 PB7 XTAL2 TOSC2 8 9 PB6 Joystick up 7 PB6 XTAL1 TOSC1 10 11 FORCE_ON RS 232 on off 27 PC4 ADC4 SDA 12 13 RTS RS 232 handshaking 12 PBO ICP push button 14 15 RXDO RS 232 data from PC 30 PDO RXD 16 17 CTS RS 232 handshaking 13 PB1 OC1A Red LED 18 19 TXDO RS 232 data to PC 31 PD1 TXD 20 GND Ground Table 2 P3 pinout ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 10 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Pin Signal name in Pin usage CC2400 AVR pin number schematic pin 1 2 3 RESET Reset 29 PC6 RESET 4 SCLK CC2400 serial clock 32 SCLK 17 PB5 SCK AVR ISP 5 PC5 Green LED 28 PC5 ADC5 SCL SO CC2400 SPI out AVR 34 SO 16 PB4 MISO ISP 7 PD4 Yellow LED 2 PD4 XCK TO 8 Sl CC2400 SPI in AVR 33 SI 15 PB3 MOSI OC2 ISP 9 ADC7 Temperature sensor 22 ADC
4. int a Figure 10 CC2400DB schematic page 4 dis TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 17 of 30 INSTRUMENTS Products ipcon from Texas Instruments Ch C S S Laag aqvas g3nssr el vy EE AIH ON ma on HIs3 3215 TYL NMYHT ZEZ SH EdOByZJJ SMT 31vd SIYAOHddY SY NOJA EE INYN_ ANYO ON 1IVHLNOI To Microcontroller sia DAKI Sly Dax NOT 3403 e DE yH x EOI MET INS LNOSH NOLL ae SNe LNOFH We ON Ae LNOeH NIEL E aw LN0ZH 1MOELSFIN PLN LOZ L par DN a1n0za LNO LoS SN IIYANI NISH ZN eae 4030009 Mr tt e NO3D803 NIEH 7 eae 10 NIZH pa PH po z ana NIIH gt ZS zi E 234 237 9 mb ie 2 Y Gef 29 ae z 8577 4247E0907 HRH S 3 Geff zi CH Seles S E DEE EN E iain 3 S os C S ME Se h x D 3 DKG ngai I F 7 EBSD A la Nv aLI een Ou Een BLH ZEzSH adi zezsy 8398 4a U ZEZSH DL ic page 5 CC2400DB schemat Figure 11 CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 18 of 30 INSTRUMENTS da TEXAS E Chipcon Products from Texas Instruments Bill of materials Bill of materials CC2400DB Top level section
5. EMI filter bead BLM18AG102SN1D P6 ISP connector PINROW_2X3 R201 Resistor 0603 00 1 R_0 0603 R202 Resistor 0603 00 1 H 0 0603 R203 Resistor 0603 00 1 R_0_0603 R204 Resistor 0603 2700 1 R_270_0603_J R205 Resistor 0603 2700 1 R_270_0603_J R206 Resistor 0603 2700 1 R_270_0603_J R207 Resistor 0603 10 kQ 1 R_10K_0603_G R208 Resistor 0603 10 kQ 1 R_10K_0603_G S1 Push button SMD ALPS SKHUAF S2 Push button SMD ALPS SKHUAF U2 Temperature sensor LM61 SOT23 U3 Atmel microcontroller Atmega8 MLF32 Ai TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 20 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Bill of materials CC2400DB MCU section Reference Description Value Part U5 4 directional switch skrhab_e010 with a center push Bill of materials CC2400DB Voltage regulator section Reference Description Value Part C401 Capacitor 1206 2 2 uF 10 C_2U2_1206_X7R_K_10 C402 Capacitor 1206 2 2 uF 10 C_2U2_1206_X7R_K_10 C403 Capacitor 0603 33 nF 10 C_33N_0603_X7R_K_25 C404 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C405 Capacitor 1206 2 2 uF 10 C_2U2_1206_X7R_K_10 D1 Schottkey diode 2A 20BQ030 P7 9V battery connector CONN_9V_POS positive P8 9V battery connector CONN_9V_NEG negative U4 3 3V low drop out LP2981IM5 3 3 regu
6. 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 1 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 cl4 f 3x10 4x2 45x10 30 61 mm d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 5 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments The radiated pattern for the PCB antenna was measured with the horizontal polarization direction for the CC2400DB by measuring with vertical and horizontal mounting of the demonstration board Important In practical range testing outdoors with line of sight LOS and use of the rfBlinkLed 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 1 Mbps range measured 140 meters 2 Data rate settings 250 kbps range measured 240 meters Please note that these range tests were performed at 0 C with a simple packet protocol no link margin no robust protocol close to the sensitivity limit of CC2400 and no retransmission Rotno 18 12 03 UF 2442 000 MHz aul Uw Pei Lev dam Horisontal Polarization 0 degr lt a _ Antenna CC2400DB Top view Figure 3 Radiate
7. 1FF Calibration Value Calibration value is only for 8 MHz d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 23 of 30 INSTRUMENTS e Chipcon Products from Texas Instruments Table 5 EEPROM memory map In System Programming Using the AVRISP in circuit programmer or similar devices the microcontroller can be reprogrammed The program code memory flash and the EEPROM can be reprogrammed AVRISP File Project View Tools Debug Help DEA AAA ANUANI El SI 3 Trace disabled z a amp af x EL Y La Workspace 181x d i pe ES v D IEN FAL Pe BHP A de AYRISP Program Fuses LockBits Advanced Board Auto Erase Device r Programming mode ISP JM Erase Device Before Programming IV Verify Device After Programming Parallel High Voltage Serial m Flash Use Current Simulator Emulator FLASH Memory IS Input HEX File G 02_Inteme_prosjekter 02500_intene_tekn fal Program Verify Read m EEPROM Use Curent Simulator Emulator EEPROM Memory 6 Input HEX File zal Program Verity Read Loaded plugin STKS00 D o 3 Ss Leaving programming mode OK al Messages A Find in Files EI o CAP NUM SCRL Figure 14 AVRISP Program Window used to program flash or EEPROM The devic
8. 4 01 28 Page 11 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Layer 1 oe eee d oe ee eee 0000000000 0000000000 ag 5 o0 0 0000000 0000000000 e S o e oloo o Layer 2 Layer 3 Layer 4 Figure 5 CC2400DB PCB layout Ai TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 12 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Hi Hz Chincon z CC240 0DE 1 3 FM3 IC Chipcon AS E H Pa ul P4 d AL SR Up PS ISP H E Sluz SE e m U4 a D2 D3 D4 us o Bip a A 52 uiat as S RESET gt Di 8 P2 S P7 FMI FM2 H4 H3 Top Assembly Bottom Assembly Figure 6 CC2400DB PCB layout silkscreen Ji TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 13 of 30 INSTRUMENTS Products ipcon from Texas Instruments Ch C Schematic
9. 62 USA Tel 1 603 888 1326 Fax 1 603 888 4239 Email eastUSsales chipcon com Chipcon AS Strategic Automotive Center Hechtseestrasse 16 D 83022 Rosenheim Germany Tel 49 8031 2227 660 Mobile 49 172 8540 132 Fax 49 8031 2227 661 Email automotive chipcon com ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 30 of 30 INSTRUMENTS
10. 7 10 GIO6 CC2400 GIO6 35 GIO6 23 PCO ADCO 11 ADC6 Not used 19 ADC6 12 DCLK FIFO CC2400 DCLK FIFO 30 32 PD2 INTO DCLK FIF O 13 CSn CC2400 chip select 31 CSn 14 PB2 SS OC1B 14 DIO PKT CC2400 DIO PKT 29 1 PD3 INT1 DIO PKT 15 3 3V 3 3V regulated supply 16 TX CC2400 TX 28 TX 25 PC2 ADC2 17 1 8V 1 8V regulated supply 18 RX CC2400 RX 27 RX 26 PC3 ADC3 19 GIO1 CC2400 GIO1 21 GIO1 24 OC1 ADC1 20 GND Ground Table 3 P4 pinout 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 CC2400DB Demonstration Board and we therefore recommend that our customer copy at least the RF parts and the decoupling around the CC2400 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 Ji TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 200
11. C Chipcon Products from Texas Instruments User Manual Rev 1 2 CC2400DBK Demonstration Board Kit i TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 1 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Table of contents INTRODUCTION cocina SEENEN SEENEN SERA waa wawa wna A PCB EE 4 Kl SECTION EE 4 ANTENNA ars a te Pee ee eee 4 POWER SUPPLY SECTION a A ia 7 RS 232 INTERFACE eeri ne od a eeler a da rd 8 MICROCONTROLLER AND USER INTERFACE o coccccccccnnnnnnnnnnnnnnnnnnononononononononononononononononononononenenenonos 8 POBLA e EE 11 USING THE CC2400DB DEMONSTRATION BOARD 0 eceeteeceeeeeeeeeeeeeeseeneneeeeseeneneneenenens 22 CC2400 SOFTWARE DOWNLOAD AND EVALUATION USING AVR GrOpo 22 RC OSCILLATOR EE 23 MICROCONTROLLER EEPROM MAPpING 23 IN SYSTEM PROGRAMMING ccccccecececeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenenseseseenseenenenegs 24 BOOTLOADER EE 25 INTRODUCTION TO EXAMPLES PROVIDED WITH CC2400DB cococonononoconononinininininininininininininnnnos 26 SETTING UP A SOFTWARE PROJECT FOR CC2400 cccecesesesesesesssesetesesssesesessseeseseseseseeeseeesees 27 HARDWARE DEFINITION FILES OHDE no aaa a aa 27 HARDWARE LIBRARY FILES HL Pica aida aiii 27 CONFIGURE OUTPUT PROFILE stika lalala lia 28 DATA PACKET DESCRIPTION kiazi aaa 28 DATA TRANSMISSION PROTOCOL ccccccccconnnnnnnnnnnnnnnnnnonononnnnnonononononnnnnnnnonononononononnnon
12. E Program Verify Read Loaded plugin STK500 mano x Setting device parameters serial programming mode DK Entering programming mode OK Reading fuses 0xD2C4 OK Leaving programming mode OK z Alt Messages Erd in Files HI gt o CAP NUM SCRL Figure 13 AVR Studio AVRISP Fuses Window RC oscillator The internal RC oscillator is used as reference time base The oscillator frequency is relatively independent of temperature and operating voltage Its nominal frequency is 8 MHz A calibration feature utilising a calibration word programmed into the microcontroller at the factory ensures that the oscillator frequency is equal from unit to unit The calibration value is stored at a fixed location in the EEPROM of the processor Microcontroller EEPROM mapping The following map shows the data location To customize the CC2400DB for a different frequency the EEPROM data can be replaced by new values found using the calibration software Please contact Chipcon Technical Support Note If a different RC oscillator frequency is used a new calibration must be performed for the desired frequency and stored at the correct location in EEPROM The bootloader uses the RS 232 so by changing the frequency the bootloader must be reprogrammed with the correct baud setting for the frequency of choice Please contact Chipcon Technical Support EEPROM Data Reference Comment Address hex 0x0
13. NLY En Taza Ta 13534 Ww ki 3 o o a E Die DEL Pp Waza a a k a x sad Es e oda oa t a a re cg ce EXZTMOHNId B Ay Ar BRAY ae 22 hsna f o 9 b 9 CH ngingo a 5 b r 3 AE ASI as zs a ai a i a 3 El wap D I 5 a iaa fan amp iag El 5 LN 8 EN B AR ysnd r i e Sa Sa ER NOWNG BIEN D S 3 3 Age 3 ds z yfr dn E E 3 a y sn BAJ Gens See AE CH sa37 ysnd aJjuass YJIM yojims euo oaJ p p ic page 3 CC2400DB schemat Figure 9 CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 16 of 30 INSTRUMENTS da TEXAS E Chipcon Products from Texas Instruments gt m ou 0 pu 10 E LI 5 T 5 g E a GIS 3 ale H l uy rc w o D le y d E 52 3 O ola N 20 R Je z D Zi g w LE a D ON fl Sp g R s ESCHER m 5 o OAG la lo a N D S u ch D lu 2 d a E lt Ge si gt g A H gt g s Ze S 5 n us oz 3 ON jz A SM Ze ch E ce amp jo H z o j lt pu D r fc fx E 4 B G zA jo C 2U2_1286_X7R_K_18 C_2U2_I20B_X7R_K_10 C402 D y i t E T Es a E Ts fie EIS BA Ss 58 So it Nic 2 dels ai o IL i 3 n 7 7 D E Ei c J a E 5 5 Hi gt S Y E a Ki KE D Sa ou a a a gt m C_IAAN A6B3 X7R K 54 de lo JINTAETNNOI SOSTABTNNOI Bd dd oe 8 cate E E oO a uy a E 2
14. al DH IMI ON WOSS ae Reeg It NMYHT L8vd 38 TANZ anc aLva S1VAGYdd SY NOJA PEET Sieft ANS d ON 1IVELNOJI Products ipcon from Texas Instruments Ch IK ip ic page 2 CC2400DB schemat Figure 8 ai a A Buuayu LE ma Y aad AST AAN 7205094073 fe ER 3 L i d z II Ss 189 8 ill La o 5 0 00 0007 ax 3 aa A IT care a f D E Z E DKW WE 187 ha Ol ie 38077 8nsa Y S S SNe zisaly saya Bnsa a d Sili wT 115314 CNDA zi S Ouengi onga e SZ e93 wr SWIGH u a KAKAA usame Uso 07 TUS geg NBO 9 E E BEER G 10789150X os HS 5 BH 13 18 S 1 a 4572709n7 2044784979 INe ee goa 3019 E i 041473724 ee ae El E ziel H ana Sede Ott E A pepe 291 T ZQe N zZ 1 2 N ANM 1x8 E zaa t Loi zm MACH HILIMSTXWXL gt u aida si idris A a Me a 197 de g OC d A ana 49 18 7 Sd DERRICK te Le 199 wi ISOXTAGAY INH pi w JAHI TATAY ANE inadi SE EN I0Y ULAY AYN Tet SZ IZ Oe S e HZ IB TULA Y STI MSTACAY asaan x Zant daer s 389 dLAy Javadi 4 5 e sr OJATATAY i Wl D Es 3 E qgyuynd Osa E EITAT S a e El ps 1 mm SE pa 2 d lt sA D D i aarzIg 4 x i J E E D 3 6 o 24 S a a E A a aul ZS 3 E a E 2 3 a EN z 5 IA z Bi SA Sia sok af s t gt Si od S
15. al of the ACK is indicated on the yellow LED without any further reply If no acknowledgement is received the red LED will toggle Initial Message Ack Acknowledge Device is active as trans shown on trans shown on long as S2 push Receiver polling mission receiver LED mission Transceiver LED button is held down lt gt lt gt lt gt lt gt lt gt lt sve E III WY DEVICE TX RX LED ACK D K Figure 19 Data Transmission Protocol ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 28 of 30 INSTRUMENTS E 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 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 References CC2400 Datasheet Atmel Application note AVR109 Self programming Bootloader for CC2400DBK is based on this application note http www atmel com dyn general tech_doc asp doc id 8053 AVR Studio http www
16. atics for details The RF layout is identical to the CC2400EM which is part of the CC2400DK Development Kit Important The CC2400DB demonstration board output power must be reduced for a 100 transmission duty cycle to be compliant with the FCC 15 2 harmonics regulation requirement At the moment the design is 1 dB above the limit 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 d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 4 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments quarter wavelength 2 4 A reduction of the antenna height H will in general decrease the antenna bandwidth Please see figure 3 for the antenna dimensions D 17 Dmm 26 19mm 9 mm E WmmeE E E ee in ON ik E al AN SP ela TH _ ELE YY DN E A Ce m NS yH E ais N N_ 14 19mm a ee ee 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
17. avrfreaks net Home News article php NewsID 457 Or http www atmel com dyn products tools asp family id 607 WINAVR AVR GCC http www avrfreaks net AVRGCC index php Document Histo 08 01 2004 Initial release Description Changes 28 01 2004 Cosmetic and bootloader section changes 13 02 2004 Minor BOM and layout change on CC2400DB Ji TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 29 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Address Information Web site http www chipcon com E mail wireless chipcon com Technical Support E mail Technical Support Hotline 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 Asia Pasific 37F Asem Tower 159 1 Samsung dong Kangnam ku Seoul 135 798 Korea Tel 82 2 6001 3888 Fax 82 2 6001 3711 Email Asiasales chipcon com support chipcon com 47 22 95 85 45 Chipcon Inc Eastern US Sales Office 35 Pinehurst Avenue Nashua New Hampshire 030
18. d pattern horizontal mounting dis TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 6 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Figure 3 depicts the antenna pattern while the CC2400DB is mounted horizontally with the antennas parallel section aligned to the O degree direction Rei ae 18_12_03 ES 2443 600 Mitr 5 abr alv Rof Lev dBm Horisontal Polarization Qian gt 0 degr lt Antenna CC2400DB Top view Figure 4 Radiated antenna pattern vertical mounting Figure 4 depicts the antenna pattern while the CC2400DB is mounted vertically with the antennas parallel section aligned to the 0 degree direction 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 CC2400 and a 1 8 V regulator for powering the CC2400 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 3 or 4 AA or AAA alkaline cells to power the CC2400DB if a suitable battery pack is used ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 7 of 30 INSTRUMENTS E Chipcon Pr
19. e used for programming must be connected to the CC2400DB 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 5 Signal pin AVR programming socket pin MISO SCK MOSI RESET VCC GND d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 24 of 30 INSTRUMENTS e Chipcon Products from Texas Instruments Table 6 ISP header connector Bootloader The CC2400DB is shipped with a bootloader This loader communicates with AVR Studio After reset the bootloader must have a way to determine to start program mode or to run the application software residing in the application code section of the flash To start the bootloader the Joystick center push on CC2400DB is used to enter program mode This button his held low after reset while starting the AVR Prog from the Tools menu in AVR Studio until the bootloader program window is loaded See figure 15 and 16 Step by Step procedure 1 Connect the CC2400DB serial port to your PC COM port Connect power to CC2400DB Start AVR Studio Select Tools from the menu See figure 15 Reset CC2400DB and hold the Joystick Center push button down after reset and start AVR Prog bootloader will start See figure 16 Browse to find your application program hex file H JS ON Click on the Flash Program to program the flash Important note If y
20. he application program is controlled by the same push button as the bootloader S2 See schematic layout for location of the button on the PCB Instead of powering up the board with the bootloader the board should be powered up with the application code The CC2400 is configured with default settings buffered mode and a data rate of 1 Mbps Use the S2 push button to start the application You will see that if you have no receiver up and running the red LED will start to toggle This means that you are not receiving acknowledge form the receiver and thus have no link Data packet description The data packet consists of a preamble synchronization word length byte flag byte and a data field The length byte flag byte and a fixed 10 byte payload are inserted by the application The preamble synchronization word and CRC is generated and inserted in the package by CC2400 The data packet is shown in the figure 18 det d dd dd venom raas raxo lo 7777 inserted oy coza Figure 18 The data packet used in the rfBlinkLed example Data transmission protocol The data transmission protocol is very simple only using packet acknowledgement ACK When the receiver receives a data package the packet type is checked for CRC If the message is OK it is shown on the green receiver LED and an acknowledgement is sent as a reply However if an acknowledgement packet that is received by the transceiver originally transmitting receiv
21. ine the hardware registers interrupt vector mapping and other hardware constants They also include useful macros for the CC2400DB and all definitions generally support the C language The following files are included as hardware definition files e atmega h e CC2400 h e devboard h e Utility h Hardware Library Files HLF To support quick and easy program development Chipcon provides a library of macros and functions that simplify hardware access to the CC2400 and the processor on the CC2400DB The files implement a hardware abstraction interface for the user program As a result the user program can access the e g microcontroller peripherals via function macro calls without specific knowledge about the hardware details The following files are included as hardware library files e atmega c e CC2400 c vi TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 27 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments e Utility c Configure output profile The CC2400 Development Environment build process generates an executable file according to the settings specified in the make file provided with the application examples and by using the macros configured in the text editor To support the processor target the output file must be in the correct format With CC2400DB an RF link example is provided in the application code section of the processor flash The example is called rfBlinkLed T
22. lator U6 1 8V low drop out XC6204B182MR regulator Bill of materials CC2400DB RS 232 section Reference Description Value Part C501 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C502 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C503 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C504 Capacitor 0603 33 nF 10 C_33N_0603_X7R_K_25 C505 Capacitor Low 470 uF C_470U_8 CVAX Impedance C506 Capacitor 1206 2 2 uF 10 C_2U2_1206_X7R_K_10 C507 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K 50 U101 RS 232 Transceiver MAX3243CWIl 3 5V d EXAS INSTRUMENTS Table 4 Bill of materials CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 21 of 30 E Chipcon Products from Texas Instruments Using the CC2400DB Demonstration Board The CC2400DB Demonstration Board is designed to be useful 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 AVRISP programmer or using the serial port to communicate with the boot loader that is programmed into the MCU when the CC2400DB is shipped from the factory If the boot loader is overwritten when using an external programmer the AVR must be re programmed with the boot loader before it is possible to program the AVR via the serial port again When shipped from the factory the CC2400DB contains the boot loader and a simple e
23. nnnnnnnnonononenon 28 TROUBLESHOOTING wwa aa SEENEN cecscece rancia Kwa aa awa 29 IT DOES NOT WORK irinae a Aa 29 CANNOT PROGRAM THE AVR USING THE SERIAL PORT 29 REFERENCES encino R aaa aia ii iaa 29 Ji TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 2 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Introduction The CC2400 single chip RF transceiver provides a highly integrated flexible low cost solution for applications using the world wide unlicensed 2 4 GHz frequency band The CC2400DBK 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 CC2400DBK Demonstration Board Kit includes two CC2400DB Demonstration Boards These boards contain a CC2400 with necessary support components an Atmel mega8 AVR microcontroller a PCB antenna as well as a joystick buttons and LEDs 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 CC2400DBK 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 CC2400DBK Dem
24. oducts from Texas Instruments RS 232 interface A serial port is included on the CC2400DB This port is used when software is programmed into the AVR MCU using the boot loader and is also used by several of the example programs The port includes support for RTS CTS type hardware flow control handshaking Important It is important to be aware that maximum data rate for the Atmega8 RS 232 interface on CC2400DB is 38 4 Kbps due to the use of the internal RC oscillator Please see the Atmega8 datasheet for a baud rate error overview with the respect to a selected oscillator frequency Microcontroller and user interface The microcontroller used is an AVR Atmega8L from Atmel This controller has 8 KB of Flash program memory 1 KB of SRAM data memory and 512 bytes of non volatile EEPROM data memory The controller runs on its internal oscillator and is interfaced to the CC2400 via its built in SPI interface as well as some general I O pins The MCU is also connected to three LEDs a joystick and an extra button for user interface purposes The different examples use these peripherals differently An analog temperature sensor is also included An ISP connector is provided for programming the AVR without using the serial port In this case an Atmel AVR programmer should be connected to this connector 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 p
25. onstration Board Kit should contain the following items Kit contents Item Number of articles Demonstration Board CC2400DB 2 Quick Start instructions 1 CC2400 sample kit 1 RS 232 cables 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 2400 2483 5 MHz ISM band The CC2400 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 ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 3 of 30 INSTRUMENTS E Chipesn Products from Texas Instruments PCB Figure 1 depicts an overview of the CC2400DB with description of the various components embedded on the PCB RS 232 port S MCL emp Joystick section PCB antenna CC2400 RF section 1 8V voltage regulator A 4 N 3 e sA A gt iii e e d 3 3V voltage gt K i regulator Optional 9V battery Figure 1 CC2400DB overview RF Section The CC2400DB RF section includes all the necessary components for correct operation The CC2400 is connected to a 16 MHz crystal A small 2 4 GHz PCB antenna is also included RF test and measurement equipment can be mounted the PCB by the use of an SMA connector by swapping capacitor placement of C63 and C62 See schem
26. ou should program the EEPROM please contact Chipcon Technical Support 8 Disconnect serial port 9 Reset CC2400DB 10 Start your application program A RStudio File Project View Tools Debug Help MARA ES A gt PING PAPO ORS YA x EGY bem wee Se AVR Prog ICESO Upgrade ICESO Selftest Plugin Manager Customize Options Show Key assignments STKSOO AVRISP ITAG ICE Figure 15 Starting AVR Prog in AVR Studio d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 25 of 30 INSTRUMENTS e Chipcon Products from Texas Instruments AYRStudio la x File Project View Tools Debug Help DOOR COREA ahn Ee EI ce disabled Jar EY ine workspace gt Bos IHN E gt HHP ae n e gt e auto AWRprog m Hex file eeprom hex Browse Exit r Flash oyw tos r EEPROM Program Verity Read m Device Loaded plugin 5TK500 J Tmegas BOOT d Advanced Mano x 44 gt Buil Messages Findin Files 7 Jal e CAP NUM SCRL Figure 16 AVRprog bootloader Window In the bootloader window the user can browse to the location of his application program and program the application code section of the flash with the new application After programming is successful reset the processor and the application code will
27. provide with the for GCC compiler More d TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 26 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments specifically the compiler converts one or more C source files into assembly code which together with any handwritten assembler files are fed to the assembler The assembler then produces object files machine code and binary data which in turn are fed into the linker together with the libraries and include files Finally the linker isolates functions and variables that are actually used and produces an executable file in Intel HEX format that can be downloaded into the FLASH memory of the Atmega8 microcontroller Setting up a software project for CC2400 Before the CC2400 Development Environment can generate any target software it needs a software project with consistent references to the actual target platform files is needed These references can be specified in the target project workspace of your text editor See figure 17 OZ UltraEdit 32 rfBlinkLed J File Edit Search view Dawe See t BlinkLed c Pier Refresh Project Files E B C Project Files 5 0 Example makefile El rfBlinkLed c Header El atmega h cc2400 h El devboard h include h El Utility h 2 0 Library El atmega c ec2400 c El Utility c Figure 17 Software project workspace Hardware Definition Files HDF The hardware definition files include files def
28. ress 0000 Ai TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 22 of 30 INSTRUMENTS e Chipcon Products from Texas Instruments AYRStudio laj x Ele Project View Tools Debug Help Ui cP M4 AMES rei BEBE 3 Trace disabled 7 a Ref EI D its we Se Se um Workspace MES BPE A ge AYRISP Program Fuses LockBits Advanced Board Auto I Reset Disabled Enable PC6 as i o pin RSTDISBL 0 IM Watch dog Timer always on WDTON 0 TF Serial program downloading SPI enabled SPIEN 0 bk Preserve EEPROM memory through the Chip Erase cycle EE SAVE 0 I Boot Flash section size 128 words Boot start address 0F80 BOOTSz I Boot Flash section size 256 words Boot start address 0F00 BOOTSz bk Boot Flash section size 512 words Boot start address 0E 00 BOOTS I Boot Flash section size 1024 words Boot start address 0C00 BOOTS Boot Reset vector Enabled default address 0000 BO0TRST 0 I Brown out detection level at VCC 4 0 V BODLEVEL 0 IV Brown out detection level at VCC 2 7 V BODLEVEL 1 T Brown out detection enabled BODEN 0 I CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 FP Ext Clock Start up time 6 CK 0 ms CKSEL 0000 SUT 00 FP Ext Clock Start up time 6 CK 4 ms CKSEL 0000 SUT 01 T Ext Clock Start up time 6 CK 64 ms CKSEL 0000 SUT 10 vi 4 D M Auto Verity J A
29. robes 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 AVR Pin AVR pin name Pin usage UO connector Number 1 PD3 INT1 CC2400 DIO DKT P4 pin 14 2 PD4 XCK TO Yellow LED P4 pin 7 7 nee Joystick up P3 pin 9 8 erte Joystick right P3 pin 7 9 PD5 T1 Joystick down P3 pin 6 10 PD6 AINO Joystick left P3 pin 3 11 PD7 AIN1 Joystick center push P3 pin 5 12 PBO ICP RS 232 handshaking RTS push P3 pin 13 button 13 PB1 OC1A RS 232 handshaking CTS Red LED P3 pin 17 14 PB2 SS OC1B CC2400 chip select P4 pin 13 15 PB3 MOSI OC2 CC2400 SI AVR ISP P4 pin 8 16 PB4 MISO CC2400 SO AVR ISP P4 pin 6 17 PB5 SCK CC2400 SCK AVR ISP P4 pin 4 19 ADC6 Not used P4 pin 11 22 ADC7 Temperature sensor P4 pin 9 23 PCO ADCO CC2400 GIO6 P4 pin 10 ve TEXAS CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 8 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments 24 PC1 ADC1 CC2400 GIO1 P4 pin 19 25 PC2 ADC2 CC2400 TX P4 pin 16 26 PC3 ADC3 CC2400 RX P4 pin 18 27 PC4 ADC4 SDA RS 232 on off P3 pin 11 28 PC5 ADC5 SCL Green LED P4 pin 5 29 PC6 RESET Reset button AVR ISP P4 pin 3 30 PDO RXD RS 232 receive data from PC P3 pin 15 31 PD1 TXD RS 232 transmit data to PC P3 pin 19 32 PD2 INTO CC2400 DCLK FIFO P4 pin 12
30. start Important If the AVRISP programmer is used to program examples the bootloader will be deleted if no protection mode is applied to this section of the processor flash The bootloader is modified source code from ATMEL AVR application note AVR109 Self programming and compiled with IAR Embedded Workbench Introduction to examples provided with CC2400DB The CC2400 Development Environment for the development of CC2400 software applications is a combination of three tools a text editor of choice e g UltraEdit 32 a compiler assembler linker and software platform provided by the processor manufacturer The CC2400 Development Environment is based on the WinAVR which is a software development tool The WinAVR pronounced whenever 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 and C This tool provides a framework for most of the features supported by the Atmega8 microcontroller used with the CC2400DB Demonstration Board The text editor of choice is primarily a tool for editing C source assembler and make files However it also provides syntax highlighting and other helpful functionality such as a GUI with possibility of project management and C function highlighting Since the compiler assembler linker is integrated into another tool the text editor must be configured with macros to support the make file
31. tion Board Kit User Manual rev 1 2 2004 01 28 Page 19 of 30 INSTRUMENTS E Chipcon Products from Texas Instruments Bill of materials CC2400DB RF Section Reference Description Value Part U1 Single chip CC2400 transceiver x1 Crystal ceramic X_16 000 10 10 10 16 Toyocom SMD 4x25mm TSX 10A 16M 16pF Note The crystal X1 mounted on the EM board is a 16 000 MHz crystal with 10 ppm initial tolerance 10 ppm drift over temperature and a temperature range of 10 C to 60 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 and SmartRF Studio for 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 CC2400DB MCU section Reference Description Value Part C201 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C202 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C203 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 C204 Capacitor 0603 33 nF 10 C_33N_0603_X7R_K_25 C205 Capacitor 0603 100 nF 10 C_100N_0603_X7R_K_50 D2 LED red SMD Red LED_CL150URCD D3 LED yellow SMD Yellow LED_CL150YCD D4 LED green SMD Green LED _CL150GCD L201
32. u du LE d tal 1 1 AP a AE E CC2400DBK Demonstration Board Kit User Manual rev 1 2 2004 01 28 Page 15 of 30 INSTRUMENTS da TEXAS Products ipcon from Texas Instruments Ch E S Laas aqvas g3nssr el vy EE AIH ON ma on HIs3 3215 ivi NMYHT 481043 14030J91N gqa rZII NT alyg SIvAQUday SY NOJdAIHI INYN_ANYN0I ISH ON i3va Log SZ7XTHAXTEQ9ATNEETI 1 HOSNAS dASL haga A a 4334Y anaje ana Sia STI gay ana 7 854424 EMO NBA Anos 0 z er EE A2 ana T AJA ang zn a019 s gel add z z US BEBA NAAI I PE raa KR Ugavi e BN I SL 1zaavi Zod aA F T ee Xe jeny Edd aaa A Kelt HOT 27002 E tvaS rddyv bod ITA 4 EK A 7 795 504W sad EL ae t 7 13534 99d aa LN HOL LSC HEI ZC AE Is 3 aax axel ald aga Pe KE uayjng 3058 ES RE a i Baxa aki id vido iad t sla ADS o 0314 5794 SI ALNG Zod B1J0 ss zea Y usa 1Ad OLT ULN Ed tZIO ISONI esd TS coro azar lS 181 30 de Ion red E zo ae UL sad IS sad t caga waza ATS STI NIV gad 1I50L 1 YX 98d H UNIY 40d 1ZISOL Z1W1XI 8d Y BYDI
33. xample that will transmit a packet when a button is pressed and blink a LED when a packet is received This example is ideal for range testing for instance CC2400 Software download and evaluation using AVR Studio 4 Use a serial cable connecting the serial interface of the CC2400DB to the serial port of a PC running AVR Studio and SmartRF Studio You can then use SmartRF Studio to find all the RF parameters for the CC2400 and AVR Studio 4 to control the CC2400DB development board oam Power Po ay supply PC running y AVRStudio Serial cable CC2400DB Serial cable AVRISP Programmer Figure 12 Software download using AVR Studio 4 The CC2400DB demonstration board can be used for application software development To download new application examples a PC must be communicating with CC2400DB running AVR Studio AVR Studio can be downloaded free of charge from the world wide web The configuration of the processor fuses is only performed through the SPI interface using the AVRISP programmer and AVR Studio 4 The AVRISP fuse window is depicted in figure 13 The CC2400DB is configured with the following fuses enabled 1 Boot Flash section size 512 words Boot start address 0E00 BOOTSZ 01 2 Brown out detection level at VCC 2 7 V 3 Internal RC oscillator at 8 MHz Start up time 6CK 0 ms 4 Preserve EEPROM memory through the Chip Erase Cycle 5 Boot vector enabled default add
Download Pdf Manuals
Related Search
Related Contents
ETA-SEQ6 Sequencer Controller Fujitsu MYRICA Series VQ40-3SU 40" LCD WXGA MANUEL DE REPARATION EPEE ELECTRIQUE JUIN 2009 HP Pavilion TouchSmart 10-e010nr StrucPLUS Manual Mode d`emploi pour le relevé des compteurs ZMF120 Intellinet 710091 racks Copyright © All rights reserved.
Failed to retrieve file