Instruction Set Summary - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

Command Strobe Processor
Mnemonic
7
SKIP <C>, <S>
0
WAIT <W>
1
RPT <C>
1
WEVENT1
1
WEVENT2
1
INT
1
LABEL
1
WAITX
1
RANDXY
1
SETCMP1
1
INCX
1
INCY
1
INCZ
1
DECX
1
DECY
1
DECZ
1
INCMAXY <M>
1
Sxxx
1
242 CC253x Radio
Table 23-4. Instruction Set Summary
6
5
4
3
2
1
S2 S1 S0
N
C2
C1
C0 Skip S instructions on condition C. When condition (C XOR N) is true,
0
0
W4 W3 W2 W1 W0 Wait for MAC Timer to overflow W times. Waits until the MAC Timer
0
1
0
N
C2
C1
C0 Repeat loop while condition C. If condition C is true, go to the
0
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
0
1
0
1
1
1
0
1
0
1
1
1
1
0
0
1
1
1
1
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
1
0
1
0
0
0
1
0
1
0
0
1
M2 M1 M0 Register Y ≤ min(Y + 1, M). Increment Y, but not beyond M.
1
0
1
S3
S2
S1
S0 Execute command strobe S. Send command strobe S to FFCTRL. Up
Copyright © 2009–2014, Texas Instruments Incorporated
0
Description
skip the next S instructions, else execute the next instruction. If S = 0,
re-execute the conditional jump (that is, busy loop until condition is
false). Skipping past the last instruction in the command buffer results
in an implicit STOP command. The conditions are:
C = 0 CCA true
C = 1 Synchronization word received and still receiving packet or
synchronization word transmitted and still transmitting packet
(SFD found, not yet frame end)
C = 2 MCU control bit is 1.
C = 3 Reserved
C = 4 Register X = 0
C = 5 Register Y = 0
C = 6 Register Z = 0
C = 7 RSSI_VALID = 1
has overflowed W times (W = 0 waits 32 times), then continues
execution. Generates an IRQ_CSP_WAIT interrupt request when
execution continues.
instruction following the last LABEL instruction (address in loop-start
register); if the condition is false or no LABEL instruction has been
executed, go to the next instruction.
Note condition C is as defined for SKIP, defined previously in this
table. It is not possible to have a RPT instruction placed at index 23 of
the command buffer.
0
Wait for mact_event1 to go high, and then continue execution.
1
Wait for mact_event2 to go high, and then continue execution.
0
Generate an IRQ_CSP_MANINT. Issues an IRQ_CSP_MANINT
interrupt request.
1
Set the next instruction as the start of a repeat loop. Enters the
address of the next instruction into the loop-start register.
0
Wait for MAC Timer to overflow [X] times, where [X] is the value of
register X. Each time a MAC Timer overflow is detected, X is
decremented. Execution continues as soon as X = 0. (If X = 0 when
instruction is run, no wait is performed and execution continues
directly). An IRQ_CSP_WAIT interrupt request is generated when
execution continues.
1
Load the [Y] LSBs of register X with random value.
0
Set the output csp_mact_setcmp1 high. This sets the compare value
of the MAC Timer to the current timer value.
0
Increment register X.
1
Increment register Y.
0
Increment register Z.
1
Decrement register X.
0
Decrement register Y.
1
Decrement register Z.
to 32 command strobes are supported. In addition to the regular
command strobes, two additional command strobes that only apply to
the command strobe processor are supported:
SNOP: Do nothing.
SSTOP: Stops the command strobe processor execution and
invalidates any set label. An IRQ_CSP_STOP interrupt request is
issued.
SWRU191F – April 2009 – Revised April 2014
www.ti.com
Submit Documentation Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents