Usage Notes - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

Instruction (instruction replaced by
interrupt exception handling)
Interrupt service routine—
F (Instruction fetch)
D (Instruction decoding)
E (Instruction execution)
M (Memory access)
Note: For the interrupt acceptance timing, see table 4.1, Exception Source Detection and
Start of Handling, in section 4.1.2, Exception Handling Operation.
Figure 5.4 Example of Pipelining in IRQ Interrupt Acceptance
5.6

Usage Notes

When the following operations are performed in the order shown when a pin to which IRQ input is
assigned is designated as a general input pin by the pin function controller (PFC) and inputs a low-
level signal, the IRQ falling edge is detected, and an interrupt request is detected, immediately
after the setting in (b) is performed:
• An interrupt control register (ICR) setting is made so that an interrupt is detected at the falling
edge of IRQ.
• The function of pins to which IRQ input is assigned is switched from general input to IRQ
input by a pin function controller (PFC) setting.
Therefore, when switching the pin function from general input pin to IRQ input, the pin function
controller (PFC) setting should be changed to IRQ input while the pin to which IRQ input is
assigned is high.
80
Interrupt accepted
IRQ
Overrun fetch
first instruction
(edge)
IRQOUT
(level)
When m1 = m2 = m3, the interrupt response time is 11 cycles.
Instruction fetched from memory where program is stored.
The fetched instruction is decoded.
Data operations and address calculations are performed
according to the decoded results.
Data in memory is accessed.
...(a)
5 + m1 + m2 + m3
3
m1 m2 1 m3 1
3
F D
E E
M M E
F
...(b)
M E E
F D E

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents