LPC2148 Philips, LPC2148 Datasheet

no-image

LPC2148

Manufacturer Part Number
LPC2148
Description
16/32 Bit Microcontroller
Manufacturer
Philips
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC2148FB064
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2148FBD
Manufacturer:
TFK
Quantity:
86
Part Number:
LPC2148FBD64
Manufacturer:
NEXPERIA
Quantity:
1 400
Part Number:
LPC2148FBD64
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
LPC2148FBD64
0
Part Number:
LPC2148FBD64,151
Quantity:
9 999
Part Number:
LPC2148FBD64,151
Manufacturer:
TI
Quantity:
450
Part Number:
LPC2148FBD64,151
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
LPC2148FBD64,151
Manufacturer:
NXP/恩智浦
Quantity:
20 000
1. General description
2. Features
2.1 Key features
The LPC2142/2148 microcontrollers are based on a 32/16-bit ARM7TDMI-S CPU with
real-time emulation and embedded trace support, that combines the microcontroller with
64 kB and 512 kB of embedded high-speed flash memory. A 128-bit wide memory
interface and a unique accelerator architecture enable 32-bit code execution at the
maximum clock rate. For critical code size applications, the alternative 16-bit Thumb mode
reduces code by more than 30 % with minimal performance penalty.
Due to their tiny size and low power consumption, LPC2142/2148 are ideal for
applications where miniaturization is a key requirement, such as access control and
point-of-sale. A blend of serial communications interfaces ranging from a USB 2.0
Full-speed device, multiple UARTs, SPI, SSP to I
16 kB/40 kB, make these devices very well suited for communication gateways and
protocol converters, soft modems, voice recognition and low end imaging, providing both
large buffer size and high processing power. Various 32-bit timers, single or dual 10-bit
ADC(s), 10-bit DAC, PWM channels and 45 fast GPIO lines with up to nine edge or level
sensitive external interrupt pins make these microcontrollers particularly suitable for
industrial control and medical systems.
LPC2142/2148
Single-chip 16/32-bit microcontrollers; 64/512 kB flash with
ISP/IAP, USB 2.0 full-speed device, 10-bit ADC and DAC
Rev. 01 — 22 June 2005
16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package.
16 kB/40 kB of on-chip static RAM and 64 kB/512 kB of on-chip flash program
memory.
128-bit wide interface/accelerator enables high-speed 60 MHz operation.
In-System Programming/In-Application Programming (ISP/IAP) via on-chip
boot-loader software. Single flash sector or full chip erase in 400 ms and programming
of 256 bytes in 1 ms.
EmbeddedICE RT and Embedded Trace interfaces offer real-time debugging with the
on-chip RealMonitor software and high-speed tracing of instruction execution.
USB 2.0 Full-speed compliant device controller with 2 kB of endpoint RAM.
In addition, the LPC2148 provides 8 kB of on-chip RAM accessible to USB by DMA.
One or two (LPC2142/48) 10-bit ADCs provide a total of 6/14 analog inputs, with
conversion times as low as 2.44 µs per channel.
Single 10-bit DAC provides variable analog output.
Two 32-bit timers/external event counters (with four capture and four compare
channels each), PWM unit (six outputs) and watchdog.
2
C-bus and on-chip SRAM of
Preliminary data sheet

Related parts for LPC2148

LPC2148 Summary of contents

Page 1

... RealMonitor software and high-speed tracing of instruction execution. ■ USB 2.0 Full-speed compliant device controller with endpoint RAM. In addition, the LPC2148 provides on-chip RAM accessible to USB by DMA. ■ One or two (LPC2142/48) 10-bit ADCs provide a total of 6/14 analog inputs, with conversion times as low as 2.44 µs per channel. ...

Page 2

... Ordering information Table 1: Type number LPC2142FBD64 LPC2148FBD64 3.1 Ordering options Table 2: Type number LPC2142FBD64 64 kB LPC2148FBD64 512 kB 9397 750 14985 Preliminary data sheet Ordering information Package Name Description LQFP64 plastic low profile quad flat package; 64 leads; body 10 × 10 × 1.4 mm Ordering options ...

Page 3

... P0[31:28] and GENERAL P0[25:0] PURPOSE FAST I/O P1[31:16] PWM6 to PWM0 PWM0 (1) Pins shared with GPIO. (2) LPC2148 only. (3) USB DMA controller with RAM accessible as general purpose RAM and/or DMA is available in LPC2148 only. Fig 1. Block diagram 9397 750 14985 Preliminary data sheet (1) (1) TMS TDI (1) (1) ...

Page 4

... P0.25/AD0.4/AOUT D+ 10 D− 11 P1.17/TRACEPKT1 12 13 P0.28/AD0.1/CAP0.2/MAT0.2 14 P0.29/AD0.2/CAP0.3/MAT0.3 P0.30/AD0.3/EINT3/CAP0.0 15 P1.16/TRACEPKT0 16 (1) LPC2148 only. Fig 2. LPC2142/2148 pinning 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers LPC2142/2148 Rev. 01 — 22 June 2005 LPC2142/2148 48 P1.20/TRACESYNC 47 P0.17/CAP1.2/SCK1/MAT1.2 46 P0.16/EINT0/MAT0.2/CAP0 ...

