DS2252T
4 of 15
PIN ASSIGNMENT
1
P1.0
2
V
CC
3
P1.1
4
P0.0
5
P1.2
6
P0.1
7
P1.3
8
P0.2
9
P1.4
10
P0.3
11
12
13
14
15
16
17
18
19
20
P1.5
P0.4
P1.6
P0.5
P1.7
P0.6
RST
P0.7
P3.0 RXD
SDI
21
22
23
24
25
26
27
28
29
30
P3.1 TXD
ALE
P3.2
INT0
31
32
33
34
35
36
37
38
39
40
P3.6
WR
P2.4
P3.7
RD
P2.3
XTAL2
P2.2
XTAL1
P2.1
GND
P2.0
PROG
P3.3
INT1
P2.7
P3.4 T0
P2.6
P3.5 T1
P2.5
PIN DESCRIPTION
PIN
4, 6, 8, 10,
12, 14, 16,
18
1, 3, 5, 7,
9, 11, 13,
15
40, 38, 36,
34, 32, 30,
28, 26
DESCRIPTION
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 pullups. Port 0 is also the multiplexed Expanded Address/Data bus.
When used in this mode, it does not require pullups.
P1.0 - P1.7.
General purpose I/O Port 1.
P2.0 - P2.7.
General purpose I/O Port 2. Also serves as the MSB of the Expanded
Address bus.
19
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.
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.
P3.2
INT0
.
General purpose I/O port pin 3.2. Also serves as the active low External
Interrupt 0. This pin is also connected to the
INTP
output of the DS1283 Real Time
Clock.
P3.3
INT1
.
General purpose I/O port pin 3.3. Also serves as the active low External
Interrupt 1.
P3.4 T0.
General purpose I/O port pin 3.4. Also serves as the Timer 0 input.
P3.5 T1.
General purpose I/O port pin 3.5. Also serves as the Timer 1 input.
P3.6
WR
.
General purpose I/O port pin. Also serves as the write strobe for Expanded bus
operation.
P3.7
RD
.
General purpose I/O port pin. Also serves as the read strobe for Expanded bus
operation.
RST -
Active high reset input. A logic 1 applied to this pin will activate a reset state. This
pin is pulled down internally, can be left unconnected if not used. An RC power-on reset
circuit is not needed and is NOT recommended.
21
23
25
27
29
31
33
17