Transmitted Frame Processing; Synchronization Header; Frame-Length Field; Frame Check Sequence - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

www.ti.com

23.8.7 Transmitted Frame Processing

The radio performs the following frame generation tasks for TX frames:
(1) Generation and automatic transmission of the PHY layer synchronization header, which consists of the
preamble and the SFD
(2) Transmission of the number of bytes specified by the frame-length field
(3) Calculation of and automatic transmission of the FCS (can be disabled)
The recommended usage is to write the frame-length field followed by the MAC header and MAC payload
to the TXFIFO and let the radio handle the rest. Note that the frame-length field must include the two FCS
bytes, even though the radio adds these automatically.

23.8.8 Synchronization Header

IEEE 802.15.4
CC2530
The radio has programmable preamble length. The default value is compliant with [1], and changing the
value makes the system noncompliant to IEEE 802.15.4.
The preamble sequence length is set by MDMCTRL0.PREAMBLE_LENGTH.
synchronization header relates to the IEEE 802.15.4 specification.
When the required number of preamble bytes has been transmitted, the radio automatically transmits the
1-byte SFD. The SFD is fixed, and it is not possible to change this value from software.

23.8.9 Frame-Length Field

When the SFD has been transmitted, the modulator starts to read data from the TXFIFO. It expects to find
the frame-length field followed by the MAC header and MAC payload. The frame-length field is used to
determine how many bytes are to be transmitted.
Note that the minimum frame length is 3 bytes when AUTOCRC = 1 and 1 byte when AUTOCRC = 0.

23.8.10 Frame Check Sequence

When the FRMCTRL0.AUTOCRC control bit is set, the FCS field is automatically generated and appended
to the transmitted frame at the position defined by the frame-length field. The FCS is not written to the
TXFIFO, but stored in a separate 16-bit register. It is recommended always to have AUTOCRC enabled,
except possibly for debug purposes. If FRMCTRL0.AUTOCRC = 0, then the modulator expects to find the
FCS in the TXFIFO, so software must generate the FCS and write it to the TXFIFO along with the rest of
the MPDU.
The hardware implementation of the FCS calculator is shown in
SWRU191F – April 2009 – Revised April 2014
Submit Documentation Feedback
Received Frame
Preamble
SFD
LEN
(1)
(2)
Figure 23-7. Single Transmitted Frame
1 Symbol
1 Byte
0
0
0
2 (PREAMBLE_LENGTH + 2) Zero Symbols
Figure 23-8. Transmitted Synchronization Header
Copyright © 2009–2014, Texas Instruments Incorporated
MAC Payload
MHR
Synchronization Header
Preamble
0
0
0
0
Figure
Transmit Mode
FCS
(3)
M0110-01
SFD
0
7
A
M0111-02
Figure 23-8
shows how the
23-9. See [1] for further details.
CC253x Radio
221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents