Section 5 Interrupt Controller (INTC)
Rev. 2.00 Mar 09, 2006 page 197 of 906
REJ09B0292-0200
B. When clearing on-chip interrupt source
When an interrupt source is from an on-chip peripheral module, also, pipeline operation
must be considered to ensure that the same interrupt is not implemented again. An interval
of 0.5 Icyc + 1.0 Pcyc is required until an on-chip peripheral module interrupt is identified
by the CPU. Similarly, an interval of 0.5 Icyc + 1.0 Pcyc is also necessary to report the fact
that an interrupt request is no longer present.
a. When returning from interrupt handling by means of RTE instruction
When the RTE instruction is used to return from interrupt handling, as shown in figure
5.13, consider the cycles to be inserted between the read instruction for synchronization
and the RTE instruction, according to the set clock ratio (I
φ
: E
φ
: P
φ
).
The on-chip peripheral interrupt signal should be negated at least 0.5 Icyc + 1.0 Pcyc
before next interrupt acceptance becomes possible.
For example, if clock ratio I
φ
: E
φ
: P
φ
is 4 : 2 : 2, at least 2.5 Icyc should be inserted.
b. When changing level during interrupt handling
When the SR value is changed by means of an LDC instruction and multiple
implementation of other interrupts is enabled, consider the cycles to be inserted
between the synchronization instruction and the LDC instruction as shown in figure
5.14, according to the set clock ratio (I
φ
: E
φ
: P
φ
).
The on-chip peripheral interrupt signal should be negated at least 0.5 Icyc + 1.0 Pcyc
before next interrupt acceptance becomes possible.
For example, if clock ratio I
φ
: E
φ
: P
φ
is 4 : 2 : 2, at least 2.5 Icyc should be inserted.
Interrupt clear instruction
On-chip peripheral
write, min. 1 Icyc
Write completed
Next interrupt can be accepted
Synchronization instruction
RTE instruction
On-chip peripheral interrupt
Delay slot instruction
Interrupt return destination instruction
D
E
M
M
E
D
E
M
M
W
D
E
E
F
D
D
0.5Icyc + 1.0Pcyc
On-chip peripheral
read, min. 1 Icyc
Figure 5.13 Pipeline Operation when Returning by Means of RTE Instruction
Содержание SH7616
Страница 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Страница 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Страница 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Страница 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Страница 662: ...Section 14 Serial Communication Interface with FIFO SCIF Rev 2 00 Mar 09 2006 page 636 of 906 REJ09B0292 0200 ...
Страница 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Страница 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Страница 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Страница 935: ...SH7616 Hardware Manual ...