Texas Instruments Chipcon CC2400DBK User Manual Download Page 8

 

 

 

  

          

SWRU048   

Page 8 of 30  

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 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 
Number 

AVR pin name 

Pin usage 

I/O connector 

PD3/INT1 

CC2400 DIO/DKT 

P4 pin 14 

PD4/XCK/T0 

Yellow LED 

P4 pin 7 

7 PB6/XTAL1/TOSC

Joystick up 

P3 pin 9 

8 PB7/XTAL2/TOSC

Joystick right 

P3 pin 7 

PD5/T1 

Joystick down 

P3 pin 6 

10 

PD6/AIN0 

Joystick left 

P3 pin 3 

11 

PD7/AIN1 

Joystick center push 

P3 pin 5 

12 

PB0/ICP 

RS-232 handshaking RTS, push 
button 

P3 pin 13 

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 

PC0/ADC0 

CC2400 GIO6 

P4 pin 10 

Summary of Contents for Chipcon CC2400DBK

Page 1: ...SWRU048 Page 1 of 30 User Manual Rev 1 2 CC2400DBK Demonstration Board Kit...

Page 2: ...USING AVR STUDIO 4 22 RC OSCILLATOR 23 MICROCONTROLLER EEPROM MAPPING 23 IN SYSTEM PROGRAMMING 24 BOOTLOADER 25 INTRODUCTION TO EXAMPLES PROVIDED WITH CC2400DB 26 SETTING UP A SOFTWARE PROJECT FOR CC2...

Page 3: ...ard 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 asso...

Page 4: ...nstration board output power must be reduced for a 100 transmission duty cycle to be compliant with the FCC 15 2 nd harmonics regulation requirement At the moment the design is 1 dB above the limit An...

Page 5: ...tenna 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 17 6...

Page 6: ...ication 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...

Page 7: ...ection 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 dio...

Page 8: ...erent 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...

Page 9: ...3 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 PD0 RXD RS 232 receive data from PC P3 pin 15 31 PD1 TXD...

Page 10: ...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 push bu...

Page 11: ...D 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 Demo...

Page 12: ...SWRU048 Page 12 of 30 Layer 1 Layer 2 Layer 3 Layer 4 Figure 5 CC2400DB PCB layout...

Page 13: ...SWRU048 Page 13 of 30 Top Assembly Bottom Assembly Figure 6 CC2400DB PCB layout silkscreen...

Page 14: ...SWRU048 Page 14 of 30 Schematic Figure 7 CC2400DB schematic page 1...

Page 15: ...SWRU048 Page 15 of 30 Figure 8 CC2400DB schematic page 2...

Page 16: ...SWRU048 Page 16 of 30 Figure 9 CC2400DB schematic page 3...

Page 17: ...SWRU048 Page 17 of 30 Figure 10 CC2400DB schematic page 4...

Page 18: ...SWRU048 Page 18 of 30 Figure 11 CC2400DB schematic page 5...

Page 19: ...P6_0402_NP0_C_50 C71 Capacitor 0402 100 nF 10 C_100N_0402_X5R_K_10 C81 Capacitor 0402 0 5 pF 0 25 pF C_0P5_0402_NP0_C_50 C101 Capacitor 0402 10 nF 10 C_10N_0402_X7R_K_25 C161 Capacitor 0402 68 pF 5 C_...

Page 20: ...60 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...

Page 21: ...key diode 2A 20BQ030 P7 9V battery connector positive CONN_9V_POS P8 9V battery connector negative CONN_9V_NEG U4 3 3V low drop out regulator LP2981IM5 3 3 U6 1 8V low drop out regulator XC6204B182MR...

Page 22: ...rial 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...

Page 23: ...icrocontroller 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 so...

Page 24: ...can be reprogrammed 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...

Page 25: ...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 2 Connect power to CC2400DB 3 Start AVR...

Page 26: ...t 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 softwa...

Page 27: ...ecified in the target project workspace of your text editor See figure 17 Figure 17 Software project workspace Hardware Definition Files HDF The hardware definition files include files define the hard...

Page 28: ...nization 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 in...

Page 29: ...r 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...

Page 30: ...es chipcon com Chipcon Inc Eastern US Sales Office 35 Pinehurst Avenue Nashua New Hampshire 03062 USA Tel 1 603 888 1326 Fax 1 603 888 4239 Email eastUSsales chipcon com Sales Office Germany Chipcon A...

Page 31: ...401 Building No 5 JiuGe Business Center Lane 2301 Yishan Rd Minhang District Shanghai China Sales Direct 86 21 6401 6692 Email amall ameya360 com QQ 800077892 Skype ameyasales1 ameyasales2 Customer Se...

Reviews: