Philips Semiconductors
XA 16-bit microcontroller
32 K/1 K OTP/ROM/ROMless, 8-channel 8-bit A/D, low voltage (2.7 V–5.5 V),
I
2
C, 2 UARTs, 16 MB address range
Preliminary specification
XA-S3
2000 Dec 01
8
MNEMONIC
NAME AND FUNCTION
TYPE
PIN NUMBER
LQFP
PLCC
P1.0 – P1.7
35–42
32–39
I/O
Port 1:
Port 1 is an 8-bit I/O port with a user-configurable output type. Port 1 latches have
1s written to them and are configured in the quasi-bidirectional mode during reset. The
operation of port 1 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to the section on I/O port
configuration and the DC Electrical Characteristics for details.
Port 1 also provides various special functions as described below:
A0/WRH (P1.0)
Address bit 0 of the external address bus when the eternal data
bus is configured for an 8-bit width. When the external data bus
is configured for a 16-bit width, this pin becomes the high byte
write strobe.
A1 (P1.1):
Address bit 1 of the external address bus.
A2 (P1.2):
Address bit 2 of the external address bus.
A3 (P1.3):
Address bit 3 of the external address bus.
RxD1 (P1.4):
Serial port 1 receiver input.
TxD1 (P1.5):
Serial port 1 transmitter output.
T2 (P1.6):
Timer/counter 2 external count input or overflow output.
T2EX (P1.7):
Timer/counter 2 reload/capture/direction control.
35
32
O
36
37
38
39
40
41
42
33
34
35
36
37
38
39
O
O
O
I
O
I/O
O
P2.0 – P2.7
59–66
58, 59,
61–66
I/O
Port 2:
Port 2 is an 8-bit I/O port with a user-configurable output type. Port 2 latches have
1s written to them and are configured in the quasi-bidirectional mode during reset. The
operation of port 2 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to the section on I/O port
configuration and the DC Electrical Characteristics for details.
When the external program/data bus is used in 16-bit mode, Port 2 becomes the
multiplexed high data/instruction byte and address lines 12 through 19. When the external
data/address bus is used in 8-bit mode, the number of address lines that appear on Port 2
is user programmable in groups of 4 bits.
P3.0 – P3.7
11–18
3–10
I/O
Port 3:
Port 3 is an 8-bit I/O port with a user-configurable output type. Port 3 latches have
1s written to them and are configured in the quasi-bidirectional mode during reset. The
operation of port 3 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to the section on I/O port
configuration and the DC Electrical Characteristics for details.
Port 3 also provides the various special functions as described below:
RxD0 (P3.0):
Receiver input for serial port 0.
TxD0 (P3.1):
Transmitter output for serial port 0.
INT0 (P3.2):
External interrupt 0 input.
INT1 (P3.3):
External interrupt 1 input.
T0 (P3.4):
Timer/counter 0 external count input or overflow output.
T1 / BUSW (P3.5):
Timer/counter 1 external count input or overflow output. The
value on this pin is latched as an external chip reset is
completed and defines the default external data bus width.
WRL (P3.6):
External data memory low byte write strobe.
RD (P3.7):
External data memory read strobe.
11
12
13
14
15
16
3
4
5
6
7
8
I
O
I
I
I/O
I/O
17
18
9
10
O
O
P4.0 – P4.7
3–10
73–79, 2
I/O
Port 4:
Port 4 is an 8-bit I/O port with a user-configurable output type. Port 4 latches have
1s written to them and are configured in the quasi-bidirectional mode during reset. The
operation of Port 4 pins as inputs and outputs depends upon the port configuration
selected. Each port pin is configured independently. Refer to the section on I/O port
configuration and the DC Electrical Characteristics for details.
Port 4 also provides various special functions as described below:
ECI (P4.0):
PCA External clock input.
CEX0 (P4.1):
Capture/compare external I/O for PCA module 0.
CEX1 (P4.2):
Capture/compare external I/O for PCA module 1.
CEX2 (P4.3):
Capture/compare external I/O for PCA module 2.
CEX3 (P4.4):
Capture/compare external I/O for PCA module 3.
CEX4 (P4.5):
Capture/compare external I/O for PCA module 4.
A20 (P4.6):
Address bit 20 of the external address bus.
A21 (P4.7):
Address bit 21 of the external address bus.
3
4
5
6
7
8
9
10
73
74
75
76
77
78
79
2
I
I/O
I/O
I/O
I/O
I/O
O
O