End-Of-Receive Tasks - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

Link Layer Engine
11: If received while in sync search for the first packet after the task was started, or if
PRF_TASK_CONF.START_CONF is 1 while in sync search for any packet, the task ends immediately
with TASK_RXTIMEOUT as the end cause. Otherwise, nothing happens.
In addition, the task can end due to an internal time-out as described in the beginning of
or it can end due to an error condition. The full list of possible end causes is summarized in
Received packet (and potentially sent ACK) with
PRF_TASK_CONF.REPEAT
Received packet (and potentially sent ACK) with
PRF_TASK_CONF.REPEAT
observed CMD_STOP or Timer 2 event 2 with
PRF_TASK_CONF.STOP_CONF
PRF_TASK_CONF.REPEAT
While in sync search, observed CMD_STOP or Timer 2
PRF_TASK_CONF.STOP_CONF
event 2 with
Observed Timer 2 event 2 while in sync search of the
PRF_TASK_CONF.STOP_CONF
first packet with
= 11
Did not get sync in the time specified by
PRF_SEARCH_TIME
Received command for starting new task or
CMD_SHUTDOWN or observed Timer 2 event 2 with
PRF_TASK_CONF.STOP_CONF
Received unknown command
Semaphore is not free when expected
Unpermitted value of RAM register
PRF_TASK_CONF.MODE
For
PRF_ADDR_ENTRYn.RXLENGTH
to the received address is smaller than address length
For auto mode:
PRF_ADDR_ENTRYn.ACKLENGTGHm
ACK payload to be transmitted exceeded 32
25.9.2.4 Transmit Task
When a CMD_TX command is received, the LLE configures the radio on the channel given by
PRF_CHAN.FREQ and starts transmitting the packet from the TX FIFO.
If the TX FIFO has no available data, the task ends with TASKERR_TXFIFO as the end cause. Otherwise,
the number of bytes given by the length byte in the TX FIFO is read from the TX FIFO and transmitted or
otherwise handled as described in following sections. No check of data availability is done after the length
byte is read, so if the FIFO contains fewer bytes than indicated in the length field, a TX FIFO underflow
interrupt is raised by the FIFO hardware.
25.9.2.4.1 Basic Mode
This section describes the transmit operation if PRF_TASK_CONF.MODE is 00 or 01.
If PRF_TASK_CONF.MODE is 01, the length field is calculated from the length field in the FIFO and
transmitted. It is up to the MCU to ensure that the calculated length field does not exceed 255. If
PRF_TASK_CONF.MODE is 00, no length field is transmitted.
310
CC2541 Proprietary Mode Radio
Table 25-18. End-of-Receive Tasks
Condition
= 0
= 1 after having
= 01 and
= 1
= 01
= 10
= 00:
corresponding
for the
Copyright © 2009–2014, Texas Instruments Incorporated
End-of-Task Cause
TASK_ENDOK
TASK_STOP
TASK_RXTIMEOUT
TASK_RXTIMEOUT
TASK_NOSYNC
If transmitter was running or receiver was
running and had obtained sync, an
TASK_ABORT
RXTXABO
LLEERR
transmitter was running or receiver was
TASKERR_CMD
running and had obtained sync, an
RXTXABO
Task ends without any radio operation.
TASKERR_SEM
LLEERR
TASKERR_PAR
LLEERR
LLEERR
TASKERR_PAR
LLEERR
TASKERR_PAR
SWRU191F – April 2009 – Revised April 2014
www.ti.com
Section
25.9.2.1,
Table
25-18.
Comment
interrupt is also raised.
interrupt is also raised. If
interrupt is also raised.
interrupt is also raised.
interrupt is also raised.
interrupt is also raised.
interrupt is also raised.
Submit Documentation Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents