P89LPC9381 NXP Semiconductors, P89LPC9381 Datasheet - Page 38
![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.6 ICP
7.26.7 IAP
7.26.8 ISP
provides for programming through a serial clock/serial data interface. As shipped from the
factory, the upper 512 B of user code space contains a serial ISP routine allowing for the
device to be programmed in circuit through the serial port. The flash may also be
programmed or erased using a commercially available EPROM programmer which
supports this device. This device does not provide for direct verification of code memory
contents. Instead, this device provides a 32-bit CRC result on either a sector or the entire
user code space.
In-Circuit Programming is performed without removing the microcontroller from the
system. The In-Circuit Programming facility consists of internal hardware resources to
facilitate remote programming of the P89LPC9381 through a two-wire serial interface. The
Philips In-Circuit Programming facility has made in-circuit programming in an embedded
application—using commercially available programmers—possible with a minimum of
additional expense in components and circuit board area. The ICP function uses five pins.
Only a small connector needs to be available to interface your application to a commercial
programmer in order to use this feature. Additional details may be found in the
P89LPC9381 User’s Manual .
In-Application Programming is performed in the application under the control of the
microcontroller’s firmware. The IAP facility consists of internal hardware resources to
facilitate programming and erasing. The Philips In-Application Programming has made
in-application programming in an embedded application possible without additional
components. Two methods are available to accomplish IAP. A set of predefined IAP
functions are provided in a Boot ROM and can be called through a common interface,
PGM_MTP. Several IAP calls are available for use by an application program to permit
selective erasing and programming of flash sectors, pages, security bits, configuration
bytes, and device ID. These functions are selected by setting up the microcontroller’s
registers before making a call to PGM_MTP at FF03H. The Boot ROM occupies the
program memory space at the top of the address space from FF00 to FEFF hex, thereby
not conflicting with the user program memory space.
In addition, IAP operations can be accomplished through the use of four SFRs consisting
of a control/status register, a data register, and two address registers. Additional details
may be found in the P89LPC9381 User’s Manual .
In-System Programming is performed without removing the microcontroller from the
system. The In-System Programming facility consists of a series of internal hardware
resources coupled with internal firmware to facilitate remote programming of the
P89LPC9381 through the serial port. This firmware is provided by Philips and embedded
within each P89LPC9381 device. The Philips In-System Programming facility has made
in-system programming in an embedded application possible with a minimum of additional
expense in components and circuit board area. The ISP function uses five pins (V
TXD, RXD, and RST). Only a small connector needs to be available to interface your
application to an external circuit in order to use this feature.
Rev. 01 — 8 September 2006
8-bit microcontroller with 10-bit ADC
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
P89LPC9381
DD
38 of 60
, V
SS
,