Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1501

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

www.ti.com
23.3.3.1.11 CMD_COUNT: Counter Command
Command ID number: 0x080B
CMD_COUNT is a radio operation command. In addition to the parameters listed in
command structure contains the fields listed in
Byte Index Field Name
14–15
counter
When starting, the radio CPU decrements the counter field by 1 and writes the result back to this field. If
the result of the decrement is zero, the operation ends with the status DONE_COUNTDOWN and the
result FALSE. Otherwise, the operation ends with the status DONE_OK and the result TRUE, which can
be used in conditional execution to create a loop.
If the operation is started with counter equal to zero, this is an illegal parameter, so the operation ends
with the status ERROR_PAR.
The operation ends by one of the causes listed in
Condition
Finished operation with counter > 0
Finished operation with counter = 0
23.3.3.1.12 CMD_SCH_IMM: Run Immediate Command as Radio Operation
Command ID number: 0x0810
CMD_SCH_IMM is a radio operation command. In addition to the parameters listed in
command structure contains the fields listed in
Byte Index Field Name
14–15
16–19
cmdrVal
20–23
cmdstaVal
When starting, the radio CPU takes the value in cmdrVal and processes it as if it had been written to the
CMDR register. This command may be a pointer to an immediate command, or it may form a direct
command as shown in
The value that would normally have been returned in CMDSTA is written to cmdstaVal. This means that
no command RF_CMD_ACK interrupt is raised. Instead, a COMMAND_DONE interrupt is raised, as for
any other radio operation command.
Depending on the result of the immediate or direct command, the status and result of the radio operation
command is as shown in
CMD_SCH_IMM may run immediate commands as part of a chain of radio operation commands, or to
schedule them in the future. If an immediate or direct command received in the CMDR register is being
processed at the same time that a scheduled CMD_SCH_IMM command starts, the processing of the
scheduled command starts after the other command has finished.
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
Table
Table 23-29. CMD_COUNT Command Format
Bits
Bit Field Name
Table 23-30. Additional End Causes for CMD_COUNT
Status Code
DONE_OK
DONE_COUNTDOWN
Table
Table 23-31. CMD_SCH_IMM Command Format
Bits
Bit Field Name
Figure
23-4. A pointer to a radio operation command causes a scheduling error.
Table
23-32.
Copyright © 2015, Texas Instruments Incorporated
23-29.
Type
Description
Counter. When starting, the radio CPU
decrements the value, and the end
R/W
status of the operation differs if the
result is zero.
Table 23-25
or
Table
23-30.
Result
TRUE
FALSE
23-31.
Type
Description
Reserved
W
Value as would be written to CMDR
R
Value as would be returned in CMDSTA
RF Core HAL
Table
23-8, the
Table
23-8, the
1501
Radio

Hide quick links:

Advertisement

loading