Philips Semiconductors
Preliminary specification
XA-G49
XA 16-bit microcontroller family
64K Flash/2K RAM, watchdog, 2 UARTs
2
2000 Apr 03
GENERAL DESCRIPTION
The XA-G49 is a member of Philips' 80C51 XA (eXtended
Architecture) family of high performance 16-bit single-chip
microcontrollers.
The XA-G49 contains 64k bytes of Flash program memory, and
provides three general purpose timers/counters, a watchdog timer,
dual UARTs, and four general purpose I/O ports with programmable
output configurations.
A default serial loader program in the Boot ROM allows In-System
Programming (ISP) of the Flash memory without the need for a
loader in the Flash code. User programs may erase and reprogram
the Flash memory at will through the use of standard routines
contained in the Boot ROM (In-Application Programming).
FEATURES
4.5V to 5.5V operation. For low voltage operation, consult factory.
64K bytes of on-chip Flash program memory with In-System
Programming capability
Five Flash blocks = two 8k byte blocks and three 16k byte blocks
Nearly identical to XA-G3, except for double the program and
RAM memories
Single supply voltage In-System Programming (ISP) of the Flash
memory (V
PP
= V
DD
, or V
PP
= 12V if desired)
Boot ROM contains low level Flash programming routines for
In-Application Programming and a default serial loader using the
UART
2048 bytes of on-chip data RAM
Supports off-chip program and data addressing up to 1 megabyte
(20 address lines)
Three standard counter/timers with enhanced features (same as
XA-G3 T0, T1, and T2). All timers have a toggle output capability
Watchdog timer
Two enhanced UARTs with independent baud rates
Seven software interrupts
Four 8-bit I/O ports, with 4 programmable output configurations for
each pin
30 MHz operating frequency at 5V
Power saving operating modes: Idle and Power-Down.
Wake-Up from power-down via an external interrupt is supported.
44-pin PLCC and 44-pin LQFP packages
BLOCK DIAGRAM
Timer 2
UART 1
UART 0
XA CPU Core
Watchdog
Timer
Port 0
Port 1
Port 2
2048 Bytes
Static RAM
64K Bytes
FLASH
SFR
bus
Port 3
Program
Memory
Bus
Data
Bus
SU01002
Timer 0, 1
Philips Semiconductors
Preliminary specification
XA-G49
XA 16-bit microcontroller family
64K Flash/2K RAM, watchdog, 2 UARTs
2000 Apr 03
5
PIN DESCRIPTIONS
MNEMONIC
PIN. NO.
TYPE
NAME AND FUNCTION
MNEMONIC
LCC
LQFP
TYPE
NAME AND FUNCTION
V
SS
1, 22
16
I
Ground: 0V reference.
V
DD
23, 44
17
I
Power Supply: This is the power supply voltage for normal, idle, and power down operation.
P0.0 P0.7
4336
3730
I/O
Port 0: Port 0 is an 8-bit I/O port with a user-configurable output type. Port 0 latches have 1s
written to them and are configured in the quasi-bidirectional mode during reset. The operation of
port 0 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, Port 0 becomes the multiplexed low data/instruction
byte and address lines 4 through 11.
P1.0 P1.7
29
4044,
13
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 special functions as described below.
2
40
O
A0/WRH:
Address bit 0 of the external address bus when the external 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.
3
41
O
A1:
Address bit 1 of the external address bus.
4
42
O
A2:
Address bit 2 of the external address bus.
5
43
O
A3:
Address bit 3 of the external address bus.
6
44
I
RxD1 (P1.4):
Receiver input for serial port 1.
7
1
O
TxD1 (P1.5):
Transmitter output for serial port 1.
8
2
I/O
T2 (P1.6):
Timer/counter 2 external count input/clockout.
9
3
I
T2EX (P1.7):
Timer/counter 2 reload/capture/direction control
P2.0 P2.7
2431
1825
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 program/data bus is used in
8-bit mode, the number of address lines that appear on port 2 is user programmable.
P3.0 P3.7
11,
1319
5,
713
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 various special functions as described below.
11
5
I
RxD0 (P3.0):
Receiver input for serial port 0.
13
7
O
TxD0 (P3.1):
Transmitter output for serial port 0.
14
8
I
INT0 (P3.2):
External interrupt 0 input.
15
9
I
INT1 (P3.3):
External interrupt 1 input.
16
10
I/O
T0 (P3.4):
Timer 0 external input, or timer 0 overflow output.
17
11
I/O
T1/BUSW (P3.5):
Timer 1 external input, or timer 1 overflow output. The value on this pin is
latched as the external reset input is released and defines the default
external data bus width (BUSW). 0 = 8-bit bus and 1 = 16-bit bus.
18
12
O
WRL (P3.6):
External data memory low byte write strobe.
19
13
O
RD (P3.7):
External data memory read strobe.
RST
10
4
I
Reset: A low on this pin resets the microcontroller, causing I/O ports and peripherals to take on
their default states, and the processor to begin execution at the address contained in the reset
vector. Refer to the section on Reset for details.
ALE
33
27
I/O
Address Latch Enable: A high output on the ALE pin signals external circuitry to latch the address
portion of the multiplexed address/data bus. A pulse on ALE occurs only when it is needed in order
to process a bus cycle.