LPC2157_2158 NXP Semiconductors, LPC2157_2158 Datasheet - Page 45

The LPC2157/2158 is a multi-chip module consisting of a LPC2138/2148 single-chipmicrocontroller combined with a PCF8576D Universal LCD driver in a low-cost 100-pinpackage

LPC2157_2158

Manufacturer Part Number
LPC2157_2158
Description
The LPC2157/2158 is a multi-chip module consisting of a LPC2138/2148 single-chipmicrocontroller combined with a PCF8576D Universal LCD driver in a low-cost 100-pinpackage
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
16. Contents
1
2
3
4
5
5.1
5.2
6
6.1
6.2
6.3
6.4
6.5
6.5.1
6.6
6.7
6.7.1
6.8
6.8.1
6.9
6.9.1
6.10
6.10.1
6.11
6.11.1
6.12
6.12.1
6.13
6.13.1
6.14
6.14.1
6.15
6.15.1
6.16
6.16.1
6.17
6.17.1
6.18
6.18.1
6.19
6.19.1
6.19.2
6.19.3
6.19.4
6.19.5
6.19.6
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 1
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
Functional description . . . . . . . . . . . . . . . . . . 15
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
Architectural overview. . . . . . . . . . . . . . . . . . . 15
On-chip flash program memory . . . . . . . . . . . 15
On-chip static RAM. . . . . . . . . . . . . . . . . . . . . 15
Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 16
Interrupt controller . . . . . . . . . . . . . . . . . . . . . 16
Interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 17
Pin connect block . . . . . . . . . . . . . . . . . . . . . . 17
Fast general purpose parallel I/O . . . . . . . . . . 17
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
10-bit ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
10-bit DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
USB 2.0 device controller (LPC2158 only) . . . 18
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
UARTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
I
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SPI serial I/O controller. . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SSP serial I/O controller . . . . . . . . . . . . . . . . . 20
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
General purpose timers/external event
counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 22
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Real-time clock . . . . . . . . . . . . . . . . . . . . . . . . 22
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Pulse width modulator . . . . . . . . . . . . . . . . . . 22
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
System control . . . . . . . . . . . . . . . . . . . . . . . . 24
Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 24
PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Reset and wake-up timer . . . . . . . . . . . . . . . . 24
Brownout detector. . . . . . . . . . . . . . . . . . . . . . 25
Code security . . . . . . . . . . . . . . . . . . . . . . . . . 25
External interrupt inputs . . . . . . . . . . . . . . . . . 25
2
C-bus serial I/O controller . . . . . . . . . . . . . . 20
6.19.7
6.19.8
6.19.9
6.20
6.20.1
6.20.2
6.21
6.21.1
6.21.2
6.21.3
6.21.4
6.21.4.1
6.21.5
6.21.6
6.21.7
6.21.8
6.21.9
6.21.10
6.21.11
6.21.12
6.21.13
6.21.13.1 I
6.21.14
6.21.15
7
8
9
9.1
10
10.1
11
12
13
14
14.1
14.2
14.3
14.4
15
16
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP B.V. 2009.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 31
Static characteristics . . . . . . . . . . . . . . . . . . . 32
Dynamic characteristics . . . . . . . . . . . . . . . . . 38
Application information . . . . . . . . . . . . . . . . . 39
Package outline . . . . . . . . . . . . . . . . . . . . . . . . 41
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 42
Revision history . . . . . . . . . . . . . . . . . . . . . . . 43
Legal information . . . . . . . . . . . . . . . . . . . . . . 44
Contact information . . . . . . . . . . . . . . . . . . . . 44
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Memory mapping control . . . . . . . . . . . . . . . . 25
Power control . . . . . . . . . . . . . . . . . . . . . . . . . 25
APB bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Emulation and debugging. . . . . . . . . . . . . . . . 26
EmbeddedICE . . . . . . . . . . . . . . . . . . . . . . . . 26
RealMonitor . . . . . . . . . . . . . . . . . . . . . . . . . . 27
LCD driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
General description . . . . . . . . . . . . . . . . . . . . 27
Functional description . . . . . . . . . . . . . . . . . . 27
LCD bias voltages . . . . . . . . . . . . . . . . . . . . . 27
Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Internal clock . . . . . . . . . . . . . . . . . . . . . . . . . 28
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Display register. . . . . . . . . . . . . . . . . . . . . . . . 28
Segment outputs . . . . . . . . . . . . . . . . . . . . . . 28
Backplane outputs . . . . . . . . . . . . . . . . . . . . . 28
Display RAM. . . . . . . . . . . . . . . . . . . . . . . . . . 28
Data pointer . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Output bank selector . . . . . . . . . . . . . . . . . . . 29
Input bank selector. . . . . . . . . . . . . . . . . . . . . 29
Blinker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Input filters . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
I
Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Suggested USB interface solutions . . . . . . . . 39
Data sheet status . . . . . . . . . . . . . . . . . . . . . . 44
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Single-chip 16-bit/32-bit microcontrollers
2
2
C-bus controller . . . . . . . . . . . . . . . . . . . . . . 29
C-bus slave addresses . . . . . . . . . . . . . . . . 30
LPC2157/2158
Document identifier: LPC2157_2158_2
Date of release: 9 February 2009
All rights reserved.

Related parts for LPC2157_2158