PXAG49KBA Philips Semiconductors, PXAG49KBA Datasheet

no-image

PXAG49KBA

Manufacturer Part Number
PXAG49KBA
Description
30 MHz, 16-bit microcontroller family
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PXAG49KBA
Manufacturer:
NXPLIPS
Quantity:
5 510
Part Number:
PXAG49KBA
Manufacturer:
MAXIM
Quantity:
101
Part Number:
PXAG49KBA
Manufacturer:
NXP
Quantity:
1 332
Part Number:
PXAG49KBA
Quantity:
2 422
Part Number:
PXAG49KBA
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
PXAG49KBA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Semiconductors
Preliminary data
Supersedes data of 2000 Dec 01
IC28 Data Handbook
hilips
XA-G49
XA 16-bit microcontroller family
64K FLASH/2K RAM, watchdog, 2 UARTs
INTEGRATED CIRCUITS
2001 Jun 27

Related parts for PXAG49KBA

PXAG49KBA Summary of contents

Page 1

XA-G49 XA 16-bit microcontroller family 64K FLASH/2K RAM, watchdog, 2 UARTs Preliminary data Supersedes data of 2000 Dec 01 IC28 Data Handbook hilips Semiconductors INTEGRATED CIRCUITS 2001 Jun 27 ...

Page 2

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs 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 64 kbytes 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 ...

Page 3

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs ORDERING INFORMATION FLASH PXAG49KBA PXAG49KFA PXAG49KBBD LOGIC SYMBOL RxD0 TxD0 INT0 INT1 T0 T1/BUSW WRL RD * NOT AVAILABLE ON 40-PIN DIP PACKAGE 2001 Jun 27 TEMPERATURE RANGE ( C) AND PACKAGE 0 to +70 44-pin Plastic Leaded Chip Carrier – ...

Page 4

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs PIN CONFIGURATIONS 44-Pin PLCC Package PLCC Pin Function Pin Function P1.0/A0/WRH 24 P2.0/A12D8 3 P1.1/A1 25 P2.1/A13D9 4 P1.2/A2 26 P2.2/A14D10 5 P1.3/A3 27 P2.3/A15D11 6 P1.4/RxD1 28 P2.4/A16D12 7 P1.5/TxD1 29 P2.5/A17D13 8 P1.6/T2 30 P2.6/A18D14 9 P1.7/T2EX 31 P2.7/A19D15 10 RST 32 PSEN 11 P3.0/RxD0 33 ALE 12 NC ...

Page 5

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs PIN DESCRIPTIONS PIN. NO. MNEMONIC MNEMONIC TYPE TYPE LCC LQFP Ground reference 23 Power Supply: This is the power supply voltage for normal, idle, and power down operation. DD P0.0 – P0.7 43–36 37–30 I/O Port 0: Port 8-bit I/O port with a user-configurable output type ...

Page 6

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs PIN. NO. MNEMONIC MNEMONIC TYPE TYPE LCC LQFP PSEN 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 ...

Page 7

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs NAME NAME DESCRIPTION DESCRIPTION P0CFGA Port 0 configuration A P1CFGA Port 1 configuration A P2CFGA Port 2 configuration A P3CFGA Port 3 configuration A P0CFGB Port 0 configuration B P1CFGB Port 1 configuration B P2CFGB Port 2 configuration B P3CFGB Port 3 configuration B PCON* Power control register ...

Page 8

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs NAME NAME DESCRIPTION DESCRIPTION SWR* Software Interrupt Request T2CON* Timer 2 control register T2MOD* Timer 2 mode control TH2 Timer 2 high byte TL2 Timer 2 low byte T2CAPH Timer 2 capture register, high byte T2CAPL ...

Page 9

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs FFFFFh 10000h FFFFh 0000h Note: The Boot ROM replaces the top 2k bytes of Flash memory when it is enabled via the xxx bit in xxx. Data Segment 0 DATA MEMORY (INDIRECTLY ADDRESSED, OFF-CHIP) DATA MEMORY ...

Page 10

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs FLASH EPROM MEMORY GENERAL DESCRIPTION The XA-G49 Flash memory augments EPROM functionality with in-circuit electrical erasure and programming. The Flash can be read and written as bytes. The Chip Erase operation will erase the entire program memory ...

Page 11

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs PROGRAM ADDRESS FMIDLE The FMIDLE bit in the AUXR register allows saving additional power by turning off the Flash memory when the CPU is in the Idle mode. This must be done just prior to initiating the Idle mode, as shown below ...

