background image

 

                                 

                SWRU068 

14

be avoided, a magnet loop antenna could be used. The loop is less sensitive to nearby 
objects, but suffers of very low efficiency due to very low radiation resistance. The stub 
antenna implemented at the Demonstrator PCB showed better efficiency than a loop of 
similar size, even when operated hand-held. 
  
 
  

4.2

 

 Controller section 

The controller section consists of an Atmel AVR ATtiny12L micro-controller with a few 
external components.  

4.2.1

 

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 1.2 
MHz, varying less than +/- 5% over the application temperature and supply voltage 
range. A calibration feature utilising a calibration word programmed into the micro-
controller at the factory ensures that the oscillator frequency is equal from unit to unit. 
 

4.2.2

 

Micro-controller I/O 

As the controller is packed in an 8-pin package, it has room for only 5 external I/O lines. 
These are combined serving several functions in different operating modes.  
 
The micro-controller has only one interrupt input, PB1/INT0. This input is shared 
between the “ON” button and the DIO signal to CC400.  In sleep mode the controller 
will be awaked by an interrupt when this line is forced low by the push button. In 
receive mode the interrupt is used for data decoding. During transmit the pin is 
configured as an output. 
 
The table below shows the function of all I/O pins in the various modes. 

 

Signal/pin Program 

loading 

Demonstrator  

Comment 

PB0, pin 5 

MOSI 

LED 

 

PB1/INT0,
pin 6 

MISO DIO 

“ON” in sleep mode 

Interrupt input 

PB2, pin 7 

SCK 

CLOCK  
“TX”  

 

PB3, pin 2 

 

STROBE 

 

PB4, pin 3 

 

PDATA 

 

 
 

4.2.3

 

In-system-programming 

Using the ATMEL AVR STK500 development board, ATAVRISP in-circuit 
programmer or similar devices, the micro-controller can be reprogrammed while in the 
circuit. Both the program code memory (flash) and the EEPROM can be reprogrammed. 

Summary of Contents for CC400DB

Page 1: ...SWRU068 User Manual CC400DB Demonstration Board Rev 2 0 ...

Page 2: ...RANSMISSION PROTOCOL 10 3 5 DATA RECEPTION 11 3 6 DATA DECODER ALGORITHM 11 4 DEMONSTRATION BOARD HARDWARE DESCRIPTION 12 4 1 RF SECTION 12 4 1 1 PLL loop filter 12 4 1 2 IF filter 12 4 1 3 The modulation input output 12 4 1 4 LNA PA matching 13 4 1 5 Voltage Controlled Oscillator VCO 13 4 1 6 Crystal oscillator 13 4 1 7 Antenna 13 4 2 CONTROLLER SECTION 14 4 2 1 RC oscillator 14 4 2 2 Micro contr...

Page 3: ... LED The same message is returned from the receiver to the initial transmitter and shown on its LED as an acknowledge The modules will enter sleep mode after being left without operation for one minute Technical features 0dBm RF power Up to150 meter range depending on antenna orientation Small integrated shorted stub antenna 1uA power down current in sleep mode 3 6V Lithium battery supply 1000mAh ...

Page 4: ... be pulsing with a period of approximately one second If not remove the battery momentarily and reconnect The battery terminals should be soldered for proper operation Important Be sure not to short circuit the battery terminals during soldering or at any point of use Before using the CC400DB The use of radio transceivers is regulated by international and national rules Before transmitting a RF si...

Page 5: ...ntercepts with the polled receiver The data packet transmitted consists of a blinking sequence of approximately 2 seconds duration and will be shown on the receiver s LED if the data packet was received free of errors The same message with an acknowledgement flag is then returned from the receiver to the initial transmitter Again the blinking sequence will be shown on the LED as a receipt acknowle...

Page 6: ...nfiguration register data Based on the system parameters referred above the following configuration data is generated This is a printout from the SmartRF Studio software RX mode Frame Addr Data hex A 002A B 330B C 4041 D 7EE1 E 8A00 F BA02 G CB6C H E040 TX mode FrameAddr Data hex A 082A B 330B C 4041 D 7F9A E 8A29 F BA02 G CB6C H E040 PD osc on mode FrameAddr Data hex A 182A B 330B C 4041 D 7EE1 E...

