
AND9902/D
www.onsemi.com
10
ANTRSSI3 Command
Table 15. ANTRSSI3 COMMAND
The ANTRSSI3 command will be generated by the
receiver when it is idle if bit ST ANT RSSI is set in register
PKTSTOREFLAGS. If DIVENA is not set in register
DIVERSITY, the ANTRSSI2 command is generated
instead. The encoding of the ANT0RSSI and ANT1RSSI
fields are the same as that of the RSSI register.
The BGNDNOISE field contains an estimate of the
background noise.
DATA Command
The DATA command transports actual transmit and
receive data. While the basic format is the same for transmit
and receive, the semantics of the flag byte differs.
Table 16. TRANSMIT DATA FORMAT
LENGTH includes the flags byte as well as all DATA
bytes.
Setting RAW to one causes the DATA to bypass the
framing mode, but still pass through the encoder.
Setting UNENC to one causes the DATA to bypass the
framing mode, as well as the encoder, except for inversion.
UNENC has priority over RAW.
Setting NOCRC suppresses the generation of the CRC
bytes.
Setting RESIDUE allows the transmission of a number of
data bits that is not a multiple of eight. All but the last data
byte are transmitted as if RESIDUE was not set. The last
byte however contains only 7 bits or less. The transmitter
looks for the highest bit set. This is considered the stop bit.
Only bits below the stop bit are transmitted. If the
MSBFIRST in register PKTADDRCFG is set, the algorithm
is reversed, i.e. the lowest bit set is considered the stop bit
and bits above the stop bit are transmitted.
PKTSTART and PKTEND bits enable the transmission of
packets that are larger than the FIFO size. If PKTSTART is
set, the radio packet starts at the beginning of the DATA
command payload. If PKTEND is set, the radio packet ends
at the end of the DATA command payload. If PKTSTART is
not set, this command is the continuation of a previous
DATA command. If PKTEND is not set, the packet is
continued with the next DATA command.
Setting DIBITSYNC causes the DATA bytes to be aligned
to DiBit boundaries in 4−FSK mode.
For example, to transmit 20 bits of an alternating 0−1
pattern as a preamble, the following bytes should be written
to the FIFO (MSBFIRST = 0 in register PKTADDRCFG is
assumed):
Flag Byte: Unencoded, to ensure 0−1 remains 0−1, and Residue set, because the number of bits
transmitted is not a multiple of 8
Alternating 0−1 bits; Bit 4 is the “Stop” bit
Table 18. RECEIVE DATA FORMAT