EasyManuals Logo

Texas Instruments CC2541 User Manual

Texas Instruments CC2541
370 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #253 background imageLoading...
Page #253 background image
www.ti.com
Command Strobe/CSMA-CA Processor
Table 23-4. Instruction Set Summary
Mnemonic 7 6 5 4 3 2 1 0 Description
SKIP <C>, <S> 0 S2 S1 S0 N C2 C1 C0 Skip S instructions on condition C. When condition (C XOR N) is true,
skip the next S instructions, else execute the next instruction. If S = 0,
re-execute the conditional jump (i.e., 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
WAIT <W> 1 0 0 W4 W3 W2 W1 W0 Wait for MAC Timer to overflow W times. Waits until the MAC Timer
has overflowed W times (W = 0 waits 32 times), then continues
execution. Generates an IRQ_CSP_WAIT interrupt request when
execution continues.
RPT <C> 1 0 1 0 N C2 C1 C0 Repeat loop while condition C. If condition C is true, go to the
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.
WEVENT1 1 0 1 1 1 0 0 0 Wait for mact_event1 to go high, and then continue execution.
WEVENT2 1 0 1 1 1 0 0 1 Wait for mact_event2 to go high, and then continue execution.
INT 1 0 1 1 1 0 1 0 Generate an IRQ_CSP_MANINT. Issues an IRQ_CSP_MANINT
interrupt request.
LABEL 1 0 1 1 1 0 1 1 Set the next instruction as the start of a repeat loop. Enters the
address of the next instruction into the loop-start register.
WAITX 1 0 1 1 1 1 0 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.
RANDXY 1 0 1 1 1 1 0 1 Load the [Y] LSBs of register X with random value.
SETCMP1 1 0 1 1 1 1 1 0 Set the output csp_mact_setcmp1 high. This sets the compare value
of the MAC Timer to the current timer value.
INCX 1 1 0 0 0 0 0 0 Increment register X.
INCY 1 1 0 0 0 0 0 1 Increment register Y.
INCZ 1 1 0 0 0 0 1 0 Increment register Z.
DECX 1 1 0 0 0 0 1 1 Decrement register X.
DECY 1 1 0 0 0 1 0 0 Decrement register Y.
DECZ 1 1 0 0 0 1 0 1 Decrement register Z.
INCMAXY <M> 1 1 0 0 1 M2 M1 M0 Register Y min(Y + 1, M). Increment Y, but not beyond M.
Sxxx 1 1 0 1 S3 S2 S1 S0 Execute command strobe S. Send command strobe S to FFCTRL. Up
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.
253
SWRU191CApril 2009Revised January 2012 CC253x Radio
Submit Documentation Feedback
Copyright © 20092012, Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments CC2541

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2541 and is the answer not in the manual?

Texas Instruments CC2541 Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2541
CategoryMicrocontrollers
LanguageEnglish

Related product manuals