P51XAG37KBBD Philips Semiconductors, P51XAG37KBBD Datasheet

no-image

P51XAG37KBBD

Manufacturer Part Number
P51XAG37KBBD
Description
30 MHz, 16-bit microcontroller family
Manufacturer
Philips Semiconductors
Datasheet
Semiconductors
Product data
Supersedes data of 1999 Apr 07
IC25 Data Handbook
hilips
XA-G3
XA 16-bit microcontroller family
32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs
INTEGRATED CIRCUITS
2001 Jun 25

Related parts for P51XAG37KBBD

P51XAG37KBBD Summary of contents

Page 1

XA-G3 XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs Product data Supersedes data of 1999 Apr 07 IC25 Data Handbook hilips Semiconductors INTEGRATED CIRCUITS 2001 Jun 25 ...

Page 2

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs FAMILY DESCRIPTION The Philips Semiconductors XA (eXtended Architecture) family of 16-bit single-chip microcontrollers is powerful enough to easily handle the requirements of high performance embedded applications, yet inexpensive enough to compete in the market for high-volume, low-cost applications. The XA family provides an upward compatibility path for 80C51 users who need higher performance and 64k or more of program memory ...

Page 3

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 ...

Page 4

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs BLOCK DIAGRAM 32K BYTES ROM/EPROM 512 BYTES STATIC RAM PORT 0 PORT 1 PORT 2 PORT 3 2001 Jun 25 XA CPU Core Program SFR BUS Memory Bus Data Bus 4 Product data XA-G3 UART0 UART1 TIMER 0 & TIMER 1 ...

Page 5

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs PIN DESCRIPTIONS PIN. NO. MNEMONIC MNEMONIC TYPE TYPE PLCC 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– ...

Page 6

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs PIN. NO. MNEMONIC MNEMONIC TYPE TYPE PLCC 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 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs NAME NAME DESCRIPTION DESCRIPTION P3* Port 3 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 32K/512 OTP/ROM/ROMless, 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 Timer 2 capture register, ...

Page 9

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs XA-G3 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 10

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 11

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 12

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 13

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs TCLK C/ C/ Pin Transition Detector T2EX Pin Control EXEN2 TCLK C/ C/ Pin Transition Detector T2EX Pin EXEN2 Figure 8. Timer 2 in Auto-Reload Mode (DCEN = 0) TCLK C/ C/ PIN CONTROL TR2 2001 Jun 25 TL2 TH2 ...

Page 14

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 15

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 10): Autoload takes place. Watchdog time-out flag is set Watchdog run bit unchanged. ...

Page 16

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs Serial Port Control Register The serial port control and status register is the Special Function Register SnCON, shown in Figure 12. 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 17

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 18

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

Page 19

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 20

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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). The default configuration after reset is Quasi-bidirectional ...

Page 21

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs INTERRUPTS The XA-G3 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 22

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 23

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs AC ELECTRICAL CHARACTERISTICS +70 C for commercial, – +85 C for industrial. DD amb SYMBOL SYMBOL FIGURE FIGURE External Clock f Oscillator frequency C All devices except PXAG37KFx/P51XAG33KFx PXAG37KFx/P51XAG33KFx T = – +85 C amb t 22 ...

Page 24

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs AC ELECTRICAL CHARACTERISTICS +70 C for commercial, – +85 C for industrial. DD amb SYMBOL SYMBOL FIGURE FIGURE Address Cycle t 21 Delay from clock rising edge to ALE rising edge CRAR t 16 ALE pulse width (programmable) ...

Page 25

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs V3) This variable represents the programmed length of an entire code read cycle with ALE. This time is determined by the CRA1 and CRA0 bits in the BTRL register the total bus cycle duration (2 if CRA1 CRA1 CRA1/0 = 10, and 5 if CRA1/0 = 11) ...

Page 26

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs t LHLL ALE t AVLL PSEN MULTIPLEXED A4–A19 ADDRESS AND DATA UNMULTIPLEXED ADDRESS * D0–D15 Figure 16. External Program Memory Read Cycle (ALE Cycle) ALE PSEN MULTIPLEXED A4–A11 or A4–A19 ADDRESS AND DATA UNMULTIPLEXED ADDRESS * INSTR IN is either D0–D7 or D0–D15, depending on the bus width ( bits). ...

Page 27

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 18. External Data Memory Read Cycle (ALE Cycle) ...

Page 28

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 29

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, 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 30

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs 2001 Jun FREQUENCY Figure 27. I vs. Frequency 5 FREQUENCY Figure 28. I vs. Frequency 3 Product data XA-G3 MAX. I (ACTIVE) ...

Page 31

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs V DD 0.45V Figure 29. Clock Signal Waveform for I Figure 30. I 2001 Jun 25 –0.5 0.7V DD 0.2V –0 CHCX CHCL CLCX CLCH t CL Tests in Active and Idle Modes 5ns CLCH CHCL ...

Page 32

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs EPROM CHARACTERISTICS The XA-G37 is programmed by using a modified Improved Quick-Pulse Programming algorithm. This algorithm is essentially the same as that used by the later 80C51 family EPROM parts. However different pins are used for many programming functions. ...

Page 33

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs LQFP44: plastic low profile quad flat package; 44 leads; body 1.4 mm 2001 Jun 25 33 Product data XA-G3 SOT389-1 ...

Page 34

... Philips Semiconductors XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs PLCC44: plastic leaded chip carrier; 44 leads 2001 Jun 25 34 Product data XA-G3 SOT187-2 ...

Page 35

... 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