11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.3.3 Interrupt SourcesInterrupts can originate from any <strong>of</strong> the vector addresses listed in Table 7-6, whichshows the corresponding interrupt starting address for each interrupt source. Theseaddresses are located in the first 64 locations <strong>of</strong> program memory.Table 7-6 Interrupt Sources-InterruptStarting AddressIPL$0000 3 Hardware RESET$0002 3 Stack Error$0004 3 Trace$0006 3 SWI$0008 0-2 IROA$OOOA 0-2 IROBInterrupt Source: : Vectors available for peripherals$001E 3 NMI: : Vectors available for peripherals$003E 3 Illegal InstructionWhen an interrupt occurs, the instruction at the interrupt starting address is fetched first.Because the program flow is directed to a different starting address for each interrupt,the interrupt structure <strong>of</strong> the DSP56K can be described as "vectored". A vectored interruptstructure has low execution overhead. If it is known beforehand that certain interruptswill not be used, those interrupt vector locations can be used for program or datastorage.7.3.3.1 Hardware Interrupt SourcesThere are two types <strong>of</strong> hardware interrupts in the DSP56K: internal and external. Theinternal interrupt sources include all <strong>of</strong> the on-chip peripheral devices. For further informationon a device's internal interrupt sources, see the device's individual User's Manual.The external hardware interrupt sources are the RESET, NMI, IROA, and IROB pins onthe program interrupt controller in the Program Control Unit.The level sensitive RESET interrupt is the highest priority interrupt with an IPL <strong>of</strong> 3. IROAand IROB can be programmed to one <strong>of</strong> three priority levels: 0, 1, or 2 - all <strong>of</strong> which aremaskable. IROA and IROB have independent enable control and can be programmed tobe level sensitive or edge sensitive. Since level-sensitive interrupts will not be cleared

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!