Execution Control Modes
7-8
The CPU can service all interrupts in this state. When an interrupt occurs
simultaneously with a debug event, the debug event has priority; however,
if interrupt processing began before the debug event occurred, the debug
event cannot be processed until the interrupt service routine begins.
2 illustrates the relationship among the three states. Notice that the
C28x cannot pass directly between the single-instruction and run states. No-
tice also that the CPU can be observed only in the debug-halt state. In practical
terms, this means the contents of CPU registers and memory are not updated
in the debugger display in the single-instruction state or the run state. Mask-
able interrupts occurring in any state are latched in the interrupt flag register
(IFR).
Figure 7
−
2. Stop Mode Execution States
Single-instruction state
Run state
Debugger command
Debugger command
After executing
one instruction
Debugger command,
breakpoint, or analysis stop
Debug-halt state
Can service an interrupt
if RUN 1 used
†
Cannot observe CPU
Can service interrupts
Cannot observe CPU
Cannot service interrupts
Can observe CPU
†
If you use a RUN 1 command to execute a single instruction, an interrupt can be serviced in the single-instruction state. If you use
a STEP 1 command for the same purpose, an interrupt cannot be serviced.
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...