Air Interface Packet Format For Auto Mode; Bits Of 9-Bit Header; Bits Of 10-Bit Header - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

Packet Format
Preamble
1–16 bytes
Handled by modem
When using a 9 bit header, the payload length is limited to the range 0-63 bytes. Note that the LLE must be reset
when the device enters PM2 or PM3. This means that the PRFX registers must be re-initialized after the LLE has
been re-enabled after coming up from one of these power modes.
The preamble is a sequence of 1010 1010 or 0101 0101. It can be from 1 to 16 bytes. The type of
preamble and the number of bytes can be set up in the MDMCTRL2 register.
The sync-word field is a synchronization word that can have any length from 16 to 32 bits. The length is
programmed in the SW_CONF.SW_LEN register. The sync word itself is programmed in the SW0, SW1, SW2,
and SW3 registers for the primary sync word, and SW4, SW5, SW6, and SW7 for the secondary sync word.
The bit ordering of the sync word is set up with MDMCTRL2.SW_BIT_ORDER. If SW_BIT_ORDER is 0, the
LSB of SW0 (SW4) is transmitted first and the MSB of SW3 (SW7) is transmitted last. If SW_BIT_ORDER
is 1, the MSB of SW3 (SW7) is transmitted first and the LSB of SW0 (SW4) is transmitted last. The first bit
transmitted is always the same regardless of the sync word length; the unused bits for sync word length of
less than 32 bits are the ones that would have been transmitted last.
The optional length byte in basic mode (see
indicates the number of address and payload bytes following the length byte. If the length field is not
present, the length is fixed as described in
The optional address is 1 byte if present; the length is configured with the PRF_PKT_CONF.ADDR_LEN
register. In the transmitter, the address can be used for identification or to direct the message to a
particular receiver, and in the receiver, the address can be used to filter out messages from unknown or
unwanted transmitters and to distinguish between messages from different transmitters. See
Section 25.9.2
for details on how the address is used. Note that for the packet format in
length field is not used, the address field immediately follows the sync word, and can thus be seen as an
extension of it.
The 9-bit or 10-bit header shown in
This field consists of a 6-bit or 7-bit length followed by a 2-bit sequence number and a flag called
NO_ACK (NOA in
expected. If the configuration is to use a fixed length, the value of the length field is ignored in the
receiver. It can be configured always to set the length field to 11 0011 in the transmitter for fixed-length
packets.
Bit 9
The payload can be from zero to 255 bytes in basic mode, but the sum of the number of address and
payload bytes must not exceed 255. In auto mode, the payload can be from 0 to 63 bytes with a 9-bit
header or 0 to 127 bytes with a 10-bit header. The maximum packet length can be limited, see
Section 25.9.2.3.1
298
CC2541 Proprietary Mode Radio
Sync word
Address
16–32 bits
0–1 byte
Figure 25-7. Air Interface Packet Format for Auto Mode
Section
Figure 25-7
Figure 25-8
and
Figure
25-9) to inform that acknowledgment of the packet is not
Length
Bit 8
Bit 7
Bit 6
Bit 5
Figure 25-8. Bits of 9-Bit Header
Length
Bit 8
Bit 7
Bit 6
Figure 25-9. Bits of 10-Bit Header
and
Section 25.9.2.3.2
Copyright © 2009–2014, Texas Instruments Incorporated
Payload
Header
0–127 bytes
9–10 bits
Figure
25-6) is present if PRF_TASK_CONF.MODE = 01. It
25.9.2.
is shown in more detail in
SEQ
Bit 4
Bit 3
Bit 2
Bit 1
SEQ
Bit 5
Bit 4
Bit 3
Bit 2
CRC
0–4 bytes
R0010-02
Figure 25-7
Figure 25-8
and
Figure
NOA
LSB
R0011-01
NOA
Bit 1
LSB
R0012-01
SWRU191F – April 2009 – Revised April 2014
Submit Documentation Feedback
www.ti.com
or if a
25-9.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents