HD6417020SX20IV Renesas Electronics America, HD6417020SX20IV Datasheet - Page 352

SH 1 CORE 32B MPU, 20MHZ/5V, 100

HD6417020SX20IV

Manufacturer Part Number
HD6417020SX20IV
Description
SH 1 CORE 32B MPU, 20MHZ/5V, 100
Manufacturer
Renesas Electronics America
Series
SuperH® SH7020r
Datasheet

Specifications of HD6417020SX20IV

Core Processor
SH-1
Core Size
32-Bit
Speed
20MHz
Connectivity
EBI/EMI, SCI
Peripherals
DMA, POR, PWM, WDT
Number Of I /o
32
Program Memory Type
ROMless
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Program Memory Size
-
Data Converters
-
Writing to the RSTCSR: The RSTCSR must be written by a word access to address
H'5FFFFFBA. It cannot be written by byte transfer instructions. Procedures for writing 0 in
WOVF (bit 7) and for writing to RSTE (bit 6) and RSTS (bit 5) are different, as shown in figure
12.3. To write 0 in the WOVF bit, the write data must be H'A5 in the upper byte and H'00 in the
lower byte. This clears the WOVF bit to 0. The RSTE and RSTS bits are not affected. To write to
the RSTE and RSTS bits, the upper byte must be H'5A and the lower byte must be the write data.
The values of bits 6 and 5 of the lower byte are transferred to the RSTE and RSTS bits,
respectively. The WOVF bit is not affected.
Reading from the TCNT, TCSR, and RSTCSR: TCNT, TCSR, and RSTCSR are read like
other registers. Use byte transfer instructions. The read addresses are H'5FFFFB8 for the TCSR,
H'5FFFFB9 for the TCNT, and H'5FFFFBB for the RSTCSR.
12.3
12.3.1
To use the WDT as a watchdog timer, set the WT/IT and TME bits of the TCSR to 1. Software
must prevent TCNT overflow by rewriting the TCNT value (normally by writing H'00) before
overflow occurs. If the TCNT fails to be rewritten and overflows due to a system crash or the like,
a WDTOVF signal is output (figure 12.4). The WDTOVF signal can be used to reset external
system devices. The WDTOVF signal is output for 128 clock cycles.
If the RSTE bit in the RSTCSR is set to 1, a signal to reset the chip will be generated internally
simultaneous to the WDTOVF signal when TCNT overflows. Either a power-on reset or a manual
reset can be selected by the RSTS bit. The internal reset signal is output for 512 clock cycles.
When a watchdog reset is generated simultaneously with input at the RES pin, the software
distinguishes the RES reset from the watchdog reset by checking the WOVF bit in the RSTCSR.
The RES reset takes priority. The WOVF bit is cleared to 0.
RENESAS 334
Writing 0 to the WOVF bit
Address:
Writing to the RSTE and RSTS bits
Address:
Operation
Operation in the Watchdog Timer Mode
H'5FFFFBA
H'5FFFFBA
Figure 12.3 Writing to the RSTCSR
15
H'A5
15
H'5A
8
8
7
H'00
7
Write data
0
0

Related parts for HD6417020SX20IV