Page 12

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs V CC RST XTAL2 XTAL1 V SS Figure 4. In-System Programming with a Minimum of Pins In-System Programming (ISP) In-System Programming (ISP) is performed without removing the microcontroller from the system. The In-System Programming (ISP) facility consists of a series of internal hardware resources coupled with internal firmware to facilitate remote programming of the XA-G49 through the serial port ...

Page 13

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs User Supplied Loader A user program can simply decide at any time, for any reason, to begin Flash programming operations. All it has advance is to instruct external circuitry to apply + + the V make certain that the Boot ROM is enabled. User code may contain ...

Page 14

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs Table 1. Intel-Hex Records Used by In-System Programming RECORD TYPE Data Record :nnaaaa00dd....ddcc Where number of bytes (hex) in record Aaaa = memory address of first byte in record dd....dd = data bytes cc = checksum Example: :10008000AF5F67F0602703E0322CFA92007780C3FD End of File (EOF), no operation ...

Page 15

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs RECORD TYPE 84 Display Device Data or Blank Check – Record type 84 causes the contents of the entire FLASH array to be sent out the serial port in a formatted display. This display consists of an address and the contents of 16 bytes starting with that address ...

Page 16

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs In-Application Programming Method Several Application Program Interface (API) calls are available for use by an application program to permit selective erasing and programming of FLASH sectors. All calls are made through a Table 2. API calls ...

