
TC9325F
2002-05-14
5
Pin No.
Symbol
Pin Name
Function and Operation
Remarks
46
DCREF
AD converter
reference voltage
input
AD converter reference voltage input
pin. Normally apply V
DD
.
47~50
P2-0
/ADIN1
P2-3
/ADIN4
I/O port 2
/A/D analog voltage
input
51~54
P3-0
/ADIN5
P3-3
/ADIN8
I/O port 3
/A/D analog voltage
input
4-bit CMOS I/O ports.
Input and output can be programmed
in 1-bit unit.
Pins P2-0 to P3-3 are also used for
the built-in 8-bit, 8-channel AD
converter analog input.
A built-in AD converter is a
comparison system one by one.
When using a 4.5 MHz oscillator, the
conversion clock can be selected
among 900 kHz, 100 kHz, and 50
kHz. When using a 75 kHz oscillator,
the conversion clock is set to 75 kHz.
The conversion times are respectively
23, 192, 382, and 294
μ
s.
The necessary pins can be
programmed to A/D analog input in
1-bit units. Voltage up to the V
DD
can
be input as the AD converter analog
input voltage.
Settings for the AD converter and its
associated control can be performed
by software.
57
58
59
60
P4-0
P4-1
/SI1
/SI2
P4-2
/SO1
/SO2
P4-3
/SCK1
/SCK2
I/O port 4
Serial data input 1
/Serial data input 2
Serial data
input/output 1
/Serial data input 2
Serial clock
input/output 1
/Serial clock input 2
4-bit CMOS I/O ports.
Input and output can be programmed
in 1-bit unit.
Pins P4-1 to P4-3 also input/output
the two serial interface circuits (SIO1,
SIO2).
On the clock edge of the SCK1 pin,
SIO1 can input 4-bit or 8-bit serial
data to pin SI1 or input/output data to
pin SO1. The clock (SCK1) of serial
operation can perform selection of an
inside (SCK
=
37.5 kHz) /exterior, and
can perform control of various LSI,
and communication between
controllers easily.
Enabling the SIO1 interrupt jumps the
program to address 4 when SIO1
execution completes.
On the falling edge of the SCK2 pin,
SIO2 can input 26-bit serial data to
the SI2 pin.
SIO2 incorporates a data detector.
Enabling the SIO2 interrupt triggers
the interrupt on the falling edge of the
SCK2 pin and jumps the program to
address 6.
The SIO1 and SIO2 inputs all
incorporate Schmitt circuits.
SIO1 and SIO2 and their associated
controls can be used and set by
software.
To AD converter
Input instruction
(P4-0)
V
DD
Input instruction
+
SIOon
(P4-1~P4-3)
V
DD
Input
instruction
V
DD
To AD converter
~
~