Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1559

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

www.ti.com
After a packet has been transmitted:
– If pParams->seqStat.nextTXSn is equal to pParams->seqStat.lastTXSn, a TX_RETRANS interrupt
is raised.
– If pParams->seqStat.nextTXSn is different from pParams->seqStat.lastTXSn after a transmission
and the transmitted packet had LLID = 11b, a TX_Ctrl interrupt is raised.
– If pParams->seqStat.nextTXSn is different from pParams->seqStat.lastTXSn after a transmission
and pParams->seqStat.bLlCtrlAckPending = 1, an RX_CTRL_ACK interrupt is raised.
– If pParams->seqStat.nextTXSn is different from pParams->seqStat.lastTXSn after a transmission
and pParams->seqStat.bLlCtrlAckRX = 1, a TX_CTRL_ACK_ACK interrupt is raised.
– pParams->seqStat.lastTXSn is set to the value of pParams->seqStat.nextTXSn.
– pParams->seqStat.bAutoEmpty is set to 1 if the packet was not read from the TX queue, otherwise
to 0.
– pParams->seqStat.bLlCtrlTX is set to 1 if the transmitted packet had LLID = 11, otherwise to 0.
– pParams->seqStat.firstPkt, pParams ->seqStat.bLlCtrlAckPending, and pParams-
>seqStat.bLlCtrlAckRX is set to 0.
– A TX_DONE interrupt is raised.
– nPkt is decremented.
When an interrupt is raised as described previously, the corresponding counter given in
incremented.
In the header of a transmitted packet, the MD bit is set according to the following rules:
If the transmit queue is empty or the packet being transmitted is the last packet of the transmit queue,
MD is 0.
If the trigger described in pParams->endTrigger has occurred, MD is 0.
If the counter nPkt is 1, MD is 0.
Otherwise, MD is 1.
The pOutput structure contains counters that are updated by the radio CPU as explained previously and in
Table
23-91. The radio CPU does not initialize the fields, so this must be done by the system CPU when a
reset of the counters is desired. In addition to the counters, the following fields are set by the radio CPU:
If a packet is received, lastRssi is set to the RSSI of that packet.
For slave commands, timeStamp is set to the timestamp of the start of the first received packet, if any
packet is received. bValidTimeStamp is set to 0 at the beginning of the operation and to 1 if a packet is
received so that timeStamp is written.
For correct operation, the value of pParams->seqStat is the same at the beginning of a command as at
the end of the previous operation of the same connection. The TX queue must also be unmodified
between commands operating on the same connection, except that packets may be appended to the
queue.
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Bluetooth Low Energy
Table 23-91
is
1559
Radio

Hide quick links:

Advertisement

loading