Hardware
SOC Peripheral Module
Step 1
M_IRQ_n Asserted
MPU INTC
If the IRQ_n is not masked and configured as an IRQ/FIQ,
the MPU_INTC_IRQ/MPU_INTC_FIQ line is asserted.
Step 2
MPU_INTC_IRQ/
MPU_INTC_FIQ Asserted
ARM Host Processor
If FIQs are enabled (F==0):
Finish the current instruction number N
Store address of next instruction to be
executed in the Link Register
Save CPSR before execution in the SPSR
Enter ARM FIQ mode
Disable IRQs and FIQs at ARM side
Execute the interrupt vector.
?
?
?
?
?
?
Software
Main Program
?
?
Execution of instruction number 1
Execution of instruction number N
ISR in IRQ/FIQ Mode (Step 5)
?
?
?
?
?
?
?
?
Save ARM critical context
Save INTC priority threshold
Get active IRQ priority
Set the IRQ priority to priority threshold
Identify interrupt source
Allow a new IRQ and FIQ at INTC side by setting
the NEWIRQAGR and NEWFIQAGR bits to 1
Enable IRQ/FIQ at ARM side
Jump to relevant ISR handler
Relevant Subroutine Handler in IRQ/FIQ Mode
?
?
Handles the event (functional procedure)
Deassert the interrupt M_IRQ_n at SOC peripheral
module side.
ISR in IRQ/FIQ Mode
?
?
?
Allow a new IRQ/FIQ at ARM side.
Restore the INTC priority threshold.
Restore ARM critical context.
Main Program
?
Execution of instruction number N + 1
ARM Host Processor (Step 8)
?
?
Restore the whole CPSR
Restore the PC
Branch
Branch
Branch
Return
Return
Preliminary
www.ti.com
Basic Programming Model
Figure 8-5. Nested IRQ/FIQ Processing Sequence
915
SPRUGX9 – 15 April 2011
Interrupt Controller
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...