|
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
|
▷ |