section 7 - Index of
section 7 - Index of section 7 - Index of
7.5 WAIT PROCESSING STATEThe WAIT instruction brings the processor into the wait processing state which is one oftwo low power-consumption states. Asserting the OnCE's debug request pin releases.the DSP from the wait state. In the wait state, the internal clock is disabled from all internalcircuitry except the internal peripherals. All internal processing is halted until anunmasked interrupt occurs, the Debug Request pin of the OnCE is asserted, or the DSPis reset.-Figure 7-15 shows a WAIT instruction being fetched, decoded, and executed. It isfetched as n3 in this example and, during decode, is recognized as a WAIT instruction.The following instruction (n4) is aborted, and the internal clock is disabled from all internalcircuitry except the internal peripherals. The processor stays in this state until aninterrupt or reset is recognized. The response time is variable due to the timing of theinterrupt with respect to the internal clock. Figure 7-15 shows the result of a fast interruptbringing the processor out of the wait state. The two appropriate interrupt vectors arefetched and put in the instruction pipe. The next instruction fetched is n4, which had beenaborted earlier. Instruction execution proceeds normally from this point.,rINTERRUPT SYNCHRONIZED ANDRECOGNIZED AS PENDING~----------------~--~--~--~,INTERRUPT CONTROL CYCLE 1~----------------~--~--+---~~,~--~--~--~--+---~~INTERRUPT CONTROL CYCLE 2FETCH n3 n4 - ~ ii1 ii2 n4 n5r------------------r--~--+---~~,~--_r--_r--~--+_--r_~DECODE n2 WNf - ii1 ii2 n4r------------------r--~--+---~~~~--_r--_r--~--+_--r_~EXECUTEn1 n2 WNf ... ii1 ii2INSTRUCTION CYCLE COUNT= INTERRUPT= INTERRUPT INSTRUCTION WORDn = NORMAL INSTRUCTION WORD1 2 3 4~ 5 6 7 8 9 10L ONLY INTERNAL PERIPHERALSRECEIVE CLOCKFigure 7-15 Wait Instruction TimingFigure 7-16 shows an example of the WAIT instruction being executed at the same timethat an interrupt is pending. Instruction n4 is aborted as before. The WAIT instructioncauses a five-instruction-cycle delay from the time it is decoded, after which the interruptis processed normally. The internal clocks are not turned off, and the net effect is that ofexecuting eight NOP instructions between the execution of n2 and ii1.
INTERRUPT CONTROL CYCLE 1rINTERRUPT SYNCHRONIZED ANDRECOGNIZED AS PENDINGiINTERRUPT CONTROL CYCLE 2iFETCH n3 n4 - - - - - - ii1 ii2DECODE n2 WNr - - - - - - - ii1EXECUTE n1 n2 WNr - - - - - - -INSTRUCTION CYCLE COUNT 1 2 3 4 5 6 7 8 9 10n4ii2ii111INTERRUPT '------------~-----------~INTERRUPT INSTRUCTION WORDEQUIVALENT TO EIGHT NOPsn = NORMAL INSTRUCTION WORDFigure 7-16 Simultaneous Wait Instruction and Interrupt7.6 STOP PROCESSING STATEThe STOP instruction· brings the processor into the stop processing state, which is thelowest power consumption state. In the stop state, the clock oscillator is gated off;whereas, in the wait state, the clock oscillator remains active. The chip clears all peripheralinterrupts and external interrupts (IROA, IROB, and NMI) when it enters the stopstate. Trace or stack errors that were pending, remain pending. The priority levels of theperipherals remain as they were before the STOP instruction was executed. The on-chipperipherals are held in their respective individual reset states while in the stop state.
- Page 111 and 112: Some address register indirect mode
- Page 113 and 114: EXAMPLE A: IMMEDIATE INTO 24-BIT RE
- Page 115 and 116: EXAMPLE A: IMMEDIATE SHORT INTO AO,
- Page 117 and 118: EXAMPLE A: MOVE P: $3200,XOBEFORE E
- Page 119 and 120: Table 6-1 Addressing Modes SummaryA
- Page 121 and 122: 6.4.2 LogicallnstructlonsThe logica
- Page 123 and 124: START OF LOOP1)SP+ 1 • SP; LA. SS
- Page 125 and 126: OPCODE/OPERANDSPARALLEL MOVE EXAMPL
- Page 127: SECTION 7PROCESSING STATES-
- Page 130 and 131: Each instruction requires a minimum
- Page 132 and 133: second instruction of the downloade
- Page 134 and 135: The DO instruction is another instr
- Page 136 and 137: SP and SSH/SSL register manipulatio
- Page 138 and 139: 7.3.1 Interrupt TypesThe DSP56K rel
- Page 140 and 141: Table 7-2 Status Register Interrupt
- Page 142 and 143: 7.3.3 Interrupt SourcesInterrupts c
- Page 144 and 145: interrupts makes it very useful for
- Page 146 and 147: MAINPROGRAMFETCHESLONG INTERRUPTSER
- Page 148 and 149: 7.3.3.3 Other Interrupt SourcesOthe
- Page 150 and 151: 7.3.4 Interrupt ArbitrationInterrup
- Page 152 and 153: 7.3.7 Interrupt Instruction Executi
- Page 154 and 155: MAINPROGRAMMEMORYINTERRUPT SYNCHRON
- Page 156 and 157: MAINPROGRAMFETCHESINTERRUPTSYNCHRON
- Page 158 and 159: MAINPROGRAMFAST INTERRUPTVECTORLONG
- Page 160 and 161: MAINPROGRAMFETCHESNTERRUPTSYN8HRCNZ
- Page 164 and 165: The stop processing state halts all
- Page 166 and 167: the first instruction fetch). If th
- Page 168: RESET -----------------------------
- Page 172 and 173: 16 - BIT INTERNALADDRESS BUSESX ADD
- Page 174 and 175: 8.2.2.1 Address (AO-A15)These three
- Page 177: SECTION 9PLL CLOCK OSCILLATOR-
- Page 180 and 181: X MEMORYRAM/ROMEXPANSION24-Bit56KMo
- Page 182 and 183: 23 22 21 20 19 18 17 16 15 14 13 12
- Page 184 and 185: cleared. To enable rapid recovery w
- Page 186 and 187: -CLVCCVCC for the CKOUT output. The
- Page 188 and 189: 4. For all input frequencies which
- Page 190 and 191: While the PLL is regaining lock, th
- Page 193 and 194: 10.1 ON-CHIP EMULATION INTRODUCTION
- Page 195 and 196: 10.2.2 Debug Serial Clock/Chip Stat
- Page 197 and 198: 76543210I R/W I GO I EX I RS41 RS31
- Page 199 and 200: shifted in (so a new command is ava
- Page 201 and 202: 10.3.4.4 Software Debug Occurrence
- Page 203 and 204: 10.4.4 Memory High Address Comparat
- Page 205 and 206: 10.6.1 External Debug Request Durin
- Page 207 and 208: PABCIRCULARBUFFERPOINTERDSCKDSOFigu
- Page 209 and 210: are serially available to the exter
- Page 211 and 212: k. ACKI. ClKm. Send command READ FI
7.5 WAIT PROCESSING STATEThe WAIT instruction brings the processor into the wait processing state which is one <strong>of</strong>two low power-consumption states. Asserting the OnCE's debug request pin releases.the DSP from the wait state. In the wait state, the internal clock is disabled from all internalcircuitry except the internal peripherals. All internal processing is halted until anunmasked interrupt occurs, the Debug Request pin <strong>of</strong> the OnCE is asserted, or the DSPis reset.-Figure 7-15 shows a WAIT instruction being fetched, decoded, and executed. It isfetched as n3 in this example and, during decode, is recognized as a WAIT instruction.The following instruction (n4) is aborted, and the internal clock is disabled from all internalcircuitry except the internal peripherals. The processor stays in this state until aninterrupt or reset is recognized. The response time is variable due to the timing <strong>of</strong> theinterrupt with respect to the internal clock. Figure 7-15 shows the result <strong>of</strong> a fast interruptbringing the processor out <strong>of</strong> the wait state. The two appropriate interrupt vectors arefetched and put in the instruction pipe. The next instruction fetched is n4, which had beenaborted earlier. Instruction execution proceeds normally from this point.,rINTERRUPT SYNCHRONIZED ANDRECOGNIZED AS PENDING~----------------~--~--~--~,INTERRUPT CONTROL CYCLE 1~----------------~--~--+---~~,~--~--~--~--+---~~INTERRUPT CONTROL CYCLE 2FETCH n3 n4 - ~ ii1 ii2 n4 n5r------------------r--~--+---~~,~--_r--_r--~--+_--r_~DECODE n2 WNf - ii1 ii2 n4r------------------r--~--+---~~~~--_r--_r--~--+_--r_~EXECUTEn1 n2 WNf ... ii1 ii2INSTRUCTION CYCLE COUNT= INTERRUPT= INTERRUPT INSTRUCTION WORDn = NORMAL INSTRUCTION WORD1 2 3 4~ 5 6 7 8 9 10L ONLY INTERNAL PERIPHERALSRECEIVE CLOCKFigure 7-15 Wait Instruction TimingFigure 7-16 shows an example <strong>of</strong> the WAIT instruction being executed at the same timethat an interrupt is pending. Instruction n4 is aborted as before. The WAIT instructioncauses a five-instruction-cycle delay from the time it is decoded, after which the interruptis processed normally. The internal clocks are not turned <strong>of</strong>f, and the net effect is that <strong>of</strong>executing eight NOP instructions between the execution <strong>of</strong> n2 and ii1.