
DS2251T
021998 4/20
PIN ASSIGNMENT
1
P1.0
2
P1.1
3
P1.2
4
P1.3
5
P1.4
6
P1.5
7
P1.6
8
P1.7
9
RST
10
P3.0 RXD
11
P3.1 TXD
12
P3.2 INT0
13
P3.3 INT1
14
P3.4 T0
15
P3.5 T1
16
P3.6 WR
17
P3.7 RD
18
XTAL1
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
XTAL2
GND
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
PSEN
ALE
PROG
P0.7
P0.6
P0.5
P0.4
P0.3
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
P0.2
P0.1
P0.0
V
CC
BA0
BA1
BA2
BA3
BA4
BA5
BA6
BA7
BA8
BA9
BA10
BA11
BA12
BA13
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
INTB
BD0
BD1
BD2
BD3
BD4
BD5
BD6
BD7
R/W
PF
PE3
PE4
INTP
INTA
SQW
VRST
BA15
PIN DESCRIPTION
PIN
DESCRIPTION
39–32
P0.0 – P0.7.
General purpose I/O Port 0. This port is open–drain and can not drive a logic 1. It
requires external pull–ups. Port 0 is also the multiplexed Expanded Address/Data bus. When
used in this mode, it does not require pull–ups.
1–8
P1.0 – P1.7.
General purpose I/O Port 1.
21–28
P2.0 – P2.7.
General purpose I/O Port 2. Also serves as the MSB of the Expanded Address
bus.
10
P3.0 RXD.
General purpose I/O port pin 3.0. Also serves as the receive signal for the on board
UART. This pin should NOT be connected directly to a PC COM port.
11
P3.1 TXD.
General purpose I/O port pin 3.1. Also serves as the transmit signal for the on board
UART. This pin should NOT be connected directly to a PC COM port.
12
P3.2 INT0.
General purpose I/O port pin 3.2. Also serves as the active low External
Interrupt 0.
13
P3.3 INT1.
General purpose I/O port pin 3.3. Also serves as the active low External
Interrupt 1.
14
P3.4 T0.
General purpose I/O port pin 3.4. Also serves as the Timer 0 input.
15
P3.5 T1.
General purpose I/O port pin 3.5. Also serves as the Timer 1 input.
16
P3.6 WR.
General purpose I/O port pin. Also serves as the write strobe for Expanded bus
operation.
17
P3.7 RD.
General purpose I/O port pin. Also serves as the read strobe for Expanded bus
operation.