Page 5

... PWM2 — Pulse Width Modulator output 2. EINT2 — External interrupt 2 input. P0.8 — General purpose input/output digital pin (GPIO). TXD1 — Transmitter output for UART1. PWM4 — Pulse Width Modulator output 4. AD1.1 — ADC 1, input 1. Available in LPC2148 only. Rev. 01 — 22 June 2005 LPC2142/2148 2 C-bus compliance). ...

Page 6

... MAT1.0 — Match output for Timer 1, channel 0. AD1.3 — ADC input 3. Available in LPC2148 only. P0.13 — General purpose input/output digital pin (GPIO). DTR1 — Data Terminal Ready output for UART1. Available in LPC2148 only. MAT1.1 — Match output for Timer 1, channel 1. AD1.4 — ADC input 4. Available in LPC2148 only. ...

Page 7

... AD1.6 — ADC 1, input 6. Available in LPC2148 only. CAP1.3 — Capture input for Timer 1, channel 3. P0.22 — General purpose input/output digital pin (GPIO). AD1.7 — ADC 1, input 7. Available in LPC2148 only. CAP0.0 — Capture input for Timer 0, channel 0. MAT0.0 — Match output for Timer 0, channel 0. ...

Page 8

... P1.27 — General purpose input/output digital pin (GPIO). TDO — Test Data out for JTAG interface. P1.28 — General purpose input/output digital pin (GPIO). TDI — Test Data in for JTAG interface. Rev. 01 — 22 June 2005 LPC2142/2148 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 9

... ADC(s) and DAC(s). RTC power supply: 3 this pin supplies the power to the RTC. C-bus 400 kHz specification compatible pad. It requires external pull-up to provide an output Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers but DD © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 10

... On-chip static RAM may be used for code and/or data storage. The SRAM may be accessed as 8-bits, 16-bits, and 32-bits. The LPC2142/2148 provide 16 kB and static RAM. 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers Rev. 01 — 22 June 2005 LPC2142/2148 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 11

... Philips Semiconductors In case of LPC2148 only SRAM block intended to be utilized mainly by the USB can also be used as a general purpose RAM for data storage and code storage and execution. 6.4 Memory map The LPC2142/2148 memory map incorporates several distinct regions, as shown in Figure 3 ...

Page 12

... Character Time-out Indicator (CTI) RX Line Status (RLS) Transmit Holding Register empty (THRE) RX Data Available (RDA) Character Time-out Indicator (CTI) Modem Status Interrupt (MSI) (LPC2148 only) Match (MR0, MR1, MR2, MR3, MR4, MR5, MR6) Capture (CR0, CR1, CR2, CR3) SI (state change) SPIF, MODF Rev. 01 — ...

Page 13

... Pin function select register 0 PINSEL1 Pin function select register 1 PINSEL2 Pin function select register 2 Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers VIC channel # Table 5. Access Read/Write Read/Write Read/Write © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 14

