RL78/G1H CHAPTER 18 RF TRANSCEIVER
R01UH0575EJ0120 Rev. 1.20 Page 625 of 920
Dec 22, 2016
(58) Antenna diversity mode register (BBANTDIV)
This register is used to set the antenna diversity mode.
The antenna diversity enable bit is used to enable the antenna diversity mode. Enabling this bit switches the
GPIO1 pin and the GPIO2 pin to the ANTSELOUT0 pin and the ANTSELOUT1 pin.
Transmission antenna switch setting bit is used to fix antenna selection for transmission.
The ACK reply antenna switch setting disable bit is used to set the antenna selection upon ACK reply to the
antenna setting upon receive instead of the antenna switch setting bit value.
The ACK receive antenna switch setting disable bit is used to set the antenna selection upon ACK receive
to the antenna selection operation instead of the antenna switch setting bit value.
The number-of-antenna-selection-judge bit is used to set the number of judges for the antenna input power
value when the antenna diversity mode is enabled. Setting 3 to 5 is available (initial value is three times).
The ANTSELOUT pin status bit is used to indicate which ANTSELOUT pin is currently in the high level
output state.
The BBANTDIV register is set by the serial interface in 8-bit units.
Reset signal generation sets this register to 30H.
Figure 18 - 71 Antenna Diversity Mode Register (BBANTDIV) Format
Note Bits 7 is Read Only.
Address: 00B4H After reset: 30H R/W
Note
Symbol76543210
BBANTDIV
ANTST ANTCOUNT2 ANTCOUNT1 ANTCOUNT0
ANTACKRCVDIS ANTACKRTNDIS
ANTSWTRN
SET
ANTDIVEN
ANTST Pins ANTSELOUT0 and ANTSELOUT1 status bit
0 ANTSELOUT0 pin = High level
1 ANTSELOUT1 pin = High level
ANTCOUNT2 ANTCOUNT1 ANTCOUNT0
Number-of-antenna-selection-judge bit
0 1 1 Three times (Initial value)
100Four times
101Five times
Other than above Setting prohibited
ANTACKRCVDIS
ACK receive antenna switch setting disable bit
0 ANTSWSET bit enabled
1 ANTSWSET bit disabled
ANTACKRTNDIS
ACK reply antenna switch setting disable bit
0 ANTSWSET bit enabled
1 ANTSWSET bit disabled
ANTSWTRN
SET
Transmission antenna switch setting bit
0 ANTSELOUT0 pin = High level
1 ANTSELOUT1 pin = High level
ANTDIVEN Antenna diversity enable bit
0 Disable
1 Enable