Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

P89V52X2FN Datasheet(PDF) 37 Page - NXP Semiconductors

Part # P89V52X2FN
Description  8-bit 80C51 low power 8 kB flash microcontroller with 256 B RAM, 192 B data EEPROM
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P89V52X2FN Datasheet(HTML) 37 Page - NXP Semiconductors

Back Button P89V52X2FN Datasheet HTML 33Page - NXP Semiconductors P89V52X2FN Datasheet HTML 34Page - NXP Semiconductors P89V52X2FN Datasheet HTML 35Page - NXP Semiconductors P89V52X2FN Datasheet HTML 36Page - NXP Semiconductors P89V52X2FN Datasheet HTML 37Page - NXP Semiconductors P89V52X2FN Datasheet HTML 38Page - NXP Semiconductors P89V52X2FN Datasheet HTML 39Page - NXP Semiconductors P89V52X2FN Datasheet HTML 40Page - NXP Semiconductors P89V52X2FN Datasheet HTML 41Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 56 page
background image
P89V52X2_1
© NXP B.V. 2007. All rights reserved.
Preliminary data sheet
Rev. 01 — 7 June 2007
37 of 56
NXP Semiconductors
P89V52X2
80C51 with 256 B RAM, 192 B data EEPROM
An assembly language routine to load the page register and perform an erase/program
operation is shown below. This code assumes the data EEPROM has been mapped into
user code space.
;**************************************************
;*
pgm user code
*
;**************************************************
;*
*
;* Inputs:
*
;* R3 = number of bytes to program (byte)
*
;* R4 = page address MSB(byte)
*
;* R5 = page address LSB(byte)
*
;* R7 = pointer to data buffer in RAM(byte)
*
;* Outputs:
*
;* R7 = status (byte)
*
;* C = clear on no error, set on error
*
Table 34.
Flash Memory Control register (FMCON - address E4H) bit description
Bit
Symbol
Access
Description
0
ERR
R
Set when either of the following conditions occur:
• Device was reset before the operation was completed.
• Attempt made to access data EEPROM while Data Access Protect (DAP) is set.
• An error occurs in the device’s internal high voltage circuits.
FMCMD.0
W
Command byte bit 0.
1
SV
R
Security violation. Set when an attempt is made to program, erase, or CRC a secured page.
The specific cause of the security violation depends on the operation:
• PROG or EP: CSEC.0 = 1 or DPxSEC.1 = 1 for the page addressed by FMADRH/L.
• ERS_G: Any DPxSEC.0 = 1.
• ERS_DP: DPxSEC.2 = 1 for addressed page while in execution mode.
• CRC_DP: DPxCSEC.0 = 1 and DPxSEC.1 = 0
FMCMD.1
W
Command byte bit 1
2
-
R
Reserved
FMCMD.2
W
Command byte bit 2.
3
-
R
Reserved
FMCMD.3
W
Command byte bit 3.
4
DAP
R
Data Access Protect. When set, access to the data EEPROM is unmapped and thus
prohibited. Set by the MAP command. Cleared by the UNMAP command.
FMCMD.4
W
Command byte bit 4.
5
-
R
Reserved
FMCMD.5
W
Command byte bit 5.
6
WE
R
When set, indicates that data EEPROM writes during program execution are enabled.
FMCMD.6
W
Command byte bit 6.
7
BUSY
R
Indicates that a program, erase, CRC calculation or similar operation is in progress. Note that
this bit is usable only in ICP mode since the CPU is stalled whenever this bit is set in execution
mode.
FMCMD.7
W
Command byte bit 7.



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 43 44 45 46 47 48 49 50 51 52 53 54 55 56


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

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