background image

 

                                 

                SWRU068 

11

However, if it is an acknowledgement packet that is received, the message is only shown 
on the LED without any reply.  
 

3.5

 

Data reception 

The data reception algorithm is as follows: 
1.

 

Enter RX precharge mode, wait 

2.

 

Enter RX mode 

3.

 

The receiver shall receive synchronisation pattern (pre-amble) for some periods 
before it is allowed to detect SOF 

4.

 

Wait for SOF 

5.

 

Receive and 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 on the preamble, and thereafter continues to 
synchronise itself by detecting edges. 
 
For more information on oversampling, see application note AN008 : Oversampling and 
data decision. 
 
 

Содержание CC400DB

Страница 1: ...SWRU068 User Manual CC400DB Demonstration Board Rev 2 0 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 16: ...SWRU068 16 4 3 Layout sketches ...

Страница 17: ...SWRU068 17 4 4 Circuit diagram ...

Страница 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...

Страница 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 ...

Отзывы: