P89V52X2FA,512 NXP Semiconductors, P89V52X2FA,512 Datasheet - Page 35

IC 80C51 MCU FLASH 8K 44-PLCC

P89V52X2FA,512

Manufacturer Part Number
P89V52X2FA,512
Description
IC 80C51 MCU FLASH 8K 44-PLCC
Manufacturer
NXP Semiconductors
Series
89Vr
Datasheet

Specifications of P89V52X2FA,512

Program Memory Type
FLASH
Program Memory Size
8KB (8K x 8)
Package / Case
44-PLCC
Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
UART/USART
Peripherals
POR
Number Of I /o
32
Eeprom Size
192 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
P89V5x
Core
80C51
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
32
Number Of Timers
3
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 55 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
OM11011 - BOARD FOR P89V52X2 44-TQFP622-1017 - BOARD 44-ZIF PLCC SOCKET622-1012 - BOARD FOR P89V52X2 44-TQFP622-1008 - BOARD FOR LPC9103 10-HVSON622-1002 - USB IN-CIRCUIT PROG LPC9XX
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
568-4249-5
935282528512
P89V52X2FA

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V52X2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
P89V52X2_3
Product data sheet
6.13.5 Erasing a complete page (64 B)
6.13.6 Data EEPROM programming and erasing using the page register
A complete page can be erased by performing the following sequence:
Once the ERS_DP command is written to FMCON, code execution will stall until the
operation is completed, approximately 6 ms.
In addition to page erase, a 64 B page register is included which allows from 1 B to 64 B
of a given page to be programmed or erase/programmed at the same time, substantially
reducing overall programming time. Two programming operations are provided:
The page register consists of 64 B and an update flag for each byte. When a LOAD
command is issued to FMCON the page register contents and all of the update flags will
be cleared. When FMDATA is written, the value written to FMDATA will be stored in the
page register at the location specified by the lower 6 bits of FMADRL. In addition, the
update flag for that location will be set. FMADRL will auto-increment to the next location.
Auto-increment after writing to the last byte in the page register will ‘wrap-around’ to the
first byte in the page register, but will not affect FMADRL[7:6]. Bytes loaded into the page
register do not have to be continuous. Any byte location can be loaded into the page
register by changing the contents of FMADRL prior to writing to FMDATA. However, each
location in the page register can only be written once following each LOAD command.
Attempts to write to a page register location more than once should be avoided.
FMADRH and FMADRL[7:6] are used to specify a page in the code memory space. When
the PROG command is written to FMCON, the locations within the data EEPROM page
that correspond to updated locations in the page register will have their contents
programmed with the contents of their corresponding locations in the page register. Only
the bytes that were loaded into the page register will be programmed in the data EEPROM
array. Other bytes within the data EEPROM array will not be affected. The EP command
works similarly except that If the EP command is written, the corresponding bytes in the
data EEPROM will be erased prior to being programmed. This is often useful for erasing
and programming a small number of bytes or even a single byte.
Map the data EEPROM into code memory space if not already mapped.
Write the data EEPROM byte address into the DPTR.
Use the MOVC instruction to read the data EEPROM.
Map the data EEPROM into code memory space if not already mapped.
Write the lower 8-bits of the data EEPROM page’s start address into FMADRL.
Write the ERS_DP command (33H) to FMCON.
Program only operation. This operation used the PROG (48H) command and
programs the contents of the page register into the data EEPROM page. This
operation requires that the bytes being programmed have been previously erased.
This operation requires approximately 2 ms to complete.
Erase and Program operation. This operation uses the EP (68H) command to both
erase and program the bytes previously loaded into the page register. This command
is often useful to erase and reprogram a single byte of data. This operation requires
approximately 4 ms to complete.
Rev. 03 — 4 May 2009
80C51 with 256 B RAM, 192 B data EEPROM
P89V52X2
© NXP B.V. 2009. All rights reserved.
35 of 57

Related parts for P89V52X2FA,512