Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

XA-G37 Datasheet(PDF) 16 Page - NXP Semiconductors

Part # XA-G37
Description  XA 16-bit microcontroller family 32K OTP, 512 B RAM, watchdog, 2 UARTs
Download  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

XA-G37 Datasheet(HTML) 16 Page - NXP Semiconductors

Back Button XA-G37 Datasheet HTML 12Page - NXP Semiconductors XA-G37 Datasheet HTML 13Page - NXP Semiconductors XA-G37 Datasheet HTML 14Page - NXP Semiconductors XA-G37 Datasheet HTML 15Page - NXP Semiconductors XA-G37 Datasheet HTML 16Page - NXP Semiconductors XA-G37 Datasheet HTML 17Page - NXP Semiconductors XA-G37 Datasheet HTML 18Page - NXP Semiconductors XA-G37 Datasheet HTML 19Page - NXP Semiconductors XA-G37 Datasheet HTML 20Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 37 page
background image
Philips Semiconductors
Product data
XA-G37
XA 16-bit microcontroller family
32K OTP, 512 B RAM, watchdog, 2 UARTs
2002 Mar 25
14
PRE2
PRE1
PRE0
WDRUN
WDTOF
WDCON
8–BIT DOWN
COUNTER
PRESCALER
TCLK
MOV WFEED1,#A5H
MOV WFEED2,#5AH
WATCHDOG FEED SEQUENCE
WDL
SU00581A
INTERNAL RESET
Figure 10. Watchdog Timer in XA-G37
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.
Autoload (WDL) register unchanged.
Prescaler tap unchanged.
All other device action same as external reset.
Note that if the watchdog underflows, the program counter will be
loaded from the reset vector as in the case of an internal reset. The
watchdog time-out flag can be examined to determine if the
watchdog has caused the reset condition. The watchdog time-out
flag bit can be cleared by software.
WDCON Register Bit Definitions
WDCON.7
PRE2
Prescaler Select 2, reset to 1
WDCON.6
PRE1
Prescaler Select 1, reset to 1
WDCON.5
PRE0
Prescaler Select 0, reset to 1
WDCON.4
WDCON.3
WDCON.2
WDRUN
Watchdog Run Control bit, reset to 1
WDCON.1
WDTOF
Timeout flag
WDCON.0
UARTs
The XA-G37 includes 2 UART ports that are compatible with the
enhanced UART used on the 8xC51FB. Baud rate selection is
somewhat different due to the clocking scheme used for the XA
timers.
Some other enhancements have been made to UART operation.
The first is that there are separate interrupt vectors for each UART’s
transmit and receive functions. The UART transmitter has been
double buffered, allowing packed transmission of data with no gaps
between bytes and less critical interrupt service routine timing. A
break detect function has been added to the UART. This operates
independently of the UART itself and provides a start-of-break status
bit that the program may test. Finally, an Overrun Error flag has
been added to detect missed characters in the received data
stream. The double buffered UART transmitter may require some
software changes in code written for the original XA-G37 single
buffered UART.
Each UART baud rate is determined by either a fixed division of the
oscillator (in UART modes 0 and 2) or by the timer 1 or timer 2
overflow rate (in UART modes 1 and 3).
Timer 1 defaults to clock both UART0 and UART1. Timer 2 can be
programmed to clock either UART0 through T2CON (via bits R0CLK
and T0CLK) or UART1 through T2MOD (via bits R1CLK and
T1CLK). In this case, the UART not clocked by T2 could use T1 as
the clock source.
The serial port receive and transmit registers are both accessed at
Special Function Register SnBUF. Writing to SnBUF loads the
transmit register, and reading SnBUF accesses a physically
separate receive register.
The serial port can operate in 4 modes:
Mode 0: Serial I/O expansion mode. Serial data enters and exits
through RxDn. TxDn outputs the shift clock. 8 bits are
transmitted/received (LSB first). (The baud rate is fixed at 1/16 the
oscillator frequency.)
Mode 1: Standard 8-bit UART mode. 10 bits are transmitted
(through TxDn) or received (through RxDn): a start bit (0), 8 data
bits (LSB first), and a stop bit (1). On receive, the stop bit goes into
RB8 in Special Function Register SnCON. The baud rate is variable.
Mode 2: Fixed rate 9-bit UART mode. 11 bits are transmitted
(through TxD) or received (through RxD): start bit (0), 8 data bits
(LSB first), a programmable 9th data bit, and a stop bit (1). On
Transmit, the 9th data bit (TB8_n in SnCON) can be assigned the
value of 0 or 1. Or, for example, the parity bit (P, in the PSW) could
be moved into TB8_n. On receive, the 9th data bit goes into RB8_n
in Special Function Register SnCON, while the stop bit is ignored.
The baud rate is programmable to 1/32 of the oscillator frequency.
Mode 3: Standard 9-bit UART mode. 11 bits are transmitted
(through TxDn) or received (through RxDn): a start bit (0), 8 data
bits (LSB first), a programmable 9th data bit, and a stop bit (1).
In fact, Mode 3 is the same as Mode 2 in all respects except baud
rate. The baud rate in Mode 3 is variable.
In all four modes, transmission is initiated by any instruction that
uses SnBUF as a destination register. Reception is initiated in
Mode 0 by the condition RI_n = 0 and REN_n = 1. Reception is
initiated in the other modes by the incoming start bit if REN_n = 1.


