English
Language : 

CC2520_11 Datasheet, PDF (69/133 Pages) Texas Instruments – 2.4 GHZ IEEE 802.15.4/ZIGBEE RF TRANSCEIVER
CC2520 DATASHEET
2.4 GHZ IEEE 802.15.4/ZIGBEE® RF TRANSCEIVER
SWRS068 – DECEMBER 2007
19.4 TX Flow Diagram
Figure 17 summarizes the previous sections in a flow diagram:
No CSMA-CA
Unslotted CSMA-CA
Slotted CSMA-CA
Data buffering
SSAMPLECCA
STXON
Yes
(SAMPLED_CCA = 1)
Success?
STXONCCA
No
(SAMPLED_CCA = 0)
Yes
(SAMPLED_CCA = 1)
TX started?
No
(SAMPLED_CCA = 0)
TX completes?
Yes
TX_FRM_DONE
TX is aborted by
No
Why?
SRXON,
STXON or SRFOFF
TX_UNDERFLOW
Frame transmitted successfully
Error condition
Incomplete or no frame transmission
Write a frame to the TX
buffer using:
- TXBUF
- TXBUFCP
- Memory access
- A combination of
these methods
This can be done
before, after or in
parallel with the TX
strobe.
TX buffer overfilled
TX_OVERFLOW
Error condition
(left side of the flow
diagram should be
ignored since the TX
buffer is corrupted)
Between two transmissions there can be multiple other activities such as frame reception, RX FIFO access and acknowledgment transmission (using SACK, SACKPEND or
AUTOACK), or idle periods (random backoffs). This will have no side effects on the state of the TX buffer.
The placement of the SFLUSHTX strobe in the diagram shows the latest point in time where this strobe can be executed. If fewer special cases is desired, it is always possible to
use the SFLUSHTX strobe and then load or reload TXBUF with the next frame to be transmitted.
Next time...
To retransmit the
current frame...
To transmit a
different frame...
Restart from the
top of the diagram
Do not write
anything to the TX
buffer
Restart from the
top of the diagram
Write the new
frame to the TX
buffer
(before, after or in
parallel with the
TX strobe)
To retransmit or
transmit a
different frame...
Next time...
To (re)transmit
what is
currently in
the TX buffer...
To transmit a
different frame...
SFLUSHTX
Restart from the
top of the diagram
Write the next
frame to the TX
buffer
(before, after or in
parallel with the
TX strobe)
Restart from the
top of the diagram
If anything is
written to the TX
buffer, it will be
appended to the
current data.
SFLUSHTX
Restart from the
top of the diagram
Write the new
frame to the TX
buffer
(before, after or in
parallel with the
TX strobe)
Figure 17: TX flow
To retransmit or
transmit a
different frame...
SFLUSHTX
Restart from the
top of the diagram
Write the next
frame to the TX
buffer
(before, after or in
parallel with the
TX strobe)
WWW.TI.COM
69