p89lpc9401 NXP Semiconductors, p89lpc9401 Datasheet - Page 58

no-image

p89lpc9401

Manufacturer Part Number
p89lpc9401
Description
8-bit Microcontroller With Accelerated Two-clock 80c51 Core 8 Kb 3 V Byte-erasable Flash With 32 Segment X 4 Lcd Driver
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC9401
Manufacturer:
NXP/恩智浦
Quantity:
20 000
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
Philips Semiconductors
20. Contents
1
2
2.1
2.2
3
3.1
4
5
6
6.1
6.2
7
7.1
7.2
7.3
7.3.1
7.3.2
7.3.3
7.3.4
7.3.5
7.3.6
7.4
7.5
7.6
7.7
7.8
7.9
7.10
7.11
7.12
7.12.1
7.13
7.13.1
7.13.1.1
7.13.1.2
7.13.1.3
7.13.1.4
7.13.2
7.13.3
7.14
7.14.1
7.14.2
7.15
7.15.1
7.15.2
7.15.3
7.16
P89LPC9401_1
Preliminary data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Functional diagram . . . . . . . . . . . . . . . . . . . . . . 6
Pinning information . . . . . . . . . . . . . . . . . . . . . . 7
Functional description . . . . . . . . . . . . . . . . . . 11
Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . 1
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 7
Special function registers . . . . . . . . . . . . . . . . 11
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 16
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Clock definitions . . . . . . . . . . . . . . . . . . . . . . . 16
CPU clock (OSCCLK). . . . . . . . . . . . . . . . . . . 16
Low speed oscillator option . . . . . . . . . . . . . . 16
Medium speed oscillator option . . . . . . . . . . . 16
High speed oscillator option . . . . . . . . . . . . . . 16
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 17
On-chip RC oscillator option . . . . . . . . . . . . . . 17
Watchdog oscillator option . . . . . . . . . . . . . . . 17
External clock input option . . . . . . . . . . . . . . . 17
CPU Clock (CCLK) wake-up delay . . . . . . . . . 19
CCLK modification: DIVM register . . . . . . . . . 19
Low power select . . . . . . . . . . . . . . . . . . . . . . 19
Memory organization . . . . . . . . . . . . . . . . . . . 19
Data RAM arrangement . . . . . . . . . . . . . . . . . 20
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
External interrupt inputs . . . . . . . . . . . . . . . . . 20
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Port configurations . . . . . . . . . . . . . . . . . . . . . 21
Quasi-bidirectional output configuration . . . . . 22
Open-drain output configuration . . . . . . . . . . . 22
Input-only configuration . . . . . . . . . . . . . . . . . 22
Push-pull output configuration . . . . . . . . . . . . 22
Port 0 analog functions . . . . . . . . . . . . . . . . . . 22
Additional port features. . . . . . . . . . . . . . . . . . 23
Power monitoring functions. . . . . . . . . . . . . . . 23
Brownout detection . . . . . . . . . . . . . . . . . . . . . 23
Power-on detection . . . . . . . . . . . . . . . . . . . . . 23
Power reduction modes . . . . . . . . . . . . . . . . . 23
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Power-down mode . . . . . . . . . . . . . . . . . . . . . 24
Total Power-down mode . . . . . . . . . . . . . . . . . 24
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8-bit two-clock 80C51 microcontroller with 32 segment
Rev. 01 — 5 September 2005
7.16.1
7.17
7.17.1
7.17.2
7.17.3
7.17.4
7.17.5
7.17.6
7.18
7.19
7.19.1
7.19.2
7.19.3
7.19.4
7.19.5
7.19.6
7.19.7
7.19.8
7.19.9
7.19.10
7.20
7.21
7.21.1
7.22
7.22.1
7.22.2
7.22.3
7.23
7.24
7.25
7.25.1
7.25.2
7.26
7.26.1
7.26.2
7.26.3
7.26.4
7.26.4.1
7.26.5
7.26.6
7.26.7
7.26.8
7.26.9
7.26.10
7.26.11
7.26.12
Reset vector . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . 25
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Mode 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Timer overflow toggle output . . . . . . . . . . . . . 26
RTC/system timer. . . . . . . . . . . . . . . . . . . . . . 26
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Baud rate generator and selection . . . . . . . . . 27
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 27
Break detect . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Double buffering . . . . . . . . . . . . . . . . . . . . . . . 27
Transmit interrupts with double buffering
enabled (modes 1, 2 and 3) . . . . . . . . . . . . . . 28
The 9
(modes 1, 2 and 3) . . . . . . . . . . . . . . . . . . . . . 28
I
SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Typical SPI configurations . . . . . . . . . . . . . . . 32
Analog comparators . . . . . . . . . . . . . . . . . . . . 34
Internal reference voltage. . . . . . . . . . . . . . . . 34
Comparator interrupt . . . . . . . . . . . . . . . . . . . 34
Comparators and power reduction modes . . . 34
Keypad interrupt . . . . . . . . . . . . . . . . . . . . . . . 35
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 36
Additional features . . . . . . . . . . . . . . . . . . . . . 36
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 36
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 36
LCD driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
General description . . . . . . . . . . . . . . . . . . . . 37
Functional description . . . . . . . . . . . . . . . . . . 37
LCD bias voltages . . . . . . . . . . . . . . . . . . . . . 37
Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Internal clock . . . . . . . . . . . . . . . . . . . . . . . . . 38
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Display register. . . . . . . . . . . . . . . . . . . . . . . . 38
Segment outputs . . . . . . . . . . . . . . . . . . . . . . 38
Backplane outputs . . . . . . . . . . . . . . . . . . . . . 38
Display RAM. . . . . . . . . . . . . . . . . . . . . . . . . . 38
Data pointer . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Output bank selector . . . . . . . . . . . . . . . . . . . 39
Input bank selector. . . . . . . . . . . . . . . . . . . . . 39
2
C-bus serial interface. . . . . . . . . . . . . . . . . . 29
th
bit (bit 8) in double buffering
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
P89LPC9401
continued >>
4 LCD driver
58 of 59

Related parts for p89lpc9401