Similar Part No. - XA-G37

ManufacturerPart #DatasheetDescription
NXP Semiconductors
NXP Semiconductors
XA-G3 PHILIPS-XA-G3 Datasheet
208Kb / 36P
   XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs
1999 Apr 07
XA-G30 PHILIPS-XA-G30 Datasheet
222Kb / 36P
   XA 16-bit microcontroller family 512 B RAM, watchdog, 2 UARTs
2002 Mar 25
XA-G39 PHILIPS-XA-G39 Datasheet
217Kb / 42P
   XA 16-bit microcontroller family XA 16-bit microcontroller 32K FLASH/1K RAM, watchdog, 2 UARTs
2002 Mar 13
More results

Similar Description - XA-G37

ManufacturerPart #DatasheetDescription
NXP Semiconductors
NXP Semiconductors
XA-G30 PHILIPS-XA-G30 Datasheet
222Kb / 36P
   XA 16-bit microcontroller family 512 B RAM, watchdog, 2 UARTs
2002 Mar 25
XA-G3 PHILIPS-XA-G3 Datasheet
208Kb / 36P
   XA 16-bit microcontroller family 32K/512 OTP/ROM/ROMless, watchdog, 2 UARTs
1999 Apr 07
XA-G39 PHILIPS-XA-G39 Datasheet
217Kb / 42P
   XA 16-bit microcontroller family XA 16-bit microcontroller 32K FLASH/1K RAM, watchdog, 2 UARTs
2002 Mar 13
XA-G49 PHILIPS-XA-G49 Datasheet
299Kb / 42P
   XA 16-bit microcontroller family 64K FLASH/2K RAM, watchdog, 2 UARTs
2000 Apr 03
Macronix International
Macronix International
MX10EXA MCNIX-MX10EXA Datasheet
473Kb / 55P
   XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
NXP Semiconductors
NXP Semiconductors
PXAG49KBBD NXP-PXAG49KBBD Datasheet
216Kb / 42P
   XA 16-bit microcontroller family
2001 Jun 27
87C524 PHILIPS-87C524 Datasheet
186Kb / 26P
   80C51 8-bit microcontrollers 16K/32K, 512 OTP, I2C, watchdog timer
1999 Jul 23
XA-S3 PHILIPS-XA-S3 Datasheet
281Kb / 52P
   XA 16-bit microcontroller 32K/1K OTP/ROM/ROMless, 8-channel 8-bit A/D, low voltage 2.7 V.5.5 V, I2C, 2 UARTs, 16MB address range
2000 Dec 01
Freescale Semiconductor, Inc
Freescale Semiconductor...
MC9S12B FREESCALE-MC9S12B Datasheet
125Kb / 14P
   MC9S12B Family 16-bit Microcontroller
NXP Semiconductors
NXP Semiconductors
XA-S3 PHILIPS-XA-S3 Datasheet
295Kb / 52P
   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, I2C, 2 UARTs, 16 MB address range
2000 Dec 01
More results


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37 


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com  |   allmanual.com