section 7 - Index of
section 7 - Index of section 7 - Index of
The stop processing state halts all activity in the processor until one of the followingactions occurs:1. A low level is applied to the TRQA pin.2. A low level is applied to the RESET pin.3. A low level is applied to the DR pinEither of these actions will activate the oscillator, and, after a clock stabilization delay,clocks to the processor and peripherals will be re-enabled. The clock stabilization delayperiod is determined by the stop delay (SD) bit in the OMR.The stop sequence is composed of eight instruction cycles called stop cycles. They aredifferentiated from normal instruction cycles because the fourth cycle is stretched for anindeterminate period of time while the four-phase clock is turned off.-The STOP instruction is fetched in stop cycle 1 of Figure 7-17, decoded in stop cycle 2(which is where it is first recognized as a stop command), and executed in stop cycle 3.The next instruction (n4) is fetched during stop cycle 2 but is not decoded in stop cycle 3because, by that time, the STOP instruction prevents the decode. The processor stopsthe clock and enters the stop mode. The processor will stay in the stop mode until it isrestarted.FETCH n3 n4 - -DECODE n2 STOP - -EXECUTE n1 n2 STOP -u"n4t-.t-.111..'"STOP CYCLE COUNT 1 2 3 4IRQA INTERRUPT REQUEST A SIGNALn NORMAL INSTRUCTION WORDSTOP = INTERRUPT INSTRUCTION WORDCLOCK STOPPED~~ 5 6 7 8 (9)'II L RESUME STOP CYCLE COUNT 4,INTERRUPTS ENABLED131 072 T OR 16 T CYCLE COUNT STARTEDFigure 7-17 STOP Instruction Sequence
IRQA ---------------.,FETCH n3 n4 - -DECODE n2 STOP - -EXECUTE n1 n2 STOP ---ii1STOP CYCLE COUNT 1 2 3 4CLOCK STOPPED-.15 6 7 8 (9)L RESUME STOP CYCLE COUNT 4,INTERRUPTS ENABLEDIRQA INTERRUPT REQUEST A SIGNALn NORMAL INSTRUCTION WORDSTOP = INTERRUPT INSTRUCTION WORD"-- 131 072 T OR 16 T CYCLE COUNT STARTEDFigure 7-18 STOP Instruction Sequence Followed by IRQAFigure 7-18 shows the system being restarted by asserting the IRQA signal. If the exitfrom stop state was caused by a low level on the IRQA pin, then the processor will servicethe highest priority pending interrupt. If no interrupt is pending, then the processorresumes at the instruction following the STOP instruction that brought the processor intothe stop state.An IRQA deasserted before the end of the stop cycle count will not be recognized aspending. If IRQA is asserted when the stop cycle count completes, then an IRQA interruptwill be recognized as pending and will be arbitrated with any other interrupts.Specifically, when IRQA is asserted, the internal clock generator is started and begins adelay determined by the SO bit of the OMR. When the chip uses the internal clock oscillator,the SO bit should be set to zero, to allow a longer delay time of 128K T cycles(131,072 T cycles) so that the clock oscillator may stabilize. When the chip uses a stableexternal clock, the SO bit may be set to one to allow a shorter (16 T cycle) delay time anda faster start up of the chip.For example, assume that SD=O so that the 128K T counter is used. During the 128K Tcount, the processor ignores interrupts until the last few counts and, at that time, beginsto synchronize them. At the end of the 128K T cycle delay period, the chip restartsinstruction processing, completes stop cycle 4 (interrupt arbitration occurs at this time),and executes stop cycles 5, 6, 7, and 8 (it takes 17T from the end of the 128K T delay to
- 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 162 and 163: 7.5 WAIT PROCESSING STATEThe WAIT i
- 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
- Page 213 and 214: 19. ACK20. Send command READ GDB RE
The stop processing state halts all activity in the processor until one <strong>of</strong> the followingactions occurs:1. A low level is applied to the TRQA pin.2. A low level is applied to the RESET pin.3. A low level is applied to the DR pinEither <strong>of</strong> these actions will activate the oscillator, and, after a clock stabilization delay,clocks to the processor and peripherals will be re-enabled. The clock stabilization delayperiod is determined by the stop delay (SD) bit in the OMR.The stop sequence is composed <strong>of</strong> eight instruction cycles called stop cycles. They aredifferentiated from normal instruction cycles because the fourth cycle is stretched for anindeterminate period <strong>of</strong> time while the four-phase clock is turned <strong>of</strong>f.-The STOP instruction is fetched in stop cycle 1 <strong>of</strong> Figure 7-17, decoded in stop cycle 2(which is where it is first recognized as a stop command), and executed in stop cycle 3.The next instruction (n4) is fetched during stop cycle 2 but is not decoded in stop cycle 3because, by that time, the STOP instruction prevents the decode. The processor stopsthe clock and enters the stop mode. The processor will stay in the stop mode until it isrestarted.FETCH n3 n4 - -DECODE n2 STOP - -EXECUTE n1 n2 STOP -u"n4t-.t-.111..'"STOP CYCLE COUNT 1 2 3 4IRQA INTERRUPT REQUEST A SIGNALn NORMAL INSTRUCTION WORDSTOP = INTERRUPT INSTRUCTION WORDCLOCK STOPPED~~ 5 6 7 8 (9)'II L RESUME STOP CYCLE COUNT 4,INTERRUPTS ENABLED131 072 T OR 16 T CYCLE COUNT STARTEDFigure 7-17 STOP Instruction Sequence