Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1484

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

RF Core HAL
Number
Name
0
COND_ALWAYS
1
COND_NEVER
2
COND_STOP_ON_FALSE
3
COND_STOP_ON_TRUE
4
COND_SKIP_ON_FALSE
5
COND_SKIP_ON_TRUE
If execution is stopped, the radio CPU goes back to idle and no further commands are run until a new
command is entered through the CMDR register. The LAST_COMMAND_DONE interrupt is raised.
If a command ends with the ABORT result, the execution ends regardless of the condition. The
LAST_COMMAND_DONE interrupt is raised. An example of criterion for the ABORT result is that a
CMD_ABORT command is issued.
23.3.2.5.3 Handling Before Start of Command
For all radio operation commands, the start trigger and condition code are checked before parsing the rest
of the command. If the start trigger has an illegal trigger type (including TRIG_REL_START, which is not
allowed for start triggers, and TRIG_NEVER in combination with no command trigger), the radio CPU sets
the status field to ERROR_START_TRIG. If the condition field has an illegal value, the radio CPU sets the
status field to ERROR_CONDITION. If the start trigger occurs in the past and startTrigger.pastTrig is 0,
the radio CPU sets the status field to ERROR_PAST_START.
23.3.2.6 Command Data Structures
The data structures are listed in tables throughout this chapter. The Byte Index is the offset from the
pointer to that structure. Multibyte fields are little-endian, and 16-bit halfword or 32-bit word alignment as
given by the field size is required. For bit numbering, 0 is the LSB. The R/W column is used as follows:
R: The system CPU can read a result back; the radio CPU does not read the field.
W: The system CPU writes a value, the radio CPU reads it and does not modify it.
R/W: The system CPU writes an initial value, the radio CPU may modify it.
For data structures that are a specialization of another data structure, the fields from the parent structure
are not repeated, but the Byte Index column reflects their presence.
The only mandatory field for all commands is the command ID number, which is a 16-bit number sent as
the first 2 bytes of the command structure.
Some immediate commands have additional fields, which are defined for each command. The radio
operation commands have additional mandatory fields as defined in
1484
Radio
Table 23-7. Condition Rules
Description
Always run next command (except in case of ABORT)
Never run next command (next command pointer can still be used for
skip)
Run next command if this command returned TRUE, stop if it returned
FALSE
Stop if this command returned TRUE, run next command if it returned
FALSE
Run next command if this command returned TRUE, skip a number of
commands if it returned FALSE
Skip a number of commands if this command returned TRUE, run next
command if it returned FALSE
Copyright © 2015, Texas Instruments Incorporated
Table
23-8.
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com

Hide quick links:

Advertisement

loading