P89LPC9381 NXP Semiconductors, P89LPC9381 Datasheet - Page 37
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
P89LPC9381
Manufacturer Part Number
P89LPC9381
Description
The P89LPC9381 is a single-chip microcontroller, available in low-cost packages, basedon a high performance processor architecture that executes instructions in two to fourclocks, six times the rate of standard 80C51 devices
Manufacturer
NXP Semiconductors
Datasheet
1.P89LPC9381.pdf
(60 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89LPC9381FA,112
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Company:
Part Number:
P89LPC9381FDH,512
Manufacturer:
LT
Quantity:
2 340
Company:
Part Number:
P89LPC9381FDHЈ¬512
Manufacturer:
PH3
Quantity:
1 122
Philips Semiconductors
P89LPC9381_1
Product data sheet
7.26.1 General description
7.26.2 Features
7.26.3 Flash organization
7.26.4 Using flash as data storage
7.26.5 Flash programming and erasing
7.26 Flash program memory
The P89LPC9381 flash memory provides in-circuit electrical erasure and programming.
The flash can be erased, read, and written as bytes. The Sector and Page Erase functions
can erase any flash sector (1 kB) or page (64 B). The Chip Erase operation will erase the
entire program memory. In-Circuit Programming using standard commercial programmers
is available. In addition, IAP and byte-erase allows code memory to be used for
non-volatile data storage. On-chip erase and write timing generation contribute to a
user-friendly programming interface. The P89LPC9381 flash reliably stores memory
contents even after 100000 erase and program cycles. The cell is designed to optimize
the erase and programming mechanisms. The P89LPC9381 uses V
voltage to perform the Program/Erase algorithms.
The program memory consists of four 1 kB sectors on the P89LPC9381 devices. Each
sector can be further divided into 64 B pages. In addition to sector erase, page erase, and
byte erase, a 64 B page register is included which allows from 1 B to 64 B of a given page
to be programmed at the same time, substantially reducing overall programming time.
The flash code memory array of this device supports individual byte erasing and
programming. Any byte in the code memory array may be read using the MOVC
instruction, provided that the sector containing the byte has not been secured (a MOVC
instruction is not allowed to read code memory contents of a secured sector). Thus any
byte in a non-secured sector may be used for non-volatile data storage.
Four different methods of erasing or programming of the flash are available. The flash may
be programmed or erased in the end-user application (IAP) under control of the
application’s firmware. Another option is to use the ICP mechanism. This ICP system
•
•
•
•
•
•
•
•
•
•
•
Programming and erase over the full operating voltage range.
Byte erase allows code memory to be used for data storage.
Read/Programming/Erase using ISP/IAP/ICP.
Internal fixed boot ROM, containing low-level IAP routines available to user code.
Default loader providing In-System Programming via the serial port, located in upper
end of user program memory.
Boot vector allows user-provided flash loader code to reside anywhere in the flash
memory space, providing flexibility to the user.
Any flash program/erase operation in 2 ms.
Programming with industry-standard commercial programmers.
Programmable security for the code in the flash for each sector.
400000 typical erase/program cycles for each byte.
20 year minimum data retention.
Rev. 01 — 8 September 2006
8-bit microcontroller with 10-bit ADC
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
P89LPC9381
DD
as the supply
37 of 60