Philips Semiconductors Product data
XA-G30
XA 16-bit microcontroller family
512 B RAM, watchdog, 2 UARTs
2002 Mar 25
5
MNEMONIC NAME AND FUNCTIONTYPE
PIN. NO.
MNEMONIC NAME AND FUNCTIONTYPE
LQFPPLCC
PSEN 32 26 O Program Store Enable: The read strobe for external program memory. When the microcontroller
accesses external program memory, PSEN
is driven low in order to enable memory devices. PSEN
is only active when external code accesses are performed.
EA/WAIT 35 29 I External Access/Wait: The EA input determines whether the internal program memory of the
microcontroller is used for code execution. The value on the EA pin is latched as the external reset
input is released and applies during later execution. When latched as a 0, external program
memory is used exclusively. EA
must be LOW since the XA-G30 does not have on-chip code
memory. After reset is released, this pin takes on the function of bus Wait input. If Wait is asserted
high during any external bus access, that cycle will be extended until Wait is released.
XTAL1 21 15 I Crystal 1: Input to the inverting amplifier used in the oscillator circuit and input to the internal clock
generator circuits.
XTAL2 20 14 O Crystal 2: Output from the oscillator amplifier.
SPECIAL FUNCTION REGISTERS
NAME
DESCRIPTION
SFR
ADDRESS
BIT FUNCTIONS AND ADDRESSES
RESET
NAME
DESCRIPTION
SFR
ADDRESS
MSB LSB
VALUE
BCR Bus configuration register 46A WAITD BUSD BC2 BC1 BC0 Note 1
BTRH Bus timing register high byte 469 DW1 DW0 DWA1 DWA0 DR1 DR0 DRA1 DRA0 FF
BTRL Bus timing register low byte 468 WM1 WM0 ALEW CR1 CR0 CRA1 CRA0 EF
CS Code segment 443 00
DS Data segment 441 00
ES Extra segment 442 00
33F 33E 33D 33C 33B 33A 339 338
IEH* Interrupt enable high byte 427 ETI1 ERI1 ETI0 ERI0 00
337 336 335 334 333 332 331 330
IEL* Interrupt enable low byte 426 EA ET2 ET1 EX1 ET0 EX0 00
IPA0 Interrupt priority 0 4A0 PT0 PX0 00
IPA1 Interrupt priority 1 4A1 PT1 PX1 00
IPA2 Interrupt priority 2 4A2 PT2 00
IPA4 Interrupt priority 4 4A4 PTI0 PRI0 00
IPA5 Interrupt priority 5 4A5 PTI1 PRI1 00
387 386 385 384 383 382 381 380
P0* Port 0 430 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 FF
38F 38E 38D 38C 38B 38A 389 388
P1* Port 1 431 T2EX T2 TxD1 RxD1 A3 A2 A1 WRH FF
397 396 395 394 393 392 391 390
P2* Port 2 432 P2.7 P2.6 P2.5 P2.4 P2.3 P2.2 P2.1 P2.0 FF
Philips Semiconductors Product data
XA-G30
XA 16-bit microcontroller family
512 B RAM, watchdog, 2 UARTs
2002 Mar 25
6
NAME
RESET
VALUE
BIT FUNCTIONS AND ADDRESSES
SFR
ADDRESS
DESCRIPTION
NAME
RESET
VALUE
LSBMSB
SFR
ADDRESS
DESCRIPTION
39F 39E 39D 39C 39B 39A 399 398
P3* Port 3 433 RD WR T1 T0 INT1 INT0 TxD0 RxD0 FF
P0CFGA Port 0 configuration A 470 Note 5
P1CFGA Port 1 configuration A 471 Note 5
P2CFGA Port 2 configuration A 472 Note 5
P3CFGA Port 3 configuration A 473 Note 5
P0CFGB Port 0 configuration B 4F0 Note 5
P1CFGB Port 1 configuration B 4F1 Note 5
P2CFGB Port 2 configuration B 4F2 Note 5
P3CFGB Port 3 configuration B 4F3 Note 5
227 226 225 224 223 222 221 220
PCON* Power control register 404 PD IDL 00
20F 20E 20D 20C 20B 20A 209 208
PSWH* Program status word (high byte) 401 SM TM RS1 RS0 IM3 IM2 IM1 IM0 Note 2
207 206 205 204 203 202 201 200
PSWL* Program status word (low byte) 400 C AC V N Z Note 2
217 216 215 214 213 212 211 210
PSW51* 80C51 compatible PSW 402 C AC F0 RS1 RS0 V F1 P Note 3
RTH0 Timer 0 extended reload,
high byte
455 00
RTH1 Timer 1 extended reload,
high byte
457 00
RTL0 Timer 0 extended reload, low byte 454 00
RTL1 Timer 1 extended reload, low byte 456 00
307 306 305 304 303 302 301 300
S0CON* Serial port 0 control register 420 SM0_0 SM1_0 SM2_0 REN_0 TB8_0 RB8_0 TI_0 RI_0 00
30F 30E 30D 30C 30B 30A 309 308
S0STAT* Serial port 0 extended status 421 FE0 BR0 OE0
STINT0
00
S0BUF Serial port 0 buffer register 460 x
S0ADDR Serial port 0 address register 461 00
S0ADEN Serial port 0 address enable
register
462 00
327 326 325 324 323 322 321 320
S1CON* Serial port 1 control register 424 SM0_1 SM1_1 SM2_1 REN_1 TB8_1 RB8_1 TI_1 RI_1 00
32F 32E 32D 32C 32B 32A 329 328
S1STAT* Serial port 1 extended status 425 FE1 BR1 OE1
STINT1
00
S1BUF Serial port 1 buffer register 464 x
S1ADDR Serial port 1 address register 465 00
S1ADEN Serial port 1 address enable
register
466 00
SCR System configuration register 440 PT1 PT0 CM PZ 00
21F 21E 21D 21C 21B 21A 219 218
SSEL* Segment selection register 403
ESWEN
R6SEG R5SEG R4SEG R3SEG R2SEG R1SEG R0SEG
00
SWE Software Interrupt Enable 47A SWE7 SWE6 SWE5 SWE4 SWE3 SWE2 SWE1 00
Philips Semiconductors Product data
XA-G30
XA 16-bit microcontroller family
512 B RAM, watchdog, 2 UARTs
2002 Mar 25
7
NAME
RESET
VALUE
BIT FUNCTIONS AND ADDRESSES
SFR
ADDRESS
DESCRIPTION
NAME
RESET
VALUE
LSBMSB
SFR
ADDRESS
DESCRIPTION
357 356 355 354 353 352 351 350
SWR* Software Interrupt Request 42A SWR7 SWR6 SWR5 SWR4 SWR3 SWR2 SWR1 00
2C7 2C6 2C5 2C4 2C3 2C2 2C1 2C0
T2CON* Timer 2 control register 418 TF2 EXF2 RCLK0 TCLK0
EXEN2
TR2 C/T2
CP/RL2
00
2CF 2CE 2CD 2CC 2CB 2CA 2C9 2C8
T2MOD* Timer 2 mode control 419 RCLK1 TCLK1 T2OE DCEN 00
TH2 Timer 2 high byte 459 00
TL2 Timer 2 low byte 458 00
T2CAPH Timer 2 capture register,
high byte
45B 00
T2CAPL Timer 2 capture register,
low byte
45A 00
287 286 285 284 283 282 281 280
TCON* Timer 0 and 1 control register 410 TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 00
TH0 Timer 0 high byte 451 00
TH1 Timer 1 high byte 453 00
TL0 Timer 0 low byte 450 00
TL1 Timer 1 low byte 452 00
TMOD Timer 0 and 1 mode control 45C GATE C/T M1 M0 GATE C/T M1 M0 00
28F 28E 28D 28C 28B 28A 289 288
TSTAT* Timer 0 and 1 extended status 411 T1OE T0OE 00
2FF 2FE 2FD 2FC 2FB 2FA 2F9 2F8
WDCON*
Watchdog control register 41F PRE2 PRE1 PRE0
WDRUN WDTOF
Note 6
WDL Watchdog timer reload 45F 00
WFEED1
Watchdog feed 1 45D x
WFEED2
Watchdog feed 2 45E x
NOTES:
* SFRs are bit addressable.
1. At reset, the BCR register is loaded with the binary value 0000 0a11, where “a” is the value on the BUSW pin. This defaults the address bus
size to 20 bits since the XA-G30 has only 20 address lines.
2. SFR is loaded from the reset vector.
3. All bits except F1, F0, and P are loaded from the reset vector. Those bits are all 0.
4. Unimplemented bits in SFRs are X (unknown) at all times. Ones should not be written to these bits since they may be used for other
purposes in future XA derivatives. The reset value shown for these bits is 0.
5. Port configurations default to quasi-bidirectional when the XA begins execution from internal code memory after reset, based on the
condition found on the EA pin. Thus all PnCFGA registers will contain FF and PnCFGB registers will contain 00. When the XA begins
execution using external code memory, the default configuration for pins that are associated with the external bus will be push-pull. The
PnCFGA and PnCFGB register contents will reflect this difference.
6. The WDCON reset value is E6 for a Watchdog reset, E4 for all other reset causes.
7. The XA-G30 implements an 8-bit SFR bus, as stated in Chapter 8 of the
XA User Guide
. All SFR accesses must be 8-bit operations. Attempts
to write 16 bits to an SFR will actually write only the lower 8 bits. Sixteen bit SFR reads will return undefined data in the upper byte.

4-1734260-3

Mfr. #:
Manufacturer:
TE Connectivity
Description:
Headers & Wire Housings WTB 1.25 PTH 30U GLD 13 POS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union