English
Language : 

4524 Datasheet, PDF (75/161 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4524 Group
LIST OF PRECAUTIONS
➀Noise and latch-up prevention
Connect a capacitor on the following condition to prevent noise
and latch-up;
• connect a bypass capacitor (approx. 0.1 µF) between pins VDD
and VSS at the shortest distance,
• equalize its wiring in width and length, and
• use relatively thick wire.
In the One Time PROM version, CNVSS pin is also used as VPP
pin. Accordingly, when using this pin, connect this pin to VSS
through a resistor about 5 kΩ (connect this resistor to CNVSS/
VPP pin as close as possible).
➁Register initial values 1
The initial value of the following registers are undefined after sys-
tem is released from reset. After system is released from reset,
set initial values.
• Register Z (2 bits)
• Register D (3 bits)
• Register E (8 bits)
➂Register initial values 2
The initial value of the following registers are undefined at power
down. After system is returned from power down, set initial values.
• Register Z (2 bits)
• Register X (4 bits)
• Register Y (4 bits)
• Register D (3 bits)
• Register E (8 bits)
➃ Stack registers (SKS)
Stack registers (SKs) are eight identical registers, so that subrou-
tines can be nested up to 8 levels. However, one of stack
registers is used respectively when using an interrupt service
routine and when executing a table reference instruction. Accord-
ingly, be careful not to over the stack when performing these
operations together.
➄ Prescaler
Stop counting and then execute the TABPS instruction to read
from prescaler data.
Stop counting and then execute the TPSAB instruction to set
prescaler data.
➅Timer count source
Stop timer 1, 2, 3, 4 and LC counting to change its count source.
➈Writing to reload register R1, R3, R4H
When writing data to reload register R1, reload register R3 or re-
load regiser R4H while timer 1, timer 3 or timer 4 is operating,
avoid a timing when timer 1, timer 3 or timer 4 underflows.
10 Timer 4
Avoid a timing when timer 4 underflows to stop timer 4.
When “H” interval extension function of the PWM signal is set to
be “valid”, set “1” or more to reload register R4H.
11 Timer 5
Stop timer 5 counting to change its count source.
12 Timer input/output pin
Set the port C output latch to “0” to output the PWM signal from
C/CNTR pin.
13 Watchdog timer
• The watchdog timer function is valid after system is released
from reset. When not using the watchdog timer function, stop the
watchdog timer function and execute the DWDT instruction, the
WRST instruction continuously, and clear the WEF flag to “0”.
• The watchdog timer function is valid after system is returned from
the power down state. When not using the watchdog timer func-
tion, stop the watchdog timer function and execute the DWDT
instruction and the WRST instruction continuously every system
is returned from the power down state.
• When the watchdog timer function and power down function are
used at the same time, initialize the flag WDF1 with the WRST
instruction before system enters into the power down state.
14 Multifunction
• Be careful that the output of ports D8 and D9 can be used even
when INT0 and INT1 pins are selected.
• Be careful that the input of ports D4–D6 can be used even when
SIN, SOUT and SCK pins are selected.
• Be careful that the input/output of port D7 can be used even
when input of CNTR0 pin are selected.
• Be careful that the input of port D7 can be used even when out-
put of CNTR0 pin are selected.
• Be careful that the “H” output of port C can be used even when
output of CNTR1 pin are selected.
15 Program counter
Make sure that the PCH does not specify after the last page of
the built-in ROM.
➆Reading the count value
Stop timer 1, 2, 3 or 4 counting and then execute the data read
instruction (TAB1, TAB2, TAB3, TAB4) to read its data.
➇Writing to the timer
Stop timer 1, 2, 3, 4 or LC counting and then execute the data
write instruction (T1AB, T2AB, T3AB, T4AB, TLCA) to write its
data.
Rev.2.00 Jul 27, 2004 page 75 of 159
REJ03B0091-0200Z