Page 7: ...te word consisting of 3 address bits as MSBs and the 13 data bits as LSBs The combined value is shown in these listings 2 5 Micro controller EEPROM mapping The CC400 configuration data are stored in the micro controller EEPROM The following map shows the data location To customise the module for a different frequency or power level the EEPROM data can be replaced by new values found using the Smar...

Page 8: ... Volt replace battery Only replace with a battery of the same type If battery voltage is OK reset the micro controller see below Receiver does not receive packet from closely located transmitter Use a Spectrum Analyser at 433 92 MHz to check the module during transmission Connect the analyser to the external antenna connector foot print and measure the output power and frequency using the max hold...

Page 9: ...t to RX mode and the micro controller starts searching for a preamble The micro controller reads two data bits if these are not Manchester coded 1 s the CC400 is set to power down mode again The LED is lit during the pre amble search and will appear as a heartbeat signal In polling mode the TX button input PB2 is also monitored If this line is pulled low by the push button the micro controller wil...

Page 10: ...ket is implemented The data packet is shown in the figure below The figure below shows the symbol coding and an example of a packet with the pre amble and SOF timing 3 4 Data transmission protocol The data transmission protocol is very simple using only packet acknowledgement When a data package is received without errors the packet type is checked If it is an original message it is shown on the L...

Page 11: ...nd decode data 6 Display data on LED 3 6 Data decoder algorithm The decoder algorithm implemented is based on oversampling Each bit is sampled 8 times and the data decision is based on a majority vote The use of oversampling makes the data decision more immune to noise and duty cycle variations than a data decision algorithm based entirely on detecting edges The oversampling algorithm synchronises...

Page 12: ... and the data rate the speed we jump between these two frequencies 4 1 2 IF filter The Demonstration Board use the internal 200kHz IF filter The 200kHz IF filter has a larger bandwidth than the 60 kHz IF filter and therefor allows us to use a less accurate and hence less expensive crystal The sensitivity is slightly less than for the 60 kHz IF but is considered adequate in this application 4 1 3 T...

Page 13: ...ired a higher accuracy crystal should be used The loading capacitors C151 and C161 together with the input capacitance and paracitics makes up the total 12pF load capacitance the crystal is designed for 4 1 7 Antenna This antenna is an example of a PCB integrated antenna Several antenna configurations were evaluated and the short stub was found to be the best solution for this application As the s...

Page 14: ...ual from unit to unit 4 2 2 Micro controller I O As the controller is packed in an 8 pin package it has room for only 5 external I O lines These are combined serving several functions in different operating modes The micro controller has only one interrupt input PB1 INT0 This input is shared between the ON button and the DIO signal to CC400 In sleep mode the controller will be awaked by an interru...

Page 15: ...t The programming interface uses 4 signal lines These four lines can be accessed at both the 10 pin connector footprint at the rear of the board and at the edge contact Pin out is listed in the table below Signal pin AVR programming socket pin Edge connector pin MOSI 1 4 MISO 9 5 SCK 7 3 RESET 5 6 GROUND 4 6 8 10 1 2 ...

Page 16: ...SWRU068 16 4 3 Layout sketches ...

Page 17: ...SWRU068 17 4 4 Circuit diagram ...

Page 18: ..._K_50 C123 Capacitor 0603 330pF C_330P_0603_NP0_J_50 C151 Capacitor 0603 15pF C_15P_0603_NP0_G_50 C161 Capacitor 0603 15pF C_15P_0603_NP0_G_50 C210 Capacitor 0603 1nF C_1N0_0603_X7R_K_50 C211 Capacitor 0603 33nF C_33N_0603_X7R_K_25 D1 LED Red CL150 Citizen D2 Varactor diode KV1832C Toko L7 Inductor 0805 18nH L_18N_0805_J L8 Inductor 0805 56nH L_56N_0805_J L51 Inductor 0805 39nH L_39N_0805_J L52 In...

Page 19: ...nd a better antenna The Demonstrator Board can also be used as a prototype module when developing your own applications You may Reprogram the EEPROM configuration data for your own system parameters SmartRF Studio generates the configuration data values See section 2 5 for EEPROM memory map Rewrite the micro controller code to use the edge connector to interface your host system Insert a standard ...

Reviews: