Home

User Manual CC2400DBK Demonstration Board Kit

image

Contents

1. 220v Power LL gy supply PC running 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 address 0000 wa TEXAS SWRUO48 Page 22 of 30 INSTRUMENTS C Chipcon Products from Texas Instruments AYRStudio J 215 xj Ele Project view Tools Debug Help Dengu lhes cA LEZE NE PW IAN GOST OH Ww Ee r axe x EDO v HW e eom Workspace e x AVRISP Program Fuses LockBits Advanced Board Auto I Reset Disabled Enable PCE as i o pin RSTDISBL 0 Watch dog Timer always on WDTON 0 T Serial
2. DGHOgossxesmsoco uxNega aas Hr PUGH POH we i EE EJ rece disabled WexerxB e Lm oe eom Workspace x Program Fuses LockBits Advanced Board Auto Device Erase Device m Programming mode ISP I Erase Device Before Programming Parallel High Voltage Serial Verify Device After Programming Flash Use Curent Simulator Emulator FLASH Memory Input HEX File G 02_Inteme_prosjekter 02500_interne_tekn Program Verify Read EEPROM Use Curent Simulator Emulator EEPROM Memory S Loaded plugin STK500 o amp E 4 gt N Bud Messages Findin Files 7 lal D E CAP NUM SCRL Figure 14 AVRISP Program Window used to program flash or EEPROM The device 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 dAn TEXAS SWRUO48 Page 24 of 30 INSTRUMENTS C 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
3. r Flash ves ome m EEPROM Program Verify Read p Device x zmesssoor a S Loaded plugin STKS00 ATmega8 BOOT E Advanced o h E gt N Build Messages FindinFies 7 RE SIS 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 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 platf
4. SLU ZETSH cEZ B5H 36 8154 d ic page 1 CC2400DB schemat Figure 7 Page 14 of 30 SWRU048 INSTRUMENTS 3 TEXAS Products ipcon from Texas Instruments Ch Page 15 of 30 ic page 2 CC2400DB schemat SWRUO48 Figure 8 SIZ 1aaus aas a3nssi Euh ON Sar ON wasi Eu DIT Jv NMYHT 1Hvd dH Bd uvzaa ama 31vq E1vAOHddV Sv HOA SEET SINWN ANVdAOS ON LIYHLNOI E q i n Buusjuy ggd Lg ao 8 5 1 BaN zove sdo I fe SEL S i amp IEN amp r Il Er VAN 7 EREECHEN imn um I Ef OH i 1X B face BET BAC DAE SNE 181 e D SO NS BEE de o s S AN zIs31v S vd Bnsd a lat A d a 115310 anaq EN auvna aNd esd eviae He usg E acras zava ngana Li z zu sisox 3358 H5 3 198 i s 0791380x OSC 98 Ei i 15e IS El JN zn zeasox 2 3 1 dN z r 84872 INe fn geasox sog sold a dE EE g Y ipe P ZOO SNS e e aua EEN ewe ee NT Se 2 ER z i i27 T z r ENL 1 HILIMSO KUKI S E A1 191 3 d o2 a QNS VAS i T ENE Sd DE BdN Z b Bdd 3 183 5 3sox qdAv DONDE dH2 adAv ES S N Lat aaay SANDER aav aday SNL Ziada SN ZdH dAv MS ddAv 817qqAT P x ee idu ddAv Tuva Ls d aua ddav aav Daag o m e
5. 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 03062 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 wa TEXAS SWRUO48 INSTRUMENTS Page 30 of 30
6. 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 dAn TEXAS SWRUO48 Page 4 of 30 INSTRUMENTS C Ee 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 m Gmm 26 19mm 9 19mm 1 22mm E 2 4mm E E E Ee d L 3 2 mu ES CN yt EE te Di DN P V N gt aoe 0 S 6 I2 1B8mm ED o l1 T 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 72 17 61 mm Height H 6 17 mm 0 97 mm 1 19 mm x 6 55 mm Quarter wavelength 2 4 L H 17 61 mm 6 55 mm 24 16 mm The physical size of the antenna is decreased somewhat compared to the theoretical length A c 4 f 3x10 4x2 45x10 30 61 mm Ais TEXAS SWRU048 Page 5 of 30
7. 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 wy TEXAS SWRUO48 Page 3 of 30 INSTRUMENTS C Chipcon Products from Texas Instruments PCB Figure 1 depicts an overview of the CC2400DB with description of the various components embedded on the PCB Joystick RS 232 port MCU section PCB antenna CC2400 RF section 1 8V voltage 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 schematics 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 10096 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
8. 1206 2 2 uF 1096 C 2U2 1206 X7R K 10 C507 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 U101 RS 232 Transceiver MAX3243CWI 3 5V Table 4 Bill of materials wa TEKAS SWRU048 Page 21 of 30 INSTRUMENTS cC Kate 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 example 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
9. 31 PD1 TXD 20 GND Ground Table 2 P3 pinout wy TEXAS SWRUO048 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 PD4 Yellow LED 2 PDA XCK TO SI CC2400 SPI in AVR 33 SI 15 PB3 MOSI OC2 ISP 9 ADC7 Temperature sensor 22 ADC7 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
10. 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 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 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 Wa Joystick up P3 pin 9 8 Aa oo 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
11. INSTRUMENTS cC ioe 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 Rei ap 16 12 03 2442 000 MHz 4 UB uv Ret Lev dBm Horisontal Polarization 0 degr Antenna CC2400DB Top view Figure 3 Radiated pattern horizontal mounting wy TEXAS SWRUO48 Page 6 of 30 INSTRUMENTS C Kate Products from Texas Instruments Figure 3 depicts the antenna pattern while the CC2400DB is mounted horizontally with the antennas parallel section aligned to the 0 degree direction Rei ap 18 12 03 P 2442 000 Mir 5 api am Ref Lev dim 0degr 4 Antenna CC2400DB Top view Figure 4 Radiated antenna pattern vertical mounting Figure 4 depicts the antenna pattern while the CC2
12. O2 dAV i Ki ki D d T muvnrgo3A E ETTAT E E m S 3 x D a x 2 d d x z arzaa 5 gt al al g E E in s 5 E a4 E E al 8 z a M al 8 S S 3 d 3 S Ee E 3 A S ES s 3 al 2 S Z 3 SAN 2 d at il ER s Il 8t S zs gs ad Sd amp d amp d me Te Su fel ES Bd id g 1 i ag i a AE lt lt INSTRUMENTS 3 TEXAS vo t o a5 or 310 c m d e SE SE zo oc ISIE 1asus ayas aanss Raa ON mT ON Wass EA E s NA VHC Aan 1 une Ain noe ma 31vd S1vAOHddYy Sv HOA ESSE SVN ANVdAOO ON 13VHIN 2 GZ X HX EBSU NEE 3 t YOSNAS dWdl duri 4S CT zH Jay NE e ana BITY lag ana ka ya mei MI T EES Lamy IN IJA ang yA zA gold a tagav aod d d c 3 8 X ER00 Nadr 3 IERT is 7 Ngayi dd Ca i aL s izaqv Zod RAA i See xg tena E24 aaa ME Na 33H04 2 l vas radvl edd aaa 3 as unxcensu Nau 2 17 ZS e 196 S0dvl Sod aT ar T wT 1aseaul gad 4 22 cur hs NOLLDE HsIId SS Is 5 Gx axa add dan gag TS SiH uoying jeeag a 8 c ps axe L XLI Idd IvIJOl tad T SE 0114 9794 STI mini zad 1910 55 zad usi keem ve 5 y t Lad 0Ia ILNI Edd ZJ0 180W EBd cusa Pi Eu 18 Los Q1 32Xl vld 1051
13. 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 wa TEKAS SWRU048 Page 8 of 30 INSTRUMENTS 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 PCA ADCA 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 Table 1 AVR I O pins wy TEXAS SWRUO48 Page 9 of 30 INSTRUMENTS cC 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
14. THE SERIAL PORT manana wmmazamia 29 IT Le e RIPM 29 wy TEXAS SWRUO48 Page 2 of 30 INSTRUMENTS cC Kate 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 Demonstration Board Kit should contain the following items Kit contents Item Number of articles Demonstration Board CC2400DB 2 Quick Start instructions 1 CC2400 sample kit
15. in the rfBlinkLed ekample 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 receival 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 gt LED wv o mulu ead NI DEVICE 2 TX RX LED ACK L K Figure 19 Data Transmission Protocol wa TEXAS SWRUO48 Page 28 of 30 INSTRUMENTS cC Kate 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 t
16. 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 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 oP oO om c o Browse to find your application program hex file 7 Click on the Flash Program to program the flash Important note If you should program the EEPROM please contact Chipcon Technical Support 8 Disconnect serial port 9 Reset CC2400DB 10 Start your application program A YRStudio PEL G gt OO EO de ow DGEgoj sero 1 MAS NEE iB _ o xB v imavve ICESO Selftest Plugin Manager Customize Options Show Key assignments STKSOO AVRISP ITAG ICE Figure 15 Starting AVR Prog in AVR Studio dAn TEXAS SWRUO48 Page 25 of 30 INSTRUMENTS C Chipcon Products from Texas Instruments AYRStudio l8j xl File Project View Tools Debug Help DSHS BES cAra AAAA LHP iB Wu amp OO Oro S Sew BoB g ifred Ax M efx EDS ER e am Workspace x AVRprog m Hex file leeprom hex Browse Exit
17. program downloading SPI enabled SPIEN 0 Iv Preserve EEPROM memory through the Chip Erase cycle EESAVE 0 IM Boot Flash section size 128 words Boot start address 0F80 BOOTS I Boot Flash section size 256 words Boot start address 0F 00 BOOTSz Iv Boot Flash section size 512 words Boot start address 0E 00 BOOTS T Boot Flash section size 1024 words Boot start address 0C00 BOOTS Iv Boot Reset vector Enabled default address 0000 BOOTRST 0 Brown out detection level at VCC 4 0 V BODLEVEL 0 Iv Brown out detection level at VCC 2 7 V BODLEVEL 1 Brown out detection enabled BODEN 0 T CKOPT fuse operation dependent of CKSEL fuses CKOPT 0 Ext Clock Start up time 6 CK 0 ms CKSEL 0000 SUT 00 T Ext Clock Start up time 6 CK 4 ms CKSEL 0000 SUT 01 IC Ext Clock Start up time 6 CK 64 ms CKSEL 0000 SUT 10 zl 4 Loaded plugin 5TK500 z H Kn mes el one Setting device parameters serial programming mode DE Entering programming mode D Reading fuses 0xD2C4 OK Leaving programming mode OK zi 4 gt X Build Messages FindinFiles 7 al in e 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 c
18. 0 rad t np zz i elen aas hu sad 1335 sad mu TAZE TA ani sad gsQl ivix BHd ST UNY zad ZISOL ZqWIx 29d DA KEELT en ta tad Laag wu lt 3 E a a IH a u Dev ew n i aa a a z S d PA KA exe MOLN T re 5a cs a a me ms 3 Bd EI SET E ES E dsl Cg NOLLNETHSNA B d e 4 B od aS zs El g E adr m a ca B and tang am g AN S BR E SS usnd pt c I sa en SE van 3ulN32 n 8 2 8 AEET 2 8 TIE dn M L L a Y sn aaa gege oe AE 3284 SI usnd a amp aJju823 uir q3jm s jeugriasurp p 1 ic page 3 CC2400DB schemat Figure 9 SWRU048 Page 16 of 30 TEXAS STRUMENTS i IN Products ipcon from Texas Instruments Ch lt lt Gl v aous 30v35 qanssi E vv q333383 Au ON SMa ON wasi 3215s 7I NA VHC HolvAnssH SIVLIGA Op ma 31vd S1vAOHddYy Sv NOUZdIHZJ INYN ANYO Irsza ON LIVHLNOD BOY ux gea znz 2a gard Gah 1 num ED 8 b B3 34 H X ElSU yai ara arzaa el AH L i SCT UL EBSO NEE I EBI i 1 i sino u CHEN sn PS amy axana znz dade Wr Ac HEX Be eno a zai E swa u 1 1 Da D r RYE MIN OL a AEE IB amp Zd1 ca Jo dauuo05 A4J81188H AG tes S d Ap NNOJ SAN A8 NNO03 d Bd NES RM gann an ri Ajddns samad Luisi x3 Figure 10 CC2400DB schematic page 4 SWRUO048 Page 17 o
19. 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 1096 C 100N 0402 X5R K 10 C61 Capacitor 0402 0 5 pF 0 25 pF C OP5 0402 NPO 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 5 pF 0 25 pF C OP5 0402 NPO C 50 C101 Capacitor 0402 10 nF 1096 C 10N 0402 X7R K 25 C161 Capacitor 0402 68 pF 596 C 68P 0402 NPO J 50 C251 Capacitor 0402 100 nF 1096 C 100N 0402 X5R K 10 C261 Capacitor 0402 100 nF 1096 C 100N 0402 X5R K 10 C411 Capacitor 0402 68 pF 596 C 68P 0402 NPO J 50 C421 Capacitor 0402 27 pF 596 C 27P 0402 NPO J 50 C431 Capacitor 0402 27 pF 596 C 27P 0402 NPO J 50 C481 Capacitor 0402 68 pF 596 C 68P 0402 NPO J 50 L61 Inductor 0402 7 5 nH 596 L 7N5 0402 J L62 Inductor 0402 5 6 nH 596 L 5N6 0402 J L71 Inductor 0402 27 nH 596 L 27N 0402 J L81 Inductor 0402 7 5 nH 596 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 wa TEKAS SWRUO048 Page 19 of 30 INSTRUMENTS cC Kal ze Products from Texas Instruments Bill of materials CC2400DB RF Section Heference Description Value Part U1 Single chip CC2400 transceiver X1 Crystal ceramic X 16 000 10 10 10 16 Toyocom SMD 4x2
20. 3 G R208 Resistor 0603 10 kO 196 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 wa TEXAS SWRU048 Page 20 of 30 INSTRUMENTS cC Kal ze 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 1096 C 2U2 1206 X7R K 10 C403 Capacitor 0603 33 nF 1096 C 33N 0603 X7R K 25 C404 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C405 Capacitor 1206 2 2 uF 1096 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 UA 3 3V low drop out LP29811M5 3 3 regulator U6 1 8V low drop out XC6204B182MR regulator Bill of materials CC2400DB RS 232 section Heference Description Value Part C501 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C502 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C503 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C504 Capacitor 0603 33 nF 1096 C 33N 0603 X7R K 25 C505 Capacitor Low 470 uF C 470U 8 CVAX Impedance C506 Capacitor
21. 400DB is mounted vertically with the antennas parallel section aligned to the O 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 wa TEXAS SWRUO48 Page 7 of 30 INSTRUMENTS cC Kal ze Products 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
22. 5mm 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 Heference Description Value Part C201 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C202 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C203 Capacitor 0603 100 nF 1096 C 100N 0603 X7R K 50 C204 Capacitor 0603 33 nF 1096 C 33N 0603 X7R K 25 C205 Capacitor 0603 100 nF 1096 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 EMI filter bead BLM18AG102SN1D P6 ISP connector PINROW_2X3 R201 Resistor 0603 00 1 H 0 0603 R202 Resistor 0603 0 O 196 R 0 0603 R203 Resistor 0603 0 O 196 R 0 0603 R204 Resistor 0603 270 Q 1 R 270 0603 J R205 Resistor 0603 270 Q 1 R 270 0603 J R206 Resistor 0603 270 Q 1 R 270 0603 J R207 Resistor 0603 10 kO 196 R 10K 060
23. Chipcon Products lz Texas Instruments User Manual Rev 1 2 CC2400DBK Demonstration Board Kit TEXAS SWRUO48 Page 1 of 30 INSTRUMENTS cC Kate Products from Texas Instruments Table of contents INTRODUCTION E 3 iol 4 RF SECTION ce 4 Qnem 4 POWER SUPPLY e CN 7 EE EE Aaa 8 MICROCONTROLLER AND USER INTERFACE mwanam wnanza waana zanaa 8 PGB LAV OU eR prc HE 11 USING THE CC2400DB DEMONSTRATION BOARD ccccccseeeeeeeeeeeeeeeeseeeeeeeeaeeeeasess 22 CC2400 SOFTWARE DOWNLOAD AND EVALUATION USING AVR Grupio 22 RC OSCILLATOR aon X 23 MICROCONTROLLER EEPROM MAPpING 23 IN SYSTEM PROGRAMMING anna wwa 24 BOOTLOADER cL TH 25 INTRODUCTION TO EXAMPLES PROVIDED WITH CC2400DB en 26 SETTING UP A SOFTWARE PROJECT FOR CC24A00 e eeeeeenennenne nennen nena 27 HARDWARE DEFINITION FILES HDF ccsssssscccessscccessssreceecsseseeceessensecesseessesessssseeesesnaes 27 HARDWARE LIBRARY FILES HUE 27 CONFIGURE OUTPUT PROFILE 2 22 2 22 5 nakama gege trene a eai da EEN pred a ned na NEEN 28 DATA PACKET DESCRIPTION nennen nennen nnn nsns nnn nnn manana mwnamme essen nnne 28 DATA TRANSMISSION PROTOCOL eene nnne nnne nn nnn nnn en ess sn i etn esses sene essa near nnne 28 TROUBLESHOO TING EE 29 iple ca one CMM 29 CANNOT PROGRAM THE AVR USING
24. Figure 6 CC2400DB PCB layout silkscreen i wa TEXAS SWRUO48 Page 13 of 30 INSTRUMENTS Products ipcon from Texas Instruments Ch E Schematic Si aas anas aanss Euh UN ama ON wasi s CREDE Jy NMYHT 13431 dOl OH IT ya aLyg STY OHddy Sv NOJdAIHI oza BWN ANYdADOO ON 13vH1NO3 usa td BIXZ MOHNId 5 cs Panig a Tar wt Es eo re ut S cy 2 Fe d DIN MOBNId 3138 as 15 s019 044 3704 L d XL XH jH MOT 3 zoa Buuejue ggd 9 paj2euuoa jued ju Ly dedu za Dk D QO H Z p73 10H H EH O ENa EE EN JAAT CEA O H Z amp 310H H IH aD D mu en 8 oa ko 4 m xoa usa u5 os ts sam 0314 2730 LAd Old XL xu 431104 LNOJOHIIN sad iad zad sad HO 33H04 Siu Dn sia Baki SL a 090074 iala Q D r PYE NIN 40 A EE IZ Wazi 45 A HI d ssGej a pejeusuag S3uNn YOLVINSSY 39Svl O Wd MWA TWIN NO 33H804 51H adxu sia axi S3avdHalNI I K Sz wr Ia Id DIEN 1 zEzsH GH zEzSH
25. 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 The 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 VPARP LTT WN ef foem a emo YAJA 7777 imsertea by ccz400 Figure 18 The data packet used
26. alibration 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 OxO1FF Calibration Value Calibration value is only for 8 MHz dAn TEXAS SWRUO48 Page 23 of 30 INSTRUMENTS C 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 zie xi A RStudio Dk Project View Tools Debug Help
27. f 30 INSTRUMENTS 3 TEXAS SIS aas ayas aanss Raa ON mT ON Wass A E NS NA VHC zEZ SH BdB vz22 ama 31vd S1vAOHddYy Sv HOA ES EH SVN ANVdAOO ON iyunga Products ipcon from Texas Instruments Ch 3 a mi sia g ESCH 5 9 siu a Joen NULL GP m Se 1narH NIZL Pet z INE NIEL e NoTaIH04 a 1noz4 1n EL u IN ES Inn inazua SLO ZEZSU ginozy indui re H zEzsH ZA CW AN NIGH LS 2305352403 NIPFH NO32H04 NIEH ER NIZH DIE EH ng Fig s og 1 ng NS HUH ai zezsu sey K 28 p gm IIA z scu bc eda RR EON S on a JA z3 OSH AX BSE ELCH i E9 ng S S E El Pa rea LS 1833 a id G p EFZEXVW j 2 E Es E E E ian 5 nd m p s n EE m D E E jwa DEER BECH E oe g Page 18 of 30 ic page 5 SWRUO048 Sat ien ZEZ5H OL CC2400DB schemat Figure 11 INSTRUMENTS 3 TEXAS e Mel ze Products from Texas Instruments Bill of materials Bill of materials CC2400DB Top level section Heference 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
28. he 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 avrfreaks net Home News article php NewsID 457 Or http www atmel com dyn products tools asp family id 607 WINAVR AVR GCC http Awww avrfreaks net AVRGCC index php Document History Revision Date Description Changes 08 01 2004 Initial release 28 01 2004 Cosmetic and bootloader section changes 13 02 2004 Minor BOM and layout change on CC2400DB kis TEXAS SWRUO48 Page 29 of 30 INSTRUMENTS cC Kate 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
29. orm 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 provide with the for GCC compiler More dAn TEXAS SWRUO48 Page 26 of 30 INSTRUMENTS C Kate 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 reference
30. s can be specified in the target project workspace of your text editor See figure 17 Ultrakdit 32 rfBlinkLed J File Edit Search view D SEHERE ifBlinkLed c Fite Refresh Project Files 7 Project Files CC Example E makefile rfBlinkLed c E C3 Header atmega h cc2400 h E devboard h include h E utility h SG Library atmega c cc2400 c Utility c Figure 17 Software project workspace Hardware Definition Files HDF The hardware definition files include files define 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 wa TEXAS SWRUO48 Page 27 of 30 INSTRUMENTS cC Kate Products from Texas Instruments e Utility c Configure output profile
31. 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 da TEXAS INSTRUMENTS SWRU048 Page 11 of 30 e Mel ze Products from Texas Instruments Layer 1 Layer 2 elec o Layer 3 Layer 4 Figure 5 CC2400DB PCB layout wa TEXAS SWRUO48 Page 12 of 30 INSTRUMENTS e Kate Products from Texas Instruments HI HS 1 3 fae EG Ghipesn AS uil E CHE 2 E Si PB ISP a e Bus u4 EE D2 D3 D4 uz Sg Ze ulot i si z RESET a Di P2 zi prc FMI FM2 H4 S H3 Top Assembly Bottom Assembly

Download Pdf Manuals

image

Related Search

Related Contents

Chapter 2  MAX-Ability 12-10 Armedica Changing Table User Manual Make    "取扱説明書"  8802174 OE Instructions - Mueller Dairy Farm Equipment  

Copyright © All rights reserved.
Failed to retrieve file