
114
42073A-MCU Wireless-02/13
ATmega2564/1284/644RFR2
TRAC_STATUS is valid 2us after the respective procedure is finished by TX_END or
RX_END IRQ). Details of the algorithm and a description of the status information are
given in the RX_AACK_ON and TX_ARET_ON sections of the data-sheet. Even though
the reset value for register bits TRAC_STATUS is 0, the RX_AACK and TX_ARET
procedures set the register bits to TRAC_STATUS = 7 (INVALID) when it is started. Not
all status values are used in both RX_AACK and TX_ARET transactions. In TX_ARET
the status SUCCESS_DATA_PENDING indicates a successful reception of an ACK
frame
with
frame
pending
bit
set
to
1.
In
RX_AACK
the
status
SUCCESS_WAIT_FOR_ACK indicates an ACK frame is about to sent in RX_AACK
slotted acknowledgment. Slotted acknowledgment operation must be enabled with the
SLOTTED_OPERATION bit of register XAH_CTRL_0. The application software must
set the SLPTR bit of register TRXPWR at the next back-off slot boundary in order to
initiate a transmission of the ACK frame. For details refer to IEEE 802.15.4-2006,
chapter 5.5.4.1. Values not listed in the following table are reserved.
Table 9-38 TRAC_STATUS Register Bits
Register Bits
Value
Description
TRAC_STATUS2:0
0
SUCCESS (RX_AACK, TX_ARET)
1
SUCCESS_DATA_PENDING (TX_ARET)
2
SUCCESS_WAIT_FOR_ACK (RX_AACK)
3
CHANNEL_ACCESS_FAILURE (TX_ARET)
5
NO_ACK (TX_ARET)
7
INVALID (RX_AACK, TX_ARET)
Bit 4:0 – TRX_CMD4:0 - State Control Command
A write access to register bits TRX_CMD initiates a state transition of the radio
transceiver towards the new state as defined by the write access. Do not try to initiate a
further
state
change
while
the
radio
transceiver
is
in
STATE_TRANSITION_IN_PROGRESS
state
(see
TRX_STATUS
register).
FORCE_PLL_ON
is
not
valid
for
the
SLEEP
state
as
well
as
during
STATE_TRANSITION_IN_PROGRESS towards the SLEEP state. Values not listed in
the following table are reserved and mapped to NOP.
Table 9-39 TRX_CMD Register Bits
Register Bits
Value
Description
TRX_CMD4:0
0x00
NOP
0x02
TX_START
0x03
FORCE_TRX_OFF
0x04
FORCE_PLL_ON
0x06
RX_ON
0x08
TRX_OFF
0x09
PLL_ON (TX_ON)
0x16
RX_AACK_ON
0x19
TX_ARET_ON