|
SH7147 Datasheet, PDF (141/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family | |||
|
◁ |
Section 6 Interrupt Controller (INTC)
Table 6.4 Interrupt Response Time
Number of Cycles
Item
Peripheral
NMI
IRQ
Modules
Remarks
DTC active judgment
â¯
2 Ã Bcyc
1 Ã Pcyc
Interrupt priority decision
and comparison with mask
bits in SR
1 Ã Icyc + 2 Ã
Pcyc
1 Ã Icyc + 1 Ã
Pcyc
1 Ã Icyc + 2 Ã
Pcyc
Wait for completion of
sequence currently being
executed by CPU
X (⥠0)
X (⥠0)
X (⥠0)
The longest sequence is
for interrupt or address-
error exception handling
(X = 7 Ã Icyc + m1 + m2
+ m3 + m4). If an
interrupt-masking
instruction follows,
however, the time may
be even longer.
Time from start of interrupt
exception handling until
fetch of first instruction of
exception handling routine
starts
8 Ã Icyc +
m1 + m2 + m3
8 Ã Icyc +
m1 + m2 + m3
8 Ã Icyc +
m1 + m2 + m3
Performs the saving PC
and SR, and vector
address fetch.
Interrupt
response
time
Total:
9 Ã Icyc + 2 Ã
Pcyc + m1 + m2
+ m3 + X
9 Ã Icyc + 1 Ã 9 Ã Icyc + 3 Ã
Pcyc +2 Ã Bcyc + Pcyc + m1 + m2
m1 + m2 + m3 + + m3 + X
X
Minimum*: 12 Ã Icyc +
2 Ã Pcyc
12 Ã Icyc +
1 Ã Pcyc +
2 Ã Bcyc
12 Ã Icyc +
3 Ã Pcyc
SR, PC, and vector table
are all in on-chip RAM.
Maximum:
16 Ã Icyc +
2 Ã Pcyc + 2 Ã
(m1 + m2 + m3)
+ m4
16 Ã Icyc +
1 Ã Pcyc +
2 Ã Bcyc + 2 Ã
(m1 + m2 + m3)
+ m4
16 Ã Icyc +
3 Ã Pcyc + 2 Ã
(m1 + m2 + m3)
+ m4
Notes: * In the case that m1 = m2 = m3 = m4 = 1 Ã Icyc.
m1 to m4 are the number of cycles needed for the following memory accesses.
m1: SR save (longword write)
m2: PC save (longword write)
m3: Vector address read (longword read)
m4: Fetch first instruction of interrupt service routine
Rev. 3.00 Oct. 06, 2008 Page 117 of 1080
REJ09B0230-0300
|
▷ |