MITSUBISHI MICROCOMPUTERS
38K0 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1. Pin description
Pin
Name
Function
Function except a port function
VCC, VSS
VCCE
• Apply voltage of 3.0 V – 5.25 V to VCC, and 0 V to VSS.
Power source
• Power source pin for ports P1, P3, P4 and analog circuit. Connect this pin to VCC.
Analog power
source
CNVSS
• This pin controls the operation mode of the chip. Connect this pin to VSS. In the flash memory
CNVSS
mode, this pin becoems VPP power source input pin.
CNVSS2
VREF
• This pin controls the operation mode of the chip. Connect this pin to VSS.
• Reference voltage input pin for A-D converter.
CNVSS2
Analog reference
voltage input
DVCC
PVCC, PVSS
• Power source pin for analog circuit.
• Connect the DVCC and PVCC pins to VCC, and the PVSS pin to VSS.
Analog power
source
RESET
XIN
• Reset input pin for active “L”
Reset input
Clock input
• Input and output pins for the main clock generating circuit.
• Connect a ceramic resonator or a quartz-crystal oscillator between the XIN and XOUT pins to set
the oscillation frequency.
XOUT
Clock output
•If an external clock is used, connect the clock source to the XIN pin and leave the XOUT pin open.
USBVREF
• Power source pin for USB port circuit.
USB reference
power source
In Vcc = 4.00 to 5.25 V use the built-in USB reference voltage circuit. In Vcc = 3.00 to 4.00 V apply
3.3 V power supply from the external because use of the built-in USB reference voltage circuit is
prohibited in this voltage range. In Vcc = 3.00 to 3.60 V connect this pin to VCC.
TrON
• Output pin to pull-up D0+ by 1.5 kΩ external resistor.
USB reference
voltage output
D0+, D0-
• USB upstream I/O port
• USB input level
USB upstream
I/O
• USB output level output structure
P00–P07
• 8-bit I/O port
• Key input pins (key-on wake up interrupt)
I/O port P0
• I/O direction register allows each pin to be individually
programmed as either input or output.
• CMOS compatible input level
• CMOS 3-state output structure
• Pull-up control is enabled.
P1
P1
0
/DQ
/DQ
0
7
/AN
0
–
• 8-bit I/O port
• A-D converter input pins
• External bus interface function pins
I/O port P1
7
/AN7
• I/O direction register allows each pin to be individually
programmed as either input or output.
• CMOS compatible input level
• CMOS 3-state output structure
P20–P27
P30–P32
• 8-bit I/O port
I/O port P2
I/O port P3
• I/O direction register allows each pin to be individually programmed as either input or output.
• CMOS compatible input level
• CMOS 3-state output structure
• 8-bit I/O port
• I/O direction register allows each pin to be individually
programmed as either input or output.
• CMOS compatible input level
P33/ExINT
P34/ExCS
P35/ExWR
P36/ExRD
P37/ExA0
• External bus interface function pins
• CMOS 3-state output structure
P4
P4
P4
0
1
/ExDREQ/RxD
/ExDACK/TxD
/ExTC/SCLK
• 4-bit I/O port
• Serial I/O function pins
• External bus interface function pins
I/O port P4
I/O port P5
I/O port P6
• I/O direction register allows each pin to be individually
programmed as either input or output.
• CMOS compatible input level
2
P4
3/ExA1/SRDY
• CMOS 3-state output structure
P50/INT0
P51/CNTR0
P52/INT1
P53–P57
P60–P63
• 8-bit I/O port
• Interrupt input pin
• Timer X funciton pin
• Interrupt input pin
• I/O direction register allows each pin to be individually
programmed as either input or output.
• CMOS compatible input level
• CMOS 3-state output structure
• 4-bit I/O port
• I/O direction register allows each pin to be individually programmed as either input or output.
• CMOS compatible input level
• CMOS 3-state output structure
• Output large current for LED drive is enabled.
3