Rev.3.02
Apr 10, 2008
REJ03B0177-0302
38D2 Group
PIN DESCRIPTION
Table 2
Pin description (1)
Pin
Name
Function
Function except a port function
VCC, VSS
Power source
Apply 1.8 to 5.5 V to VCC, and 0 V to VSS.
RESET
Reset input
Reset input pin for active “L”.
XIN
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. When an external clock is used, connect the clock source to
XIN, and leave XOUT pin open.
Feedback resistor is built in between XIN pin and XOUT pin.
XOUT
Clock output
VL3
LCD power
source
Input 0
≤ VL1 ≤ VL2 ≤ VL3 voltage.
Input 0
VL3 voltage to LCD.
COM0
COM3
Common output
LCD common output pins.
COM2 and COM3 are not used at 1/2 duty ratio.
COM3 is not used at 1/3 duty ratio.
P00/SEG0/(KW4)
P03/SEG3/(KW7)
I/O port P0
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in a bit unit.
LCD segment
output pins
Key input interrupt
input pins
P04/SEG4
P07/SEG7
P10/SEG8
P17/SEG15
I/O port P1
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in a bit unit.
P20/SEG16
P25/SEG21
I/O port P2
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in a bit unit.
P26/SEG22/VL1
P27/SEG23/VL2
LCD power source
pins
P30/SRDY2/(LED0)
P31/SCLK2/(LED1)
P32/TxD2/(LED2)
P33/RxD2/(LED3)
I/O port P3
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in 4-bit unit.
Serial I/O2 function pins
P34/INT2/(LED4)
External interrupt pin
P35/TXOUT1/(LED5)
P36/T2OUT/CKOUT/
(LED6)
Timer X, Timer 2 output pins
P37/CNTR0/TXOUT2/
(LED7)
Timer X function pin
P40/OOUT0/AN0
P41/OOUT1/AN1
I/O port P4
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in 4-bit unit.
A/D convertor
input pins
Oscillation
external output
pins
P42/AN2/ADKEY
ADKEY
P43/AN3
P45/AN5
P46/RTP0/AN6
P47/RTP1/AN7
Real time port
function pins
P50/INT0
P51/INT1
I/O port P5
8-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be
individually programmed as either input or output.
Pull-up control is enabled in 4-bit unit
External input pins
P52/T3OUT/PWM0
P53/T4OUT/PWM1
Timer 3, Timer 4 output pins
PWM output pins
P54/RxD1/(KW0)
P55/TxD1/(KW1)
P56/SCLK1/(KW2)
P57/SRDY1/(KW3)
Serial I/O1 function pins
Key input interrupt input pins