38K2 Group
Rev.3.00
Oct 15, 2006
page 3 of 147
REJ03B0193-0300
PIN DESCRIPTION
Table 1. Pin description
Function
Apply voltage of 3.0 V – 5.25 V (L version) to VCC, and 0 V to VSS.
Power source pin for ports P1, P3, P4 and analog circuit. Connect this pin to VCC.
This pin controls the operation mode of the chip. Connect this pin to VSS. In the flash memory
mode, this pin becoems VPP power source input pin.
This pin controls the operation mode of the chip. Connect this pin to VSS.
Reference voltage input pin for A/D converter.
Power source pin for analog circuit.
Connect the DVCC and PVCC pins to VCC, and the PVSS pin to VSS.
Reset input pin for active “L”
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.
If an external clock is used, connect the clock source to the XIN pin and leave the XOUT pin open.
Power source pin for USB port circuit.
In Vcc = 4.00 to 5.25 V use the built-in USB reference voltage circuit. In Vcc = 3.60 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 because use of the
built-in USB reference voltage circuit is prohibited in this voltage range.
Output pin to pull-up D0+ by 1.5 k
external resistor.
USB upstream I/O port
USB input level
USB output level output structure
USB downstream I/O port
USB input level
USB output level 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
CMOS 3-state output structure
Pull-up control is enabled.
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
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
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
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
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
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.
Key input pins (key-on wake up interrupt)
A/D converter input pins
External bus interface function pins
Serial I/O function pins
External bus interface function pins
Interrupt input pin
Timer X funciton pin
Interrupt input pin
Pin
VCC, VSS
VCCE
CNVSS
CNVSS2
VREF
DVCC
PVCC, PVSS
RESET
XIN
XOUT
USBVREF
TrON
D0+, D0-
D1+, D1-,
D2+, D2-
P00–P07
P10/DQ0/AN0–
P17/DQ7/AN7
P24–P27
P30–P32
P33/ExINT
P34/ExCS
P35/ExWR
P36/ExRD
P37/ExA0
P40/ExDREQ/RxD
P41/ExDACK/TxD
P42/ExTC/SCLK
P43/ExA1/SRDY
P50/INT0
P51/CNTR0
P52/INT1
P53–P57
P60–P63
Name
Power source
Analog power
source
CNVSS
CNVSS2
Analog reference
voltage input
Analog power
source
Reset input
Clock input
Clock output
USB reference
power source
USB reference
voltage output
USB upstream
I/O
USB down-
stream I/O
I/O port P0
I/O port P1
I/O port P2
I/O port P3
I/O port P4
I/O port P5
I/O port P6
Function except a port function