Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF HTML

XA-G39 Datasheet(PDF) 12 Page - NXP Semiconductors

Part No. XA-G39
Description  XA 16-bit microcontroller family XA 16-bit microcontroller 32K FLASH/1K RAM, watchdog, 2 UARTs
Download  42 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  PHILIPS [NXP Semiconductors]
Homepage  http://www.nxp.com
Logo 

XA-G39 Datasheet(HTML) 12 Page - NXP Semiconductors

Zoom Inzoom in Zoom Outzoom out
 12 / 42 page
background image
Philips Semiconductors
Preliminary data
XA-G39
XA 16-bit microcontroller family
32K Flash/1K RAM, watchdog, 2 UARTs
2002 Mar 13
12
VDD SUPPLY OR +12V ±5%
5V
±5%
TxD
RxD
VSS
VPP
VDD
TxD
RxD
RST
XTAL2
XTAL1
SU01593
VSS
VCC
2
3
5
FEMALE
DB-9
RS-232
TRANSCEIVER
MC145406, MAX232,
OR EQUIVALENT
FOR USE WITH WINISP OR FLASHMAGIC
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-G39 through the serial port. This firmware is provided by Philips
and embedded within each XA-G39 device.
The Philips In-System Programming (ISP) facility has made in-circuit
programming in an embedded application possible with a minimum
of additional expense in components and circuit board area.
The ISP function uses five pins: TxD, RxD, VSS, VDD, and VPP (see
Figure 4). Only a small connector needs to be available to interface
your application to an external circuit in order to use this feature.
The VPP supply should be adequately decoupled and VPP not
allowed to exceed datasheet limits.
VCC
VPP
OSC FREQ
IDD
5.0 V
5.0 V
22 MHz
75 mA typical
5.0 V
5.0 V
30 MHz
90 mA typical
ISP increases IDD by less than 1mA.
Free ISP software is available on the Philips web site: “WinISP”
1. Direct your browser to the following page:
http://www.semiconductors.com/mcu/download/80C51/flash/
2. Download “WinISP.exe”
3. Execute WinISP.exe to install the software
Free ISP software is also available from the Embedded Systems
Academy: “FlashMagic”
1. Direct your browser to the following page:
http://www.esacademy.com/software/flashmagic/
2. Download Flashmagic
3. Execute “flashmagic.exe” to install the software
There is also an application note available that deals with In-System
Programming (AN716). At www.philipsmcu.com, search for “ISP”,
then select AN716 from the search results.
Using In-System Programming (ISP)
ISP mode is entered by holding PSEN low, asserting, un-asserting
RESET, then releasing PSEN. When ISP mode is entered, the
default loader first disables the watchdog timer to prevent a
watchdog reset from occurring during programming.
The ISP feature allows for a wide range of baud rates to be used in
the application, independent of the oscillator frequency. It is also
adaptable to a wide range of oscillator frequencies. This is
accomplished by measuring the bit-time of a single bit in a received
character. This information is then used to program the baud rate in
terms of timer counts based on the oscillator frequency. The ISP
feature requires that an initial character (a lowercase f) be sent to
the XA-G39 to establish the baud rate. The ISP firmware provides
auto-echo of received characters.
Once baud rate initialization has been performed, the ISP firmware
will only accept specific Intel Hex-type records. Intel Hex records
consist of ASCII characters used to represent hexadecimal values
and are summarized below:
:NNAAAARRDD..DDCC<crlf>
In the Intel Hex record, the “NN” represents the number of data
bytes in the record. The XA-G39 will accept up to 16 (10H) data
bytes. The “AAAA” string represents the address of the first byte in
the record. If there are zero bytes in the record, this field is often set
to 0000. The “RR” string indicates the record type. A record type of
“00” is a data record. A record type of “01” indicates the end-of-file
mark. In this application, additional record types will be added to
indicate either commands or data for the ISP facility. The maximum
number of data bytes in a record is limited to 16 (decimal). ISP
commands are summarized in Table 1.
As a record is received by the XA-G39, the information in the record
is stored internally and a checksum calculation is performed. The


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  38  39  40  41  42 


Datasheet Download




Link URL




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

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Alldatasheet API   |   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