Page 17

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs API CALL READ DEVICE Input Parameters: R0H = 00h R6H = 00h R6L = 01h (device Return Parameter R4L = value of byte read READ DEVICE Input Parameters: R0H = 00h R6H = 00h R6L = 02h (device Return Parameter ...

Page 18

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs API CALL ERASE SPECIAL CELL Input Parameters: R0H = 95h R6 Return Parameters: R4L = 00 if pass, non–zero if fail READ SPECIAL CELL Input Parameters: R0H = 96h R6 Return Parameters: R4L = value of byte read Security The security feature protects against software piracy and prevents the contents of the Flash from being read ...

Page 19

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs XA-G49 TIMER/COUNTERS The XA has two standard 16-bit enhanced Timer/Counters: Timer 0 and Timer 1. Additionally, it has a third 16-bit Up/Down timer/counter, T2. A central timing generator in the XA core provides the time-base for all XA Timers and Counters. The timer/event counters can perform the following functions: – ...

Page 20

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs New Enhanced Mode 0 For timers the 13-bit count mode on the 80C51 (current Mode 0) has been replaced in the XA with a 16-bit auto-reload mode. Four additional 8-bit data registers (two per timer: RTHn and RTLn) are created to hold the auto-reload values ...

Page 21

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs MSB T2CON Address:418 Bit Addressable TF2 Reset Value: 00H BIT SYMBOL FUNCTION T2CON.7 TF2 Timer 2 overflow flag. Set by hardware on Timer/Counter overflow. Must be cleared by software. TF2 will not be set when RCLK0, RCLK1, TCLK0, TCLK1 or T2OE=1. ...

Page 22

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs timer register is loaded with FFFF hex. The underflow also sets the TF2 flag, which can generate an interrupt if enabled. The external flag EXF2 toggles when Timer 2 underflows or overflows. This EXF2 bit can be used as a 17th bit of resolution, if needed ...

Page 23

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs TCLK C/ C/ Pin Transition Detector T2EX Pin Control EXEN2 TCLK C/ C/ Pin Transition Detector T2EX Pin EXEN2 Figure 12. Timer 2 in Auto-Reload Mode (DCEN = 0) TCLK C/ C/ PIN CONTROL TR2 Figure 13. Timer 2 Auto Reload Mode (DCEN = 1) ...

Page 24

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs WATCHDOG TIMER The watchdog timer subsystem protects the system from incorrect code execution by causing a system reset when the watchdog timer underflows as a result of a failure of software to feed the timer prior to the timer reaching its terminal count important to note that ...

Page 25

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs WATCHDOG FEED SEQUENCE MOV WFEED1,#A5H MOV WFEED2,#5AH TCLK PRE2 When the watchdog underflows, the following action takes place (see Figure 14): Autoload takes place. Watchdog time-out flag is set Watchdog run bit unchanged. ...

Page 26

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs Serial Port Control Register The serial port control and status register is the Special Function Register SnCON, shown in Figure 16. This register contains not only the mode selection bits, but also the 9th data bit for transmit and receive (TB8_n and RB8_n), and the serial port interrupt bits (TI_n and RI_n) ...

Page 27

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs CLOCKING SCHEME/BAUD RATE GENERATION The XA UARTS clock rates are determined by either a fixed division (modes 0 and 2) of the oscillator clock or by the Timer 1 or Timer 2 overflow rate (modes 1 and 3). The clock for the UARTs in XA runs at 16x the Baud rate. If the ...

Page 28

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs INTERRUPT SCHEME There are separate interrupt vectors for each UART’s transmit and receive functions. Table 6. Vector Locations for UARTs in XA Vector Address Interrupt Source A0H – A3H UART 0 Receiver A4H – A7H UART 0 Transmitter A8H – ...

Page 29

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs SnCON Address: S0CON 420 S1CON 424 Bit Addressable Reset Value: 00H Where SM0, SM1 specify the serial port mode, as follows: SM0 BIT SYMBOL FUNCTION SnCON.5 SM2 Enables the multiprocessor communication feature in Modes 2 and 3. In Mode SM2 is set to 1, then RI will not be activated if the received 9th data bit (RB8 ...

Page 30

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs I/O PORT OUTPUT CONFIGURATION Each I/O port pin can be user configured to one of 4 output types. The types are Quasi-bidirectional (essentially the same as standard 80C51 family I/O ports), Open-Drain, Push-Pull, and Off (high impedance) ...

Page 31

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs INTERRUPTS The XA-G49 supports 38 vectored interrupt sources. These include 9 maskable event interrupts, 7 exception interrupts, 16 trap interrupts, and 7 software interrupts. The maskable interrupts each have 8 priority levels and may be globally and/or individually enabled or disabled ...

Page 32

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs ABSOLUTE MAXIMUM RATINGS PARAMETER Operating temperature under bias Storage temperature range Voltage on EA/V pin Voltage on any other pin Maximum I per I/O pin OL Power dissipation (based on package heat transfer limitations, not device power consumption) ...

Page 33

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs AC ELECTRICAL CHARACTERISTICS ( 4 5 +70 C for commercial amb SYMBOL SYMBOL FIGURE FIGURE External Clock f Oscillator frequency Clock period and CPU timing cycle Clock high time CHCX t 26 Clock low time CLCX t 26 ...

Page 34

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs V2) This variable represents the programmed width of the PSEN pulse as determined by the CR1 and CR0 bits or the CRA1, CRA0, and ALEW bits in the BTRL register. – For a bus cycle with no ALE CR1 CR1 CR1/0 = 10, and 4 if CR1/0 = 11. Note that during burst mode code fetches, PSEN does not exhibit transitions at the boundaries of bus cycles ...

Page 35

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs 5. This parameter is provided for peripherals that have the data clocked in on the falling edge of the WR strobe. This is not usually the case, and in most applications this parameter is not used. 6. Please note that the XA-G49 requires that extended data bus hold time (WM0 = used with external bus write cycles. ...

Page 36

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs ALE RD t LLAX t AVLL MULTIPLEXED ADDRESS A4–A11 or A4–A19 AND DATA UNMULTIPLEXED ADDRESS * DATA IN is either D0–D7 or D0–D15, depending on the bus width ( bits). Figure 22. External Data Memory Read Cycle (ALE Cycle) ...

Page 37

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs ALE WRL or WRH t LLAX t AVLL MULTIPLEXED ADDRESS A4–A11 or A4–A15 AND DATA t AVWL UNMULTIPLEXED ADDRESS * DATA OUT is either D0–D7 or D0–D15, depending on the bus width ( bits). XTAL1 t CRAR ALE ADDRESS BUS ...

Page 38

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs V DD 0.45V V –0.5 DD 0.45V NOTE: AC inputs during testing are driven at V Timing measurements are made at the 50% point of transitions. V LOAD V LOAD V LOAD NOTE: For timing purposes, a port is no longer floating when a 100mV change from load voltage occurs, ...

Page 39

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs 120 100 80 60 CURRENT (mA Valid only within frequency specification of the device under test 0.45V Figure 32. Clock Signal Waveform for I Figure 33. I 2001 Jun FREQUENCY (MHz) Figure 31. I vs. Frequency DD –0.5 0.7V DD 0.2V – ...

Page 40

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs PLCC44: plastic leaded chip carrier; 44 leads 2001 Jun 27 40 Preliminary data XA-G49 SOT187-2 ...

Page 41

... Philips Semiconductors XA 16-bit microcontroller family 64K Flash/2K RAM, watchdog, 2 UARTs LQFP44: plastic low profile quad flat package; 44 leads; body 1.4 mm 2001 Jun 27 41 Preliminary data XA-G49 SOT389-1 ...

Page 42

... Philips Semiconductors for any damages resulting from such application. Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no ...

Related keywords