Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

P89V52X2FN Datasheet(PDF) 39 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) 39 Page - NXP Semiconductors

Back Button 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 P89V52X2FN Datasheet HTML 42Page - NXP Semiconductors P89V52X2FN Datasheet HTML 43Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 56 page
background image
P89V52X2_1
© NXP B.V. 2007. All rights reserved.
Preliminary data sheet
Rev. 01 — 7 June 2007
39 of 56
NXP Semiconductors
P89V52X2
80C51 with 256 B RAM, 192 B data EEPROM
for (i=0;i<64;i=i+1)
{
FMDATA = dbytes[i];
}
FMCON = EP; //erase & prog page command
Fm_stat = FMCON; //read the result status
if ((Fm_stat & 0x0F)!=0) prog_fail=1; else prog_fail=0;
return(prog_fail);
}
6.13.7 Data EEPROM write enable
The data EEPROM has a Write Enable mechanism to help prevent against inadvertent
writes. If the WE bit (FMCON.6) is set writes to the data EEPROM are enabled. When
cleared, writes are disabled. This bit only affects execution mode. The WE bit is set when:
• The disable write enable bit, DISWE (UCFG.2) = 1
• In ICP mode
• The SET_WE (08H) command is written to FMCON followed by the key value (96H)
being written to FMDATA
The WE bit is cleared following any reset. The WE bit may also be cleared by writing the
CLR_WE (0BH) command to FMCON.
6.13.8 Data EEPROM security bits
The data EEPROM security bits protects each data EEPROM page. The data EEPROM
page security bits and their effects are shown in Table 35.
6.13.9 Summary of data EEPROM commands
is a summary of the FMCON commands related to the data EEPROM.
Table 35.
DPxSEC - Data page X security register bit allocation
Bit
7
6
5
4
3
2
1
0
Symbol
--
---
XERSx
PWRx
MOVCx
Table 36.
DPxSEC - Data page X security register bit description
Bit
Symbol
Description
7 to 3
-
Reserved
2
XERSx
Execution Erase Protect x. When programmed = 1, cannot be erased
with ERS_DP command in execution mode. ERS_DP can be used in
ICP mode.
1
PWRx
Page Write Protect x. When programmed = 1, data EEPROM cannot
be erased or programmed using PROG or EP commands.
0
MOVCx
When programmed = 1, prevents instructions fetched from off-chip
from reading the contents of the data EEPROM and returns FFH.
CRC_DP are disabled if the corresponding Page Write Protect is
disabled.



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