P89LPC938

8-bit microcontroller with accelerated two-clock 80C51 core 8 kB 3 V byte-erasable Flash with 10-bit A/D converter


Quick ordering

DistributorIn Stock
OR:  

Latest videos

  • LPC4300: Inter-processor communication (Cortex-M4 ...

    youtube video

    LPC4300: Inter-processor communication (Cortex-M4 to Cortex-M0)

  • Introduction to NXP's LPC4300 Cortex-M4 based digi...

    youtube video

    Introduction to NXP's LPC4300 Cortex-M4 based digital controller

  • Elevator pitch for MCU...

    youtube video

    Elevator pitch for MCU


The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system-level functions have been incorporated into the P89LPC938 in order to reduce component count, board space, and system cost.

Features and benefits

Principal features

  • 8 kB byte-erasable Flash code memory organized into 1 kB sectors and 64-byte pages. Single-byte erasing allows any byte(s) to be used as non-volatile data storage.
  • 256-byte RAM data memory and a 512-byte auxiliary on-chip RAM.
  • 512-byte customer Data EEPROM on chip allows serialization of devices, storage of set-up parameters, etc.
  • 8-input multiplexed 10-bit A/D converter. Two analog comparators with selectable inputs and reference source.
  • Two 16-bit counter/timers (each may be configured to toggle a port output upon timer overflow or to become a PWM output) and a 23-bit system timer that can also be used as a RTC.
  • Enhanced UART with fractional baud rate generator, break detect, framing error detection, and automatic address detection; 400 kHz byte-wide I²C-bus communication port and SPI communication port.
  • CCU provides PWM, input capture, and output compare functions.
  • High-accuracy internal RC oscillator option allows operation without external oscillator components. The RC oscillator option is selectable and fine tunable.
  • 2.4 V to 3.6 V VDD operating range. I/O pins are 5 V tolerant (may be pulled up or driven to 5.5 V).
  • 28-pin TSSOP, PLCC, and HVQFN packages with 23 I/O pins minimum and up to 26 I/O pins while using on-chip oscillator and reset options.

Additional features

  • A high performance 80C51 CPU provides instruction cycle times of 111 ns to 222 ns for all instructions except multiply and divide when executing at 18 MHz. This is six times the performance of the standard 80C51 running at the same clock frequency. A lower clock frequency for the same performance results in power savings and reduced EMI.
  • Serial Flash ICP allows simple production coding with commercial EPROM programmers. Flash security bits prevent reading of sensitive application programs.
  • Serial Flash ISP allows coding while the device is mounted in the end application.
  • In-Application Programming of the Flash code memory. This allows changing the code in a running application.
  • Watchdog timer with separate on-chip oscillator, requiring no external components. The watchdog prescaler is selectable from eight values.
  • Low voltage reset (brownout detect) allows a graceful system shutdown when power fails. May optionally be configured as an interrupt.
  • Idle and two different power-down reduced power modes. Improved wake-up from Power-down mode (a LOW interrupt input starts execution). Typical power-down current is 1 uA (total power-down with voltage comparators disabled).
  • Active-LOW reset. On-chip power-on reset allows operation without external reset components. A reset counter and reset glitch suppression circuitry prevent spurious and incomplete resets. A software reset function is also available.
  • Configurable on-chip oscillator with frequency range options selected by user programmed Flash configuration bits. Oscillator options support frequencies from 20 kHz to the maximum operating frequency of 18 MHz.
  • Oscillator fail detect. The watchdog timer has a separate fully on-chip oscillator allowing it to perform an oscillator fail detect function.
  • Programmable port output configuration options: quasi-bidirectional, open drain, push-pull, input-only.
  • Port 'input pattern match' detect. Port 0 may generate an interrupt when the value of the pins match or do not match a programmable pattern.
  • LED drive capability (20 mA) on all port pins. A maximum limit is specified for the entire chip.
  • Controlled slew rate port outputs to reduce EMI. Outputs have approximately 10 ns minimum ramp times.
  • Only power and ground connections are required to operate the P89LPC938 when internal reset option is selected.
  • Four interrupt priority levels.
  • Eight keypad interrupt inputs, plus two additional external interrupt inputs.
  • Schmitt trigger port inputs.
  • Second data pointer.
  • Emulation support.

Parametrics of this product

Type numberPackagePackage namefmax
(MHz)
RAM
(B)
I/O
pins
UART
SPI
Timers
@ temperature
range
@ VDD
[min](V)
@ VDD
[max]
(V)
@ product descriptionFLASH
(kB)
I2C
ADC
PWM
@ EEPROM
(B)
P89LPC938FDHSOT361-1
(TSSOP28)
TSSOP281876826113F2.43.68-bit microcontroller with accelerated two-clock 80C51 core 8 kB 3 V byte-erasable Flash with 10-bit A/D converter8182512

Package

Type numberOrderable part numberOrdering code (12NC)Product statusPackagePackingMarking
P89LPC938FDHP89LPC938FDH,5299352 785 46529Volume productionSOT361-1
(TSSOP28)

Outline drawing

Package VersionPackage NamePackage DescriptionReference CodesIssue Date
SOT361-1TSSOP28plastic thin shrink small outline package; 28 leads; body width 4.4 mmMO-153 (JEDEC); 2003-02-19

Quality, reliability & chemical content

Type numberOrderable part numberChemical contentRoHSLeadfree conversion dateRHFIFR (FIT)MTBF (hours)MSLMSL LF
P89LPC938FDHP89LPC938FDH,529P89LPC938FDHAlways Pb-free2.842.5839793281653747E822
Quality and reliability disclaimer

Quality and reliability disclaimer

Important Legal Notice on the product/generic quality information, No Warranty

NXP Semiconductors is providing this data for your convenience only. Please note however that NO WARRANTY, REPRESENTATION, GUARANTEE OR LEGALLY BINDING PRODUCT DESCRIPTION is provided by publishing this informational data, nor does NXP Semiconductors acknowledge or accept any liability related thereto. The documentation and data on NXP Semiconductors products can be found in the data sheets as officially published by NXP Semiconductors. For all purchase of products from NXP Semiconductors the NXP Semiconductors' General Terms and Conditions of Commercial Sale will apply.

NXP SEMICONDUCTORS PROVIDES THE DATA HEREUNDER “AS IS” WITHOUT WARRANTY WHATSOEVER. NXP SEMICONDUCTORS DOES NOT WARRANT OR REPRESENT THAT ANY DATA PROVIDED ON THIS WEBSITE IS CORRECT OR FIT FOR A PARTICULAR PURPOSE WHATSOEVER. IT IS PROVIDED WITHOUT ANY WARRANTY WHATSOEVER, WHETHER EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS NONINFRINGEMENT OF INTELLECTUAL PROPERTY OR OTHERWISE AND MAY BE CHANGED, MODIFIED OR DELETED BY NXP SEMICONDUCTORS AT ANY TIME.

Any use of the data provided hereunder is at your own risk.

IN NO EVENT SHALL NXP SEMICONDUCTORS, BE LIABLE FOR ANY DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, PUNITIVE, OR INCIDENTAL DAMAGES (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS, BUSINESS INTERRUPTION, LOSS OF USE, LOSS OF DATA OR INFORMATION, AND THE LIKE) ARISING OUT OF THE USE OF THE DATA, WHETHER OR NOT BASED ON TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY, BREACH OF CONTRACT, BREACH OF WARRANTY OR ANY OTHER THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. NOTWITHSTANDING ANY DAMAGES THAT YOU MIGHT INCUR FOR ANY REASON WHATSOEVER (INCLUDING, WITHOUT LIMITATION, ALL DAMAGES REFERENCED ABOVE AND ALL GENERAL DAMAGES), THE ENTIRE LIABILITY OF NXP SEMICONDUCTORS, AND YOUR EXCLUSIVE REMEDY FOR ALL OF THE FOREGOING SHALL BE LIMITED TO ACTUAL DAMAGES INCURRED BY YOU BASED ON REASONABLE RELIANCE UP TO ONE DOLLARS (US$1.00). THE FOREGOING LIMITATIONS, EXCLUSIONS AND DISCLAIMERS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, EVEN IF ANY REMEDY FAILS OF ITS ESSENTIAL PURPOSE.

Your use of this data, and all consequences of such use, is solely your responsibility. You must perform sufficient engineering and additional qualification testing in order to properly evaluate your application and determine whether a candidate NXP Semiconductors device is suitable for use in that application.

NXP Semiconductors' products are specifically designed and manufactured to be used within the electrical, thermal, mechanical and other parameters set forth in NXP Semiconductors' data sheets. Quality and reliability data provided by NXP Semiconductors, such as MTBF, MSL and FIT, is intended to be a non-binding estimate of product performance based upon diffusion process, history only. It does not imply that any performance levels reflected in such data can be met if the product is operated outside the conditions expressly stated in the latest published data sheet for a device or in your application.

The RoHS data provided hereunder is preliminary and non binding for NXP Semiconductors. NXP Semiconductors does not accept any liability related to this data.

NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage nor for any other use that is not explicitly agreed between the parties. NXP Semiconductors accepts no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer's own risk.

Any use of NXP Semiconductors' products beyond the scope defined in the current NXP Semiconductors' data sheet voids all warranty responsibility of NXP Semiconductors with respect to such devices, and also voids all responsibility of NXP Semiconductors with respect to any applications assistance, product design, software performance or services of any kind that were or may have been performed in connection with the sale of any such devices.

Further, resale of NXP Semiconductors' products or services with statements different from or beyond the parameters stated by NXP Semiconductors for that product in official NXP Semiconductors data sheets, or without the warnings or instructions provided by NXP Semiconductors, voids all express and any implied warranties for the associated NXP Semiconductors product or service, and is an unfair and deceptive business practice.

Documentation for this product

File nameTitleTypeFormatDate
P89LPC9388-bit microcontroller with accelerated two-clock 80C51 core 8 kB 3 V byte-erasable Flash with 10-bit A/D converterData sheetpdf2005-02-25
AN10367Power management for the LPC900 familyApplication notepdf2005-03-29
75016725Looking for more 32-bit MCU options? Start here.Brochurepdf2009-04-01
ES_LPC938LPC938 ErratasheetErrata sheetpdf2005-04-04
AN10337AN10337 Adding ISP firmware to an LPC900 software projectOther typezip2012-07-31
UM10119P89LPC938 User manualUser manualpdf2005-06-07

Ordering & availability

Type numberOrdering code (12NC)Orderable part numberRegionDistributorIn stockOrder quantityInventory dateBuy onlineSamples
P89LPC938FDH9352 785 46529P89LPC938FDH,529NAMOUSER ELECTRONICS3235/18/2013Buy onlineNot available
   NADIGI-KEY CORPORATION2035/18/2013Buy online 
   NAARROW ELECTRONICS425/17/2013Buy online 
   ASIAAVNET EXPRESS ASIA205/18/2013Buy online 
   EUFarnell Europe0105/17/2013Buy online 
   ASIAElement 140117/05/2013Buy online 

Sample

Sample orders normally take 2-4 days for delivery.
If you do not have a direct account with NXP our network of global and regional distributors is available and equipped to support you with NXP samples. As a NXP customer you also have the option to order samples via our sales organisation.

Technical support

Do you want to ask technical questions to an NXP expert?
Please select one of the following options:

How to search?

Restricted Document

You are accessing a password protected document.
Please choose an option below

Fill in your name, company and e-mail address and you will receive an e-mail with a username and password for this restricted document.

First name*

Last name*

Company*

E-mail*

Comments

* required.

Print password request form:

Before we can grant you access to our confidential documents you are required to fill in, print and sign the password request form by which you comply with the NXP Non-disclosure agreement (NDA). Please email or fax the signed form to the email-address or fax-number specified on the form. After approval you will receive username and password via email. In case you already signed an NDA with NXP and already have username and password, you can skip this step.

Open document:

If you have received the username and password, you can open the document by clicking on the "open document" link. You will be prompted for username and password. After you fill in the username and password the download will start.

Forgot your password:

In case you forgot your password you can click on the "forgot your password" link to retrieve your password. Please complete the small form with your personal details and your request will be sent to NXP. You will receive an answer with your password shortly.

Request secure documentation

Fill in your name, company and e-mail address and you will receive an e-mail with a username and password for this secure document.

First name*

Last name*

Company*

E-mail*

Comments

* required.

Datasheet confidential

Fill in your details and you will be contacted

First name*

Last name*

Company*

Country*

Telephone number*

E-mail*

* required.

Your e-mail address will only be used to send the datasheet and will not be used for any other purposes.

No full datasheet available

Fill in your details to receive notification when the datasheet becomes available

First name*

Last name*

Company*

E-mail*

* required.

Your email address will only be used to send the datasheet and will not be used for any other purposes.