Manual

RF22
Version: 0.1 Date: 12/23/2008
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: sales@hoperf.com http://www.hoperf.com
42
GPIO Configuration A
30MHz
supply voltage
Microcontroller
VDD
VSS
GP1
GP2
GP3
GP4
100n
C7
100p
C8
C1
C8
L1
L3 L2
C6
C3 C2
1u
1u
VDD_RF
SCLK
91
81
71
61
1
2
3
4
15
14
13
7
8
9
01
SDI
SDO
VDD_D
RXn
TX
RFp
GPIO_0
VR_DIG
nIRQ
XOUT
XIN
nSEL
5
VR_IF
6
ADC_REF
GND_D
02
SDN
11
12
C10
GP5
1u
C9
1u
L4
C4
C5
RF22
Sensor
TRSW
GPIO_1
GPIO_2
GPIO Configuration B
supply voltage
Microcontroller
VDD
VSS
GP1
GP2
GP3
GP4
100n
C7
100p
C8
C1
C8
L1
L3 L2
C6
C3 C2
1u
1u
VDD_RF
SCLK
91
81
71
61
1
2
3
4
15
14
13
7
8
9
01
SDI
SDO
VDD_D
RXn
TX
RFp
GPIO_0
VR_DIG
nIRQ
XOUT
XIN
nSEL
5
VR_IF
6
ADC_REF
GND_D
02
SDN
11
12
C10
GP5
1u
C9
1u
L4
C4
C5
RF22
Data CLK
Data Input/Output
Micrcontroller CLK
30MHz
GPIO_1
GPIO_2
8.9. Antenna-Diversity
To mitigate the problem of frequency-selective fading due to multi-path propagation, some transceiver systems use a
scheme known as Antenna Diversity. In this scheme, two antennas are used. Each time the transceiver enters RX
mode the receive signal strength from each antenna is evaluated. This evaluation process takes place during the
preamble portion of the packet. The antenna with the strongest received signal is then used for the remainder of that
RX packet. The same antenna will also be used for the next corresponding TX packet.
This chip fully supports Antenna Diversity with an integrated Antenna Diversity Control Algorithm. By setting
GPIOx[4:0]=10111 and 11000, the required signal needed to control an external SPDT RF switch (such as PIN diode
or GaAs switch) is made available on the GPIOx pins. The operation of these switches is programmable to allow for
different Antenna Diversity architectures and configurations. The antdiv[2:0] register is found in register 08h. The GPIO
pin is capable of sourcing up to 5 mA of current, so it may be used directly to forward-bias a PIN diode if desired.
When the arrival of the packet is unknown by the receiver the antenna diversity algorithm (antdiv[2:0] = 100 or 101) will
detect both packet arrival and selects the antenna with the strongest signal. The recommended preamble length to