P89LPC9401FBD NXP Semiconductors, P89LPC9401FBD Datasheet

IC, MCU 8BIT 80C51, LCD DRIVER, SMD

P89LPC9401FBD

Manufacturer Part Number
P89LPC9401FBD
Description
IC, MCU 8BIT 80C51, LCD DRIVER, SMD
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC9401FBD

Controller Family/series
(8051) 8052
Core Size
8bit
No. Of I/o's
23
Program Memory Size
8KB
Ram Memory Size
256Byte
Cpu Speed
18MHz
Oscillator Type
External, Internal
No. Of Timers
4
No.
RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC9401FBD
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89LPC9401FBD
Quantity:
1 000
Company:
Part Number:
P89LPC9401FBD
Quantity:
3 350
Part Number:
P89LPC9401FBD,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC9401FBD,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC9401FBDЈ¬551
Manufacturer:
NXP
Quantity:
3 048
1. General description
2. Features
2.1 Principal features
2.2 Additional features
The P89LPC9401 is a multi-chip module consisting of a P89LPC931 single-chip
microcontroller combined with a PCF8576D universal LCD driver in a low-cost 64-pin
package. The LCD driver provides 32 segments and supports from 1 to 4 backplanes.
Display overhead is minimized by an on-chip display RAM with auto-increment
addressing.
P89LPC9401
8-bit microcontroller with accelerated two-clock 80C51 core
8 kB 3 V byte-erasable flash with 32 segment
Rev. 01 — 5 September 2005
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.
32 segment
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 Real-Time Clock (RTC).
Enhanced UART with fractional baud rate generator, break detect, framing error
detection, and automatic address detection; 400 kHz byte-wide I
communication port and SPI communication port.
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 V
driven to 5.5 V).
64-pin LQFP package with 20 microcontroller I/O pins minimum and up to 23
microcontroller I/O pins while using on-chip oscillator and reset options.
Serial flash In-Circuit Programming (ICP) allows simple production coding with
commercial EPROM programmers. Flash security bits prevent reading of sensitive
application programs.
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.
4 backplane LCD controller supports from 1 to 4 backplanes.
DD
operating range. I/O pins are 5 V tolerant (may be pulled up or
Preliminary data sheet
2
C-bus
4 LCD driver

Related parts for P89LPC9401FBD

P89LPC9401FBD Summary of contents

Page 1

P89LPC9401 8-bit microcontroller with accelerated two-clock 80C51 core byte-erasable flash with 32 segment Rev. 01 — 5 September 2005 1. General description The P89LPC9401 is a multi-chip module consisting of a P89LPC931 single-chip microcontroller combined with ...

Page 2

Philips Semiconductors Serial flash In-System Programming (ISP) allows coding while the device is mounted in the end application. In-Application Programming (IAP) of the flash code memory. This allows changing the code in a running application. Watchdog timer with separate on-chip ...

Page 3

... Philips Semiconductors 3. Ordering information Table 1: Type number P89LPC9401FBD 3.1 Ordering options Table 2: Type number P89LPC9401FBD P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment Ordering information Package Name Description LQFP64 plastic low profile quad flat package; 64 leads; body 14 Part options ...

Page 4

Philips Semiconductors 4. Block diagram P3[1:0] P2.5, P2[3:0] P1[7:0] P0[7:0] Fig 1. Block diagram P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment P89LPC931 MCU CONTROLLER Rev. 01 — 5 September 2005 P89LPC9401 4 LCD driver S[31:0] BP[3:0] ...

Page 5

Philips Semiconductors P89LPC931 P3[1:0] P2.5, P2[3:0] P1[7:0] P0[7:0] X1 CRYSTAL OR RESONATOR X2 Fig 2. Microcontroller section block diagram P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment ACCELERATED 2-CLOCK 80C51 CPU 8 kB CODE FLASH internal bus ...

Page 6

Philips Semiconductors V DD LCD BIAS GENERATOR V LCD CLK TIMING SYNC OSCILLATOR OSC V SS SCL INPUT FILTERS SDA Fig 3. LCD display controller block diagram 5. Functional diagram CLKOUT Fig 4. P89LPC9401 functional diagram P89LPC9401_1 Preliminary data sheet ...

Page 7

Philips Semiconductors 6. Pinning information 6.1 Pinning Fig 5. Pin configuration 6.2 Pin description Table 3: Pin description Symbol Pin Type Description P0.0 to P0.7 I/O P0.0/CMP2/ 8 I/O KBI0 O I P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller ...

Page 8

Philips Semiconductors Table 3: Pin description …continued Symbol Pin Type Description P0.1/CIN2B/ 5 I/O KBI1 I I P0.2/CIN2A/ 4 I/O KBI2 I I P0.3/CIN1B/ 3 I/O KBI3 I I P0.4/ CIN1A/ 2 I/O KBI4 I I P0.5/ 1 I/O CMPREF/ ...

Page 9

Philips Semiconductors Table 3: Pin description …continued Symbol Pin Type Description P1.5/RST P1.6 10 I/O P1.7 9 I/O P2.0 to P2.3, I/O P2.5 P2.0 6 I/O P2.1 7 I/O P2.2/MOSI 18 I/O I/O P2.3/MISO 19 I/O I/O ...

Page 10

Philips Semiconductors Table 3: Pin description …continued Symbol Pin Type Description P3.1/XTAL1 13 I/O I SDA_LCD 63 I/O SCL_LCD 64 I/O BP0 to BP3 S31 ...

Page 11

Philips Semiconductors 7. Functional description Remark: Please refer to the P89LPC9401 User manual for a more detailed functional description. 7.1 Special function registers Remark: Special Function Registers (SFRs) accesses are restricted in the following ways: • User must not attempt ...

Page 12

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 [1] BRGR0 Baud rate generator rate low BEH ...

Page 13

Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. I2SCLH Serial clock generator/SCL DDH duty cycle register high I2SCLL Serial clock generator/SCL DCH duty cycle register low 2 I2STAT I C-bus status ...

Page 14

Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. P0M1 Port 0 output mode 1 84H P0M2 Port 0 output mode 2 85H P1M1 Port 1 output mode 1 91H P1M2 Port ...

Page 15

Table 4: Special function registers …continued * indicates SFRs that are bit addressable. Name Description SFR addr. TAMOD Timer 0 and 1 auxiliary 8FH mode Bit address TCON* Timer 0 and 1 control 88H TH0 Timer 0 high 8CH TH1 ...

Page 16

Philips Semiconductors 7.2 Enhanced CPU The P89LPC9401 uses an enhanced 80C51 CPU which runs at six times the speed of standard 80C51 devices. A machine cycle consists of two CPU clock cycles, and most instructions execute in one or two ...

Page 17

Philips Semiconductors 7.3.6 Clock output The P89LPC9401 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 18

Philips Semiconductors XTAL1 XTAL2 (7.3728 MHz (400 kHz Fig 6. Block diagram of oscillator control - P89LPC931 P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment HIGH FREQUENCY MEDIUM FREQUENCY LOW FREQUENCY OSCCLK RC ...

Page 19

Philips Semiconductors 7.7 CPU Clock (CCLK) wake-up delay The P89LPC9401 has an internal wake-up timer that delays the clock until it stabilizes depending on the clock source used. If the clock source is any of the three crystal selections (low, ...

Page 20

Philips Semiconductors • CODE Code memory space, accessed as part of program execution and via the MOVC instruction. The P89LPC9401 has on-chip Code memory. 7.11 Data RAM arrangement The 768 bytes of on-chip RAM ...

Page 21

Philips Semiconductors RTCF ERTC (RTCCON.1) WDOVF Fig 7. Interrupt sources, interrupt enables, and power-down wake-up sources 7.13 I/O ports The P89LPC9401 has four I/O ports: Port 0 and Port 1 are 8-bit ports. Port 5-bit port. Port ...

Page 22

Philips Semiconductors 1. P1.5 (RST) can only be an input and cannot be configured. 2. P1.2 (SCL/T0) and P1.3 (SDA/INT0) may only be configured to be either input-only or open-drain. 7.13.1.1 Quasi-bidirectional output configuration Quasi-bidirectional output type can be used ...

Page 23

Philips Semiconductors 7.13.3 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 24

Philips Semiconductors 7.15.1 Idle mode Idle mode leaves peripherals running in order to allow them to activate the processor when an interrupt is generated. Any enabled interrupt source or reset may terminate Idle mode. 7.15.2 Power-down mode The Power-down mode ...

Page 25

Philips Semiconductors For every reset source, there is a flag in the Reset Register, RSTSRC. The user can read this register to determine the most recent reset source. These flag bits can be cleared in software by writing a logic ...

Page 26

Philips Semiconductors 7.17.5 Mode 6 In this mode, the corresponding timer can be changed to a PWM with a full period of 256 timer clocks. 7.17.6 Timer overflow toggle output Timers 0 and 1 can be configured to automatically toggle ...

Page 27

Philips Semiconductors received, the 9 bit is not saved. The baud rate is programmable to either frequency, as determined by the SMOD1 bit in PCON. 7.19.4 Mode 3 11 bits are transmitted (through TXD) or received (through RXD): a start ...

Page 28

Philips Semiconductors Double buffering can be disabled. If disabled (DBMOD, i.e., SSTAT.7 = 0), the UART is compatible with the conventional 80C51 UART. If enabled, the UART allows writing to SnBUF while the previous data is being shifted out. Double ...

Page 29

Philips Semiconductors 2 7.20 I C-bus serial interface 2 The 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 ...

Page 30

Philips Semiconductors P1.3/SDA P1.2/SCL Fig 10. I P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment P1.3 INPUT FILTER OUTPUT STAGE INPUT FILTER OUTPUT STAGE timer 1 overflow I2CON P1.2 I2SCLH I2SCLL status bus I2STAT 2 C-bus serial ...

Page 31

Philips Semiconductors 7.21 SPI The P89LPC9401 provides another high-speed serial communication interface—the SPI interface. SPI is a full-duplex, high-speed, synchronous communication bus with two operation modes: Master mode and Slave mode 4.5 Mbit/s can be supported in Master ...

Page 32

Philips Semiconductors 7.21.1 Typical SPI configurations Fig 12. SPI single master single slave configuration Fig 13. SPI dual device configuration, where either can be a master or a slave P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment ...

Page 33

Philips Semiconductors Fig 14. SPI single master multiple slaves configuration P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment master MISO 8-BIT SHIFT MOSI REGISTER SPICLK SPI CLOCK port GENERATOR port Rev. 01 — 5 September 2005 P89LPC9401 ...

Page 34

Philips Semiconductors 7.22 Analog comparators Two analog comparators are provided on the P89LPC9401. Input and output options allow use of the comparators in a number of different configurations. Comparator operation is such that the output is a logic 1 (which ...

Page 35

Philips Semiconductors If a comparator interrupt is enabled (except in Total Power-down mode), a change of the comparator output state will generate an interrupt and wake-up the processor. If the comparator output to a pin is enabled, the pin should ...

Page 36

Philips Semiconductors 7.24 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 37

Philips Semiconductors 7.26 LCD driver 7.26.1 General description The LCD segment driver in the P89LPC9401 can interface to most LCDs using low multiplex rates. It generates the drive signals for static or multiplexed LCDs containing up to four backplanes and ...

Page 38

Philips Semiconductors 7.26.4 Oscillator 7.26.4.1 Internal clock An internal oscillator provides the clock signals for the internal logic of the LCD controller and its LCD drive signals. After power-up, pin SDA must be HIGH to guarantee that the clock starts. ...

Page 39

Philips Semiconductors 7.26.11 Output bank selector The LCD controller includes a RAM bank switching feature in the static and 1:2 drive modes. In the static drive mode, the BANK SELECT command may request the contents of bit ...

Page 40

Philips Semiconductors 2 7.26.15 I C-bus slave addresses 2 The I C-bus slave address is 0111 0000. The LCD controller is a write-only device and will not respond to a read access. 7.27 Flash program memory 7.27.1 General description The ...

Page 41

Philips Semiconductors 7.27.5 Flash programming and erasing 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 ...

Page 42

Philips Semiconductors 7.27.9 Power-on reset code execution The P89LPC9401 contains two special flash elements: the Boot Vector and the Boot Status Bit. Following reset, the P89LPC9401 examines the contents of the Boot Status Bit. If the Boot Status Bit is ...

Page 43

Philips Semiconductors 8. Limiting values Table 10: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter T bias ambient temperature amb(bias) T storage temperature stg I HIGH-state output current per I/O pin OH(I/O) I LOW-state ...

Page 44

Philips Semiconductors 9. Static characteristics Table 11: Static electrical characteristics 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter I operating supply ...

Page 45

Philips Semiconductors Table 11: Static electrical characteristics 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter V brownout trip voltage bo V ...

Page 46

Philips Semiconductors 10. Dynamic characteristics Table 12: Dynamic characteristics (12 MHz 2 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter f internal ...

Page 47

Philips Semiconductors Table 12: Dynamic characteristics (12 MHz 2 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter t SPICLK HIGH time SPICLKH ...

Page 48

Philips Semiconductors Table 13: Dynamic characteristics (18 MHz 3 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter f internal RC oscillator frequency ...

Page 49

Philips Semiconductors Table 13: Dynamic characteristics (18 MHz 3 3.6 V unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter t SPICLK HIGH time SPICLKH ...

Page 50

Philips Semiconductors 10.1 Waveforms clock t QVXH output data write to SBUF t XHDV input data clear RI Fig 17. Shift register mode timing V 0 0.2V 0.2V 0.45 V Fig 18. External clock timing P89LPC9401_1 Preliminary data ...

Page 51

Philips Semiconductors SS SPICLK (CPOL = 0) (output) SPICLK (CPOL = 1) (output) MISO (input) t MOSI SPIF (output) Fig 19. SPI master timing (CPHA = 0) SS SPICLK (CPOL = 0) (output) SPICLK (CPOL = 1) (output) MISO (input) ...

Page 52

Philips Semiconductors SS t SPIR t SPILEAD SPICLK (CPOL = 0) (input) t SPIF SPICLK (CPOL = 1) (input) t SPIA MISO (output) t SPIDSU MOSI (input) Fig 21. SPI slave timing (CPHA = SPIR t SPILEAD ...

Page 53

Philips Semiconductors 10.2 ISP entry mode Table 14: Dynamic characteristics, ISP entry mode 3.6 V, unless otherwise specified +85 C for industrial applications, unless otherwise specified. amb Symbol Parameter ...

Page 54

Philips Semiconductors 12. Package outline LQFP64: plastic low profile quad flat package; 64 leads; body 1 pin 1 index DIMENSIONS (mm are the original ...

Page 55

Philips Semiconductors 13. Abbreviations Table 16: Acronym CPU EPROM EMI LCD LED PWM RAM RC SFR SPI UART P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment Acronym list Description Central Processing Unit Erasable Programmable Read-Only Memory Electro-Magnetic ...

Page 56

Philips Semiconductors 14. Revision history Table 17: Revision history Document ID Release date P89LPC9401_1 20050905 P89LPC9401_1 Preliminary data sheet 8-bit two-clock 80C51 microcontroller with 32 segment Data sheet status Change notice Preliminary data sheet - Rev. 01 — 5 September ...

Page 57

Philips Semiconductors 15. 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 58

Philips Semiconductors 20. Contents 1 General description . . . . . . . . . . . . . . . . . . . . . . 1 2 Features . . . . . . . . ...

Page 59

Philips Semiconductors 7.26.13 Blinker 7.26.13.1 I C-bus controller ...

Related keywords