... MISO0 (SPI0 Match 0.1 (Timer AD0.7 P0 GPIO Port 0 MOSI0 (SPI0 Capture 0.2 (Timer Reserved (LPC2142) AD1.0 (LPC2148) P0 GPIO Port 0 SSEL0 (SPI0 PWM2 1 1 EINT2 Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers Value after reset 0 ...

Page 15

... GPIO Port 0. Reserved (LPC2142) DCD (UART1) (LPC2148 EINT1 1 1 SDA1 (I P0. GPIO Port 0. Reserved (LPC2142) RI (UART1) (LPC2148 EINT2 1 1 Reserved (LPC2142) AD1.5 (LPC2148) Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers …continued Value after reset ...

Page 16

... EINT3 P0. GPIO Port 0. PWM5 1 0 Reserved (LPC2142) AD1.6 (LPC2148 Capture 1.3 (Timer 1) P0. GPIO Port 0. Reserved (LPC2142) AD1.7 (LPC2148 Capture 0.0 (Timer Match 0.0 (Timer 0) P0. GPIO Port 0. BUS 1 0 Reserved 1 1 Reserved Rev. 01 — 22 June 2005 ...

Page 17

... GPIO Port 0 1 UP_LED 1 0 CONNECT 1 1 Reserved Table 8 are reserved, and should not be used. Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers …continued Value after reset © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 18

... All I/O default to inputs after reset. 6.11 10-bit ADC The LPC2142 contains one and the LPC2148 contains two analog to digital converters. These converters are single 10-bit successive approximation analog to digital converters. While ADC0 has six channels, ADC1 has eight channels. Therefore, total number of available ADC inputs for LPC2142 is six and for LPC2148 is 14 ...

Page 19

... USB data stream and writes data to the appropriate end point buffer memory. The status of a completed USB transfer or error condition is indicated via status registers. An interrupt is also generated if enabled. A DMA controller (available in LPC2148 only) can transfer data between an endpoint buffer and the USB RAM. 6.13.1 Features • ...

Page 20

... UARTs The LPC2142/2148 each contain two UARTs. In addition to standard transmit and receive data lines, the LPC2148 UART1 also provides a full modem control handshake interface. Compared to previous LPC2000 microcontrollers, UARTs in LPC2142/2148 introduce fractional baud rate generator (in both UARTs) and auto-CTS/RTS flow-control functions fully implemented in hardware (UART1 in LPC2148 only) ...

Page 21

... Features • A 32-bit timer/counter with a programmable 32-bit prescaler. 9397 750 14985 Preliminary data sheet C-bus may be used for test and diagnostic purposes. Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 22

... Ultra-low power design to support battery powered systems. 9397 750 14985 Preliminary data sheet × 256 × PCLK × 4. Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers × 2 × multiples of 32 PCLK © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 23

... Continuous operation with optional interrupt generation on match. – Stop timer on match with optional interrupt generation. – Reset timer on match with optional interrupt generation. 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers Rev. 01 — 22 June 2005 LPC2142/2148 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 24

... Preliminary data sheet Single-chip 16/32-bit microcontrollers for additional information. Rev. 01 — 22 June 2005 LPC2142/2148 and osc © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 25

... Power-down mode. 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers ramp (in the case of power on), the type of crystal DD pins falls below 2.6 V. This reset prevents alteration of the DD Rev. 01 — 22 June 2005 LPC2142/2148 pins. If this DD © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 26

... Because the VPB bus must work 2 4 ⁄ the processor clock rate. The second purpose of the VPB divider 4 Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 27

... It communicates with the host using the DCC, which is present in the EmbeddedICE logic. The LPC2142/2148 contain a specific configuration of RealMonitor software programmed into the on-chip flash memory. 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers Rev. 01 — 22 June 2005 LPC2142/2148 © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 28

... Rev. 01 — 22 June 2005 LPC2142/2148 Max Unit +3.6 V 4.6 V 4.6 V 4.6 V 5.1 V 6 [5] 100 mA [5] 100 mA °C 125 1.5 W unless SS © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 29

... Koninklijke Philips Electronics N.V. 2005. All rights reserved. Unit µA µA µ µA µA µ ...

Page 30

... DD(3V3 0.3V DD(3V3) - 0.5V - DD(3V3 1.8 ± 0 0.8 - 2.5 0 0.3 2.8 - 3.6 © Koninklijke Philips Electronics N.V. 2005. All rights reserved. Unit µA µA µA µA µA µA µ µA µ µ ...

Page 31

... Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers [1] Min Typ Max - - 1.1 - 1.9 Min Typ Max DDA - - 1 ± [3] ± ± ±0 ± Figure 4. © Koninklijke Philips Electronics N.V. 2005. All rights reserved. Unit pF Ω kΩ Unit V pF LSB LSB LSB % LSB ...

Page 32

... V (LSB ) IA ideal Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers offset error E O (1) 1019 1020 1021 1022 1023 1024 − DDA SSA 1 LSB = 1024 002aab136 © Koninklijke Philips Electronics N.V. 2005. All rights reserved. gain error ...

Page 33

... DD [1] Min Typ Max 100 × 0 clk × 0 clk - - 0.1 × © Koninklijke Philips Electronics N.V. 2005. All rights reserved. Unit [1] Unit MHz ...

Page 34

... Ω V BUS Ω D+ D− Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers t CHCX t CLCH T clk 002aab137 source EOP width: t EOPT receiver EOP width: t EOPR1 002aab561 USB-B connector 002aab563 © Koninklijke Philips Electronics N.V. 2005. All rights reserved EOPR2 ...

Page 35

... Fig 8. LPC2142/2148 USB interface using the UP_LED function on pin 17 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers UP_LED 1.5 kΩ Ω V BUS Ω D+ D− 002aab562 Rev. 01 — 22 June 2005 LPC2142/2148 USB-B connector © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 36

... JEITA MS-026 Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers detail X (1) ( 0.75 1.45 1.45 1 0.2 0.12 0.1 0.45 1.05 1.05 EUROPEAN ISSUE DATE PROJECTION 00-01-19 03-02-25 © Koninklijke Philips Electronics N.V. 2005. All rights reserved. SOT314 θ θ ...

Page 37

... Pulse Width Modulator Random Access Memory Serial Peripheral Interface Static Random Access Memory Synchronous Serial Port Universal Asynchronous Receiver/Transmitter Universal Serial Bus VLSI Peripheral Bus Rev. 01 — 22 June 2005 LPC2142/2148 Single-chip 16/32-bit microcontrollers © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 38

... Release date LPC2142_2148_1 <tbd> 9397 750 14985 Preliminary data sheet Single-chip 16/32-bit microcontrollers Data sheet status Change Doc. number notice Preliminary data - 9397 750 14985 sheet Rev. 01 — 22 June 2005 LPC2142/2148 Supersedes - © Koninklijke Philips Electronics N.V. 2005. All rights reserved ...

Page 39

... Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. ...

Page 40

... Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 18 Contact information . . . . . . . . . . . . . . . . . . . . 39 © Koninklijke Philips Electronics N.V. 2005 All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice ...

Related keywords