P89LPC920FDH PHILIPS [NXP Semiconductors], P89LPC920FDH Datasheet
P89LPC920FDH
Available stocks
Related parts for P89LPC920FDH
P89LPC920FDH Summary of contents
Page 1
P89LPC920/921/922 8-bit microcontrollers with two-clock 80C51 core 2 kB/4 kB low-power Flash with 256-byte data RAM Rev. 06 — 21 November 2003 1. General description The P89LPC920/921/922 are single-chip microcontrollers designed for applications demanding high-integration, low cost ...
Page 2
Philips Semiconductors In-Application Programming of the Flash code memory. This allows changing the code in a running application. Serial Flash programming allows simple in-circuit production coding. Flash security bits prevent reading of sensitive application programs. Watchdog timer with separate on-chip ...
Page 3
... Philips Semiconductors 3. Ordering information Table 1: Type number P89LPC920FDH P89LPC921FDH P89LPC922FDH P89LPC922FN 3.1 Ordering options Table 2: Type number P89LPC920FDH P89LPC921FDH P89LPC922FDH P89LPC922FN 9397 750 12285 Product data P89LPC920/921/922 8-bit microcontrollers with two-clock 80C51 core Ordering information Package Name Description TSSOP20 plastic thin shrink small outline package; ...
Page 4
Philips Semiconductors 4. Block diagram P89LPC920/921/922 CONFIGURABLE I/Os CONFIGURABLE I/Os CONFIGURABLE I/Os OSCILLATOR DIVIDER CRYSTAL OR RESONATOR Fig 1. Block diagram. 9397 750 12285 Product data 8-bit microcontrollers with two-clock 80C51 core HIGH PERFORMANCE ACCELERATED 2-CLOCK 80C51 CPU 2 kB/4 ...
Page 5
Philips Semiconductors 5. Pinning information 5.1 Pinning Fig 2. TSSOP20 pin configuration. Fig 3. DIP20 pin configuration. 9397 750 12285 Product data P89LPC920/921/922 8-bit microcontrollers with two-clock 80C51 core handbook, halfpage KBI0/CMP2/ ...
Page 6
Philips Semiconductors 5.2 Pin description Table 3: Pin description Symbol Pin Type Description P0.0 - P0.7 1, 20, 19, I/O Port 0: Port 8-bit I/O port with a user-configurable output type. During reset 18, 17, 16, Port ...
Page 7
Philips Semiconductors Table 3: Pin description …continued Symbol Pin Type Description [1] P1.0 - P1.7 12, 11, 10, I/O, I Port 1: Port 8-bit I/O port with a user-configurable output type, except for three ...
Page 8
Philips Semiconductors Table 3: Pin description …continued Symbol Pin Type Description P3 I/O Port 3: Port 2-bit I/O port with a user-configurable output type. During reset Port 3 latches are configured in the ...
Page 9
Philips Semiconductors 7. Special function registers Remark: Special Function Registers (SFRs) accesses are restricted in the following ways: • User must not attempt to access any SFR locations not defined. • Accesses to any defined SFR locations must be strictly ...
Page 10
Table 4: Special function registers * indicates SFRs that are bit addressable. Name Description SFR addr. Bit address ACC* Accumulator E0H AUXR1 Auxiliary function register A2H Bit address B* B register F0H ...
Page 11
Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. I2SCLL Serial clock generator/SCL DCH duty cycle register LOW 2 I2STAT I C status register ...
Page 12
Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. P1M2 Port 1 output mode 2 92H P3M1 Port 3 output mode 1 B1H P3M2 ...
Page 13
Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. TRIM Internal oscillator trim register 96H WDCON Watchdog control register A7H WDL Watchdog load C1H ...
Page 14
Philips Semiconductors 8. Functional description Remark: Please refer to the P89LPC920/921/922 User’s Manual for a more detailed functional description. 8.1 Enhanced CPU The P89LPC920/921/922 uses an enhanced 80C51 CPU which runs at 6 times the speed of standard 80C51 devices. ...
Page 15
Philips Semiconductors 8.2.6 Clock output The P89LPC920/921/922 supports a user-selectable clock output function on the XTAL2/CLKOUT pin when crystal oscillator is not being used. This condition occurs if another clock source has been selected (on-chip RC oscillator, watchdog oscillator, external ...
Page 16
Philips Semiconductors 8.6 CPU Clock (CCLK) wake-up delay The P89LPC920/921/922 has an internal wake-up timer that delays the clock until it stabilizes depending to the clock source used. If the clock source is any of the three crystal selections (low, ...
Page 17
Philips Semiconductors 8.10 Data RAM arrangement The 256 bytes of on-chip RAM are organized as shown in Table 5: Type DATA IDATA 8.11 Interrupts The P89LPC920/921/922 uses a four priority level interrupt structure. This allows great flexibility in controlling the ...
Page 18
Philips Semiconductors RTCF ERTC (RTCCON.1) WDOVF EA (IE0.7) Fig 6. Interrupt sources, interrupt enables, and power-down wake-up sources. 8.12 I/O ports The P89LPC920/921/922 has three I/O ports: Port 0, Port 1, and Port 3. Ports 0 and 1 are 8-bit ...
Page 19
Philips Semiconductors 8.12.2 Quasi-bidirectional output configuration Quasi-bidirectional output type can be used as both an input and output without the need to reconfigure the port. This is possible because when the port outputs a logic HIGH weakly driven, ...
Page 20
Philips Semiconductors 8.12.7 Additional port features After power-up, all pins are in Input-Only mode. Please note that this is different from the LPC76x series of devices. • After power-up, all I/O pins except P1.5, may be configured by software. • ...
Page 21
Philips Semiconductors 8.14 Power reduction modes The P89LPC920/921/922 supports three different power reduction modes. These modes are Idle mode, Power-down mode, and total Power-down mode. 8.14.1 Idle mode Idle mode leaves peripherals running in order to allow them to activate ...
Page 22
Philips Semiconductors Remark: During a power cycle, V characteristics” on page reset. Reset can be triggered from the following sources: • External reset pin (during power- user configured via UCFG1); • Power-on detect; • Brownout detect; • Watchdog ...
Page 23
Philips Semiconductors 8.16.1 Mode 0 Putting either Timer into Mode 0 makes it look like an 8048 Timer, which is an 8-bit Counter with a divide-by-32 prescaler. In this mode, the Timer register is configured as a 13-bit register. Mode ...
Page 24
Philips Semiconductors 8.18.1 Mode 0 Serial data enters and exits through RxD. TxD outputs the shift clock. 8 bits are transmitted or received, LSB first. The baud rate is fixed at frequency. 8.18.2 Mode 1 10 bits are transmitted (through ...
Page 25
Philips Semiconductors 8.18.6 Framing error Framing error is reported in the status register (SSTAT). In addition, if SMOD0 (PCON.6) is ‘1’, framing errors can be made available in SCON.7 respectively. If SMOD0 is ‘0’, SCON.7 is SM0 recommended ...
Page 26
Philips Semiconductors 2 8.19 I C-bus serial interface 2 I C-bus uses two wires (SDA and SCL) to transfer information between devices connected to the bus, and it has the following features: • Bidirectional data transfer between masters and slaves ...
Page 27
Philips Semiconductors P1.3/SDA P1.2/SCL Fig 9. I 9397 750 12285 Product data 8-bit microcontrollers with two-clock 80C51 core P1.3 INPUT FILTER OUTPUT STAGE BIT COUNTER / ARBITRATION & INPUT SYNC LOGIC FILTER SERIAL CLOCK OUTPUT GENERATOR STAGE TIMER 1 OVERFLOW ...
Page 28
Philips Semiconductors 8.20 Analog comparators Two analog comparators are provided on the P89LPC920/921/922. Input and output options allow use of the comparators in a number of different configurations. Comparator operation is such that the output is a logical one (which ...
Page 29
Philips Semiconductors 8.20.2 Comparator interrupt Each comparator has an interrupt flag contained in its configuration register. This flag is set whenever the comparator output changes state. The flag may be polled by software or may be used to generate an ...
Page 30
Philips Semiconductors 8.22 Watchdog timer The Watchdog timer causes a system reset when it underflows as a result of a failure to feed the timer prior to the timer reaching its terminal count. It consists of a programmable 12-bit prescaler, ...
Page 31
Philips Semiconductors 8.24 Flash program memory 8.24.1 General description The P89LPC920/921/922 Flash memory provides in-circuit electrical erasure and programming. The Flash can be read, erased, or written as bytes. The Sector and Page Erase functions can erase any Flash sector ...
Page 32
Philips Semiconductors Flash programming and erasing: programming of the Flash memory that may be used. First, the Flash may be programmed or erased in the end-user application by calling low-level routines through a common entry point. Second, the on-chip ISP ...
Page 33
Philips Semiconductors In-System Programming (ISP): 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 P89LPC920/921/922 through the serial port. This firmware ...
Page 34
Philips Semiconductors 9. Limiting values Table 7: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter T operating bias ambient temperature amb(bias) T storage temperature range stg V voltage on XTAL1, XTAL2 pin to V ...
Page 35
Philips Semiconductors 10. Static characteristics Table 8: DC electrical characteristics 3.6 V unless otherwise specified +85 C for industrial, unless otherwise specified. amb Symbol Parameter I power supply current, ...
Page 36
Philips Semiconductors [2] The and I specifications are measured using an external clock with the following functions disabled: comparators, brownout detect, and Watchdog timer. [3] See Table 7 “Limiting values” on page 34 ...
Page 37
Philips Semiconductors t XLXL Clock t QVXH Output Data Write to SBUF t XHDV Input Data Valid Clear RI Fig 12. Shift register mode timing 0.5 V 0.45 V Fig 13. External clock timing. Table 10: AC ...
Page 38
Philips Semiconductors 12. Comparator electrical characteristics Table 11: Comparator electrical characteristics 3.6 V, unless otherwise specified +85 C for industrial, unless otherwise specified. amb Symbol Parameter V offset voltage ...
Page 39
Philips Semiconductors 13. Package outline TSSOP20: plastic thin shrink small outline package; 20 leads; body width 4 pin 1 index 1 e DIMENSIONS (mm are the original dimensions) A UNIT ...
Page 40
Philips Semiconductors DIP20: plastic dual in-line package; 20 leads (300 mil pin 1 index 1 DIMENSIONS (inch dimensions are derived from the original mm dimensions UNIT max. min. max. 1.73 mm 4.2 ...
Page 41
Philips Semiconductors 14. Soldering 14.1 Introduction to soldering surface mount packages This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages ...
Page 42
Philips Semiconductors • For packages with leads on two sides and a pitch (e): – larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; – ...
Page 43
Philips Semiconductors [3] These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 C oven. ...
Page 44
Philips Semiconductors 16. Data sheet status [1] Level Data sheet status Product status I Objective data Development II Preliminary data Qualification III Product data Production [1] Please consult the most recently issued data sheet before initiating or completing a design. ...
Page 45
Philips Semiconductors Contents 1 General description . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Features . . . . ...