User manual

Element
length
MAC header
and payload
MAC footer
(FCS)
RSSI Status Time stamp
0±2 bytes 0±125 bytes 0 or 2 bytes 0 or 1 byte 0 or 1 byte 0 or 4 bytes
PHY
header
0 or 1 byte
Source
index
0 or 1 byte
IEEE 802.15.4
www.ti.com
Figure 23-6. RX Queue Entry Element (Stapled Fields are Optional)
23.5.3.2 Transmit Buffers
In the transmit operation, a pointer to a buffer containing the payload is given by pPayload. The length of
this buffer is given separately by payloadLen. The contents of the transmit buffer is given by the TXOpt
parameter. The transmit buffer always contains the MAC header and MAC payload. If
TXOpt.bIncludePhyHdr is 1, the buffer also includes the byte to be transmitted as a PHY header as the
first byte in the buffer. If TXOpt.bIncludeCrc is 1, the two last bytes of the buffer are transmitted as a CRC
instead of the CRC being calculated automatically.
23.5.4 Radio Operation Commands
Before running any radio operation command described in this document, the radio must be set up in
IEEE 802.15.4 mode using the command CMD_RADIO_SETUP. Otherwise, the operation will end with an
error.
In IEEE 802.15.4 mode, the radio CPU accepts two levels of radio operation commands. Operations can
run in the background level or in the foreground level. Each operation can only run in one of these levels.
Operations in the foreground level normally require a background-level operation running at the same
time.
The background-level operations are the receive and energy detect scan operations. Only one of these
can run at a time. The foreground-level operations are the CSMA-CA operation, the receive ACK
operation, the transmit operation, the abort background level operation, and the modify radio setup
operation. These can be entered as one command or a command chain, even if a background-level
operation is running. The CSMA-CA and receive ACK operations will run simultaneously with the
background-level operation. The transmit operation will cause the background level operation to be
suspended until the transmission is done. The allowed combinations of background and foreground-level
operations are shown in Table 23-76. Violation of this causes an error when the foreground-level
command is about to start, signaled by the ERROR_WRONG_BG status in the status field of the
foreground-level command structure.
Table 23-76. Allowed Combinations of Foreground and Background Level Operations
Background Level Operation
Foreground Level Operation
None CMD_IEEE_RX CMD_IEEE_ED_SCAN
None Allowed Allowed Allowed
CMD_IEEE_TX Allowed1 Allowed Allowed
CMD_IEEE_CSMA Forbidden Allowed Allowed
CMD_IEEE_RX_ACK Forbidden Allowed Forbidden
CMD_IEEE_ABORT_BG Allowed2 Allowed Allowed
CMD_IEEE_SETUP Allowed Allowed Allowed
CMD_FG_NOP Allowed Allowed Allowed
CMD_FG_COUNT Allowed Allowed Allowed
CMD_FG_SCH_IMM Allowed Allowed Allowed
CMD_FG_COUNT_BRANCH Allowed Allowed Allowed
CMD_FG_PATTERN_CHECK Allowed Allowed Allowed
1502
Radio SWCU117AFebruary 2015Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated