The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

Rev. 02.07 October 2009 32-bit Cortex-M3 microcontroller; flash S


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



LPC1768/67/66/65/64
Rev. 02.07 October 2009
32-bit Cortex-M3 microcontroller; flash SRAM with Ethernet, Host/Device/OTG,
Product data sheet
General description
LPC1768/67/66/65/64 Cortex-M3 based microcontrollers embedded applications featuring high level integration power consumption. Cortex-M3 next generation core that offers system enhancements such enhanced debug features higher level support block integration. LPC1768/67/66/65/64 operate frequencies MHz. Cortex-M3 incorporates 3-stage pipeline uses Harvard architecture with separate local instruction data buses well third peripherals. Cortex-M3 also includes internal prefetch unit that supports speculative branching. peripheral complement LPC1768/67/66/65/64 includes flash memory, data memory, Ethernet MAC, Device/Host/OTG interface, 8-channel general purpose controller, UARTs, channels, controllers, interface, I2C-bus interfaces, 2-input plus 2-output I2S-bus interface, 8-channel 12-bit ADC, 10-bit DAC, motor control PWM, Quadrature Encoder interface, four general purpose timers, 6-output general purpose PWM, ultra-low power Real-Time Clock (RTC) with separate battery supply, general purpose pins. LPC1768/67/66/65/64 pin-compatible 100-pin LPC236x ARM7-based microcontroller series.
Features
Cortex-M3 processor, running frequencies MHz. Memory Protection Unit (MPU) supporting eight regions included. Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC). on-chip flash programming memory. Enhanced flash memory accelerator enables high-speed operation with zero wait states. In-System Programming (ISP) In-Application Programming (IAP) on-chip bootloader software. On-chip SRAM includes: 32/16 SRAM with local code/data high-performance access. Two/one SRAM blocks with separate access paths higher throughput. These SRAM blocks used Ethernet, USB, memory, well general purpose instruction data storage.
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Eight channel General Purpose controller (GPDMA) multilayer matrix that used with SSP, I2S-bus, UART, Analog-to-Digital Digital-to-Analog converter peripherals, timer match signals, memory-to-memory transfers. Multilayer matrix interconnect provides separate each master. masters include CPU, General Purpose controller, Ethernet MAC, interface. This interconnect provides communication with arbitration delays. Split allows high throughput with stalls between DMA. Serial interfaces: Ethernet with RMII interface dedicated controller (LPC1768/67/66/64 only). full-speed device/Host/OTG controller with dedicated controller on-chip device, Host, functions (LPC1768/66/65 only). LPC1764 includes device controller only. Four UARTs with fractional baud rate generation, internal FIFO, support. UART modem control RS-485/EIA-485 support, UART IrDA support. 2.0B controller with channels. controller with synchronous, serial, full duplex communication programmable data length. controllers with FIFO multi-protocol capabilities. interfaces used with GPDMA controller. Three enhanced interfaces, with open-drain output supporting full specification Fast mode plus with data rates 1Mbit/s, with standard port pins. Enhancements include multiple address recognition monitor mode. LPC1768/67/66/65 only, (Inter-IC Sound) interface digital audio input output, with fractional rate control. I2S-bus interface used with GPDMA. I2S-bus interface supports 3-wire 4-wire data transmit receive well master clock input/output. Other peripherals: (100 package) General Purpose (GPIO) pins with configurable pull-up/down resistors. GPIOs support new, configurable open-drain operating mode. GPIO block accessed through mulitlayer fast access located memory such that supports Cortex-M3 banding General Purpose Controller. 12-bit Analog-to-Digital Converter (ADC) with input multiplexing among eight pins, conversion rates kHz, multiple result registers. 12-bit used with GPDMA controller. 10-bit Digital-to-Analog Converter (DAC) with dedicated conversion timer support (LPC1768/67/66/65 only). Four general purpose timers/counters, with total eight capture inputs compare outputs. Each timer block external count input. Specific timer events selected generate requests. motor control with support three-phase motor control. Quadrature encoder interface that monitor external quadrature encoder. standard PWM/timer block with external count input.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
with separate power domain dedicated oscillator. block includes bytes battery-powered backup registers. Watchdog Timer (WDT). clocked from internal oscillator, oscillator, clock. Cortex-M3 system tick timer, including external clock input option. Repetitive interrupt timer provides programmable repeating timed interrupts. Each peripheral clock divider further power savings. Standard JTAG test/debug interface compatibility with existing tools. Serial Wire Debug Serial Wire Trace Port options. Emulation trace module enables non-intrusive, high-speed real-time tracing instruction execution. Integrated (Power Management Unit) automatically adjusts internal regulators minimize power consumption during Sleep, Deep sleep, Power-down, Deep power-down modes. Four reduced power modes: Sleep, Deep-sleep, Power-down, Deep power-down. Single power supply (2.4 Four external interrupt inputs configurable edge/level sensitive. pins PORT0 PORT2 used edge sensitive interrupt sources. Non-maskable Interrupt (NMI) input. Clock output function that reflect main oscillator clock, clock, clock, clock, clock. Wakeup Interrupt Controller (WIC) allows automatically wake from priority interrupt that occur while clocks stopped deep sleep, Power-down, Deep power-down modes. Processor wake-up from Power-down mode interrupt able operate during Power-down mode (includes external interrupts, interrupt, activity, Ethernet wake-up interrupt, activity, PORT0/2 interrupt, NMI). Brownout detect with separate threshold interrupt forced reset. Power-On Reset (POR). Crystal oscillator with operating range MHz. internal oscillator trimmed accuracy that optionally used system clock. allows operation maximum rate without need high-frequency crystal. from main oscillator, internal oscillator, oscillator. added flexibility. Code Read Protection (CRP) with different security levels. Available 100-pin LQFP package mm).
Applications
eMetering Lighting Industrial networking Alarm systems White goods Motor control
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Ordering information
Table Ordering information Package Name LPC1768FBD100 LPC1767FBD100 LPC1766FBD100 LPC1765FBD100 LPC1764FBD100 LQFP100 LQFP100 LQFP100 LQFP100 LQFP100 Description plastic profile quad flat package; leads; body plastic profile quad flat package; leads; body plastic profile quad flat package; leads; body plastic profile quad flat package; leads; body plastic profile quad flat package; leads; body Type number
Version
SOT407-1 SOT407-1 SOT407-1 SOT407-1 SOT407-1
Ordering options
Table Ordering options Flash Total SRAM Ethernet Device/Host/OTG Device/Host/OTG Device/Host/OTG Device only Package pins pins pins pins pins Type number LPC1768FBD100 LPC1767FBD100 LPC1766FBD100 LPC1765FBD100 LPC1764FBD100
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Block diagram
debug port JTAG interface
XTAL1 XTAL2 RESET
RMII pins
pins
EMULATION TRACE MODULE
TEST/DEBUG INTERFACE CORTEX-M3
LPC1768/67/66/65/64
CLOCK GENERATION, POWER CONTROL, SYSTEM FUNCTIONS clocks controls CLKOUT
CONTROLLER master
ETHERNET CONTROLLER WITH DMA(2) master
HOST/ DEVICE/OTG CONTROLLER WITH DMA(3)(4) master slave
I-code
D-code
system
slave MULTILAYER MATRIX SRAM 32/64
HIGH-SPEED GPIO
slave
slave BRIDGE
slave BRIDGE
slave
FLASH ACCELERATOR FLASH 512/256/128
SCK1 SSEL1 MISO1 MOSI1 RXD0/TXD0 UART1 RD1/2 TD1/2 SCL0/1 SDA0/1 SCK/SSEL MOSI/MISO MAT0/1 CAP0/1
slave group SSP1
slave group SSP0
SCK0 SSEL0 MISO0 MOSI0 RXD2/3 TXD2/3 I2SRX I2STX TX_MCLK RX_MCLK SCL2 SDA2 MAT2 MAT3 CAP2 CAP3 EINT[3:0]
UART0/1 CAN1/2(4) I2C0/1 SPI0 TIMER
UART2/3
I2S(1)
I2C2 TIMER TIMER2/3 EXTERNAL INTERRUPTS SYSTEM CONTROL MOTOR CONTROL DAC(1) QUADRATURE ENCODER
(1)LPC1768/67/66/65 only (2)LPC1768/67/66/64 only (3)LPC1764 device only (4)LPC1768/66/65/64 only
PWM1[7:0] PCAP1[1:0] AD0[7:0]
PWM1 12-bit CONNECT
RTCX1 RTCX2 VBAT
GPIO INTERRUPT CONTROL OSCILLATOR
MCOA[2:0] MCOB[2:0] MCI[2:0] MCABORT AOUT PHA, INDEX
BACKUP REGISTERS POWER DOMAIN
002aad944
Grey-shaded blocks represent peripherals with connection GPDMA.
Block diagram
B.V. 2009. rights reserved.
LPC1768_67_66_65_64_2.08
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Pinning information
Pinning
LPC176xFBD100
002aad945
configuration LQFP100 package
description
Table Symbol P0[0] P0[31] description Type Description Port Port 32-bit port with individual direction controls each bit. operation port pins depends upon function selected connect block. Pins this port available. P0[0] General purpose digital input/output pin. CAN1 receiver input. (LPC1768/66/65/64 only). TXD3 Transmitter output UART3. SDA1 I2C1 data input/output. (This I2C-bus compliant open-drain pin). P0[1] General purpose digital input/output pin. CAN1 transmitter output. (LPC1768/66/65/64 only). RXD3 Receiver input UART3. SCL1 I2C1 clock input/output. (This I2C-bus compliant open-drain pin). P0[2] General purpose digital input/output pin. TXD0 Transmitter output UART0. AD0[7] converter input P0[3] General purpose digital input/output pin. RXD0 Receiver input UART0. AD0[6] converter input P0[4] General purpose digital input/output pin. I2SRX_CLK Receive Clock. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). CAN2 receiver input. (LPC1768/66/65/64 only). CAP2[0] Capture input Timer channel
P0[0]/RD1/TXD3/ SDA1
46[1]
P0[1]/TD1/RXD3/ SCL1
47[1]
P0[2]/TXD0/AD0[7] 98[2]
P0[3]/RXD0/AD0[6]
99[2]
P0[4]/ I2SRX_CLK/ RD2/CAP2[0]
81[1]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 80[1] Type Description P0[5] General purpose digital input/output pin.
P0[5]/ I2SRX_WS/ TD2/CAP2[1]
I2SRX_WS Receive Word Select. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). CAN2 transmitter output. (LPC1768/66/65/64 only). CAP2[1] Capture input Timer channel P0[6] General purpose digital input/output pin. I2SRX_SDA Receive data. driven transmitter read receiver. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). SSEL1 Slave Select SSP1. MAT2[0] Match output Timer channel P0[7] General purpose digital input/output pin. I2STX_CLK Transmit Clock. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). SCK1 Serial Clock SSP1. MAT2[1] Match output Timer channel P0[8] General purpose digital input/output pin.
P0[6]/ I2SRX_SDA/ SSEL1/MAT2[0] 79[1]
P0[7]/ I2STX_CLK/ SCK1/MAT2[1] 78[1]
P0[8]/ I2STX_WS/ MISO1/MAT2[2] 77[1]
I2STX_WS Transmit Word Select. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). MISO1 Master Slave SSP1. MAT2[2] Match output Timer channel P0[9] General purpose digital input/output pin. I2STX_SDA Transmit data. driven transmitter read receiver. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). MOSI1 Master Slave SSP1. MAT2[3] Match output Timer channel P0[10] General purpose digital input/output pin. TXD2 Transmitter output UART2. SDA2 I2C2 data input/output (this open-drain pin). MAT3[0] Match output Timer channel P0[11] General purpose digital input/output pin. RXD2 Receiver input UART2. SCL2 I2C2 clock input/output (this open-drain pin). MAT3[1] Match output Timer channel P0[15] General purpose digital input/output pin. TXD1 Transmitter output UART1. SCK0 Serial clock SSP0. Serial clock SPI.
P0[9]/ I2STX_SDA/ MOSI1/MAT2[3] 76[1]
P0[10]/TXD2/ SDA2/MAT3[0] 48[1] P0[11]/RXD2/ SCL2/MAT3[1] 49[1] P0[15]/TXD1/ SCK0/SCK 62[1]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 63[1] Type Description P0[16] General purpose digital input/output pin. RXD1 Receiver input UART1. SSEL0 Slave Select SSP0. SSEL Slave Select SPI. P0[17] General purpose digital input/output pin. CTS1 Clear Send input UART1. MISO0 Master Slave SSP0. MISO Master Slave SPI. P0[18] General purpose digital input/output pin. DCD1 Data Carrier Detect input UART1. MOSI0 Master Slave SSP0. MOSI Master Slave SPI. P0[19] General purpose digital input/output pin. DSR1 Data Ready input UART1.
P0[16]/RXD1/ SSEL0/SSEL
P0[17]/CTS1/ MISO0/MISO
61[1]
P0[18]/DCD1/ MOSI0/MOSI
60[1]
P0[19]/DSR1/ SDA1
59[1]
SDA1 I2C1 data input/output (this I2C-bus compliant open-drain pin). P0[20] General purpose digital input/output pin. DTR1 Data Terminal Ready output UART1. also configured RS-485/EIA-485 output enable signal. SCL1 I2C1 clock input/output (this I2C-bus compliant open-drain pin). P0[21] General purpose digital input/output pin. Ring Indicator input UART1. CAN1 receiver input. (LPC1768/66/65/64 only). P0[22] General purpose digital input/output pin. RTS1 Request Send output UART1. also configured RS-485/EIA-485 output enable signal. CAN1 transmitter output. (LPC1768/66/65/64 only). P0[23] General purpose digital input/output pin. AD0[0] converter input I2SRX_CLK Receive Clock. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). CAP3[0] Capture input Timer channel P0[24] General purpose digital input/output pin. AD0[1] converter input I2SRX_WS Receive Word Select. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). CAP3[1] Capture input Timer channel
P0[20]/DTR1/SCL1 58[1]
P0[21]/RI1/RD1
57[1]
P0[22]/RTS1/TD1
56[1]
P0[23]/AD0[0]/ I2SRX_CLK/ CAP3[0]
9[2]
P0[24]/AD0[1]/ I2SRX_WS/ CAP3[1] 8[2]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 7[2] Type Description P0[25] General purpose digital input/output pin. AD0[2] converter input
P0[25]/AD0[2]/ I2SRX_SDA/ TXD3
I2SRX_SDA Receive data. driven transmitter read receiver. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). TXD3 Transmitter output UART3. P0[26] General purpose digital input/output pin. AD0[3] converter input AOUT output (LPC1768/67/66/65 only). RXD3 Receiver input UART3. P0[27] General purpose digital input/output pin. Output open-drain. SDA0 I2C0 data input/output. Open-drain output (for I2C-bus compliance). USB_SDA port serial data (OTG transceiver, LPC1768/66/65 only). P0[28] General purpose digital input/output pin. Output open-drain. SCL0 I2C0 clock input/output. Open-drain output (for I2C-bus compliance). USB_SCL port serial clock (OTG transceiver, LPC1768/66/65 only). P0[29] General purpose digital input/output pin. USB_D+ bidirectional line. (LPC1768/66/65/64 only). P0[30] General purpose digital input/output pin. USB_D- bidirectional line. (LPC1768/66/65/64 only).
P0[26]/AD0[3]/ AOUT/RXD3 6[3] P0[27]/SDA0/ USB_SDA 25[4] P0[28]/SCL0/ USB_SCL 24[4] P0[29]/USB_D+ P0[30]/USB_D- P1[0] P1[31] 29[5] 30[5]
Port Port 32-bit port with individual direction controls each bit. operation port pins depends upon function selected connect block. Pins this port available. P1[0] General purpose digital input/output pin. ENET_TXD0 Ethernet transmit data (LPC1768/67/66/64 only). P1[1] General purpose digital input/output pin. ENET_TXD1 Ethernet transmit data (LPC1768/67/66/64 only). P1[4] General purpose digital input/output pin. ENET_TX_EN Ethernet transmit data enable. (LPC1768/67/66/64 only). P1[8] General purpose digital input/output pin. ENET_CRS Ethernet carrier sense. (LPC1768/67/66/64 only). P1[9] General purpose digital input/output pin. ENET_RXD0 Ethernet receive data. (LPC1768/67/66/64 only). P1[10] General purpose digital input/output pin. ENET_RXD1 Ethernet receive data. (LPC1768/67/66/64 only). P1[14] General purpose digital input/output pin. ENET_RX_ER Ethernet receive error. (LPC1768/67/66/64 only). P1[15] General purpose digital input/output pin. ENET_REF_CLK Ethernet reference clock. (LPC1768/67/66/64 only). P1[16] General purpose digital input/output pin. ENET_MDC Ethernet MIIM clock (LPC1768/67/66/64 only).
P1[0]/ ENET_TXD0 P1[1]/ ENET_TXD1 P1[4]/ ENET_TX_EN P1[8]/ ENET_CRS P1[9]/ ENET_RXD0 P1[10]/ ENET_RXD1 P1[14]/ ENET_RX_ER P1[15]/ ENET_REF_CLK P1[16]/ ENET_MDC
95[1] 94[1] 93[1] 92[1] 91[1] 90[1] 89[1] 88[1] 87[1]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 86[1] 32[1] Type Description P1[17] General purpose digital input/output pin. P1[18] General purpose digital input/output pin.
P1[17]/ ENET_MDIO P1[18]/ USB_UP_LED/ PWM1[1]/ CAP1[0]
ENET_MDIO Ethernet MIIM data input output. (LPC1768/67/66/64 only). USB_UP_LED GoodLink indicator. when device configured (non-control endpoints enabled). HIGH when device configured during global suspend. (LPC1768/66/65/64 only). PWM1[1] Pulse Width Modulator channel output. CAP1[0] Capture input Timer channel P1[19] General purpose digital input/output pin. MCOA0 Motor control channel output USB_PPWR Port Power enable signal port. (LPC1768/66/65 only). CAP1[1] Capture input Timer channel P1[20] General purpose digital input/output pin.
P1[19]/MCOA0/ USB_PPWR CAP1[1] 33[1] P1[20]/MCI0/ PWM1[2]/SCK0 34[1] P1[21]/MCABORT/ PWM1[3]/ SSEL0 35[1] P1[22]/MCOB0/ USB_PWRD/ MAT1[0] 36[1] P1[23]/MCI1/ PWM1[4]/MISO0 37[1] P1[24]/MCI2/ PWM1[5]/MOSI0 38[1] P1[25]/MCOA1/ MAT1[1] 39[1]
MCI0 Motor control channel input. Also Quadrature Encoder Interface input. PWM1[2] Pulse Width Modulator channel output. SCK0 Serial clock SSP0. P1[21] General purpose digital input/output pin. MCABORT Motor control PWM, LOW-active fast abort. PWM1[3] Pulse Width Modulator channel output. SSEL0 Slave Select SSP0. P1[22] General purpose digital input/output pin. MCOB0 Motor control channel output USB_PWRD Power Status port (host power switch, LPC1768/66/65 only). MAT1[0] Match output Timer channel P1[23] General purpose digital input/output pin. MCI1 Motor control channel input. Also Quadrature Encoder Interface input. PWM1[4] Pulse Width Modulator channel output. MISO0 Master Slave SSP0. P1[24] General purpose digital input/output pin. MCI2 Motor control channel input. Also Quadrature Encoder Interface INDEX input. PWM1[5] Pulse Width Modulator channel output. MOSI0 Master Slave SSP0. P1[25] General purpose digital input/output pin. MCOA1 Motor control channel output MAT1[1] Match output Timer channel
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 40[1] Type Description P1[26] General purpose digital input/output pin. MCOB1 Motor control channel output PWM1[6] Pulse Width Modulator channel output. CAP0[0] Capture input Timer channel P1[27] General purpose digital input/output pin. CLKOUT Clock output pin.
P1[26]/MCOB1/ PWM1[6]/CAP0[0]
P1[27]/CLKOUT /USB_OVRCR/ CAP0[1]
43[1]
USB_OVRCR port Over-Current status. (LPC1768/66/65 only). CAP0[1] Capture input Timer channel P1[28] General purpose digital input/output pin. MCOA2 Motor control channel output PCAP1[0] Capture input PWM1, channel MAT0[0] Match output Timer channel P1[29] General purpose digital input/output pin. MCOB2 Motor control channel output PCAP1[1] Capture input PWM1, channel MAT0[1] Match output Timer channel P1[30] General purpose digital input/output pin. VBUS Monitors presence power. (LPC1768/66/65/64 only). Note: This signal must HIGH reset occur. AD0[4] converter input P1[31] General purpose digital input/output pin. SCK1 Serial Clock SSP1. AD0[5] converter input Port Port 32-bit port with individual direction controls each bit. operation port pins depends upon function selected connect block. Pins through this port available. P2[0] General purpose digital input/output pin. PWM1[1] Pulse Width Modulator channel output. TXD1 Transmitter output UART1. P2[1] General purpose digital input/output pin. PWM1[2] Pulse Width Modulator channel output. RXD1 Receiver input UART1. P2[2] General purpose digital input/output pin. PWM1[3] Pulse Width Modulator channel output. CTS1 Clear Send input UART1. TRACEDATA[3] Trace data, P2[3] General purpose digital input/output pin. PWM1[4] Pulse Width Modulator channel output. DCD1 Data Carrier Detect input UART1. TRACEDATA[2] Trace data,
P1[28]/MCOA2/ PCAP1[0]/ MAT0[0]
44[1]
P1[29]/MCOB2/ PCAP1[1]/ MAT0[1]
45[1]
P1[30]/VBUS/ AD0[4]
21[2]
P1[31]/SCK1/ AD0[5]
20[2]
P2[0] P2[31]
P2[0]/PWM1[1]/ TXD1
75[1]
P2[1]/PWM1[2]/ RXD1
74[1]
P2[2]/PWM1[3]/ CTS1/ TRACEDATA[3]
73[1]
P2[3]/PWM1[4]/ DCD1/ TRACEDATA[2]
70[1]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 69[1] Type 68[1] Description P2[4] General purpose digital input/output pin. PWM1[5] Pulse Width Modulator channel output. DSR1 Data Ready input UART1. TRACEDATA[1] Trace data, P2[5] General purpose digital input/output pin. PWM1[6] Pulse Width Modulator channel output.
P2[4]/PWM1[5]/ DSR1/ TRACEDATA[1]
P2[5]/PWM1[6]/ DTR1/ TRACEDATA[0]
DTR1 Data Terminal Ready output UART1. also configured RS-485/EIA-485 output enable signal. TRACEDATA[0] Trace data, P2[6] General purpose digital input/output pin. PCAP1[0] Capture input PWM1, channel Ring Indicator input UART1. TRACECLK Trace Clock. P2[7] General purpose digital input/output pin. CAN2 receiver input. (LPC1768/66/65/64 only). RTS1 Request Send output UART1. also configured RS-485/EIA-485 output enable signal. P2[8] General purpose digital input/output pin. CAN2 transmitter output. (LPC1768/66/65/64 only). TXD2 Transmitter output UART2. P2[9] General purpose digital input/output pin. USB_CONNECT Signal used switch external resistor under software control. Used with SoftConnect feature. (LPC1768/66/65/64 only). RXD2 Receiver input UART2. P2[10] General purpose digital input/output pin. Note: this while RESET forces on-chip bootloader take over control part after reset.
P2[6]/PCAP1[0]/ RI1/TRACECLK
67[1]
P2[7]/RD2/ RTS1
66[1]
P2[8]/TD2/ TXD2
65[1]
P2[9]/ USB_CONNECT/ RXD2
64[1]
P2[10]/EINT0/NMI 53[6]
P2[11]/EINT1/ I2STX_CLK 52[6]
EINT0 External interrupt input. Non-maskable interrupt input. P2[11] General purpose digital input/output pin. EINT1 External interrupt input. I2STX_CLK Transmit Clock. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only). P2[12] General purpose digital input/output pin. EINT2 External interrupt input. I2STX_WS Transmit Word Select. driven master received slave. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only).
P2[12]/EINT2/ I2STX_WS
51[6]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol
description .continued 50[6] Type Description P2[13] General purpose digital input/output pin. EINT3 External interrupt input.
P2[13]/EINT3/ I2STX_SDA
I2STX_SDA Transmit data. driven transmitter read receiver. Corresponds signal I2S-bus specification. (LPC1768/67/66/65 only).
P3[0] P3[31]
Port Port 32-bit port with individual direction controls each bit. operation port pins depends upon function selected connect block. Pins through through this port available. P3[25] General purpose digital input/output pin. MAT0[0] Match output Timer channel PWM1[2] Pulse Width Modulator output P3[26] General purpose digital input/output pin. STCLK System tick timer clock input. MAT0[1] Match output Timer channel PWM1[3] Pulse Width Modulator output Port Port 32-bit port with individual direction controls each bit. operation port pins depends upon function selected connect block. Pins through this port available. P4[28] General purpose digital input/output pin. RX_MCLK receive master clock. (LPC1768/67/66/65 only). MAT2[0] Match output Timer channel TXD3 Transmitter output UART3. P4[29] General purpose digital input/output pin. TX_MCLK transmit master clock. (LPC1768/67/66/65 only). MAT2[1] Match output Timer channel RXD3 Receiver input UART3. Test Data JTAG interface. Serial wire trace output. Test Data JTAG interface. Test Mode Select JTAG interface. SWDIO Serial wire debug data input/output. TRST Test Reset JTAG interface. Test Clock JTAG interface. SWDCLK Serial wire clock. RTCK JTAG interface control signal. RSTOUT This pin. this indicates microcontroller being Reset state. External reset input: this resets device, causing ports peripherals take their default states, processor execution begin address with hysteresis, tolerant. Input oscillator circuit internal clock generator circuits. Output from oscillator amplifier. Input oscillator circuit.
B.V. 2009. rights reserved.
P3[25]/MAT0[0]/ PWM1[2]
27[1]
P3[26]/STCLK/ MAT0[1]/PWM1[3]
26[1]
P4[0] P4[31]
P4[28]/RX_MCLK/ MAT2[0]/TXD3
82[1]
P4[29]/TX_MCLK/ MAT2[1]/RXD3
85[1]
TDO/SWO TMS/SWDIO TRST TCK/SWDCLK RTCK RSTOUT RESET
1[1] 2[1] 3[1] 4[1] 5[1] 100[1] 17[7]
XTAL1 XTAL2 RTCX1
LPC1768_67_66_65_64_2.08
22[8] 23[8] 16[8]
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Symbol RTCX2
description .continued 18[8] 83[8] 11[8] 96[8] 84[8] 10[8] Type Description Output from oscillator circuit. ground: reference.
VSSA VDD(3V3) VDD(REG)(3V3) VDDA
analog ground: reference. This should nominally same voltage VSS, should isolated minimize noise error. supply voltage: This power supply voltage ports. voltage regulator supply voltage: This supply voltage on-chip voltage regulator only. analog supply voltage: This should nominally same voltage VDD(3V3) should isolated minimize noise error. This voltage used power DAC. This should tied used. positive reference voltage: This should nominally same voltage VDDA should isolated minimize noise error. Level this used reference DAC. This should tied used. negative reference voltage: This should nominally same voltage should isolated minimize noise error. Level this used reference DAC. power supply: this supplies power peripheral. connected.
VREFP
12[8]
VREFN
VBAT n.c.
19[8]
tolerant providing digital functions with levels hysteresis. tolerant providing digital functions (with levels hysteresis) analog input. When configured input, digital section disabled tolerant. tolerant providing digital with levels hysteresis analog output function. When configured output, digital section disabled. Open-drain tolerant digital pad, compatible with I2C-bus specification. This requires external pull-up provide output functionality. When power switched off, this connected I2C-bus floating does disturb lines. Open-drain configuration applies functions this pin. provides digital functions. designed accordance with specification, revision (Full-speed Low-speed mode only). tolerant with glitch filter providing digital functions with levels hysteresis. tolerant with glitch filter providing digital function with levels hysteresis. provides special analog functionality.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Functional description
Architectural overview
Remark: following, notation LPC17xx refers parts: LPC1768/67/66/65/64. Cortex-M3 includes three AHB-Lite buses: system bus, I-code bus, D-code (see Figure I-code D-code core buses faster than system used similarly interfaces: dedicated instruction fetch (I-code) data access (D-code). core buses allows simultaneous operations concurrent operations target different devices. LPC17xx multi-layer matrix connect Cortex-M3 buses other masters peripherals flexible manner that optimizes performance allowing peripherals that different slaves ports matrix accessed simultaneously different masters.
Cortex-M3 processor
Cortex-M3 general purpose, 32-bit microprocessor, which offers high performance very power consumption. Cortex-M3 offers many features, including Thumb-2 instruction set, interrupt latency, hardware divide, interruptable/continuable multiple load store instructions, automatic state save restore interrupts, tightly integrated interrupt controller with wakeup interrupt controller, multiple core buses capable simultaneous accesses. Pipeline techniques employed that parts processing memory systems operate continuously. Typically, while instruction being executed, successor being decoded, third instruction being fetched from memory. Cortex-M3 processor described detail Cortex-M3 Technical Reference Manual that found official website.
On-chip flash program memory
LPC17xx contain on-chip flash memory. two-port flash accelerator maximizes performance with fast AHB-Lite buses.
On-chip SRAM
LPC17xx contain total on-chip static memory. This includes main SRAM, accessible controller higher-speed bus, additional each SRAM blocks situated separate slave port multilayer matrix. This architecture allows accesses spread over three separate RAMs that accessed simultaneously.
Memory Protection Unit (MPU)
LPC17xx have Memory Protection Unit (MPU) which used improve reliability embedded system protecting critical data within user application.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
allows separating processing tasks disallowing access each other's data, disabling access memory regions, allowing memory regions defined read-only detecting unexpected memory accesses that could potentially break system.
separates memory into distinct regions implements protection preventing disallowed accesses. supports regions each which divided into subregions. Accesses memory locations that defined regions, permitted region setting, will cause Memory Management Fault exception take place.
Memory
LPC17xx incorporates several distinct memory regions, shown following figures. Figure shows overall entire address space from user program viewpoint following reset. interrupt vector area supports address remapping. peripheral area size divided allow peripherals. peripheral area size divided allow peripherals. Each peripheral either type allocated space. This allows simplifying address decoding each peripheral.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx
Product data sheet Rev. 02.07 October 2009
B.V. 2009. rights reserved. LPC1768_67_66_65_64_2.08
Semiconductors
0x4010 0000 0x400F C000 0x400C 0000 0x400B C000 0x400B 8000 0x400B 4000 0x400B 0000 0x400A C000 0x400A 8000 0x400A 4000 0x400A 0000 0x4009 C000 0x4009 8000 0x4009 4000 0x4009 0000 0x4008 C000 0x4008 8000 0x4008 0000
APB1 peripherals system control reserved motor control reserved reserved I2S(1) reserved I2C2 UART3 UART2 timer timer DAC(1) SSP0 reserved
LPC1768/67/66/65/64 memory space 0xFFFF FFFF reserved 0xE010 0000 private peripheral reserved 0x5020 0000 peripherals reserved 0x4400 0000 peripheral bit-band alias addressing reserved APB1 peripherals 0x4200 0000 0x4010 0000 0x4008 0000 0x4000 0000 0x2400 0000 SRAM bit-band alias addressing 0x2200 0000 reserved 0x200A 0000 GPIO reserved SRAM1 (LPC1768/7/6/5) 0x2009 C000 0x2008 4000 0x2008 0000 0x2007 C000 SRAM0 reserved 0x1FFF 2000 boot reserved local SRAM (LPC1768/7/6/5) 0x1FFF 0000 0x1000 8000 0x1000 4000 0x1000 0000 reserved 0x0008 0000 on-chip flash (LPC1768/67) 0x5000 0000 0xE000 0000 peripherals 127- reserved controller(3) reserved GPDMA controller Ethernet controller(2) 0x5020 0000 0x5001 0000 0x5000 C000 0x5000 8000 0x5000 4000 0x5000 0000
repetitive interrupt timer
APB0 peripherals reserved I2C1 reserved CAN2(3) CAN1(3) common(3) registers(3) RAM(3) SSP1 connect GPIO interrupts backup registers reserved PWM1 reserved UART1 UART0 timer timer
0x4008 0000 0x4006 0000 0x4005 C000 0x4004 C000 0x4004 8000 0x4004 4000 0x4004 0000 0x4003 C000 0x4003 8000 0x4003 4000 0x4003 0000 0x4002 C000 0x4002 8000 0x4002 4000 0x4002 0000 0x4001 C000 0x4001 8000 0x4001 4000 0x4001 0000 0x4000 C000 0x4000 8000 0x4000 4000 0x4000 0000
002aad946
APB0 peripherals reserved
(1)LPC1768/67/66/65 only (2)LPC1768/67/66/64 only (3)LPC1768/66/65/64 only
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
I-code/D-code memory space
local SRAM (LPC1764)
0x0000 0100 0x0000 0000 active interrupt vectors
bytes
0x0004 0000 0x0002 0000 0x0000 0000
on-chip flash (LPC1766/65) on-chip flash (LPC1764)
LPC17xx memory
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Nested Vectored Interrupt Controller (NVIC)
NVIC integral part Cortex-M3. tight coupling allows interrupt latency efficient processing late arriving interrupts.
7.7.1 Features
Controls system exceptions peripheral interrupts LPC17xx, NVIC supports vectored interrupts programmable interrupt priority levels, with hardware priority level masking Relocatable vector table Non-Maskable Interrupt (NMI) Software interrupt generation
7.7.2 Interrupt sources
Each peripheral device interrupt line connected NVIC have several interrupt flags. Individual interrupt flags also represent more than interrupt source. PORT0 PORT2 (total pins) regardless selected function, programmed generate interrupt rising edge, falling edge, both.
connect block
connect block allows selected pins microcontroller have more than function. Configuration registers control multiplexers allow connection between on-chip peripherals. Peripherals should connected appropriate pins prior being activated prior related interrupt(s) being enabled. Activity enabled peripheral function that mapped related should considered undefined. Most pins also configured open-drain outputs have pull-up, pull-down, resistor enabled.
General purpose controller
GPDMA AMBA compliant peripheral allowing selected peripherals have support. GPDMA enables peripheral-to-memory, memory-to-peripheral, peripheral-to-peripheral, memory-to-memory transactions. source destination areas each either memory region peripheral, accessed through master. GPDMA controller allows data transfers between (LPC1768/66/65/64 only) Ethernet controllers (LPC1768/67/66/64 only) various on-chip SRAM areas. supported peripherals SSP0/1, UARTs, I2S-bus interface, ADC, DAC. match signals each timer used trigger transfers. Note that I2S-bus interface available LPC1764.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.9.1 Features
Eight channels. Each channel support unidirectional transfer. request lines. Single burst request signals. Each peripheral connected
Controller assert either burst request single request. burst size programming Controller.
Memory-to-memory, memory-to-peripheral, peripheral-to-memory,
peripheral-to-peripheral transfers supported.
Scatter gather supported through linked lists. This means that
source destination areas have occupy contiguous areas memory.
Hardware channel priority. slave programming interface. Controller programmed
writing control registers over slave interface.
master transferring data. interface transfers data when
request goes active.
32-bit master width. Incrementing non-incrementing addressing source destination. Programmable burst size. burst size programmed more
efficiently transfer data.
Internal four-word FIFO channel. Supports 32-bit wide transactions. Big-endian little-endian support. Controller defaults little-endian
mode reset.
interrupt processor generated completion when
error occurred.
interrupt status. error count interrupt status read
prior masking.
7.10 Fast general purpose parallel
Device pins that connected specific peripheral function controlled GPIO registers. Pins dynamically configured inputs outputs. Separate registers allow setting clearing number outputs simultaneously. value output register read back well current state port pins. LPC17xx accelerated GPIO functions:
GPIO registers accessed through multilayer that fastest
possible timing achieved.
Mask registers allow treating sets port bits group, leaving other bits
unchanged.
LPC1768_67_66_65_64_2.08
GPIO registers byte half-word addressable. Entire port value written instruction. Support Cortex-M3 banding. Support with GPDMA controller.
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Additionally, PORT0 PORT2 (total pins) providing digital function programmed generate interrupt rising edge, falling edge, both. edge detection asynchronous, operate when clocks present such during Power-down mode. Each enabled interrupt used wake chip from Power-down mode.
7.10.1 Features
level clear registers allow single instruction clear number
bits port.
Direction control individual bits. default inputs after reset. Pull-up/pull-down resistor configuration open-drain configuration
programmed through connect block each GPIO pin.
7.11 Ethernet (LPC1768/67/66/64 only)
Remark: Ethernet controller available part LPC1765. Ethernet block contains full featured Mbit/s Mbit/s Ethernet designed provide optimized performance through hardware acceleration. Features include generous suite control registers, half full duplex operation, flow control, control frames, hardware acceleration transmit retry, receive packet filtering wake-up activity. Automatic frame transmission reception with scatter-gather off-loads many operations from CPU. Ethernet block share Cortex-M3 D-code system through AHB-multilayer matrix access various on-chip SRAM blocks Ethernet data, control, status information. Ethernet block interfaces between off-chip Ethernet using Reduced (RMII) protocol on-chip Media Independent Interface Management (MIIM) serial bus. Ethernet block supports clock rates MHz.
7.11.1 Features
Ethernet standards support:
Supports Mbit/s Mbit/s devices including Base-T, Base-TX, Base-FX, Base-T4. Fully compliant with IEEE standard 802.3. Fully compliant with 802.3x full duplex flow control half duplex back pressure. Flexible transmit receive frame options. Virtual Local Area Network (VLAN) frame support.
Memory management:
Independent transmit receive buffers memory mapped shared SRAM. managers with scatter/gather arrays frame descriptors. Memory traffic optimized buffering pre-fetching.
LPC1768_67_66_65_64_2.08 B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Enhanced Ethernet features:
Receive filtering.
Multicast broadcast frame support both transmit receive. Optional automatic Frame Check Sequence (FCS) insertion with Cyclic Redundancy Check (CRC) transmit. Selectable automatic transmit frame padding.
Over-length frame support both transmit receive allows length frames. Promiscuous receive mode. Automatic collision back-off frame retransmission. Includes power management clock switching. Wake-on-LAN power management support allows system wake-up: using receive filters magic frame detection filter.
Physical interface:
Attachment external chip through standard RMII interface. register access available MIIM interface.
7.12 interface (LPC1768/66/65/64 only)
Universal Serial (USB) 4-wire that supports communication between host more 127) peripherals. host controller allocates bandwidth attached devices through token-based protocol. supports plugging dynamic configuration devices. transactions initiated host controller. interface includes device, Host, controller with on-chip device Host functions. switching protocol supported through external controller. Details typical interfacing solutions found Section 14.1. Remark: LPC1764 includes device controller only.
7.12.1 device controller
device controller enables Mbit/s data exchange with Host controller. consists register interface, serial interface engine, endpoint buffer memory, controller. serial interface engine decodes data stream writes data appropriate endpoint buffer. status completed transfer error condition indicated status registers. interrupt also generated enabled. When enabled, controller transfers data between endpoint buffer on-chip SRAM. 7.12.1.1 Features
LPC1768_67_66_65_64_2.08
Fully compliant with specification (full speed). Supports physical logical) endpoints with endpoint buffer RAM. Supports Control, Bulk, Interrupt Isochronous endpoints. Scalable realization endpoints time.
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Endpoint Maximum packet size selection maximum specification)
software time.
Supports SoftConnect GoodLink features. While Suspend mode, LPC1768/66/65/64 enter
reduced power modes wake activity.
Supports transfers with on-chip SRAM blocks non-control endpoints. Allows dynamic switching between CPU-controlled slave modes. Double buffer implementation Bulk Isochronous endpoints.
7.12.2 host controller (LPC1768/66/65 only)
host controller enables full- low-speed data exchange with devices attached bus. consists register interface, serial interface engine, controller. register interface complies with OHCI specification. 7.12.2.1 Features
OHCI compliant. downstream port. Supports port power switching.
7.12.3 controller (LPC1768/66/65 only)
supplement specification that augments capability existing mobile devices peripherals adding host functionality connection peripherals. Controller integrates host controller, device controller, master-only I2C-bus interface implement dual-role device functionality. dedicated I2C-bus interface controls external transceiver. 7.12.3.1 Features
Fully compliant with On-The-Go supplement Specification, Revision
1.0a.
Hardware support Host Negotiation Protocol (HNP). Includes programmable timer required Session Request Protocol
(SRP).
Supports transceiver compliant with Transceiver Specification
(CEA-2011), Rev. 1.0.
7.13 controller acceptance filters (LPC1768/66/65/64 only)
Controller Area Network (CAN) serial communications protocol which efficiently supports distributed real-time control with very high level security. domain application ranges from high-speed networks cost multiplex wiring. block intended support multiple buses simultaneously, allowing device used gateway, switch, router among number buses industrial automotive applications.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.13.1 Features
controllers buses. Data rates Mbit/s each bus. 32-bit register access. Compatible with specification 2.0B, 11898-1.
Global Acceptance Filter recognizes standard (11-bit) extended-frame (29-bit) receive identifiers buses. Standard Identifiers.
Acceptance Filter provide FullCAN-style automatic reception selected FullCAN messages generate interrupts. 7.14 12-bit
LPC17xx contain single 12-bit successive approximation with eight channels support.
7.14.1 Features
12-bit successive approximation ADC. Input multiplexing among pins. Power-down mode. Measurement range VREFN VREFP. 12-bit conversion rate: kHz. Individual channels selected conversion. Burst conversion mode single multiple inputs. Optional conversion transition input Timer Match signal. Individual result registers each channel reduce interrupt overhead. support.
7.15 10-bit (LPC1768/67/66/65 only)
allows generate variable analog output. maximum output value VREFP.
7.15.1 Features
10-bit Resistor string architecture Buffered output Power-down mode Selectable output drive Dedicated conversion timer support
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.16 UARTs
LPC17xx each contain four UARTs. addition standard transmit receive data lines, UART1 also provides full modem control handshake interface support RS-485/9-bit mode allowing both software address detection automatic address detection using 9-bit mode. UARTs include fractional baud rate generator. Standard baud rates such achieved with crystal frequency above MHz.
7.16.1 Features
Maximum UART data rate 6.25 MBit/s. Receive Transmit FIFOs. Register locations conform 16C550 industry standard. Receiver FIFO trigger points Built-in fractional baud rate generator covering wide range baud rates without need external crystals particular values. control implementation.
Auto baud capabilities FIFO control mechanism that enables software flow UART1 equipped with standard modem interface signals. This module also provides
full support hardware flow control (auto-CTS/RTS).
Support RS-485/9-bit/EIA-485 mode (UART1). UART3 includes IrDA mode support infrared communication. UARTs have support. 7.17 serial controller
LPC17xx contain controller. full duplex serial interface designed handle multiple masters slaves connected given bus. Only single master single slave communicate interface during given data transfer. During data transfer master always sends bits bits data slave, slave always sends bits bits data master.
7.17.1 Features
Maximum data rate 12.5 Mbit/s Compliant with specification Synchronous, serial, full duplex communication Combined master slave Maximum data rate eighth input clock rate bits bits transfer
7.18 serial controller
LPC17xx contain controllers. controller capable operation SPI, 4-wire SSI, Microwire bus. interact with multiple masters slaves bus. Only single master single slave communicate during given
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
data transfer. supports full duplex transfers, with frames bits bits data flowing from master slave from slave master. practice, often only these data flows carries meaningful data.
7.18.1 Features
Maximum speed Mbit/s (master) Mbit/s (slave) Compatible with Motorola SPI, 4-wire Texas Instruments SSI, National
Semiconductor Microwire buses
Synchronous serial communication Master slave operation 8-frame FIFOs both transmit receive 4-bit 16-bit frame transfers supported GPDMA
7.19 I2C-bus serial controllers
LPC17xx each contain three I2C-bus controllers. I2C-bus bidirectional inter-IC control using only wires: Serial Clock line (SCL) Serial Data Line (SDA). Each device recognized unique address operate either receiver-only device (e.g., driver) transmitter with capability both receive send information (such memory). Transmitters and/or receivers operate either master slave mode, depending whether chip initiate data transfer only addressed. multi-master controlled more than master connected
7.19.1 Features
I2C0 standard compliant interface with open-drain pins. I2C0 also
supports Fast mode plus with rates Mbit/s.
I2C1 I2C2 standard pins with rates kbit/s (Fast I2C-bus). Easy configure master, slave, master/slave. Programmable clocks allow versatile rate control. Bidirectional data transfer between masters slaves. Multi-master central master). Arbitration between simultaneously transmitting masters without corruption serial data bus. serial bus.
Serial clock synchronization allows devices with different rates communicate Serial clock synchronization used handshake mechanism suspend
resume serial transfer.
I2C-bus used test diagnostic purposes. I2C-bus controllers support multiple address recognition monitor mode. 7.20 I2S-bus serial controllers
Remark: I2S-bus available LPC1764.
LPC1768_67_66_65_64_2.08 B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
I2S-bus provides standard communication interface digital audio applications.
I2S-bus specification defines 3-wire serial using data line, clock line, word select signal. basic I2S-bus connection master, which always master, slave. I2S-bus interface LPC1768/67/66/65 provides separate transmit receive channel, each which operate either master slave.
7.20.1 Features
interface separate input/output channels each which operate master
slave mode.
Capable handling 8-bit, 16-bit, 32-bit word sizes. Mono stereo audio data supported. sampling frequency range from (16, 22.05, 44.1,
kHz.
Support audio master clock. Configurable word select period master mode (separately I2S-bus input
output).
8-word FIFO data buffers provided, transmit receive. Generates interrupt requests when buffer levels cross programmable boundary. requests, controlled programmable buffer levels. These connected
GPDMA block.
Controls include reset, stop mute options separately I2S-bus input I2S-bus
output.
7.21 General purpose 32-bit timers/external event counters
LPC17xx include four 32-bit timer/counters. timer/counter designed count cycles system derived clock externally-supplied clock. optionally generate interrupts, generate timed requests, perform other actions specified timer values, based four match registers. Each timer/counter also includes capture inputs trap timer value when input signal transitions, optionally generating interrupt.
7.21.1 Features
32-bit timer/counter with programmable 32-bit prescaler. Counter timer operation. 32-bit capture channels timer, that take snapshot timer value
when input signal transitions. capture event also generate interrupt.
Four 32-bit match registers that allow:
Continuous operation with optional interrupt generation match. Stop timer match with optional interrupt generation. Reset timer match with optional interrupt generation.
four external outputs corresponding match registers, with following
capabilities:
LPC1768_67_66_65_64_2.08 B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
match. HIGH match. Toggle match. nothing match.
match registers used generate timed requests. 7.22 Pulse width modulator
based standard Timer block inherits features, although only function pinned LPC17xx. Timer designed count cycles system derived clock optionally switch pins, generate interrupts perform other actions when specified timer values occur, based seven match registers. function addition these features, based match register events. ability separately control rising falling edge locations allows used more applications. instance, multi-phase motor control typically requires three non-overlapping outputs with individual control three pulse widths positions. match registers used provide single edge controlled output. match register (PWMMR0) controls cycle rate, resetting count upon match. other match register controls edge position. Additional single edge controlled outputs require only match register each, since repetition rate same outputs. Multiple single edge controlled outputs will have rising edge beginning each cycle, when PWMMR0 match occurs. Three match registers used provide output with both edges controlled. Again, PWMMR0 match register controls cycle rate. other match registers control edge positions. Additional double edge controlled outputs require only match registers each, since repetition rate same outputs. With double edge controlled outputs, specific match registers control rising falling edge output. This allows both positive going pulses (when rising edge occurs prior falling edge), negative going pulses (when falling edge occurs prior rising edge).
7.22.1 Features
block with Counter Timer operation (may peripheral clock
capture inputs clock source).
Seven match registers allow single edge controlled double edge
controlled outputs, both types. match registers also allow: Continuous operation with optional interrupt generation match. Stop timer match with optional interrupt generation. Reset timer match with optional interrupt generation.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Supports single edge controlled and/or double edge controlled outputs. Single
edge controlled outputs high beginning each cycle unless output constant low. Double edge controlled outputs have either edge occur position within cycle. This allows both positive going negative going pulses.
Pulse period width number timer counts. This allows complete
flexibility trade-off between resolution repetition rate. outputs will occur same repetition rate.
Double edge controlled outputs programmed either positive going
negative going pulses.
Match register updates synchronized with pulse outputs prevent generation
erroneous pulses. Software must `release' match values before they become effective.
used standard 32-bit timer/counter with programmable 32-bit prescaler
mode enabled.
7.23 Motor control
motor control specialized supporting 3-phase motors other combinations. Feedback inputs provided automatically sense rotor position that information ramp speed down. abort input also provided that causes immediately release motor drive outputs. same time, motor control highly configurable other generalized timing, counting, capture, compare applications.
7.24 Quadrature Encoder Interface (QEI)
quadrature encoder, also known 2-channel incremental encoder, converts angular displacement into pulse signals. monitoring both number pulses relative phase signals, user track position, direction rotation, velocity. addition, third channel, index signal, used reset position counter. quadrature encoder interface decodes digital pulses from quadrature encoder wheel integrate position over time determine direction rotation. addition, capture velocity encoder wheel.
7.24.1 Features
LPC1768_67_66_65_64_2.08
Tracks encoder position. Increments/decrements depending direction. Programmable position counting. Velocity capture using built-in timer. Velocity compare function with "less than" interrupt. Uses 32-bit registers position velocity. Three position compare registers with interrupts. Index counter revolution counting. Index compare register with interrupts. combine index position interrupts produce interrupt whole partial revolution displacement.
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Digital filter with programmable delays encoder input signals. accept decoded signal inputs (clk direction). Connected APB. 7.25 Repetitive Interrupt (RI) timer
repetitive interrupt timer provides free-running 32-bit counter which compared selectable value, generating interrupt when match occurs. bits timer/compare masked such that they contribute match detection. repetitive interrupt timer used create interrupt that repeats predetermined intervals.
7.25.1 Features
32-bit counter running from PCLK. Counter free-running reset
generated interrupt.
32-bit compare value. 32-bit compare mask. interrupt generated when counter value equals
compare value, after masking. This allows combinations possible with simple compare.
7.26 Cortex-M3 system tick timer
Cortex-M3 includes system tick timer (SYSTICK) that intended generate dedicated SYSTICK exception interval. LPC17xx, this timer clocked from internal clock from device pin.
7.27 Watchdog timer
purpose watchdog reset microcontroller within reasonable amount time enters erroneous state. When enabled, watchdog will generate system reset user program fails `feed' reload) watchdog within predetermined amount time.
7.27.1 Features
Internally resets chip periodically reloaded. Debug mode. Enabled software requires hardware reset watchdog reset/interrupt
disabled.
Incorrect/Incomplete feed sequence causes reset/interrupt enabled. Flag indicate watchdog reset. Programmable 32-bit timer with internal prescaler. Selectable time period from (Tcy(WDCLK) (Tcy(WDCLK) multiples Tcy(WDCLK) oscillator, oscillator, peripheral clock. This gives wide range potential timing choices Watchdog operation under different power reduction
Watchdog Clock (WDCLK) source selected from Internal (IRC)
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
conditions. also provides ability from entirely internal source that dependent external crystal associated components wiring increased reliability.
Includes lock/safe feature. 7.28 backup registers
counters measuring time when system power optionally when off. LPC17xx designed have extremely power consumption, i.e. less than will typically from main chip power supply, conserving battery power while rest device powered When operating from battery, will continue working down Battery power provided from standard Lithium button cell. ultra-low power oscillator will provide clock time counting portion RTC, moving most power consumption time counting function. includes calibration mechanism allow fine-tuning count rate that will provide less than second error when operated constant voltage temperature. clock output function (see Section 7.29.4) makes measuring oscillator rate easy accurate. contains small backup registers bytes) holding data while main part LPC17xx powered off. includes alarm function that wake LPC17xx from reduced power modes with time resolution
7.28.1 Features
Measures passage time maintain calendar clock. Ultra power design support battery powered systems. Provides Seconds, Minutes, Hours, Month, Month, Year, Week,
Year.
Dedicated power supply connected battery main Periodic interrupts generated from increments field time registers. Backup registers bytes) powered VBAT. power supply isolated from rest chip.
7.29 Clocking power control
7.29.1 Crystal oscillators
LPC17xx include three independent oscillators. These main oscillator, oscillator, oscillator. Each oscillator used more than purpose required particular application. three clock sources chosen software drive main ultimately CPU. Following reset, LPC17xx will operate from Internal oscillator until switched software. This allows systems operate without external crystal bootloader code operate known frequency.
LPC1768_67_66_65_64_2.08 B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Figure overview LPC17xx clock generation.
LPC17xx
MAIN OSCILLATOR
CLOCK DIVIDER pllclk system clock select (CLKSRCSEL)
usbclk MHz) BLOCK
MAIN
clock config enable (USBCLKCFG) CLOCK DIVIDER clock config (CCLKCFG)
cclk
main enable
CORTEX-M3
ETHERNET BLOCK GPIO NVIC
INTERNAL OSCILLATOR
WATCHDOG TIMER
CCLK/8 OSCILLATOR pclkWDT rtclk PERIPHERAL CLOCK GENERATOR REAL-TIME CLOCK CCLK/6 CCLK/4 CCLK/2 CCLK peripherals
002aad947
LPC17xx clocking generation block diagram
7.29.1.1
Internal oscillator used clock source WDT, and/or clock that drives subsequently CPU. nominal frequency MHz. trimmed accuracy over entire voltage temperature range. Upon power-up chip reset, LPC17xx clock source. Software later switch other available clock sources.
7.29.1.2
Main oscillator main oscillator used clock source CPU, with without using PLL. main oscillator also provides clock source dedicated PLL. main oscillator operates frequencies MHz. This frequency boosted higher frequency, maximum operating frequency, main PLL. clock selected input PLLCLKIN. processor clock frequency referred CCLK elsewhere this document. frequencies PLLCLKIN CCLK same value unless active connected. clock frequency each peripheral selected individually referred PCLK. Refer Section 7.29.2 additional information.
7.29.1.3
oscillator oscillator used clock source block, main PLL, and/or CPU.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.29.2 Main (PLL0)
PLL0 accepts input clock frequency range MHz. input frequency multiplied high frequency, then divided down provide actual clock used and/or block.
PLL0 input, range MHz, initially divided down value `N', which range 256. This input division provides wide range output frequencies from same input frequency.
Following PLL0 input divider PLL0 multiplier. This multiply input divider output through Current Controlled Oscillator (CCO) value `M', range through 32768. resulting frequency must range MHz. multiplier works dividing output value then using phase-frequency detector compare divided output multiplier input. error value used adjust frequency. PLL0 turned bypassed following chip Reset entering Power-down mode. PLL0 enabled software only. program must configure activate PLL0, wait PLL0 lock, then connect PLL0 clock source.
7.29.3 (PLL1)
LPC17xx contain second, dedicated PLL1 provide clocking interface. PLL1 receives clock input from main oscillator only provides fixed clock block only. PLL1 disabled powered reset. PLL1 left disabled, clock will supplied clock from main PLL0. PLL1 accepts input clock frequency range only. input frequency multiplied range clock using Current Controlled Oscillators (CCO). insured that PLL1 output duty cycle.
7.29.4 clock output
LPC17xx feature clock output function intended synchronizing with external devices during system development allow checking internal clocks CCLK, clock, main crystal, clock, clock outside world. clock output allows tuning frequency without probing pin, which would distort results.
7.29.5 Wake-up timer
LPC17xx begin operation power-up when awakened from Power-down mode using oscillator clock source. This allows chip operation resume quickly. main oscillator needed application, software will need enable these features wait them stabilize before they used clock source. When main oscillator initially activated, wake-up timer allows software ensure that main oscillator fully functional before processor uses clock source starts execute instructions. This important power types Reset,
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
whenever aforementioned functions turned reason. Since oscillator other functions turned during Power-down mode, wake-up processor from Power-down mode makes wake-up Timer.
Wake-up Timer monitors crystal oscillator check whether safe begin code execution. When power applied chip, when some event caused chip exit Power-down mode, some time required oscillator produce signal sufficient amplitude drive clock logic. amount time depends many factors, including rate VDD(3V3) ramp case power on), type crystal electrical characteristics quartz crystal used), well other external circuitry (e.g., capacitors), characteristics oscillator itself under existing ambient conditions.
7.29.6 Power control
LPC17xx support variety power control features. There four special modes processor power reduction: Sleep mode, Deep-sleep mode, Power-down mode, Deep power-down mode. clock rate also controlled needed changing clock sources, reconfiguring values, and/or altering clock divider value. This allows trade-off power versus processing speed based application requirements. addition, Peripheral Power Control allows shutting down clocks individual on-chip peripherals, allowing fine tuning power consumption eliminating dynamic power peripherals that required application. Each peripherals clock divider which provides even better power control. Integrated (Power Management Unit) automatically adjust internal regulators minimize power consumption during Sleep, Deep sleep, Power-down, Deep power-down modes. LPC17xx also implement separate power domain allow turning power bulk device while maintaining operation small registers storing data during power-down modes. 7.29.6.1 Sleep mode When Sleep mode entered, clock core stopped. Resumption from Sleep mode does need special sequence re-enabling clock core. Sleep mode, execution instructions suspended until either Reset interrupt occurs. Peripheral functions continue operation during Sleep mode generate interrupts cause processor resume execution. Sleep mode eliminates dynamic power used processor itself, memory systems related controllers, internal buses. 7.29.6.2 Deep-sleep mode Deep-sleep mode, oscillator shut down chip receives internal clocks. processor state registers, peripheral registers, internal SRAM values preserved throughout Deep-sleep mode logic levels chip pins remain static. output disabled powered down fast wake-up later. oscillator stopped because interrupts used wake-up source. automatically turned disconnected. CCLK clock dividers automatically reset zero.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Deep-sleep mode terminated normal operation resumed either Reset certain specific interrupts that able function without clocks. Since dynamic operation chip suspended, Deep-sleep mode reduces chip power consumption very value. Power flash memory left Deep-sleep mode, allowing very quick wake-up.
wake-up from Deep-sleep mode, code execution peripherals activities will resume after cycles expire used before entering Deep-sleep mode. main external oscillator used, code execution will resume when 4096 cycles expire. clock dividers need reconfigured accordingly. 7.29.6.3 Power-down mode Power-down mode does everything that Deep-sleep mode does, also turns power oscillator flash memory. This saves more power requires waiting resumption flash operation before execution code data access flash memory accomplished. wake-up Power-down mode, used before entering Power-down mode, will take start-up. After this cycles will expire before code execution then resumed code running from SRAM. meantime, flash wake-up timer then counts clock cycles make flash start-up time. When times out, access flash will allowed. Users need reconfigure clock dividers accordingly. 7.29.6.4 Deep power-down mode Deep power-down mode only entered from block. Deep power-down mode, power shut entire chip with exception module RESET pin. LPC17xx wake from Deep power-down mode RESET alarm match event RTC. 7.29.6.5 Wakeup interrupt controller Wakeup Interrupt Controller (WIC) allows automatically wake from enabled priority interrupt that occur while clocks stopped Deep sleep, Power-down, Deep power-down modes. works connection with Nested Vectored Interrupt Controller (NVIC). When enters Deep sleep, Power-down, Deep power-down mode, NVIC sends mask current interrupt situation WIC.This mask includes interrupts that both enabled sufficient priority serviced immediately. With this information, simply notices when interrupts occurred then wakes CPU. eliminates need periodically wake poll interrupts resulting additional power savings.
7.29.7 Peripheral power control
Power Control Peripherals feature allows individual peripherals turned they needed application, resulting additional power savings.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.29.8 Power domains
LPC17xx provide independent power domains that allow bulk device have power removed while maintaining operation backup Registers. LPC17xx, pads powered (VDD(3V3)) pins, while VDD(REG)(3V3) powers on-chip voltage regulator which turn provides power most peripherals. Depending LPC17xx application, design power options manage power consumption. first option assumes that power consumption concern design ties VDD(3V3) VDD(REG)(3V3) pins together. This approach requires only power supply both pads, CPU, peripherals. While this solution simple, does support powering down ring fly" while keeping peripherals alive.
second option uses power supplies; supply pads (VDD(3V3)) dedicated supply (VDD(REG)(3V3)). Having on-chip voltage regulator powered independently from ring enables shutting down power supply fly", while peripherals stay active. VBAT supplies power only domain. requires minimum power operate, which supplied external battery. device core power (VDD(REG)(3V3)) used operate whenever VDD(REG)(3V3) present. Therefore, there power drain from battery when VDD(REG)(3V3) available.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
LPC17xx
VDD(3V3) REGULATOR VDD(REG)(3V3) pads core memories, peripherals, oscillators, PLLs
MAIN POWER DOMAIN
VBAT
POWER SELECTOR
ULTRA-LOW POWER REGULATOR BACKUP REGISTERS
RTCX1 RTCX2
OSCILLATOR POWER DOMAIN
REAL-TIME CLOCK
VDDA VREFP VREFN VSSA POWER DOMAIN
002aad978
Power distribution
7.30 System control
7.30.1 Reset
Reset four sources LPC17xx: RESET pin, Watchdog reset, power-on reset (POR), BrownOut Detection (BOD) circuit. RESET Schmitt trigger input pin. Assertion chip Reset source, once operating voltage attains usable level, starts Wake-up timer (see description Section 7.29.5), causing reset remain asserted until external Reset de-asserted, oscillator running, fixed number clocks have passed, flash controller completed initialization. When internal Reset removed, processor begins executing address which initially Reset vector mapped from Boot Block. that point, processor peripheral registers have been initialized predetermined values.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.30.2 Brownout detection
LPC17xx include 2-stage monitoring voltage VDD(REG)(3V3) pins. this voltage falls below 2.95 asserts interrupt signal Vectored Interrupt Controller. This signal enabled interrupt Interrupt Enable Register NVIC order cause interrupt; not, software monitor signal reading dedicated status register. second stage low-voltage detection asserts reset inactivate LPC17xx when voltage VDD(REG)(3V3) pins falls below 2.65 This reset prevents alteration flash operation various elements chip would otherwise become unreliable voltage. circuit maintains this reset down below which point power-on reset circuitry maintains overall reset. Both 2.95 2.65 thresholds include some hysteresis. normal operation, this hysteresis allows 2.95 detection reliably interrupt, regularly executed event loop sense condition.
7.30.3 Code security (Code Read Protection CRP)
This feature LPC17xx allows user enable different levels security system that access on-chip flash JTAG restricted. When needed, invoked programming specific pattern into dedicated flash location. commands affected CRP. There three levels Code Read Protection. CRP1 disables access chip JTAG allows partial flash update (excluding flash sector using limited commands. This mode useful when required flash field updates needed sectors erased. CRP2 disables access chip JTAG only allows full flash erase update using reduced commands. Running application with level CRP3 selected fully disables access chip JTAG pins ISP. This mode effectively disables override using P2[10] pin, too. user's application provide needed) flash update mechanism using calls call reinvoke command enable flash update UART0.
CAUTION level three Code Read Protection (CRP3) selected, future factory testing performed device.
7.30.4 interface
peripherals split into separate buses order distribute bandwidth thereby reducing stalls caused contention between GPDMA controller.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
7.30.5 multilayer matrix
LPC17xx multilayer matrix. This matrix connects instruction (I-code) data (D-code) buses Cortex-M3 flash memory, main (32KB) static RAM, Boot ROM. GPDMA also access these memories. peripheral controllers, Ethernet, access SRAM blocks. Additionally, matrix connects system controllers various peripheral functions.
7.30.6 External interrupt inputs
LPC17xx include edge sensitive interrupt inputs combined with four level sensitive external interrupt inputs selectable functions. external interrupt inputs optionally used wake processor from Power-down mode.
7.30.7 Memory mapping control
Cortex-M3 incorporates mechanism that allows remapping interrupt vector table alternate locations memory map. This controlled Vector Table Offset Register contained NVIC. vector table located anywhere within bottom Cortex-M3 address space. vector table must located word (512 byte) boundary because NVIC LPC17xx configured total interrupts.
7.31 Emulation debugging
Debug trace functions integrated into Cortex-M3. Serial wire debug trace functions supported addition standard JTAG debug parallel trace functions. Cortex-M3 configured support eight breakpoints four watch points.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Limiting values
Table Limiting values accordance with Absolute Maximum Rating System (IEC 60134).[1] Symbol VDD(3V3) VDD(REG)(3V3) VDDA Vi(VBAT) Vi(VREFP) Parameter supply voltage (3.3 regulator supply voltage (3.3 analog supply voltage input voltage VBAT input voltage VREFP analog input voltage input voltage related pins tolerant pins; only valid when VDD(3V3) supply voltage present other pins Ilatch supply current ground current latch-up current supply ground -(0.5VDD(3V3)) (1.5VDD(3V3)); Tstg Ptot(pack) storage temperature total power dissipation (per package) based package heat transfer, device power consumption human body model; pins
Conditions core external rail
-0.5
+4.6 +4.6 +4.6 +5.1 +6.0
Unit
-0.5 -0.5 -0.5 -0.5
[2][3]
-0.5
VDD(3V3)
+150
Vesd
electrostatic discharge voltage
following applies limiting values: This product includes circuitry specifically designed protection internal devices from damaging effects excessive static charge. Nonetheless, suggested that conventional precautions taken avoid applying greater than rated maximum. Parameters valid over operating temperature range unless otherwise specified. voltages with respect unless otherwise noted.
Including voltage outputs 3-state mode. exceed peak current limited times corresponding maximum current. Dependent package type. Human body model: equivalent discharging capacitor through series resistor.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Thermal characteristics
Thermal characteristics
average chip junction temperature, (°C), calculated using following equation:
Tamb ambient temperature (°C), Rth(j-a) package junction-to-ambient thermal resistance (°C/W) internal power dissipation
internal power dissipation product VDD. power dissipation pins often small many times negligible. However significant some applications.
Table Thermal characteristics Tamb unless otherwise specified; Symbol Tj(max) Parameter maximum junction temperature Conditions Unit
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Static characteristics
Table Static characteristics Tamb unless otherwise specified. Symbol Supply pins VDD(3V3) VDD(REG)(3V3) VDDA Vi(VBAT) Vi(VREFP) IDD(REG)(3V3) supply voltage (3.3 regulator supply voltage (3.3 analog supply voltage input voltage VBAT input voltage VREFP regulator supply current active mode; code (3.3 while(1){} executed from flash; peripherals disabled; PCLK CCLK/8 CCLK MHz; disabled CCLK MHz; enabled sleep mode deep sleep mode power-down mode deep power-down mode; running IBAT battery supply current deep power-down mode; running VDD(REG)(3V3) present VDD(REG)(3V3) present IDD(IO) supply current deep sleep mode power-down mode deep power-down mode IDD(ADC) supply current deep sleep mode power-down mode deep power-down mode II(ADC) input current VREFP deep sleep mode power-down mode deep power-down mode
[10] [10] [10]
Parameter
Conditions core external rail
Typ[1]
VDDA
Unit
[3][4] [3][5] [3][5]
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Static characteristics .continued Tamb unless otherwise specified. Symbol Parameter Conditions Typ[1] Standard port pins, RESET, RTCK LOW-level input current on-chip pull-up resistor disabled HIGH-level input current OFF-state output current input voltage output voltage HIGH-level input voltage LOW-level input voltage hysteresis voltage HIGH-level output voltage LOW-level output voltage HIGH-level output current LOW-level output current VDD(3V3)
[14]
Unit
VDD(3V3); on-chip pull-down resistor disabled VDD(3V3); on-chip pull-up/down resistors disabled configured provide digital function output active
[11][12] [13]
Vhys IOHS IOLS I2C-bus Vhys Oscillator pins Vi(XTAL1) Vo(XTAL2)
LPC1768_67_66_65_64_2.08
VDD(3V3)
VDD(3V3)
[14]
[14]
[14]
HIGH-level short-circuit output current LOW-level short-circuit output current pull-down current pull-up current pins (P0[27] P0[28]) HIGH-level input voltage LOW-level input voltage hysteresis voltage LOW-level output voltage input leakage current IOLS VDD(3V3) input voltage XTAL1 output voltage XTAL2 VDD(3V3) VDD(3V3)
[15]
[15]
0.7VDD(3V3) [14]
0.3VDD(3V3) 1.95 1.95
0.5VDD(3V3)
[16]
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table Static characteristics .continued Tamb unless otherwise specified. Symbol Vi(RTCX1) Vo(RTCX2) Parameter input voltage RTCX1 output voltage RTCX2 OFF-state output current supply voltage differential input sensitivity voltage differential common mode voltage range single-ended receiver switching threshold voltage LOW-level output voltage low-/full-speed HIGH-level output voltage (driven) low-/full-speed |(D+) (D-)| includes range Conditions Typ[1]
1.95 1.95
Unit
pins (LPC1768/66/65/64 only) VBUS Vth(rs)se 5.25
0.18
Ctrans ZDRV
transceiver capacitance driver output with series resistor; impedance driver steady state drive which high-speed capable
[17]
44.1
Typical ratings guaranteed. values listed room temperature °C), nominal supply voltages. typically fails when Vi(VBAT) drops below VDD(REG)(3V3) Tamb power consumption measurements. running MHz; main oscillator disabled; PCLK CCLK/8. disabled. VBAT; IDD(REG)(3V3) VDD(REG)(3V3) VBAT Tamb VBAT; VBAT Tamb internal pull-ups disabled. pins configured output driven LOW. VDD(3V3) Tamb VDDA Tamb
[10] Vi(VREFP) Tamb [11] Including voltage outputs 3-state mode. [12] VDD(3V3) supply voltages must present. [13] 3-state outputs into 3-state mode when VDD(3V3) grounded. [14] Accounts voltage drop supply lines. [15] Allowed long current limit does exceed maximum current allowed device. [16] VSS. [17] Includes external resistors
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Dynamic characteristics
11.1 Flash memory
Table Flash characteristics Tamb unless otherwise specified. Symbol Nendu tret Parameter endurance retention time powered unpowered
Number program/erase cycles.
Conditions
Unit cycles years years
11.2 External clock
Table Dynamic characteristic: external clock Tamb VDD(3V3) over specified ranges.[1] Symbol fosc Tcy(clk) tCHCX tCLCX tCLCH tCHCL
Parameter oscillator frequency clock cycle time clock HIGH time clock time clock rise time clock fall time
Conditions
Tcy(clk) Tcy(clk)
Typ[2]
1000
Unit
Parameters valid over operating temperature range unless otherwise specified. Typical ratings guaranteed. values listed room temperature °C), nominal supply voltages.
tCHCL
tCLCX Tcy(clk)
tCHCX tCLCH
002aaa907
External clock timing (with amplitude least Vi(RMS)
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
11.3 Internal oscillators
Table Dynamic characteristic: internal oscillators Tamb VDD(3V3) V.[1] Symbol fosc(RC) fi(RTC)
Parameter internal oscillator frequency input frequency
Conditions
3.96
Typ[2] 4.00 32.768
4.04
Unit
Parameters valid over operating temperature range unless otherwise specified. Typical ratings guaranteed. values listed room temperature °C), nominal supply voltages.
11.4 I2C-bus
Table Dynamic characteristic: I2C-bus pins (Fast-mode Plus) Tamb VDD(3V3) over specified ranges.[1][2][3] Symbol fSCL tSU;DAT
Parameter clock frequency fall time data set-up time
Conditions
Unit
Parameters valid over operating temperature range unless otherwise specified. CCLK PCLK MHz; I2C-bus interface configured master mode. capacitance pF), external pull-up resistance
tSU;DAT
002aae860
I2C-bus pins clock timing
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
11.5 I2S-bus interface (LPC1768/67/66/65 only)
Table Dynamic characteristics: I2S-bus interface pins Tamb Symbol Parameter rise time fall time pulse width HIGH pulse width pins I2STX_CLK I2SRX_CLK pins I2STX_CLK I2SRX_CLK Conditions
0.495 Tcy(clk)
0.505 Tcy(clk)
Unit
common input output
output tv(Q) input tsu(D) th(D)
data output valid time
I2STX_SDA; I2STX_WS
data input set-up time data input hold time
I2SRX_SDA I2SRX_SDA
CCLK MHz; peripheral clock I2S-bus interface PCLK CCLK/4; clock cycle time Tcy(clk) 1600 corresponds signal I2S-bus specification.
Tcy(clk)
I2STX_CLK
I2STX_SDA
tv(Q) I2STX_WS tv(Q)
002aad992
I2S-bus timing (output)
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Tcy(clk)
I2SRX_CLK
I2SRX_SDA
tsu(D)
th(D)
I2SRX_WS tsu(D) tsu(D)
002aae159
I2S-bus timing (input)
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
11.6 interface
Table Dynamic characteristic: interface Tamb VDD(3V3) over specified ranges. Symbol Parameter Conditions measured Master mode; Figure
Unit
interface tsu(SPI_MISO) SPI_MISO set-up time
peripheral clock PCLK CCLK MHz.
shifting edges
sampling edges
MOSI
MISO
tsu(SPI_MISO)
002aad326
MISO line set-up time Master mode
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
11.7 interface (LPC1768/66/65/64 only)
Table Dynamic characteristics: pins (full-speed) VDD(3V3), unless otherwise specified. Symbol tFRFM VCRS tFEOPT tFDEOP tJR1 tJR2 tEOPR1 Parameter rise time fall time differential rise fall time matching output signal crossover voltage source interval source jitter differential transition transition receiver jitter next transition receiver jitter paired transitions width receiver must reject EOP; Figure must accept EOP; Figure
Conditions
13.8 13.7 +18.5
Unit
Figure Figure
-18.5
tEOPR2
width receiver
Characterized implemented production test. Guaranteed design.
TPERIOD crossover point differential data lines
crossover point extended
source width: tFEOPT differential data SE0/EOP skew TPERIOD tFDEOP
receiver width: tEOPR1, tEOPR2
002aab561
Differential data-to-EOP transition skew width
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
11.8
Table Dynamic characteristics pins Tamb Symbol Tcy(PCLK) TSPICYC tSPICLKH tSPICLKL master tSPIDSU tSPIDH tSPIQV tSPIOH slave tSPIDSU tSPIDH tSPIQV tSPIOH
Parameter PCLK cycle time cycle time SPICLK HIGH time SPICLK time data set-up time data hold time data output valid time output data hold time data set-up time data hold time data output valid time output data hold time
79.6 0.485 TSPICYC
0.515 TSPICYC
Unit
Tcy(PCLK) Tcy(PCLK) Tcy(PCLK) Tcy(PCLK) Tcy(PCLK) Tcy(PCLK)
TSPICYC (Tcy(PCLK) clock divider value PCLK derived from processor clock CCLK. Timing parameters measured with respect edge clock edge data signal (MOSI MISO).
TSPICYC
tSPICLKH
tSPICLKL
(CPOL
(CPOL tSPIQV MOSI DATA VALID DATA VALID tSPIDSU MISO DATA VALID tSPIDH tSPIOH
DATA VALID
002aad986
master timing (CPHA
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
TSPICYC
tSPICLKH
tSPICLKL
(CPOL
(CPOL tSPIQV MOSI DATA VALID DATA VALID tSPIDSU DATA VALID tSPIDH tSPIOH
MISO
DATA VALID
002aad987
master timing (CPHA
TSPICYC
tSPICLKH
tSPICLKL
(CPOL
(CPOL tSPIDSU MOSI DATA VALID tSPIQV MISO DATA VALID DATA VALID tSPIDH
DATA VALID tSPIOH
002aad988
slave timing (CPHA
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
TSPICYC
tSPICLKH
tSPICLKL
(CPOL
(CPOL tSPIDSU MOSI DATA VALID tSPIQV MISO DATA VALID DATA VALID tSPIDH
DATA VALID tSPIOH
002aad989
slave timing (CPHA
electrical characteristics
Table characteristics VDDA Tamb unless otherwise specified; frequency MHz. Symbol EL(adj) fclk(ADC) fc(ADC)
Parameter analog input voltage analog input capacitance differential linearity error integral non-linearity offset error gain error absolute error clock frequency conversion frequency
Conditions
[1][2][3] [1][4] [1][5] [1][6] [1][7]
VDDA
Unit
Conditions: VSSA VDDA monotonic, there missing codes. differential linearity error (ED) difference between actual step width ideal step width. Figure integral non-linearity (EL(adj)) peak difference between center steps actual ideal transfer curve after appropriate adjustment gain offset errors. Figure offset error (EO) absolute difference between straight line which fits actual curve straight line which fits ideal curve. Figure gain error (EG) relative difference percent between straight line fitting actual transfer curve after removing offset error, straight line which fits ideal transfer curve. Figure absolute error (ET) maximum difference between center steps actual transfer curve non-calibrated ideal transfer curve. Figure
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
offset error 4095
gain error
4094
4093
4092
4091
4090
code
(ideal) 4090 4091 4092 4093 4094 4095 4096
offset error (LSBideal)
VREFP VREFN 4096
002aad948
Example actual transfer curve. ideal transfer curve. Differential linearity error (ED). Integral non-linearity (EL(adj)). Center step actual transfer curve.
12-bit characteristics
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
electrical characteristics (LPC1768/67/66/65 only)
Table electrical characteristics VDDA Tamb unless otherwise specified Symbol EL(adj) Parameter differential linearity error integral non-linearity offset error gain error load capacitance load resistance Conditions ±1.5
Unit
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Application information
14.1 Suggested interface solutions
VDD(3V3)
USB_UP_LED USB_CONNECT
LPC17xx
SoftConnect switch
VBUS USB_D+ USB_D-
002aad939
USB-B connector
LPC1768/66/65/64 interface self-powered device
VDD(3V3)
LPC17xx
USB_UP_LED VBUS USB_D+ USB_D-
USB-B connector
002aad940
LPC1768/66/65/64 interface bus-powered device
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
RSTOUT
RESET_N ADR/PSW OE_N/INT_N SPEED SUSPEND
VBUS
Mini-AB connector
ISP1302
LPC17xx
USB_SCL USB_SDA EINTn USB_D+ USB_D- USB_UP_LED
INT_N
002aad941
LPC1768/66/65 port configuration
USB_UP_LED USB_D+ USB_D-
USB-A connector
LPC17xx
USB_PWRD USB_OVRCR USB_PPWR
VBUS
FLAGA
LM3526-L
OUTA
002aad942
LPC1768/66/65 host port configuration
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
USB_UP_LED
USB_CONNECT
LPC17xx
USB_D+ USB_D- VBUS
VBUS USB-B connector
002aad943
LPC1768/66/65/64 device port configuration
14.2 XTAL1 input
input voltage on-chip oscillators limited oscillator driven clock slave mode, recommended that input coupled through capacitor with limit input voltage specified range, choose additional capacitor ground which attenuates input voltage factor Ci/(Ci Cg). slave mode, minimum mV(RMS) needed. more details LPC17xx User manual.
LPC1xxx
XTAL1
002aae835
Slave mode operation on-chip oscillator
14.3 XTAL RTCX Printed Circuit Board (PCB) layout guidelines
crystal should connected close possible oscillator input output pins chip. Take care that load capacitors Cx1,Cx2, case third overtone crystal usage have common ground plane. external components must also connected ground plain. Loops must made small possible order keep noise coupled small possible. Also parasitics should stay small possible. Values should chosen smaller accordingly increase parasitics layout.
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Package outline
LQFP100: plastic profile quad flat package; leads; body
SOT407-1
index detail
scale
DIMENSIONS original dimensions) UNIT max. 0.15 0.05 1.45 1.35 0.25 0.27 0.17 0.20 0.09 14.1 13.9 14.1 13.9 0.75 0.45 0.08 0.08 1.15 0.85 1.15 0.85
16.25 16.25 15.75 15.75
Note Plastic metal protrusions 0.25 maximum side included. OUTLINE VERSION SOT407-1 REFERENCES 136E20 JEDEC MS-026 JEITA EUROPEAN PROJECTION
ISSUE DATE 00-02-01 03-02-20
Package outline SOT407-1 (LQFP100)
LPC1768_67_66_65_64_2.08 B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Abbreviations
Table Acronym AMBA EGPIO IrDA JTAG MIIM OHCI RMII UART Abbreviations Description Analog-to-Digital Converter Advanced High-performance Advanced Microcontroller Architecture Advanced Peripheral BrownOut Detection Controller Area Network Digital-to-Analog Converter Debug Communication Channel Direct Memory Access Digital Signal Processing Packet Embedded Trace Macrocell General Purpose Input/Output Internal Infrared Data Association Joint Test Action Group Media Access Control Media Independent Interface Management Open Host Controller Interface On-The-Go Physical Layer Phase-Locked Loop Pulse Width Modulator Repetitive Interrupt Timer Reduced Media Independent Interface Single Ended Zero Serial Peripheral Interface Serial Synchronous Interface Synchronous Serial Port Tightly Coupled Memory Transistor-Transistor Logic Universal Asynchronous Receiver/Transmitter Universal Serial
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Revision history
Table Revision history Release date Data sheet status <tbd> Product data sheet Document LPC1768_67_66_65_64_2.08 Modifications:
Change notice Supersedes
LPC1768_67_66_65_64_ 2.07
Changed data sheet status Product. I2C-bus timing characteristics updated (Table 10). Removed symbols from timing diagram (Figure I2S-bus timing characteristics updated (Table 11). electrical characteristics updated (Table 16). Preliminary data sheet Preliminary data sheet LPC1768_66_65_64_2.06 LPC1768_66_65_64_2.05
LPC1768_67_66_65_64_2.07 Modifications: LPC1768_66_65_64_2.06 Modifications:
<tbd> <tbd>
Part LPC1767 added.
absolute error added (Table 15). I2C-bus timing characteristics updated (Table 10). ENET_MDC ENET_MDIO functions removed from P2[8] P2[9] (Table Vesd changed 4000 (Table Preliminary data sheet LPC1768_66_65_64_2.04 timing characteristics added (Table 14). I2C-bus timing characteristics added. I2S-bus timing characteristics added (Table 11). CLKOUT function removed from P1[25] (Table Preliminary data sheet LPC1768_66_65_64_2.03 Power consumption data added Table characteristics updated (Table 15). characteristics updated (Table 16). VDDA VREFP descriptions updated (Table timing characteristics added. Data sheet status changed Preliminary data sheet. Objective data sheet LPC1768_66_65_64_2.02 Flash characteristics table updated (Table conversion rate changed kHz. XTAL1 circuit layout recommendations added (see Section 14.2 Section 14.3). Objective data sheet LPC1768_66_65_64_2.01 Flash characteristics table updated. Maximum data rate SPI, SSP, UART added. back-up size updated bytes). clock source added: oscillator. Objective data sheet LPC1768_66_65_64_2 Updated parameters EL(adj) Table "ADC characteristics". Updated motor control names Table "Pin description" Figure "Block diagram". CLKOUT function added P1[25] Table "Pin description".
B.V. 2009. rights reserved.
LPC1768_66_65_64_2.05 Modifications:
<tbd>
LPC1768_66_65_64_2.04 Modifications:
<tbd>
LPC1768_66_65_64_2.03 Modifications:
<tbd>
LPC1768_66_65_64_2.02 Modifications:
<tbd>
LPC1768_66_65_64_2.01 Modifications:
<tbd>
LPC1768_67_66_65_64_2.08
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Table
Revision history .continued Release date Data sheet status <tbd> Objective data sheet
Document LPC1768_66_65_64_2 Modifications:
Change notice Supersedes
LPC1768_66_65_64_1
Updated Flash characteristics. Updated Figure "LPC17xx memory map". Updated descriptive title. Objective data sheet
LPC1768_66_65_64_1
20090115
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Legal information Data sheet status
Document status[1][2] Objective [short] data sheet Preliminary [short] data sheet Product [short] data sheet
Product status[3] Development Qualification Production
Definition This document contains data from objective specification product development. This document contains data from preliminary specification. This document contains product specification.
Please consult most recently issued document before initiating completing design. term `short data sheet' explained section "Definitions". product status device(s) described this document have changed since this document published differ case multiple devices. latest product status information available Internet http://www.nxp.com.
19.1 Definitions
Draft document draft version only. content still under internal review subject formal approval, which result modifications additions. Semiconductors does give representations warranties accuracy completeness information included herein shall have liability consequences such information. Short data sheet short data sheet extract from full data sheet with same product type number(s) title. short data sheet intended quick reference only should relied upon contain detailed full information. detailed full information relevant full data sheet, which available request local Semiconductors sales office. case inconsistency conflict with short data sheet, full data sheet shall prevail.
damage. Semiconductors accepts liability inclusion and/or Semiconductors products such equipment applications therefore such inclusion and/or customer's risk. Applications Applications that described herein these products illustrative purposes only. Semiconductors makes representation warranty that such applications will suitable specified without further testing modification. Limiting values Stress above more limiting values defined Absolute Maximum Ratings System 60134) cause permanent damage device. Limiting values stress ratings only operation device these other conditions above those given Characteristics sections this document implied. Exposure limiting values extended periods affect device reliability. Terms conditions sale Semiconductors products sold subject general terms conditions commercial sale, published including those pertaining warranty, intellectual property rights infringement limitation liability, unless explicitly otherwise agreed writing Semiconductors. case inconsistency conflict between information this document such terms conditions, latter will prevail. offer sell license Nothing this document interpreted construed offer sell products that open acceptance grant, conveyance implication license under copyrights, patents other industrial intellectual property rights. Export control This document well item(s) described herein subject export control regulations. Export might require prior authorization from national authorities.
19.2 Disclaimers
General Information this document believed accurate reliable. However, Semiconductors does give representations warranties, expressed implied, accuracy completeness such information shall have liability consequences such information. Right make changes Semiconductors reserves right make changes information published this document, including without limitation specifications product descriptions, time without notice. This document supersedes replaces information supplied prior publication hereof. Suitability Semiconductors products designed, authorized warranted suitable medical, military, aircraft, space life support equipment, applications where failure malfunction Semiconductors product reasonably expected result personal injury, death severe property environmental
19.3 Trademarks
Notice: referenced brands, product names, service names trademarks property their respective owners. I2C-bus logo trademark B.V.
Contact information
more information, please visit: http://www.nxp.com sales office addresses, please send email salesaddresses@nxp.com
LPC1768_67_66_65_64_2.08
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
Contents
General description Features Applications Ordering information Ordering options Block diagram Pinning information Pinning description Functional description Architectural overview Cortex-M3 processor On-chip flash program memory On-chip SRAM Memory Protection Unit (MPU). Memory map. Nested Vectored Interrupt Controller (NVIC) 7.7.1 Features 7.7.2 Interrupt sources. connect block General purpose controller 7.9.1 Features 7.10 Fast general purpose parallel 7.10.1 Features 7.11 Ethernet (LPC1768/67/66/64 only) 7.11.1 Features 7.12 interface (LPC1768/66/65/64 only) 7.12.1 device controller 7.12.1.1 Features 7.12.2 host controller (LPC1768/66/65 only). 7.12.2.1 Features 7.12.3 controller (LPC1768/66/65 only) 7.12.3.1 Features 7.13 controller acceptance filters (LPC1768/66/65/64 only) 7.13.1 Features 7.14 12-bit 7.14.1 Features 7.15 10-bit (LPC1768/67/66/65 only) 7.15.1 Features 7.16 UARTs. 7.16.1 Features 7.17 serial controller. 7.17.1 Features 7.18 serial controller 7.18.1 Features 7.19 I2C-bus serial controllers. 7.19.1 Features 7.20 I2S-bus serial controllers. 7.20.1 Features 7.21 General purpose 32-bit timers/external event counters 7.21.1 Features 7.22 Pulse width modulator
LPC1768_67_66_65_64_2.08
7.22.1 Features. 7.23 Motor control 7.24 Quadrature Encoder Interface (QEI) 7.24.1 Features. 7.25 Repetitive Interrupt (RI) timer. 7.25.1 Features. 7.26 Cortex-M3 system tick timer 7.27 Watchdog timer 7.27.1 Features. 7.28 backup registers 7.28.1 Features. 7.29 Clocking power control 7.29.1 Crystal oscillators 7.29.1.1 Internal oscillator 7.29.1.2 Main oscillator 7.29.1.3 oscillator 7.29.2 Main (PLL0) 7.29.3 (PLL1) 7.29.4 clock output 7.29.5 Wake-up timer 7.29.6 Power control 7.29.6.1 Sleep mode 7.29.6.2 Deep-sleep mode. 7.29.6.3 Power-down mode 7.29.6.4 Deep power-down mode 7.29.6.5 Wakeup interrupt controller 7.29.7 Peripheral power control 7.29.8 Power domains 7.30 System control 7.30.1 Reset 7.30.2 Brownout detection 7.30.3 Code security (Code Read Protection CRP) 7.30.4 interface 7.30.5 multilayer matrix 7.30.6 External interrupt inputs 7.30.7 Memory mapping control 7.31 Emulation debugging Limiting values Thermal characteristics Thermal characteristics Static characteristics Dynamic characteristics. 11.1 Flash memory 11.2 External clock. 11.3 Internal oscillators 11.4 I2C-bus 11.5 I2S-bus interface (LPC1768/67/66/65 only) 11.6 interface 11.7 interface (LPC1768/66/65/64 only) 11.8 electrical characteristics electrical characteristics (LPC1768/67/66/65 only) Application information
B.V. 2009. rights reserved.
Product data sheet
Rev. 02.07 October 2009
Semiconductors
LPC1768/67/66/65/64
32-bit Cortex-M3 microcontroller
14.1 14.2 14.3 19.1 19.2 19.3
Suggested interface solutions XTAL1 input XTAL RTCX Printed Circuit Board (PCB) layout guidelines Package outline Abbreviations Revision history Legal information. Data sheet status Definitions Disclaimers Trademarks. Contact information. Contents
Please aware that important notices concerning this document product(s) described herein, have been included section `Legal information'.
B.V. 2009.
rights reserved.
more information, please visit: http://www.nxp.com sales office addresses, please send email salesaddresses@nxp.com Date release: October 2009 Document identifier: LPC1768_67_66_65_64_2.08

Other recent searches


THS4022 - THS4022   THS4022 Datasheet
REJ03F0247-0200 - REJ03F0247-0200   REJ03F0247-0200 Datasheet
LTC3415 - LTC3415   LTC3415 Datasheet
LTC3415s - LTC3415s   LTC3415s Datasheet
LCS39132Q4A-132 - LCS39132Q4A-132   LCS39132Q4A-132 Datasheet
IRG4BC30UD - IRG4BC30UD   IRG4BC30UD Datasheet
F23R - F23R   F23R Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive