
92
8266D-MCU Wireless-06/12
ATmega128RFA1
for transmission, the antenna must be set using the ANT_CTRL bits based on the value
read from the ANT_SEL bit. It is recommended to read bit ANT_SEL after the
TRX24_RX_START interrupt.
The autonomous search and selection allows the use of Antenna Diversity during
reception even if the application software currently does not control the radio
transceiver for instance in Extended Operating Mode.
An application software defined selection of a certain antenna can be done by disabling
the automatic Antenna Diversity algorithm (ANT_DIV_EN = 0) and selecting one
antenna using register bit ANT_CTRL.
If the radio transceiver is not in a receive or transmit state, it is recommended to disable
register bit ANT_EXT_SW_EN and to set the port pins DIG1 and DIG2 to output low via
the I/O port control register (DDG1 = 1, PORTG1 = 0, DDF2 = 1, PORTF2 = 0). In this
way the power consumption of the external RF switch is reduced and leakage currents
are avoided especially during sleep modes.
9.8.3.3 Antenna Diversity with Extended Operation Modes
A combination of Extended Operation Mode and antenna diversity is allowed.
While the radio transceiver is in RX_AACK_ON state, it switches to an antenna with a
reliable signal. The receive antenna selection is also used for transmission of an
automatic acknowledge frame.
While the radio transceiver is in TX_ARET state, the selected antenna is automatically
changed for every frame transmission retry.
9.8.3.4 Antenna Diversity Sensitivity Control
The detection threshold of the receiver has to be adjusted due to a different receive
algorithm used by the Antenna Diversity algorithm. It is recommended to set bits
PDT_THRES of register RX_CTRL to 3.
9.8.4 RX/TX Indicator
The main features are:
RX/TX Indicator to control an external RF Front-End;
Application software independent RF Front-End Control;
Provide TX Timing Information;
9.8.4.1 Overview
While IEEE 802.15.4 is a low-cost, low-power standard, solutions supporting higher
transmit output power are occasionally desirable. A differential control pin pair can
indicate that the radio transceiver is currently in transmit mode to simplify the control of
an optional external RF front-end.
The control of an external RF front-end is done via the digital control pins DIG3/DIG4.
The function of this pin pair is enabled with bit PA_EXT_EN of register TRX_CTRL_1.
Pin DIG3 is set to low level and DIG4 to high level while the transmitter is turned off.
The two pins change the polarity when the radio transceiver starts transmitting. This
differential pin pair can be used to control PA, LNA and RF switches. See also
If the radio transceiver is not in a receive or transmit state, it is recommended to disable
register bit PA_EXT_EN and to set the port pins DIG3 and DIG4 to output low via the