
91
Table 5.5
Types of Resets
Conditions for Transition
to Reset Status
Internal Status
Type
RES
MRES
CPU
On-Chip Peripheral Module
Power-on reset
Low
—
Initialized
Initialized
Manual reset
High
Low
Initialized
Not initialized
5.2.1
Power-On Reset
When the
RES
pin is driven low, the LSI does a power-on reset. To reliably reset the LSI, the
RES
pin should be kept at low for at least the duration of the oscillation settling time when applying
power or when in standby mode (when the clock circuit is halted) or at least 20 t
cyc
(when the
clock circuit is running). During power-on reset, CPU internal status and all registers of on-chip
peripheral modules are initialized. See Appendix C, Pin States, for the status of individual pins
during the power-on reset status.
In the power-on reset status, power-on reset exception processing starts when the
RES
pin is first
driven low for a set period of time and then returned to high. The CPU will then operate as
follows:
1. The initial value (execution start address) of the program counter (PC) is fetched from the
exception processing vector table.
2. The initial value of the stack pointer (SP) is fetched from the exception processing vector table.
3. The vector base register (VBR) is cleared to H'00000000 and the interrupt mask bits (I3–I0) of
the status register (SR) are set to H'F (1111).
4. The values fetched from the exception processing vector table are set in the program counter
(PC) and SP and the program begins executing.
Be certain to always perform power-on reset processing when turning the system power on.
5.2.2
Manual Reset
When the
RES
pin is high and the
MRES
pin is driven low, the LSI does a manual reset. To
reliably reset the LSI, the
MRES
pin should be kept at low for at least the duration of the
oscillation settling time when in standby mode (when the clock is halted) or at least 20 t
cyc
when
the clock is operating. During manual reset, the CPU internal status is initialized. Registers of on-
chip peripheral modules are not initialized. Since the BSC is not affected, the DRAM refresh
control functions remain operational even when the manual reset status continues for a long period
of time. When the LSI enters manual reset status in the middle of a bus cycle, manual reset
exception processing does not start until the bus cycle has ended. Thus, manual resets do not abort
bus cycles. However, the bus cycle ends once
MRES
is driven low. Hold at low level until manual
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...