Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1486

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

RF Core HAL
23.3.2.7.2 Data Entry
A data entry queue contains data entries of the type shown in
a linked list. The first entry of the queue is pointed to by the pCurrEntry field of the queue structure (see
Table
23-9). Each pNextEntry field points to the next entry. The last entry in the queue is also pointed to
by the pLastEntry field of the queue structure.
Byte Index
Field Name
0–3
pNextEntry
4
status
5
config
6–7
length
8–(7+n)
data
The status field may take the following values:
0: Pending: The entry is not yet in use by the radio CPU. This is the status to write by the system CPU
before submitting the entry.
1: Active: The entry is the entry in the queue currently open for writing (RX) or reading (TX) by the
radio CPU.
2: Busy: An ongoing radio operation is writing or reading an unfinished packet. Certain operations are
not allowed while an entry is in this state (see
3: Finished: The radio CPU is finished writing data into this entry, and is free for the system CPU to
reuse or free memory (if dynamically allocated).
For data entries, the system CPU sets up the required data structure, either in system RAM or in the
available part of the radio RAM. If the data structure is dynamically allocated, the system CPU frees the
memory after use.
In an entry is being used for received data, the radio CPU may start the entry element with a length
indicator. If config.lenSz is 00, no such indicator is written. This option must only be used if the length of
the received packet can be determined by other means. If config.lenSz is 01, 1 byte indicates the number
of bytes following the length byte. This may only be used if no element of more than 255 bytes is written to
the entry. If config.lenSz is 10, a 16-bit word indicates the number of bytes following the length word.
1486
Radio
Table 23-10. General Data Entry Structure
Bit Field
Bits
Name
0–1
type
2–3
lenSz
4–7
irqIntv
Section
Copyright © 2015, Texas Instruments Incorporated
Table
23-10. These entries are organized in
Type
Description
Pointer to next entry in the queue, NULL if this is
R/W
the last entry
Indicates status of entry, including whether it is
R/W
free to receive a write from the system CPU
Type of data entry structure
0: General data entry
W
1: Multielement RX entry
2: Pointer entry
Size of length word in start of each RX entry
element
0: No length indicator
W
1: 1-byte length indicator
2: 2-byte length indicator
3: Reserved
W
RESERVED
Length of data field, or for pointer entries, of the
data buffer. For TX entries, this corresponds to
W
one entry element (packet). For RX entries, this
gives the total available storage space.
Array of data to be received or transmitted
R/W
(n = length)
23.3.5).
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com

Hide quick links:

Advertisement

loading