English
Language : 

4570 Datasheet, PDF (6/69 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MULTIFUNCTION
Pin
Multifunction
Pin
Multifunction
D9
TOUT
TOUT
D9
P21
INT
INT
P21
Notes 1: Pins except above have just single function.
2: The port D9 is the output port and port P21 is the input port.
CONNECTIONS OF UNUSED PINS
Pin
Connection
Pin
Connection
D0–D8
Connect to VSS, or set the output latch to P30–P33
Connect to VSS, or set the output latch to
D9/TOUT
“0” and open.
“0” and open.
P00–P03
Set the output latch to “1” and open.
P40–P43
Connect to VSS (Note 2) or open (Note 3).
P10–P13
CARR
Open.
P20, P21/INT
Connect to VSS (Note 1).
Notes 1: When the P21/INT pin is connected to VSS pin, set the return level to “H” level by software (interrupt control register I12=“1”).
When the P21/INT pin is connected to VSS pin while the return level is set to “L” level, system returns from RAM back-up
state immediately after system enters the RAM back-up state.
2: In order to connect ports P40–P43 to VSS, turn off their pull-up transistors (pull-up control register PU0i=“0”) by software and
also invalidate the key-on wakeup functions (key-on wakeup control register K0i=“0”). When these pins are connected to
VSS while the key-on wakeup functions are left valid, the system fails to return from RAM back-up state. In order to make
these pins open, turn on their pull-up transistors (register PU0i=“1”) by software (i = 0, 1, 2, 3).
Be sure to select the key-on wakeup function and the pull-up function with every one port.
3: In order to make ports P40–P43 open, turn on their pull-up transistors (register PU0i = “1”) by software (i = 0, 1, 2, 3).
(Note in order to set the output latch to “0” or “1” or make pins open)
• After system is released from reset, a port is in a high-impedance state until the output latch of the port is set to “0” by software.
Accordingly, the voltage level of pins is undefined and the excess of the supply current may occur.
• To set the output latch periodically is recommended because the value of output latch may change by noise or a program run away
(caused by noise).
(Note in order to connect unused pins to VSS)
• To avoid noise, connect the unused pins to VSS at the shortest distance using a thick wire.
PORT FUNCTION
Port
Pin
Port D D0–D8, D9/TOUT
Port P0 P00–P03
Port P1 P10–P13
Port P2 P20
P21/INT
Port P3 P30–P33
Port P4 P40–P43
Input/
Output
Output
(10)
I/O
(4)
I/O
(4)
Input
(2)
I/O
Input
(4)
Output structure
N-channel open-drain
N-channel open-drain
N-channel open-drain
N-channel open-drain
Control Control Control
bits instructions registers
1 SD
W22
RD
CLD
4 OP0A
IAP0
4 OP1A
IAP1
2 IAP2
SNZI0
(Note)
4 OP3A
IAP3
4 IAP4
PU0
K0
Note: Level of the P21/INT pin can be examined with the SNZI0 instruction.
Remark
W22 controls the switch of D9/
TOUT pin
Pull-up functions
Key-on wakeup functions
Pull-up functions
Key-on wakeup functions
Key-on wakeup function
Pull-up functions
(programmable)
Key-on wakeup functions
(programmable)
5