AM-900U
5 – 10
HD64F36049 (IC21) Terminal description
TYPE
SYMBOL
PIN NO.
I/O
FUNCTIONS
Power supply pins
Vcc
12
I
Power supply pin. Connect this pin to the system power supply.
Vss
9, 50
I
Ground pin. Connect this pin to the system power supply (0V).
AVcc
3
I
Analog power supply pin for the A/D converter. When the A/D converter is not
used, connect this pin to the system power supply.
AVss
74
I
Analog ground pin for the A/D converter. Connect this pin to the system power
supply (0V).
V
CL
6
I
Internal step-down power supply pin. Connect a capacitor of around 0.1
µ
F
between this pin and the Vss pin for stabilization.
Clock pins
OCS1
11
I
These pins connect with crystal or ceramic resonator for the system clock, or
can be used to input an external clock.
OCS2
10
O
X1
5
I
These pins connect with a 32.768 kHz crystal resonator for the subclock. See
Clock Pulse Generators, for a typical connection.
X2
4
O
System control
/RES
7
I
Reset pin. The pull-up resistor (typ. 150 k
Ω
) is incorporated. When driven low,
the chip is reset.
TEST
8
I
Test pin. Connect this pin to Vss.
External interrupt pins
/NMI
13
I
Non-maskable interrupt request input pin.
/IRQ0 - /IRQ3
25 - 28
I
External interrupt request input pins. Can select the rising or falling edge.
/WKP0 - /WKP5
36 - 31
I
External interrupt request input pins. Can select the rising or falling edge.
RTC
TMOW
56
O
This is an output pin for divided clocks.
Timer B1
TMIB1
26
I
External event input pin.
Timer V
TMOV
72
O
This is an output pin for waveforms generated by the output compare function.
TMCIV
71
I
External event input pin.
TMRIV
70
I
Counter reset input pin.
TRGV
28
I
Count start trigger input pin.
Timer Z
FTIOA0
42
I/O
Output compare output/input capture input/external clock input pin.
FTIOB0
43
I/O
Output compare output/input capture input/PWM output pin.
FTIOC0
44
I/O
Output compare output/input capture input/PWM synchronous output pin (at a
reset or in complementary PWM mode)
FTIOD0
45
I/O
Output compare output/input capture input/PWM output pin.
FTIOA1
46
I/O
Output compare output/input capture input/PWM output pin (at a reset or in
complementary PWM mode)
FTIOB1 - FTIOD1 47 - 49
I/O
Output compare output/input capture input/PWM output pin.
Timer W
FTCI
51
I
External event input pin.
FTIOA - FTIOD
52 - 55
I/O
Output compare output/input capture input/PWM output pin.
14bit PWM
PWM
57
O
14bit PWM square wave output pin.
I
2
C bus interface 2 (IIC2) SDA
30
I/O
IIC data I/O pin. Can directly drive a bus by NMOS open-drain output. When
using this pin, external pull-up resistor is required.
SCL
29
I/O
Serial Communication
interface 3 (SCI3)
TXD, TXD_2,
TXD_3
39, 69,
61
O
Transmit data output pin.
RXD, RXD_2,
RXD_3
40, 68,
60
I
Receive data input pin.
SCK3, SCK_2,
SCK_3
41, 67,
59
I/O
Clock I/O pin.
A/D converter
AN7 - AN0
2, 1, 80 -
75
I
Analog input pin.
/ADTRG
31
I
Conversion start trigger input pin.
I/O ports
PB7 - PB0
2, 1, 80 -
75
I
8bit input port.
P17 - P14, P12 -
P10
28 - 25,
58 - 56
I/O
7bit I/O port.
P24 - P20
37 - 41
I/O
5bit I/O port.
P37 - P30
17 - 24
I/O
8bit I/O port.
P57 - P50
29 - 36
I/O
8bit I/O port.
P67 - P60
49 - 42
I/O
8bit I/O port.
P77 - P74, P72 -
P70
73 - 70,
69 - 67
I/O
7bit I/O port.
P87 - P80
14 - 16,
55 - 51
I/O
8bit I/O port.
P97 - P90
66 - 59
I/O
8bit I/O port.