
P89V52X2_3
NXP B.V. 2009. All rights reserved.
Product data sheet
Rev. 03 — 4 May 2009
40 of 57
NXP Semiconductors
P89V52X2
80C51 with 256 B RAM, 192 B data EEPROM
6.14 User conguration bytes
This device contains some non-volatile bytes which allow the user to congure the device.
These bytes are programmed or read using the conguration read or write command
(CONF) with a programmer that supports ICP. The user conguration bytes, their CONF
6.15 UCFG
The user conguration bits in the UCFG register allow the user to congure some of the
operating characteristics of the device and are shown in
Table 39.Table 37.
Summary of data EEPROM commands
Mnemonic
Value (hex)
Description
CLR_WE
0B
Clear the WE bit
CRC_DP
1D
Calculate CRC on selected data EEPROM page
EP
68
Erase and Program data EEPROM page
ERS_DP
33
Erase data EEPROM page
LOAD
00
Reset and clear page register
MAP
09
Map data EEPROM into upper end of user code space
PROG
48
Program data EEPROM page
SET_WE
08
Set the WE bit if followed by writing key value to FMDATA
UNMAP
0A
Unmap data EEPROM from user code space
Table 38.
User conguration bytes
Conguration byte
CONF
address
Function
UCFG
00H
6x/12x selection, ext clk select, disable WE
CSEC
01H
Code security
DP0SEC
02H
Data EEPROM, page 0, security
DP1SEC
03H
Data EEPROM, page 1, security
DP2SEC
04H
Data EEPROM, page 2, security
MFG_ID
10H
Manufacturer signature byte
DEVIC_ID
11H
Device id signature byte
DERIV_ID
12H
Derivative id signature byte
Table 39.
UCFG - User conguration register bit allocation
Bit
7
6
5
4
3
2
1
0
Symbol
-
ENW
FX2
EXTCLK