- 15 -
IC BLOCK DIAGRAM & DESCRIPTION
PIn name Pin No. I/O I/O Format
Functions
S17/PE0
S18/PE1/SCK2
S19/PE2/SO2
S20/PE3/SI2
S25/PM0
S26/PM1
S27/PM2
S28/PM3
39
38
37
36
30
29
28
27
I/O
I/O
LCD driver segment output, general-porpose input/output and
serial I/O ports
The IOS instruction is used to switch between the LCD driver
segment output, general-purpose I/O, and serial I/O functions,
and to switch between input and output of the general-purpose
input port function.
• For use as segment output
These pins can be set in bit units.
The IOS instruction with Pn=ODH specifies segment output
use in bit units.
b0=S17/PE0 0 • • • Segment output
b1=S18/PE1 1 • • • PE0 to 3 output
b2=S19/PE2
b3=S20/PE3
• For use as general-purpose input /output port
These pins can be set for input /output in bit units.
(1 bit I/O)
b2=SI/O2
0 • • • Genetal-purpose port
1 • • • SI/O port
Input /output is specified with the IOS instruction in bit units.
PE • • • Pn=4 0 • • • Input
1 • • • Output
• For serial I/O port
The serial I/O port function is specified with the IOS instruction
(Pn=0).
The contents of the serial I/O data buffer can be saved and
loaded with the INR and OUTR instructions.
*Pin setup states when used as a serial I/O port
PE0 • • • General-purpose input /output
PE1 • • • SCK2 output in internal clock mode
SCK2 output in external clock mode
PE2 • • • SO2 output
PE3 • • • SI2 input
In CLOCK STOP mode, if this port is used as a general-purpose
I/O port or as a serial I/O port, the pins go to the input disabled
high-impedance state. If used for segment output, the pins fixed at
the low level. The segment output port function is selected after a
power-on reset.
LCD driver segment output, general-porpose input /output ports.
The IOS instruction is used to switch between the LCD driver
segment output, general-purpose I/O port, and serial I/O to switch
between input and output of the general-purpose input /output
port function.
• For use as segment output
These pins can be set in 4 bits units. The IOS instruction with
Pn=OEH specifies segment output use in bit units.
b0=S25 to 28/PM0 to 3
0 • • • Segment output
1 • • • PM0 to 3
• For use as general-purpose input /output port
These pins can be set for input /output in bit units.
Input /output is specified with the IOS instruction in bit units.
PM • • • Pn=OCH
0 • • • Input
1 • • • Output
In CLOCK STOP mode, if this port is used as a general-purpose
I/O port, the pins go to the input disabled high-impedance state. If
used for segment output, the pins are fixed at the low level. The
segment output port function is selected after a power-on reset.
CMOS
three
value
output
and
push-pull
CMOS
three
value
output
and
push-pull
PIn name Pin No. I/O I/O Format
Functions
S21/PF0
S22/PF1/SCK1
S23/PF2/SO1
S24/PF3/SI1
S29/PN0/BEEP
S30/PN1
S31/PN2
S32/PN3
35
34
33
32
26
25
24
23
I/O
O
LCD driver segment output, general-porpose input/output and
serial I/O ports.
The PF0 to 3 inputs are in the Schmidt format.
The IOS instruction is used to switch between the LCD driver
segment output, general-purpose I/O, and serial I/O functions, and
to switch between input and output of the general-purpose input
port function.
• For use as segment output
These pins can be set in 4 bits units. The IOS instruction with
Pn=OEH specifies segment output use in bit units.
b0=S21 to 24/ PF0 to 3
0 • • • Segment output
1 • • • PE0 to 3
• For use as general-purpose input /output port
These pins can be set to input /output in bit units. (1 bit I/O)
b1=SI/O 1
0 • • • Genetal-purpose port
1 • • • SI/O port
Input /output is specified with the IOS instruction in bit units.
PF • • • Pn=5 0 • • • Input
1 • • • Output
• For use as serial I/O port
The serial I/O port function is specified with the IOS instruction
(Pn=0). The contents of the serial I/O data buffer can be saved
and loaded with the INR and OUTR instructions.
*Pin setup states when used as a serial I/O port
PF0 • • • General-purpose input /output
PF1 • • • SCK1 output in internal clock mode
SCK1 output in external clock mode
PF2 • • • SO1 output
PF3 • • • SI1 input
In CLOCK STOP mode, if this port is used as a general-purpose
I/O port or as a serial I/O port, the pins go to the input disabled
high-impedance state. If used for segment output, the pins are
fixed at the low level. The segment output port function is selected
after a power-on reset.
Segment output/general-porpose input port 1/ BEEP tone output
pins. The IOS instruction is used to switch between the segment
output port and the PN0 to 3 functions. The BEEP instruction
switches between the general-purpose output port and BEEP tone
function.
• For use as segment output
These pins can be set in 3 bits units. The IOS instruction with
Pn=OEH specifies segment output use in bit units.
b2=S29 to 32/ PN0 to 3
0 • • • Segment output
1 • • • PN0 to 3
• For use as general-purpose output.
The general-porpose output port function is selected with the
BEEP instruction (b3=0).
PN1 to 3 are dedicated general-purpose output function pins.
• For use as BEEP output pin
The BEEP instruction with b3=1 sets the BEEP output.
The BEEP instruction bit b0,b1 and b2 sets the frequency.
When this is set as the BEEP port, executing an output
instruction will rewrite the internal latch data but has no
influence on the output.
These pins go to the output high-impedance state in clock stop
mode. If used for segment output, the pins are fixed at the low level.
These pins go to the output high-impedance state during the
power-on reset and hold that state until an output instruction is
executed.
CMOS
three
value
output
and
push-pull
CMOS
three
value
output
and
push-pull
XIN
TEST2
SI0/PG3
SO0/PG2
SCK0/PG1
PG0
PC3
PC2
PC1
PC0
PB3
PB2
PB1
PB0
PA
3
PA
2
PA
1
P
A0
PK3
PK2
INT1/PK1
INT0/PK0
PN3/S32
PN2/S31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
P10/D
A
C0
P11/D
A
C1
P12/D
A
C2
P13/D
A
C3
Vdd1
Vdd2
COM1
COM2
COM3
S1
S2
S3
S4
S5
S6
S7
S8
S9
S10
S11
S12
S13
S14
S15
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
PN1/S30
BEEP/PN0/S29
PM3/S28
PM2/S27
PM1/S26
PM0/S25
[Vpp]Vdd
SI1/PF3/S24
SO1/PF2/S23
SCK1/PF1/S22
PF0/S21
SI2/PE3/S20
SO2/PE2/S19
SCK2/PE1/S18
PE0/S17
S16
XOUT
TEST1
E02
E01
VSS
AMIN
FMIN
Vdd
SNS
LCTR
HCTR
HOLD
PH0/ADI0
PH1/ADI1
PH2/ADI2
PH3/ADI3
IC601 LC72338-9C10 (Single-Chip PLL + Controller)