Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF HTML

XA-G39 Datasheet(PDF) 16 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) 16 Page - NXP Semiconductors

Zoom Inzoom in Zoom Outzoom out
 16 / 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
16
In-Application Programming Method
Several In-Application Programming (IAP) calls are available for use
by an application program to permit selective erasing and
programming of FLASH sectors. All calls are made through a
common interface, PGM_MTP. The programming functions are
selected by setting up the microcontroller’s registers before making
a call to PGM_MTP at FFF0H. Results are returned in the registers.
The IAP calls are shown in Table 2.
Table 2. IAP calls
IAP CALL
PARAMETER
PROGRAM DATA BYTE
Input Parameters:
R0H = 02h or 92h
R6 = address of byte to program
R4L = byte to program
Return Parameter
R4L = 00 if pass, non-zero if fail
ERASE BLOCK
Input Parameters:
R0H = 01h or 93h
R6H = block number in bits 7:5, bits 4:0 = ’0’
block 0 : R6H = 00h
block 1 : R6H = 20h
block 2 : R6H = 40h
R6L = 00h
Return Parameter
R4L = 00 if pass, non-zero if fail
ERASE BPC and
STATUS BYTE
Input Parameters:
R0H = 04h
Return Parameter
R4L = 00 if pass, non-zero if fail
PROGRAM SECURITY BIT
Input Parameters:
R0H = 05h
R6H = 00h
R6L = 00h – security bit # 1 (inhibit writing to FLASH)
01h – security bit # 2 (inhibit FLASH verify)
02h – security bit # 3 (disable external memory)
Return Parameter
none
PROGRAM STATUS BYTE
Input Parameters:
R0H = 06h
R6H = 00h
R6L = 00h – program status byte
R4L = status byte
Return Parameter
R4L = 00 if pass, non-zero if fail
NOTE: Only two bits of this Special Cell may be programmed at one time.
PROGRAM BPC high byte
Input Parameters:
R0H = 06h
R6H = 00h
R6L = 01h – program BPC
R4L = BPC[15:8] (BPC[7:0] unchanged)
Return Parameter
R4L = 00 if pass, non-zero if fail
NOTE: Only two bits of this Special Cell may be programmed at one time.
READ DEVICE DATA
Input Parameters:
R0H = 03h
R6 = address of byte to read
Return Parameter
R4L = value of byte read
READ MANUFACTURER ID
Input Parameters:
R0H = 00h
R6H = 00h
R6L = 00h (manufacturer ID)
Return Parameter
R4L = value of byte read


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