![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
1. general description the lpc1850/30/20/10 are arm cortex-m 3 based microcontrollers for embedded applications. the arm cortex-m3 is a next generation core that offers system enhancements such as low power consumption, enhanced debug features, and a high level of support block integration. the lpc1850/30/20/10 operate at cpu fr equencies of up to 150 mhz. the arm cortex-m3 cpu incorporates a 3-stage pipe line and uses a harvard architecture with separate local instruction and data buses as well as a third bus for peripherals. the arm cortex-m3 cpu also includes an internal prefetch unit that supports speculative branching. the lpc1850/30/20/10 include up to 200 kb of on-chip sram, a quad spi flash interface (spifi), a state configurable ti mer (sct) subsystem, two high-speed usb controllers, ethernet, lcd, an external memory controller, and multiple digital and analog peripherals. remark: this data sheet describes the rev ?- ? and the rev ?a? versions of parts lpc1850/30/20/10. 2. features and benefits ? processor core ? arm cortex-m3 processor, running at frequencies of up to 150 mhz. ? arm cortex-m3 built-in memory protection unit (mpu) supporting eight regions. ? arm cortex-m3 built-in nested vectored interrupt controller (nvic). ? non-maskable inte rrupt (nmi) input. ? jtag and serial wire debug, serial trace, eight breakpoints, and four watch points. ? enhanced trace module (etm) and enhanced trace buffer (etb) support. ? system tick timer. ? on-chip memory ? 200 kb sram for code and data use. ? multiple sram blocks with separate bus access. two sram blocks can be powered down individually. ? 64 kb rom containing boot code and on-chip software drivers. ? 32-bit one-time programmable (otp) memory for general-purpose use. ? clock generation unit ? crystal oscillator with an operating range of 1 mhz to 25 mhz. lpc1850/30/20/10 32-bit arm cortex-m3 mcu; up to 200 kb sram; ethernet, two high-speed usb, lcd, an d external memory controller rev. 2.2 ? 9 september 2011 preliminary data sheet
lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 2 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? 12 mhz internal rc oscillator trimmed to 1 % accuracy over temperature and voltage. ? ultra-low power rtc crystal oscillator. ? three plls allow cpu operation up to the maximum cpu rate without the need for a high-frequency crystal. the second pll is dedicated to the high-speed usb, the third pll can be used as audio pll. ? clock output. ? configurable digital peripherals: ? state configurable timer (sct) subsystem on ahb. ? global input multiplexer arra y (gima) allows to cross-connect multiple inputs and outputs to event driven peripher als like timers, sct, and adc0/1. ? serial interfaces: ? quad spi flash interface (spi fi) with four lanes and data rates of up to 40 mb per second total. ? 10/100t ethernet mac with rmii and mi i interfaces and dma support for high throughput at low cpu load . support for ieee 1588 time stamping/advanced time stamping (ieee 1588-2008 v2). ? one high-speed usb 2.0 ho st/device/otg interface with dma support and on-chip phy. ? one high-speed usb 2.0 host/device in terface with dma support, on-chip full-speed phy and ulpi interface to ex ternal high-speed phy. usb interface electrical test software included in rom usb stack. ? four 550 uarts with dma support: one uart with full modem interface; one uart with irda interface; three usarts support synchronous mode and a smart card interface conforming to iso7816 specification. ? two c_can 2.0b controllers with one channel each. ? two ssp controllers with fifo and multi-protocol supp ort. both ssps with dma support. ? one fast-mode plus i 2 c-bus interface with monitor mode and with open-drain i/o pins conforming to the full i 2 c-bus specification. supports data rates of up to 1mbit/s. ? one standard i 2 c-bus interface with monitor mode and standard i/o pins. ? two i 2 s interfaces with dma support, each with one input and one output. ? digital peripherals: ? external memory controller (emc) supporting external sram, rom, nor flash, and sdram devices. ? lcd controller with dma support and a programmable display resolution of up to 1024h ? 768v. supports monochrome and color stn panels and tft color panels; supports 1/2/4/8 bpp color look-up table (clut) and 16/24-bit direct pixel mapping. ? sd/mmc card interface. ? eight-channel general-purpose dma (gpdma) controller can access all memories on the ahb and all dma-capable ahb slaves. ? up to 164 general-purpose input/out put (gpio) pins with configurable pull-up/pull-down resistors and open-drain modes. ? gpio registers are located on the ahb fo r fast access. gpio ports have dma support. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 3 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? up to 8 gpio pins can be selected from all gpio pins as edge and level sensitive interrupt sources. ? two gpio group interrupt modules enable an interrupt based on a programmable pattern of input states of a group of gpio pins. ? four general-pu rpose timer/counters with ca pture and match capabilities. ? one motor control pwm for three-phase motor control. ? one quadrature encoder interface (qei). ? repetitive interrup t timer (ri timer). ? windowed watchdog timer. ? ultra-low power real-time clock (rtc) on separate power domain with 256 bytes of battery powered backup registers. ? alarm timer; can be battery powered. ? analog peripherals: ? one 10-bit dac with dma support and a data conversion rate of 400 ksamples/s. ? two 10-bit adcs with dma support and a data conversion rate of 400 ksamples/s. ? security: ? hardware-based aes security engine programmable through an on-chip api. ? two 128-bit secure otp memories for aes key storage and customer use. ? unique id for each device. ? power: ? single 3.3 v (2.2 v to 3.6 v) power supply with on-chip internal voltage regulator for the core supply and the rtc power domain. ? rtc power domain can be powered separately by a 3 v battery supply. ? four reduced power modes: sleep, deep-sleep, power-down, and deep power-down. ? processor wake-up from sleep mode via wake-up interrupts from various peripherals. ? wake-up from deep-sleep, power-down, and deep power-down modes via external interrupts and interrupts generated by battery powered blocks in the rtc power domain. ? brownout detect with four separate thre sholds for interrup t and forced reset. ? power-on reset (por). ? available as 208-pin, 144-pin, and 100-pin lqfp packages and as 256-pin, 180-pin, and 100-pin bga packages. 3. applications ? industrial ? rfid readers ? consumer ? e-metering ? white goods lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 4 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 4. ordering information 4.1 ordering options table 1. ordering information type number package name description version lpc1850fet256 lbga256 plastic low profile ball grid array package; 256 balls; body 17 ? 17 ? 1 mm sot740-2 lpc1850fet180 tfbga180 thin fine-pitch ball grid array package; 180 balls sot570-3 lpc1850fbd208 lqfp208 plastic low profile quad flat package; 208 leads; body 28 ? 28 ? 1.4 mm sot459-1 lpc1830fet256 lbga256 plastic low profile ball grid array package; 256 balls; body 17 ? 17 ? 1 mm sot740-2 lpc1830fet180 tfbga180 thin fine-pitch ball grid array package; 180 balls sot570-3 lpc1830fet100 tfbga100 plastic thin fine-pitch ball grid array package; 100 balls; body 9 ? 9 ? 0.7 mm sot926-1 lpc1830fbd144 lqfp144 plastic low profile quad flat package; 144 leads; body 20 ? 20 ? 1.4 mm sot486-1 lpc1820fet100 tfbga100 plastic thin fine-pitch ball grid array package; 100 balls; body 9 ? 9 ? 0.7 mm sot926-1 lpc1820fbd144 lqfp144 plastic low profile quad flat package; 144 leads; body 20 ? 20 ? 1.4 mm sot486-1 lpc1820fbd100 lqfp100 plastic low profile quad flat package; 100 leads; body 14 ? 14 ? 1.4 mm sot407-1 LPC1810fet100 tfbga100 plastic thin fine-pitch ball grid array package; 100 balls; body 9 ? 9 ? 0.7 mm sot926-1 LPC1810fbd144 lqfp144 plastic low profile quad flat package; 144 leads; body 20 ? 20 ? 1.4 mm sot486-1 table 2. ordering options type number total sram lcd ethernet usb0 (host, device, otg) usb1 (host, device)/ ulpi interface adc channels pwm qei gpio package lpc1850fet256 200 kb yes yes yes yes/yes 8 yes yes 164 lbga256 lpc1850fet180 200 kb yes yes yes yes/yes 8 yes yes 118 tfbga180 lpc1850fbd208 200 kb yes yes yes yes/yes 8 yes yes 164 lqfp208 lpc1830fet256 200 kb no yes yes yes/yes 8 yes yes 164 lbga256 lpc1830fet180 200 kb no yes yes yes/yes 8 yes yes 118 tfbga180 lpc1830fet100 200 kb no yes yes yes/no 4 no no 49 tfbga100 lpc1830fbd144 200 kb no yes yes yes/no 8 yes no 83 lqfp144 lpc1820fet100 168 kb no no yes no 4 no no 49 tfbga100 lpc1820fbd144 168 kb no no yes no 8 yes no 83 lqfp144 lpc1820fbd100 168 kb no no yes no 5 no no 49 lqfp100 LPC1810fet100 136 kb no no no no 4 no no 49 tfbga100 LPC1810fbd144 136 kb no no no no 8 yes no 83 lqfp144 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 5 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 5. block diagram (1) not available on all parts (see ta b l e 2 ). fig 1. lpc1850/30/20/10 block diagram arm cortex-m3 test/debug interface i-code bus d-code bus system bus swd/trace port/jtag gpdma ethernet (1) 10/100 mac ieee 1588 usb1 (1) host/ device high- speed usb0 (1) host/ device/ otg lcd (1) sd/ mmc emc high-speed phy 16/32 kb ahb sram 16 kb + 16 kb ahb sram (1) spifi aes hs gpio sct 64 kb rom ahb multilayer matrix lpc1850/30/20/10 64/96 kb local sram 40 kb local sram 002aaf218 slaves masters wwdt usart0 uart1 ssp0 i 2 c0 c_can1 i 2 s0 i 2 s1 motor control pwm (1) timer3 timer2 usart2 usart3 ssp1 ri timer qei (1) gima bridge 0 bridge 1 bridge 2 bridge 3 bridge 10-bit adc0 10-bit adc1 c_can0 i 2 c1 10-bit dac bridge rgu ccu2 cgu ccu1 alarm timer configuration registers otp memory event router power mode control 12 mhz irc rtc power domain backup registers rtc osc rtc slaves = connected to gpdma timer0 timer1 scu gpio interrupts gpio group0 interrupt gpio group1 interrupt lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 6 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 6. pinning information 6.1 pinning fig 2. pin configuration lbga256 package fig 3. pin configuration tfbga180 package 002aaf230 lpc1850/30fet256 transparent top view t r p n m l j g k h f e d c b a 24681012 13 14 15 16 1357911 ball a1 index area 002aag365 lpc1850/30fet180 transparent top view n l p m k j h g f d b e c a 2 4 6 8 10 12 13 14 1357911 ball a1 index area fig 4. pin configuration tfbga100 package 002aag366 lpc1830/20/10fet100 transparent top view j g k h f e d c b a 246810 13579 ball a1 index area lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 7 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 6.2 pin description on the lpc1850/30/20/10, digital pins are grouped into 16 ports, named p0 to p9 and pa to pf, with up to 20 pins used per port. each digital pin may support up to eight different digital functions, including general purpos e i/o (gpio), selectable through the scu registers. note that the pin name is not in dicative of the gpio port assigned to it. fig 5. pin configuration lqfp208 package f ig 6. pin configuration lqfp144 package lpc1850fbd208 156 53 104 208 157 105 1 52 002aag367 lpc1830/20/10fbd144 108 37 72 144 109 73 1 36 002aag368 fig 7. pin configuration lqfp100 package lpc1820fbd100 75 26 50 100 76 51 1 25 002aag369 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 8 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller table 3. pin description lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description multiplexed digital pins p0_0 l3 x g2 x 32 22 [3] i; pu i/o gpio0[0] ? general purpose digital input/output pin. i/o ssp1_miso ? master in slave out for ssp1. i enet_rxd1 ? ethernet receive data 1 (rmii/mii interface). - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i/o i2s1_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . p0_1 m2 x g1 x 34 23 [3] i; pu i/o gpio0[1] ? general purpose digital input/output pin. i/o ssp1_mosi ? master out slave in for ssp1. i enet_col ? ethernet collision detect (mii interface). - r ? function reserved. - r ? function reserved. - r ? function reserved. enet_tx_en ? ethernet transmit enable (rmii/mii interface). i/o i2s1_tx_sda ? i 2 s1 transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . p1_0 p2 x h1 x 38 25 [3] i; pu i/o gpio0[4] ? general purpose digital input/output pin. i ctin_3 ? sct input 3. capture input 1 of timer 1. i/o emc_a5 ? external memory address line 5. - r ? function reserved. - r ? function reserved. i/o ssp0_ssel ? slave select for ssp0. - r ? function reserved. - r ? function reserved. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 9 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_1 r2 x k2 x 42 28 [3] i; pu i/o gpio0[8] ? general purpose digita l input/output pin. boot pin (see ta b l e 5 ). o ctout_7 ? sct output 7. match output 3 of timer 1. i/o emc_a6 ? external memory address line 6. - r ? function reserved. - r ? function reserved. i/o ssp0_miso ? master in slave out for ssp0. - r ? function reserved. - r ? function reserved. p1_2 r3 x k1 x 43 29 [3] i; pu i/o gpio0[9] ? general purpose digita l input/output pin. boot pin (see ta b l e 5 ). o ctout_6 ? sct output 6. match output 2 of timer 1. i/o emc_a7 ? external memory address line 7. - r ? function reserved. - r ? function reserved. i/o ssp0_mosi ? master out slave in for ssp0. - r ? function reserved. - r ? function reserved. p1_3 p5 x j1 x 44 30 [3] i; pu i/o gpio0[10] ? general purpose digital input/output pin. o ctout_8 ? sct output 8. match output 0 of timer 2. - r ? function reserved. o emc_oe ? low active output enable signal. o usb0_ind1 ? usb0 port indicator led control output 1. i/o ssp1_miso ? master in slave out for ssp1. - r ? function reserved. o sd_rst ? sd/mmc reset signal for mmc4.4 card. p1_4 t3 x j2 x 47 32 [3] i; pu i/o gpio0[11] ? general purpose digital input/output pin. o ctout_9 ? sct output 9. match output 1 of timer 2. - r ? function reserved. o emc_bls0 ? low active byte lane select signal 0. o usb0_ind0 ? usb0 port indicator led control output 0. i/o ssp1_mosi ? master out slave in for ssp1. - r ? function reserved. o sd_volt1 ? sd/mmc bus voltage select output 1. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 10 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_5 r5 x j4 x 48 33 [3] i; pu i/o gpio1[8] ? general purpose digital input/output pin. o ctout_10 ? sct output 10. match output 2 of timer 2. - r ? function reserved. o emc_cs0 ? low active chip select 0 signal. o usb0_pwr_fault ? port power fault signal indicating overcurrent condition; this signal monitors over-current on the usb bus (external circuitry required to detect over-current condition). i/o ssp1_ssel ? slave select for ssp1. - r ? function reserved. o sd_pow ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 11 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_8 r7 x h5 x 51 36 [3] i; pu i/o gpio1[1] ? general purpose digital input/output pin. o u1_dtr ? data terminal ready output for uart1. o ctout_12 ? sct output 12. match output 0 of timer 3. i/o emc_d1 ? external memory data line 1. - r ? function reserved. - r ? function reserved. - r ? function reserved. o sd_volt0 ? sd/mmc bus voltage select output 0. p1_9 t7 x j5 x 52 37 [3] i; pu i/o gpio1[2] ? general purpose digital input/output pin. o u1_rts ? request to send output for uart1. o ctout_11 ? sct output 11. match output 3 of timer 2. i/o emc_d2 ? external memory data line 2. - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o sd_dat0 ? sd/mmc data bus line 0. p1_10 r8 x h6 x 53 38 [3] i; pu i/o gpio1[3] ? general purpose digital input/output pin. i u1_ri ? ring indicator input for uart1. o ctout_14 ? sct output 14. match output 2 of timer 3. i/o emc_d3 ? external memory data line 3. - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o sd_dat1 ? sd/mmc data bus line 1. p1_11 t9 x j7 x 55 39 [3] i; pu i/o gpio1[4] ? general purpose digital input/output pin. i u1_cts ? clear to send input for uart1. o ctout_15 ? sct output 15. match output 3 of timer 3. i/o emc_d4 ? external memory data line 4. - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o sd_dat2 ? sd/mmc data bus line 2. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 12 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_12 r9 x k7 x 56 40 [3] i; pu i/o gpio1[5] ? general purpose digital input/output pin. i u1_dcd ? data carrier detect input for uart1. - r ? function reserved. i/o emc_d5 ? external memory data line 5. i t0_cap1 ? capture input 1 of timer 0. - r ? function reserved. - r ? function reserved. i/o sd_dat3 ? sd/mmc data bus line 3. p1_13 r10 x h8 x 60 41 [3] i; pu i/o gpio1[6] ? general purpose digital input/output pin. o u1_txd ? transmitter output for uart1. - r ? function reserved. i/o emc_d6 ? external memory data line 6. i t0_cap0 ? capture input 0 of timer 0. - r ? function reserved. - r ? function reserved. i sd_cd ? sd/mmc card detect input. p1_14 r11 x j8 x 61 42 [3] i; pu i/o gpio1[7] ? general purpose digital input/output pin. i u1_rxd ? receiver input for uart1. - r ? function reserved. i/o emc_d7 ? external memory data line 7. o t0_mat2 ? match output 2 of timer 0. - r ? function reserved. - r ? function reserved. - r ? function reserved. p1_15 t12 x k8 x 62 43 [3] i; pu i/o gpio0[2] ? general purpose digital input/output pin. o u2_txd ? transmitter output for usart2. - r ? function reserved. i enet_rxd0 ? ethernet receive data 0 (rmii/mii interface). o t0_mat1 ? match output 1 of timer 0. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 13 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_16 m7 x h9 x 64 44 [3] i; pu i/o gpio0[3] ? general purpose digital input/output pin. i u2_rxd ? receiver input for usart2. - r ? function reserved. i enet_crs ? ethernet carrier sense (mii interface). o t0_mat0 ? match output 0 of timer 0. - r ? function reserved. - r ? function reserved. i enet_rx_dv ? ethernet receive data valid (rmii/mii interface). p1_17 m8 x h10 x 66 45 [4] i; pu i/o gpio0[12] ? general purpose digital input/output pin. i/o u2_uclk ? serial clock input/output for usart2 in synchronous mode. - r ? function reserved. i/o enet_mdio ? ethernet miim data input and output. i t0_cap3 ? capture input 3 of timer 0. o can1_td ? can1 transmitter output. - r ? function reserved. - r ? function reserved. p1_18 n12 x j10 x 67 46 [3] i; pu i/o gpio0[13] ? general purpose digital input/output pin. i/o u2_dir ? rs-485/eia-485 output enable/direction control for usart2. - r ? function reserved. o enet_txd0 ? ethernet transmit data 0 (rmii/mii interface). o t0_mat3 ? match output 3 of timer 0. i can1_rd ? can1 receiver input. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 14 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p1_19 m11 x k9 x 68 47 [3] i; pu i enet_tx_clk (enet_ref_clk) ? ethernet transmit clock (mii interface) or ethernet reference clock (rmii interface). i/o ssp1_sck ? serial clock for ssp1. - r ? function reserved. - r ? function reserved. o clkout ? clock output pin. - r ? function reserved. o i2s0_rx_mclk ? i 2 s receive master clock. i/o i2s1_tx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . p1_20 m10 x k10 x 70 48 [3] i; pu i/o gpio0[15] ? general purpose digital input/output pin. i/o ssp1_ssel ? slave select for ssp1. - r ? function reserved. o enet_txd1 ? ethernet transmit data 1 (rmii/mii interface). i t0_cap2 ? capture input 2 of timer 0. - r ? function reserved. - r ? function reserved. - r ? function reserved. p2_0 t16 x g10 x 75 50 [3] i; pu - r ? function reserved. o u0_txd ? transmitter output for usart0. i/o emc_a13 ? external memory address line 13. o usb0_pwr_en ? vbus drive signal (towards external charge pump or power management unit); indicates that vbus must be driven (active high). i/o gpio5[0] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap0 ? capture input 0 of timer 3. o enet_mdc ? ethernet miim clock. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 15 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p2_1 n15 x g7 x 81 54 [3] i; pu - r ? function reserved. i u0_rxd ? receiver input for usart0. i/o emc_a12 ? external memory address line 12. o usb0_pwr_fault ? port power fault signal indicating overcurrent condition; this signal monitors over-current on the usb bus (external circuitry required to detect over-current condition). i/o gpio5[1] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap1 ? capture input 1 of timer 3. - r ? function reserved. p2_2 m15 x f5 x 84 56 [3] i; pu - r ? function reserved. i/o u0_uclk ? serial clock input/output for usart0 in synchronous mode. i/o emc_a11 ? external memory address line 11. o usb0_ind1 ? usb0 port indicator led control output 1. i/o gpio5[2] ? general purpose digital input/output pin. i ctin_6 ? sct input 6. capture input 1 of timer 3. i t3_cap2 ? capture input 2 of timer 3. - r ? function reserved. p2_3 j12 x d8 x 87 57 [4] i; pu - r ? function reserved. i/o i2c1_sda ? i 2 c1 data input/output (this pin does not use a specialized i 2 c pad). o u3_txd ? transmitter output for usart3. i ctin_1 ? sct input 1. capture input 1 of timer 0. capture input 1 of timer 2. i/o gpio5[3] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat0 ? match output 0 of timer 3. o usb0_pwr_en ? vbus drive signal (towards external charge pump or power management unit); indicates that vbus must be driven (active high). table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 16 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p2_4 k11 x d9 x 88 58 [4] i; pu - r ? function reserved. i/o i2c1_scl ? i 2 c1 clock input/output (this pin does not use a specialized i 2 c pad). i u3_rxd ? receiver input for usart3. i ctin_0 ? sct input 0. capture in put 0 of timer 0, 1, 2, 3. i/o gpio5[4] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat1 ? match output 1 of timer 3. o usb0_pwr_fault ? port power fault signal indicating overcurrent condition; this signal monitors over-current on the usb bus (external circuitry required to detect over-current condition). p2_5 k14 x d10 x 91 61 [4] i; pu - r ? function reserved. i ctin_2 ? sct input 2. capture input 2 of timer 0. i usb1_vbus ? monitors the presence of usb1 bus power. note: this signal must be high for usb reset to occur. i adctrig1 ? adc trigger input 1. i/o gpio5[5] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat2 ? match output 2 of timer 3. o usb0_ind0 ? usb0 port indicator led control output 0. p2_6 k16 x g9 x 95 64 [3] i; pu - r ? function reserved. i/o u0_dir ? rs-485/eia-485 output enable/direction control for usart0. i/o emc_a10 ? external memory address line 10. o usb0_ind0 ? usb0 port indicator led control output 0. i/o gpio5[6] ? general purpose digital input/output pin. i ctin_7 ? sct input 7. i t3_cap3 ? capture input 3 of timer 3. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 17 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p2_7 h14 x c10 x 96 65 [3] i; pu i/o gpio0[7] ? general purpose digita l input/output pin. isp entry pin. if this pin is pulled low at reset, the part enters isp mode using usart0. o ctout_1 ? sct output 1. match output 1 of timer 0. i/o u3_uclk ? serial clock input/output for usart3 in synchronous mode. i/o emc_a9 ? external memory address line 9. - r ? function reserved. - r ? function reserved. o t3_mat3 ? match output 3 of timer 3. - r ? function reserved. p2_8 j16 x c6 x 98 67 [3] i; pu - r ? function reserved. boot pin (see ta b l e 5 ) o ctout_0 ? sct output 0. match output 0 of timer 0. i/o u3_dir ? rs-485/eia-485 output enable/direction control for usart3. i/o emc_a8 ? external memory address line 8. i/o gpio5[7] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. p2_9 h16 x b10 x 102 70 [3] i; pu i/o gpio1[10] ? general purpose digital input/output pin. boot pin (see ta b l e 5 ). o ctout_3 ? sct output 3. match output 3 of timer 0. i/o u3_baud ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 18 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p2_11 f16 x a9 x 105 72 [3] i; pu i/o gpio1[11] ? general purpose digital input/output pin. o ctout_5 ? sct output 5. match output 1 of timer 1. i u2_rxd ? receiver input for usart2. i/o emc_a2 ? external memory address line 2. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. p2_12 e15 x b9 x 106 73 [3] i; pu i/o gpio1[12] ? general purpose digital input/output pin. o ctout_4 ? sct output 4. match output 0 of timer 1. - r ? function reserved. i/o emc_a3 ? external memory address line 3. - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o u2_uclk ? serial clock input/output for usart2 in synchronous mode. p2_13 c16 x a10 x 108 75 [3] i; pu i/o gpio1[13] ? general purpose digital input/output pin. i ctin_4 ? sct input 4. capture input 2 of timer 1. - r ? function reserved. i/o emc_a4 ? external memory address line 4. - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o u2_dir ? rs-485/eia-485 output enable/direction control for usart2. p3_0 f13 x a8 x 112 78 [3] i; pu i/o i2s0_rx_sck ? i 2 s transmit clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . o i2s0_rx_mclk ? i 2 s receive master clock. i/o i2s0_tx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . o i2s0_tx_mclk ? i 2 s transmit master clock. i/o ssp0_sck ? serial clock for ssp0. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 19 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p3_1 g11 x f7 x 114 79 [3] i; pu i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i/o i2s0_rx_ws ? receive word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i can0_rd ? can receiver input. o usb1_ind1 ? usb1 port indicator led control output 1. i/o gpio5[8] ? general purpose digital input/output pin. - r ? function reserved. o lcd_vd15 ? lcd data. - r ? function reserved. p3_2 f11 x g6 x 116 80 [3] i; pu i/o i2s0_tx_sda ? i 2 s transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . i/o i2s0_rx_sda ? i 2 s receive data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . o can0_td ? can transmitter output. o usb1_ind0 ? usb1 port indicator led control output 0. i/o gpio5[9] ? general purpose digital input/output pin. - r ? function reserved. o lcd_vd14 ? lcd data. - r ? function reserved. p3_3 b14 x a7 x 118 81 [5] i; pu - r ? function reserved. - r ? function reserved. i/o ssp0_sck ? serial clock for ssp0. o spifi_sck ? serial clock for spifi. o cgu_out1 ? cgu spare clock output 1. - r ? function reserved. o i2s0_tx_mclk ? i 2 s transmit master clock. i/o i2s1_tx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 20 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p3_4 a15 x b8 x 119 82 [3] i; pu i/o gpio1[14] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. i/o spifi_sio3 ? i/o lane 3 for spifi. o u1_txd ? transmitter output for uart1. i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i/o i2s1_rx_sda ? i 2 s1 receive data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . o lcd_vd13 ? lcd data. p3_5 c12 x b7 x 121 84 [3] i; pu i/o gpio1[15] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. i/o spifi_sio2 ? i/o lane 2 for spifi. i u1_rxd ? receiver input for uart1. i/o i2s0_tx_sda ? i 2 s transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . i/o i2s1_rx_ws ? receive word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . o lcd_vd12 ? lcd data. p3_6 b13 x c7 x 122 85 [3] i; pu i/o gpio0[6] ? general purpose digital input/output pin. - r ? function reserved. i/o ssp0_ssel ? slave select for ssp0. i/o spifi_miso ? input 1 in spifi quad mode; spifi output io1. - r ? function reserved. i/o ssp0_miso ? master in slave out for ssp0. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 21 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p3_7 c11 x d7 x 123 86 [3] i; pu - r ? function reserved. - r ? function reserved. i/o ssp0_miso ? master in slave out for ssp0. i/o spifi_mosi ? input 0 in spifi quad mode; spifi output io0. i/o gpio5[10] ? general purpose digital input/output pin. i/o ssp0_mosi ? master out slave in for ssp0. - r ? function reserved. - r ? function reserved. p3_8 c10 x e7 x 124 87 [3] i; pu - r ? function reserved. - r ? function reserved. i/o ssp0_mosi ? master out slave in for ssp0. i/o spifi_cs ? spifi serial flash chip select. i/o gpio5[11] ? general purpose digital input/output pin. i/o ssp0_ssel ? slave select for ssp0. - r ? function reserved. - r ? function reserved. p4_0 d5 x - x 1 - [3] i; pu i/o gpio2[0] ? general purpose digital input/output pin. o mcoa0 ? motor control pwm channel 0, output a. i nmi ? external interrupt input to nmi. - r ? function reserved. - r ? function reserved. o lcd_vd13 ? lcd data. i/o u3_uclk ? serial clock input/output for usart3 in synchronous mode. - r ? function reserved. p4_1 a1 x - x 3 - [6] i; pu i/o gpio2[1] ? general purpose digital input/output pin. o ctout_1 ? sct output 1. match output 1 of timer 0. o lcd_vd0 ? lcd data. - r ? function reserved. - r ? function reserved. o lcd_vd19 ? lcd data. o u3_txd ? transmitter output for usart3. i enet_col ? ethernet collision detect (mii interface). i adc0_1 ? adc0, input channel 1. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 22 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p4_2 d3 x - x 8 - [3] i; pu i/o gpio2[2] ? general purpose digital input/output pin. o ctout_0 ? sct output 0. match output 0 of timer 0. o lcd_vd3 ? lcd data. - r ? function reserved. - r ? function reserved. o lcd_vd12 ? lcd data. i u3_rxd ? receiver input for usart3. - r ? function reserved. p4_3 c2 x - x 7 - [6] i; pu i/o gpio2[3] ? general purpose digital input/output pin. o ctout_3 ? sct output 0. match output 3 of timer 0. o lcd_vd2 ? lcd data. - r ? function reserved. - r ? function reserved. o lcd_vd21 ? lcd data. i/o u3_baud ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 23 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p4_6 c1 x - x 11 - [3] i; pu i/o gpio2[6] ? general purpose digital input/output pin. o ctout_4 ? sct output 4. match output 0 of timer 1. o lcd_enab/lcdm ? stn ac bias drive or tft data enable input. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. p4_7 h4 x - x 14 - [3] lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 24 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p4_10 m3 x - x 35 - [3] i; pu - r ? function reserved. i ctin_2 ? sct input 2. capture input 2 of timer 0. o lcd_vd10 ? lcd data. - r ? function reserved. i/o gpio5[14] ? general purpose digital input/output pin. o lcd_vd14 ? lcd data. - r ? function reserved. - r ? function reserved. p5_0 n3 x - x 37 - [3] i; pu i/o gpio2[9] ? general purpose digital input/output pin. o mcob2 ? motor control pwm channel 2, output b. i/o emc_d12 ? external memory data line 12. - r ? function reserved. i u1_dsr ? data set ready input for uart1. i t1_cap0 ? capture input 0 of timer 1. - r ? function reserved. - r ? function reserved. p5_1 p3 x - x 39 - [3] i; pu i/o gpio2[10] ? general purpose digital input/output pin. i mci2 ? motor control pwm channel 2, input. i/o emc_d13 ? external memory data line 13. - r ? function reserved. o u1_dtr ? data terminal ready output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. i t1_cap1 ? capture input 1 of timer 1. - r ? function reserved. - r ? function reserved. p5_2 r4 x - x 46 - [3] i; pu i/o gpio2[11] ? general purpose digital input/output pin. i mci1 ? motor control pwm channel 1, input. i/o emc_d14 ? external memory data line 14. - r ? function reserved. o u1_rts ? request to send output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. i t1_cap2 ? capture input 2 of timer 1. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 25 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p5_3 t8 x - x 54 - [3] i; pu i/o gpio2[12] ? general purpose digital input/output pin. i mci0 ? motor control pwm channel 0, input. i/o emc_d15 ? external memory data line 15. - r ? function reserved. i u1_ri ? ring indicator input for uart1. i t1_cap3 ? capture input 3 of timer 1. - r ? function reserved. - r ? function reserved. p5_4 p9 x - x 57 - [3] i; pu i/o gpio2[13] ? general purpose digital input/output pin. o mcob0 ? motor control pwm channel 0, output b. i/o emc_d8 ? external memory data line 8. - r ? function reserved. i u1_cts ? clear to send input for uart1. o t1_mat0 ? match output 0 of timer 1. - r ? function reserved. - r ? function reserved. p5_5 p10 x - x 58 - [3] i; pu i/o gpio2[14] ? general purpose digital input/output pin. o mcoa1 ? motor control pwm channel 1, output a. i/o emc_d9 ? external memory data line 9. - r ? function reserved. i u1_dcd ? data carrier detect input for uart1. o t1_mat1 ? match output 1 of timer 1. - r ? function reserved. - r ? function reserved. p5_6 t13 x - x 63 - [3] i; pu i/o gpio2[15] ? general purpose digital input/output pin. o mcob1 ? motor control pwm channel 1, output b. i/o emc_d10 ? external memory data line 10. - r ? function reserved. o u1_txd ? transmitter output for uart1. o t1_mat2 ? match output 2 of timer 1. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 26 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p5_7 r12 x - x 65 - [3] i; pu i/o gpio2[7] ? general purpose digital input/output pin. o mcoa2 ? motor control pwm channel 2, output a. i/o emc_d11 ? external memory data line 11. - r ? function reserved. i u1_rxd ? receiver input for uart1. o t1_mat3 ? match output 3 of timer 1. - r ? function reserved. - r ? function reserved. p6_0 m12 x h7 x 73 - [3] i; pu - r ? function reserved. o i2s0_rx_mclk ? i 2 s receive master clock. - r ? function reserved. - r ? function reserved. i/o i2s0_rx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . - r ? function reserved. - r ? function reserved. - r ? function reserved. p6_1 r15 x g5 x 74 - [3] i; pu i/o gpio3[0] ? general purpose digital input/output pin. o emc_dycs1 ? sdram chip select 1. i/o u0_uclk ? serial clock input/output for usart0 in synchronous mode. i/o i2s0_rx_ws ? receive word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . - r ? function reserved. i t2_cap0 ? capture input 2 of timer 2. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 27 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p6_2 l13 x j9 x 78 - [3] i; pu i/o gpio3[1] ? general purpose digital input/output pin. o emc_ckeout1 ? sdram clock enable 1. i/o u0_dir ? rs-485/eia-485 output enable/direction control for usart0. i/o i2s0_rx_sda ? i 2 s receive data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . - r ? function reserved. i t2_cap1 ? capture input 1 of timer 2. - r ? function reserved. - r ? function reserved. p6_3 p15 x - x 79 - [3] i; pu i/o gpio3[2] ? general purpose digital input/output pin. o usb0_pwr_en ? vbus drive signal (towards external charge pump or power management unit); indicates that the vbus signal must be driven (active high). - r ? function reserved. o emc_cs1 ? low active chip select 1 signal. - r ? function reserved. i t2_cap2 ? capture input 2 of timer 2. - r ? function reserved. - r ? function reserved. p6_4 r16 x f6 x 80 53 [3] i; pu i/o gpio3[3] ? general purpose digital input/output pin. i ctin_6 ? sct input 6. capture input 1 of timer 3. o u0_txd ? transmitter output for usart0. o emc_cas ? low active sdram column address strobe. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 28 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p6_5 p16 x f9 x 82 55 [3] i; pu i/o gpio3[4] ? general purpose digital input/output pin. o ctout_6 ? sct output 6. match output 2 of timer 1. i u0_rxd ? receiver input for usart0. o emc_ras ? low active sdram row address strobe. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. p6_6 l14 x - x 83 - [3] i; pu i/o gpio0[5] ? general purpose digital input/output pin. o emc_bls1 ? low active byte lane select signal 1. - r ? function reserved. o usb0_pwr_fault ? port power fault signal indicating overcurrent condition; this signal monitors over-current on the usb bus (external circuitry required to detect over-current condition). - r ? function reserved. i t2_cap3 ? capture input 3 of timer 2. - r ? function reserved. - r ? function reserved. p6_7 j13 x - x 85 - [3] i; pu - r ? function reserved. i/o emc_a15 ? external memory address line 15. - r ? function reserved. o usb0_ind1 ? usb0 port indicator led control output 1. i/o gpio5[15] ? general purpose digital input/output pin. o t2_mat0 ? match output 0 of timer 2. - r ? function reserved. - r ? function reserved. p6_8 h13 x - x 86 - [3] i; pu - r ? function reserved. i/o emc_a14 ? external memory address line 14. - r ? function reserved. o usb0_ind0 ? usb0 port indicator led control output 0. i/o gpio5[16] ? general purpose digital input/output pin. o t2_mat1 ? match output 1 of timer 2. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 29 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p6_9 j15 x f8 x 97 66 [3] i; pu i/o gpio3[5] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. o emc_dycs0 ? sdram chip select 0. - r ? function reserved. o t2_mat2 ? match output 2 of timer 2. - r ? function reserved. - r ? function reserved. p6_10 h15 x - x 100 - [3] i; pu i/o gpio3[6] ? general purpose digital input/output pin. o mcabort ? motor control pwm, low-active fast abort. - r ? function reserved. o emc_dqmout1 ? data mask 1 used with sdram and static devices. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. p6_11 h12 x c9 x 101 69 [3] i; pu i/o gpio3[7] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. o emc_ckeout0 ? sdram clock enable 0. - r ? function reserved. o t2_mat3 ? match output 2 of timer 3. - r ? function reserved. - r ? function reserved. p6_12 g15 x - x 103 - [3] i; pu i/o gpio2[8] ? general purpose digital input/output pin. o ctout_7 ? sct output 7. match output 3 of timer 1. - r ? function reserved. o emc_dqmout0 ? data mask 0 used with sdram and static devices. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 30 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p7_0 b16 x - x 110 - [3] i; pu i/o gpio3[8] ? general purpose digital input/output pin. o ctout_14 ? sct output 14. match output 2 of timer 3. - r ? function reserved. o lcd_le ? line end signal. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. p7_1 c14 x - x 113 - [3] i; pu i/o gpio3[9] ? general purpose digital input/output pin. o ctout_15 ? sct output 15. match output 3 of timer 3. i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . o lcd_vd19 ? lcd data. o lcd_vd7 ? lcd data. - r ? function reserved. o u2_txd ? transmitter output for usart2. - r ? function reserved. p7_2 a16 x - x 115 - [3] i; pu i/o gpio3[10] ? general purpose digital input/output pin. i ctin_4 ? sct input 4. capture input 2 of timer 1. i/o i2s0_tx_sda ? i 2 s transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . o lcd_vd18 ? lcd data. o lcd_vd6 ? lcd data. - r ? function reserved. i u2_rxd ? receiver input for usart2. - r ? function reserved. p7_3 c13 x - x 117 - [3] i; pu i/o gpio3[11] ? general purpose digital input/output pin. i ctin_3 ? sct input 3. capture input 1 of timer 1. - r ? function reserved. o lcd_vd17 ? lcd data. o lcd_vd5 ? lcd data. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 31 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p7_4 c8 x - x 132 - [6] i; pu i/o gpio3[12] ? general purpose digital input/output pin. o ctout_13 ? sct output 13. match output 1 of timer 3. - r ? function reserved. o lcd_vd16 ? lcd data. o lcd_vd4 ? lcd data. o tracedata[0] ? trace data, bit 0. - r ? function reserved. - r ? function reserved. i adc0_4 ? adc0, input channel 4. p7_5 a7 x - x 133 - [6] i; pu i/o gpio3[13] ? general purpose digital input/output pin. o ctout_12 ? sct output 12. match output 0 of timer 3. - r ? function reserved. o lcd_vd8 ? lcd data. o lcd_vd23 ? lcd data. o tracedata[1] ? trace data, bit 1. - r ? function reserved. - r ? function reserved. i adc0_3 ? adc0, input channel 3. p7_6 c7 x - x 134 - [3] i; pu i/o gpio3[14] ? general purpose digital input/output pin. o ctout_11 ? sct output 1. match output 3 of timer 2. - r ? function reserved. o lcd_lp ? line synchronization pulse (stn). horizontal synchronization pulse (tft). - r ? function reserved. o tracedata[2] ? trace data, bit 2. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 32 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p7_7 b6 x - x 140 - [6] i; pu i/o gpio3[15] ? general purpose digital input/output pin. o ctout_8 ? sct output 8. match output 0 of timer 2. - r ? function reserved. o lcd_pwr ? lcd panel power enable. - r ? function reserved. o tracedata[3] ? trace data, bit 3. o enet_mdc ? ethernet miim clock. - r ? function reserved. i adc1_6 ? adc1, input channel 6. p8_0 e5 x - x - - [4] i; pu i/o gpio4[0] ? general purpose digital input/output pin. o usb0_pwr_fault ? port power fault signal indicating overcurrent condition; this signal monitors over-current on the usb bus (external circuitry required to detect over-current condition). - r ? function reserved. i mci2 ? motor control pwm channel 2, input. - r ? function reserved. - r ? function reserved. - r ? function reserved. o t0_mat0 ? match output 0 of timer 0. p8_1 h5 x - x - - [4] i; pu i/o gpio4[1] ? general purpose digital input/output pin. o usb0_ind1 ? usb0 port indicator led control output 1. - r ? function reserved. i mci1 ? motor control pwm channel 1, input. - r ? function reserved. - r ? function reserved. - r ? function reserved. o t0_mat1 ? match output 1 of timer 0. p8_2 k4 x - x - - [4] i; pu i/o gpio4[2] ? general purpose digital input/output pin. o usb0_ind0 ? usb0 port indicator led control output 0. - r ? function reserved. i mci0 ? motor control pwm channel 0, input. - r ? function reserved. - r ? function reserved. - r ? function reserved. o t0_mat2 ? match output 2 of timer 0. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 33 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p8_3 j3 x - x - - [3] i; pu i/o gpio4[3] ? general purpose digital input/output pin. i/o usb1_ulpi_d2 ? ulpi link bidirectional data line 2. - r ? function reserved. o lcd_vd12 ? lcd data. o lcd_vd19 ? lcd data. - r ? function reserved. - r ? function reserved. o t0_mat3 ? match output 3 of timer 0. p8_4 j2 x - x - - [3] i; pu i/o gpio4[4] ? general purpose digital input/output pin. i/o usb1_ulpi_d1 ? ulpi link bidirectional data line 1. - r ? function reserved. o lcd_vd7 ? lcd data. o lcd_vd16 ? lcd data. - r ? function reserved. - r ? function reserved. i t0_cap0 ? capture input 0 of timer 0. p8_5 j1 x - x - - [3] i; pu i/o gpio4[5] ? general purpose digital input/output pin. i/o usb1_ulpi_d0 ? ulpi link bidirectional data line 0. - r ? function reserved. o lcd_vd6 ? lcd data. o lcd_vd8 ? lcd data. - r ? function reserved. - r ? function reserved. i t0_cap1 ? capture input 1 of timer 0. p8_6 k3 x - x - - [3] i; pu i/o gpio4[6] ? general purpose digital input/output pin. i usb1_ulpi_nxt ? ulpi link nxt signal. data flow control signal from the phy. - r ? function reserved. o lcd_vd5 ? lcd data. o lcd_lp ? line synchronization pulse (stn). horizontal synchronization pulse (tft). - r ? function reserved. - r ? function reserved. i t0_cap2 ? capture input 2 of timer 0. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 34 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p8_7 k1 x - x - - [3] i; pu i/o gpio4[7] ? general purpose digital input/output pin. o usb1_ulpi_stp ? ulpi link stp signal. asserted to end or interrupt transfers to the phy. - r ? function reserved. o lcd_vd4 ? lcd data. o lcd_pwr ? lcd panel power enable. - r ? function reserved. - r ? function reserved. i t0_cap3 ? capture input 3 of timer 0. p8_8 l1 x - x - - [3] i; pu - r ? function reserved. i usb1_ulpi_clk ? ulpi link clk signal. 60 mhz clock generated by the phy. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. o cgu_out0 ? cgu spare clock output 0. o i2s1_tx_mclk ? i 2 s1 transmit master clock. p9_0 t1 x - x - - [3] i; pu i/o gpio4[12] ? general purpose digital input/output pin. o mcabort ? motor control pwm, low-active fast abort. - r ? function reserved. - r ? function reserved. - r ? function reserved. i enet_crs ? ethernet carrier sense (mii interface). - r ? function reserved. i/o ssp0_ssel ? slave select for ssp0. p9_1 n6 x - x - - [3] i; pu i/o gpio4[13] ? general purpose digital input/output pin. o mcoa2 ? motor control pwm channel 2, output a. - r ? function reserved. - r ? function reserved. i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i enet_rx_er ? ethernet receive error (mii interface). - r ? function reserved. i/o ssp0_miso ? master in slave out for ssp0. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 35 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p9_2 n8 x - x - - [3] i; pu i/o gpio4[14] ? general purpose digital input/output pin. o mcob2 ? motor control pwm channel 2, output b. - r ? function reserved. - r ? function reserved. i/o i2s0_tx_sda ? i 2 s transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . i enet_rxd3 ? ethernet receive data 3 (mii interface). - r ? function reserved. i/o ssp0_mosi ? master out slave in for ssp0. p9_3 m6 x - x - - [3] i; pu i/o gpio4[15] ? general purpose digital input/output pin. o mcoa0 ? motor control pwm channel 0, output a. o usb1_ind1 ? usb1 port indicator led control output 1. - r ? function reserved. - r ? function reserved. i enet_rxd2 ? ethernet receive data 2 (mii interface). - r ? function reserved. o u3_txd ? transmitter output for usart3. p9_4 n10 x - x - - [3] i; pu - r ? function reserved. o mcob0 ? motor control pwm channel 0, output b. o usb1_ind0 ? usb1 port indicator led control output 0. - r ? function reserved. i/o gpio5[17] ? general purpose digital input/output pin. o enet_txd2 ? ethernet transmit data 2 (mii interface). - r ? function reserved. i u3_rxd ? receiver input for usart3. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 36 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller p9_5 m9 x - x 69 - [3] i; pu - r ? function reserved. o mcoa1 ? motor control pwm channel 1, output a. o usb1_vbus_en ? usb1 vbus power enable. - r ? function reserved. i/o gpio5[18] ? general purpose digital input/output pin. o enet_txd3 ? ethernet transmit data 3 (mii interface). - r ? function reserved. o u0_txd ? transmitter output for usart0. p9_6 l11 x - x 72 - [3] i; pu i/o gpio4[11] ? general purpose digital input/output pin. o mcob1 ? motor control pwm channel 1, output b. o usb1_pwr_fault ? usb1 port power fault signal indicating over-current condition; this signal monitors over-current on the usb1 bus (external circuitry required to detect over-current condition). - r ? function reserved. - r ? function reserved. i enet_col ? ethernet collision detect (mii interface). - r ? function reserved. i u0_rxd ? receiver input for usart0. pa_0 l12 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. o i2s1_rx_mclk ? i 2 s1 receive master clock. o cgu_out1 ? cgu spare clock output 1. - r ? function reserved. pa_1 j14 x - x - - [4] i; pu i/o gpio4[8] ? general purpose digital input/output pin. i qei_idx ? quadrature encoder interface index input. - r ? function reserved. o u2_txd ? transmitter output for usart2. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 37 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pa_2 k15 x - x - - [4] i; pu i/o gpio4[9] ? general purpose digital input/output pin. i qei_phb ? quadrature encode r interface phb input. - r ? function reserved. i u2_rxd ? receiver input for usart2. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. pa_3 h11 x - x - - [4] i; pu i/o gpio4[10] ? general purpose digital input/output pin. i qei_pha ? quadrature encode r interface pha input. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. pa_4 g13 x - x - - [3] i; pu - r ? function reserved. o ctout_9 ? sct output 9. match output 1 of timer 2. - r ? function reserved. i/o emc_a23 ? external memory address line 23. i/o gpio5[19] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pb_0 b15 x - x - - [3] i; pu - r ? function reserved. o ctout_10 ? sct output 10. match output 2 of timer 2. o lcd_vd23 ? lcd data. - r ? function reserved. i/o gpio5[20] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 38 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pb_1 a14 x - x - - [3] i; pu - r ? function reserved. i usb1_ulpi_dir ? ulpi link dir signal. controls the ulp data line direction. o lcd_vd22 ? lcd data. - r ? function reserved. i/o gpio5[21] ? general purpose digital input/output pin. o ctout_6 ? sct output 6. match output 2 of timer 1. - r ? function reserved. - r ? function reserved. pb_2 b12 x - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d7 ? ulpi link bidirectional data line 7. o lcd_vd21 ? lcd data. - r ? function reserved. i/o gpio5[22] ? general purpose digital input/output pin. o ctout_7 ? sct output 7. match output 3 of timer 1. - r ? function reserved. - r ? function reserved. pb_3 a13 x - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d6 ? ulpi link bidirectional data line 6. o lcd_vd20 ? lcd data. - r ? function reserved. i/o gpio5[23] ? general purpose digital input/output pin. o ctout_8 ? sct output 8. match output 0 of timer 2. - r ? function reserved. - r ? function reserved. pb_4 b11 x - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d5 ? ulpi link bidirectional data line 5. o lcd_vd15 ? lcd data. - r ? function reserved. i/o gpio5[24] ? general purpose digital input/output pin. i ctin_5 ? sct input 5. capture input 2 of timer 2. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 39 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pb_5 a12 x - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d4 ? ulpi link bidirectional data line 4. o lcd_vd14 ? lcd data. - r ? function reserved. i/o gpio5[25] ? general purpose digital input/output pin. i ctin_7 ? sct input 7. o lcd_pwr ? lcd panel power enable. - r ? function reserved. pb_6 a6 x - x - - [6] i; pu - r ? function reserved. i/o usb1_ulpi_d3 ? ulpi link bidirectional data line 3. o lcd_vd13 ? lcd data. - r ? function reserved. i/o gpio5[26] ? general purpose digital input/output pin. i ctin_6 ? sct input 6. capture input 1 of timer 3. o lcd_vd19 ? lcd data. - r ? function reserved. i adc0_6 ? adc0, input channel 6. pc_0 d4 x - x - - [6] i; pu - r ? function reserved. i usb1_ulpi_clk ? ulpi link clk signal. 60 mhz clock generated by the phy. - r ? function reserved. i/o enet_rx_clk ? ethernet receive clock (mii interface). o lcd_dclk ? lcd panel clock. - r ? function reserved. - r ? function reserved. i/o sd_clk ? sd/mmc card clock. i adc1_1 ? adc1, input channel 1. pc_1 e4 - - x - - [3] i; pu i/o usb1_ulpi_d7 ? ulpi link bidirectional data line 7. - r ? function reserved. i u1_ri ? ring indicator input for uart1. o enet_mdc ? ethernet miim clock. i/o gpio6[0] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap0 ? capture input 0 of timer 3. o sd_volt0 ? sd/mmc bus voltage select output 0. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 40 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pc_2 f6 - - x - - [3] i; pu i/o usb1_ulpi_d6 ? ulpi link bidirectional data line 6. - r ? function reserved. i u1_cts ? clear to send input for uart1. o enet_txd2 ? ethernet transmit data 2 (mii interface). i/o gpio6[1] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. o sd_rst ? sd/mmc reset signal for mmc4.4 card. pc_3 f5 - - x - - [6] i; pu i/o usb1_ulpi_d5 ? ulpi link bidirectional data line 5. - r ? function reserved. o u1_rts ? request to send output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. o enet_txd3 ? ethernet transmit data 3 (mii interface). i/o gpio6[2] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. o sd_volt1 ? sd/mmc bus voltage select output 1. i adc1_0 ? adc1, input channel 0. pc_4 f4 - - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d4 ? ulpi link bidirectional data line 4. - r ? function reserved. enet_tx_en ? ethernet transmit enable (rmii/mii interface). i/o gpio6[3] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap1 ? capture input 1 of timer 3. i/o sd_dat0 ? sd/mmc data bus line 0. pc_5 g4 - - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d3 ? ulpi link bidirectional data line 3. - r ? function reserved. o enet_tx_er ? ethernet transmit error (mii interface). i/o gpio6[4] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap2 ? capture input 2 of timer 3. i/o sd_dat1 ? sd/mmc data bus line 1. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 41 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pc_6 h6 - - x - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d2 ? ulpi link bidirectional data line 2. - r ? function reserved. i enet_rxd2 ? ethernet receive data 2 (mii interface). i/o gpio6[5] ? general purpose digital input/output pin. - r ? function reserved. i t3_cap3 ? capture input 3 of timer 3. i/o sd_dat2 ? sd/mmc data bus line 2. pc_7 g5 - - - - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d1 ? ulpi link bidirectional data line 1. - r ? function reserved. i enet_rxd3 ? ethernet receive data 3 (mii interface). i/o gpio6[6] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat0 ? match output 0 of timer 3. i/o sd_dat3 ? sd/mmc data bus line 3. pc_8 n4 - - - - - [3] i; pu - r ? function reserved. i/o usb1_ulpi_d0 ? ulpi link bidirectional data line 0. - r ? function reserved. i enet_rx_dv ? ethernet receive data valid (rmii/mii interface). i/o gpio6[7] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat1 ? match output 1 of timer 3. i sd_cd ? sd/mmc card detect input. pc_9 k2 - - - - - [3] i; pu - r ? function reserved. i usb1_ulpi_nxt ? ulpi link nxt signal. data flow control signal from the phy. - r ? function reserved. i enet_rx_er ? ethernet receive error (mii interface). i/o gpio6[8] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat2 ? match output 2 of timer 3. o sd_pow ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 42 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pc_10 m5 - - - - - [3] i; pu - r ? function reserved. o usb1_ulpi_stp ? ulpi link stp signal. asserted to end or interrupt transfers to the phy. i u1_dsr ? data set ready input for uart1. - r ? function reserved. i/o gpio6[9] ? general purpose digital input/output pin. - r ? function reserved. o t3_mat3 ? match output 3 of timer 3. i/o sd_cmd ? sd/mmc command signal. pc_11 l5 - - - - - [3] i; pu - r ? function reserved. i usb1_ulpi_dir ? ulpi link dir signal. controls the ulp data line direction. i u1_dcd ? data carrier detect input for uart1. - r ? function reserved. i/o gpio6[10] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. i/o sd_dat4 ? sd/mmc data bus line 4. pc_12 l6 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. o u1_dtr ? data terminal ready output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. - r ? function reserved. i/o gpio6[11] ? general purpose digital input/output pin. - r ? function reserved. i/o i2s0_tx_sda ? i 2 s transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . i/o sd_dat5 ? sd/mmc data bus line 5. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 43 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pc_13 m1 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. o u1_txd ? transmitter output for uart1. - r ? function reserved. i/o gpio6[12] ? general purpose digital input/output pin. - r ? function reserved. i/o i2s0_tx_ws ? transmit word select. it is driven by the master and received by the slave. corresponds to the signal ws in the i 2 s-bus specification . i/o sd_dat6 ? sd/mmc data bus line 6. pc_14 n1 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. i u1_rxd ? receiver input for uart1. - r ? function reserved. i/o gpio6[13] ? general purpose digital input/output pin. - r ? function reserved. o enet_tx_er ? ethernet transmit error (mii interface). i/o sd_dat7 ? sd/mmc data bus line 7. pd_0 n2 - - - - - [3] i; pu - r ? function reserved. o ctout_15 ? sct output 15. match output 3 of timer 3. o emc_dqmout2 ? data mask 2 used with sdram and static devices. - r ? function reserved. i/o gpio6[14] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_1 p1 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. o emc_ckeout2 ? sdram clock enable 2. - r ? function reserved. i/o gpio6[15] ? general purpose digital input/output pin. o sd_pow ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 44 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pd_2 r1 - - - - - [3] i; pu - r ? function reserved. o ctout_7 ? sct output 7. match output 3 of timer 1. i/o emc_d16 ? external memory data line 16. - r ? function reserved. i/o gpio6[16] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_3 p4 - - - - - [3] i; pu - r ? function reserved. o ctout_6 ? sct output 7. match output 2 of timer 1. i/o emc_d17 ? external memory data line 17. - r ? function reserved. i/o gpio6[17] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_4 t2 - - - - - [3] i; pu - r ? function reserved. o ctout_8 ? sct output 8. match output 0 of timer 2. i/o emc_d18 ? external memory data line 18. - r ? function reserved. i/o gpio6[18] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_5 p6 - - - - - [3] i; pu - r ? function reserved. o ctout_9 ? sct output 9. match output 1 of timer 2. i/o emc_d19 ? external memory data line 19. - r ? function reserved. i/o gpio6[19] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 45 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pd_6 r6 - - x - - [3] i; pu - r ? function reserved. o ctout_10 ? sct output 10. match output 2 of timer 2. i/o emc_d20 ? external memory data line 20. - r ? function reserved. i/o gpio6[20] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_7 t6 - - x - - [3] i; pu - r ? function reserved. i ctin_5 ? sct input 5. capture input 2 of timer 2. i/o emc_d21 ? external memory data line 21. - r ? function reserved. i/o gpio6[21] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_8 p8 - - x - - [3] i; pu - r ? function reserved. i ctin_6 ? sct input 6. capture input 1 of timer 3. i/o emc_d22 ? external memory data line 22. - r ? function reserved. i/o gpio6[22] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_9 t11 - - x - - [3] i; pu - r ? function reserved. o ctout_13 ? sct output 13. match output 1 of timer 3. i/o emc_d23 ? external memory data line 23. - r ? function reserved. i/o gpio6[23] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 46 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pd_10 p11 - - x - - [3] i; pu - r ? function reserved. i ctin_1 ? sct input 1. capture input 1 of timer 0. capture input 1 of timer 2. o emc_bls3 ? low active byte lane select signal 3. - r ? function reserved. i/o gpio6[24] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pd_11 n9 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. o emc_cs3 ? low active chip select 3 signal. - r ? function reserved. i/o gpio6[25] ? general purpose digital input/output pin. i/o usb1_ulpi_d0 ? ulpi link bidirectional data line 0. o ctout_14 ? sct output 14. match output 2 of timer 3. - r ? function reserved. pd_12 n11 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. o emc_cs2 ? low active chip select 2 signal. - r ? function reserved. i/o gpio6[26] ? general purpose digital input/output pin. - r ? function reserved. o ctout_10 ? sct output 10. match output 2 of timer 2. - r ? function reserved. pd_13 t14 x - - - - [3] i; pu - r ? function reserved. i ctin_0 ? sct input 0. capture in put 0 of timer 0, 1, 2, 3. o emc_bls2 ? low active byte lane select signal 2. - r ? function reserved. i/o gpio6[27] ? general purpose digital input/output pin. - r ? function reserved. o ctout_13 ? sct output 13. match output 1 of timer 3. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 47 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pd_14 r13 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. o emc_dycs2 ? sdram chip select 2. - r ? function reserved. i/o gpio6[28] ? general purpose digital input/output pin. - r ? function reserved. o ctout_11 ? sct output 11. match output 3 of timer 2. - r ? function reserved. pd_15 t15 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. i/o emc_a17 ? external memory address line 17. - r ? function reserved. i/o gpio6[29] ? general purpose digital input/output pin. i sd_wp ? sd/mmc card write protect input. o ctout_8 ? sct output 8. match output 0 of timer 2. - r ? function reserved. pd_16 r14 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. i/o emc_a16 ? external memory address line 16. - r ? function reserved. i/o gpio6[30] ? general purpose digital input/output pin. o sd_volt2 ? sd/mmc bus voltage select output 2. o ctout_12 ? sct output 12. match output 0 of timer 3. - r ? function reserved. pe_0 p14 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o emc_a18 ? external memory address line 18. i/o gpio7[0] ? general purpose digital input/output pin. o can1_td ? can1 transmitter output. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 48 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pe_1 n14 x - x - - [3] i; pu - r ? function reserved. - r ? function reserved. - r ? function reserved. i/o emc_a19 ? external memory address line 19. i/o gpio7[1] ? general purpose digital input/output pin. i can1_rd ? can1 receiver input. - r ? function reserved. - r ? function reserved. pe_2 m14 x - x - - [3] i; pu i adctrig0 ? adc trigger input 0. i can0_rd ? can receiver input. - r ? function reserved. i/o emc_a20 ? external memory address line 20. i/o gpio7[2] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_3 k12 x - x - - [3] i; pu - r ? function reserved. o can0_td ? can transmitter output. i adctrig1 ? adc trigger input 1. i/o emc_a21 ? external memory address line 21. i/o gpio7[3] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_4 k13 x - x - - [3] i; pu - r ? function reserved. i nmi ? external interrupt input to nmi. - r ? function reserved. i/o emc_a22 ? external memory address line 22. i/o gpio7[4] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 49 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pe_5 n16 - - x - - [3] i; pu - r ? function reserved. o ctout_3 ? sct output 3. match output 3 of timer 0. o u1_rts ? request to send output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. i/o emc_d24 ? external memory data line 24. i/o gpio7[5] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_6 m16 - - x - - [3] i; pu - r ? function reserved. o ctout_2 ? sct output 2. match output 2 of timer 0. i u1_ri ? ring indicator input for uart1. i/o emc_d25 ? external memory data line 25. i/o gpio7[6] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_7 f15 - - x - - [3] i; pu - r ? function reserved. o ctout_5 ? sct output 5. match output 1 of timer 1. i u1_cts ? clear to send input for uart1. i/o emc_d26 ? external memory data line 26. i/o gpio7[7] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_8 f14 - - x - - [3] i; pu - r ? function reserved. o ctout_4 ? sct output 4. match output 0 of timer 0. i u1_dsr ? data set ready input for uart1. i/o emc_d27 ? external memory data line 27. i/o gpio7[8] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 50 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pe_9 e16 - - x - - [3] i; pu - r ? function reserved. i ctin_4 ? sct input 4. capture input 2 of timer 1. i u1_dcd ? data carrier detect input for uart1. i/o emc_d28 ? external memory data line 28. i/o gpio7[9] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_10 e14 - - x - - [3] i; pu - r ? function reserved. i ctin_3 ? sct input 3. capture input 1 of timer 1. o u1_dtr ? data terminal ready output for uart1. can also be configured to be an rs-485/eia-485 output enable signal for uart1. i/o emc_d29 ? external memory data line 29. i/o gpio7[10] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_11 d16 - - - - - [3] i; pu - r ? function reserved. o ctout_12 ? sct output 12. match output 0 of timer 3. o u1_txd ? transmitter output for uart1. i/o emc_d30 ? external memory data line 30. i/o gpio7[11] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_12 d15 - - - - - [3] i; pu - r ? function reserved. o ctout_11 ? sct output 11. match output 3 of timer 2. i u1_rxd ? receiver input for uart1. i/o emc_d31 ? external memory data line 31. i/o gpio7[12] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 51 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pe_13 g14 - - - - - [3] i; pu - r ? function reserved. o ctout_14 ? sct output 14. match output 2 of timer 3. i/o i2c1_sda ? i 2 c1 data input/output (this pin does not use a specialized i 2 c pad). o emc_dqmout3 ? data mask 3 used with sdram and static devices. i/o gpio7[13] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_14 c15 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. - r ? function reserved. o emc_dycs3 ? sdram chip select 3. i/o gpio7[14] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pe_15 e13 - - - - - [3] i; pu - r ? function reserved. o ctout_0 ? sct output 0. match output 0 of timer 0. i/o i2c1_scl ? i 2 c1 clock input/output (this pin does not use a specialized i 2 c pad). o emc_ckeout3 ? sdram clock enable 3. i/o gpio7[15] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pf_0 d12 - - x - - [3] i;ia i/o ssp0_sck ? serial clock for ssp0. i gp_clkin ? general purpose clock input to the cgu. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. - r ? function reserved. o i2s1_tx_mclk ? i 2 s1 transmit master clock. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 52 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pf_1 e11 - - - - - [3] i; pu - r ? function reserved. - r ? function reserved. i/o ssp0_ssel ? slave select for ssp0. - r ? function reserved. i/o gpio7[16] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pf_2 d11 - - x - - [3] i; pu - r ? function reserved. o u3_txd ? transmitter output for usart3. i/o ssp0_miso ? master in slave out for ssp0. - r ? function reserved. i/o gpio7[17] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pf_3 e10 - - x - - [3] i; pu - r ? function reserved. i u3_rxd ? receiver input for usart3. i/o ssp0_mosi ? master out slave in for ssp0. - r ? function reserved. i/o gpio7[18] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. pf_4 d10 x h4 x 120 83 [3] i;ia i/o ssp1_sck ? serial clock for ssp1. i gp_clkin ? general purpose clock input to the cgu. o traceclk ? trace clock. - r ? function reserved. - r ? function reserved. - r ? function reserved. o i2s0_tx_mclk ? i 2 s transmit master clock. i/o i2s0_rx_sck ? i 2 s transmit clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 53 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pf_5 e9 - - x - - [6] i; pu - r ? function reserved. i/o u3_uclk ? serial clock input/output for usart3 in synchronous mode. i/o ssp1_ssel ? slave select for ssp1. o tracedata[0] ? trace data, bit 0. i/o gpio7[19] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. i adc1_4 ? adc1, input channel 4. pf_6 e7 - - x - - [6] i; pu - r ? function reserved. i/o u3_dir ? rs-485/eia-485 output enable/direction control for usart3. i/o ssp1_miso ? master in slave out for ssp1. o tracedata[1] ? trace data, bit 1. i/o gpio7[20] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. i/o i2s1_tx_sda ? i 2 s1 transmit data. it is driven by the transmitter and read by the receiver. corresponds to the signal sd in the i 2 s-bus specification . i adc1_3 ? adc1, input channel 3. pf_7 b7 - - x - - [6] i; pu - r ? function reserved. i/o u3_baud ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 54 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller pf_8 e6 - - x - - [6] i; pu - r ? function reserved. i/o u0_uclk ? serial clock input/output for usart0 in synchronous mode. i ctin_2 ? sct input 2. capture input 2 of timer 0. o tracedata[3] ? trace data, bit 3. i/o gpio7[22] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. i adc0_2 ? adc0, input channel 2. pf_9 d6 - - x - - [6] i; pu - r ? function reserved. i/o u0_dir ? rs-485/eia-485 output enable/direction control for usart0. o ctout_1 ? sct output 1. match output 1 of timer 0. - r ? function reserved. i/o gpio7[23] ? general purpose digital input/output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. i adc1_2 ? adc1, input channel 2. pf_10 a3 - - x - 98 [6] i; pu - r ? function reserved. o u0_txd ? transmitter output for usart0. - r ? function reserved. - r ? function reserved. i/o gpio7[24] ? general purpose digital input/output pin. - r ? function reserved. i sd_wp ? sd/mmc card write protect input. - r ? function reserved. i adc0_5 ? adc0, input channel 5. pf_11 a2 - - x - 100 [6] i; pu - r ? function reserved. i u0_rxd ? receiver input for usart0. - r ? function reserved. - r ? function reserved. i/o gpio7[25] ? general purpose digital input/output pin. - r ? function reserved. o sd_volt2 ? sd/mmc bus voltage select output 2. - r ? function reserved. i adc1_5 ? adc1, input channel 5. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 55 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller clock pins clk0 n5 x k3 x 45 31 [5] o; pu o emc_clk0 ? sdram clock 0. o clkout ? clock output pin. - r ? function reserved. - r ? function reserved. i/o sd_clk ? sd/mmc card clock. o emc_clk01 ? sdram clock 0 and clock 1 combined. i/o ssp1_sck ? serial clock for ssp1. i enet_tx_clk (enet_ref_clk) ? ethernet transmit clock (mii interface) or ethernet reference clock (rmii interface). clk1 t10 x - - - - [5] o; pu o emc_clk1 ? sdram clock 1. o clkout ? clock output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. o cgu_out0 ? cgu spare clock output 0. - r ? function reserved. o i2s1_tx_mclk ? i 2 s1 transmit master clock. clk2 d14 x k6 x 99 68 [5] o; pu o emc_clk3 ? sdram clock 3. o clkout ? clock output pin. - r ? function reserved. - r ? function reserved. i/o sd_clk ? sd/mmc card clock. o emc_clk23 ? sdram clock 2 and clock 3 combined. o i2s0_tx_mclk ? i 2 s transmit master clock. i/o i2s1_rx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 56 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller clk3 p12 x - - - - [5] o; pu o emc_clk2 ? sdram clock 2. o clkout ? clock output pin. - r ? function reserved. - r ? function reserved. - r ? function reserved. o cgu_out1 ? cgu spare clock output 1. - r ? function reserved. i/o i2s1_rx_sck ? receive clock. it is driven by the master and received by the slave. corresponds to the signal sck in the i 2 s-bus specification . debug pins dbgen l4 x a6 x 28 18 [3] i; pd i jtag interface control signal. also used for boundary scan. tck/swdclk j5 x h2 x 27 17 [3] i; f i test clock for jtag interface (default) or serial wire (sw) clock. trst m4 x b4 x 29 19 [3] i; pu i test reset for jtag interface. tms/swdio k6 x c4 x 30 20 [3] i; pu i test mode select for jt ag interface (default) or sw debug data input/output. tdo/swo k5 x h3 x 31 21 [3] o; pu o test data out for jtag interface (default) or sw trace output. tdi j4 x g3 x 26 16 [3] i; pu i test data in for jtag interface. usb0 pins usb0_dp f2 x e1 x 18 9 [7] - i/o usb0 bidirectional d+ line. usb0_dm g2 x e2 x 20 11 [7] - i/o usb0 bidirectional d ? line. usb0_vbus f1 x e3 x 21 12 [7] - i/o vbus pin (power on usb cable). usb0_id h2 x f1 x 22 13 [8] - i indicates to the transceiver whether connected to an a-device (low) or a b-device (high). usb0_rref h1 x f3 x 24 15 [8] - 12.0 k ? (accuracy 1 %) on-board resistor to ground for current reference. usb1 pins usb1_dp f12 x e9 x 89 59 [9] - i/o usb1 bidirectional d+ line. usb1_dm g12 x e10 x 90 60 [9] - i/o usb1 bidirectional d ? line. i 2 c-bus pins i2c0_scl l15 x d6 x 92 62 [10] i; f i/o i 2 c clock input/output. open-drain output (for i 2 c-bus compliance). i2c0_sda l16 x e6 x 93 63 [10] i; f i/o i 2 c data input/output. open-drain output (for i 2 c-bus compliance). table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 57 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller reset and wake-up pins reset d9 x b6 x 128 91 [11] i; ia i external reset input: a low on this pin resets the device, causing i/o ports and peripherals to take on their default states, and pr ocessor execution to begin at address 0. wakeup0 a9 x a4 x 130 93 [11] i; ia i external wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. wakeup1 a10 x - - - - [11] i; ia i external wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. wakeup2 c9 x - - - - [11] i; ia i external wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. wakeup3 d8 x - - - - [11] i; ia i external wake-up input; can raise an interrupt and can cause wake-up from any of the low power modes. adc pins adc0_0/ adc1_0/dac e3 x a2 x 6 4 [8] i; ia i adc input channel 0. shared between 10-bit adc0/1 and dac. adc0_1/ adc1_1 c3 x a1 x 2 1 [8] i; ia i adc input channel 1. shared between 10-bit adc0/1. adc0_2/ adc1_2 a4 x b3 x 143 99 [8] i; ia i adc input channel 2. shared between 10-bit adc0/1. adc0_3/ adc1_3 b5 x a3 x 139 96 [8] i; ia i adc input channel 3. shared between 10-bit adc0/1. adc0_4/ adc1_4 c6 x - x 138 - [8] i; ia i adc input channel 4. shared between 10-bit adc0/1. adc0_5/ adc1_5 b3 x - x 144 - [8] i; ia i adc input channel 5. shared between 10-bit adc0/1. adc0_6/ adc1_6 a5 x - x 142 - [8] i; ia i adc input channel 6. shared between 10-bit adc0/1. adc0_7/ adc1_7 c5 x - x 136 - [8] i; ia i adc input channel 7. shared between 10-bit adc0/1. rtc rtc_alarm a11 x c3 x 129 92 [11] - o rtc controlled output. rtcx1 a8 x a5 x 125 88 [8] - i input to the rtc 32 khz ul tra-low power oscillator circuit. rtcx2 b8 x b5 x 126 89 [8] - o output from the rtc 32 khz ultra-low power oscillator circuit. crystal oscillator pins xtal1 d1 x b1 x 12 5 [8] - i input to the oscillator circuit and internal clock generator circuits. xtal2 e1 x c1 x 13 6 [8] - o output from the oscillator amplifier. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 58 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller power and ground pins usb0_vdda 3v3_driver f3 x d1 x 16 7 - - separate analog 3.3 v power supply for driver. usb0 _vdda3v3 g3 x d2 x 17 8 - - usb 3.3 v separate power supply voltage. usb0_vssa _term h3 x d3 x 19 10 - - dedicated analog ground for clean reference for termination resistors. usb0_vssa _ref g1 x f2 x 23 14 - - dedicated clean analog ground for generation of reference currents and voltages. vdda b4 x b2 x 137 95 - - analog power supply and adc reference voltage. vbat b10 x c5 x 127 90 - - rtc power supply: 3.3 v on this pin supplies power to the rtc. vddreg f10, f9, l8, l7 xe4, e5, f4 x 94, 131, 59, 25 - - main regulator power supply. vpp e8 x - x x - [12] - - otp programming voltage. vddio d7, e12, f7, f8, g10, h10, j6, j7, k7, l9, l10, n7, n13 x f10, k5 x5, 36, 41, 71, 77, 107, 111, 141 - [12] - - i/o power supply. vdd - - - - - 3, 24, 27, 49, 52, 74, 77, 97 power supply for main regulator, i/o, and otp. vss g9, h7, j10, j11, k8 xc8, d4, d5, g8, j3, j6 x- 2, 26, 51, 76 [13] [14] - - ground. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 59 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] x = available; - = not pinned out. [2] i = input, o = output, ia = inactive; pu = pull- up enabled (weak pull-up resistor pulls up pin to v dd(io) ); f = floating. [3] 5 v tolerant pad with 15 ns glitch filter; provides digita l i/o functions with ttl levels and hysteresis; normal drive stren gth. [4] 5 v tolerant pad with 15 ns glitch filter providing digital i/o functions with ttl levels , and hysteresis; high drive streng th. [5] 5 v tolerant pad with 15 ns glitch filter providing hi gh-speed digital i/o functions wi th ttl levels and hysteresis. [6] 5 v tolerant pad providing digital i/o functions (with ttl levels and hysteresis) and analog input or output. when configure d as a adc input or dac output, the pin is not 5 v tolerant and the digital se ction of the pad must be disabled by setting the pin to an i nput function and disabling the pull-up resistor through the pin?s sfsp register. [7] 5 v tolerant transparent analog pad. [8] transparent analog pad. not 5 v tolerant. [9] pad provides usb functions. it is designed in accordance with the usb specification, revision 2.0 (full-speed and low-speed mode only). this pad is not 5 v tolerant. [10] open-drain 5 v tolerant digital i/o pad, compatible with i 2 c-bus 400 khz specification. this pad requ ires an external pull-up to provide output functionality. when power is sw itched off, this pin connected to the i 2 c-bus is floating and does not disturb the i 2 c lines. open-drain configuration applies to all functions on this pin. [11] 5 v tolerant pad with 20 ns glitch filter; provides digita l i/o functions with open-drain output with weak pull-up resistor and hysteresis. [12] on the tfbga100 package, vpp is internally connected to vddio. [13] on the lqfp144 package, vssio and vss are connected to a common ground plane. [14] on the tfbga100 and lqfp100 packages, vss is internally connected to vssio. vssio c4, d13, g6, g7, g8, h8, h9, j8, j9, k9, k10, m13, p7, p13 x- x4, 40, 76, 109 - [13] [14] - - ground. vssa b2 x c2 x 135 94 - - analog ground. not connected -b9-------n.c. table 3. pin description ?continued lcd, ethernet, usb0, and usb1 functions are not available on all parts. see table 2 . symbol lbga256 tfbga180 [1] tfbga100 lqfp208 [1] lqfp144 lqfp100 [1] reset state [2] type description lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 60 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7. functional description 7.1 architectural overview the arm cortex-m3 includes th ree ahb-lite buses: the system bus, the i-code bus, and the d-code bus. the i-code and d-code core buses allow for concurrent code and data accesses from different slave ports. the lpc1850/30/20/10 use a multi-layer ah b matrix to connect the arm cortex-m3 buses and other bus masters to peripherals in a flexible manner that optimizes performance by allowing peripherals that are on different slave ports of the matrix to be accessed simultaneously by different bus masters. 7.2 arm cortex-m3 processor the arm cortex-m3 is a general purpose, 32-bit microprocessor, which offers high performance and very low power consumptio n. the arm cortex-m3 offers many new features, including a thumb-2 instruction set, low interrupt latency, hardware multiply and divide, interruptable/continuable multiple load and store instructions, automatic state save and restore for interrupts, tightly integrated interrupt controller with wake-up interrupt controller, and multiple core buses capable of simultaneous accesses. pipeline techniques are employed so that all parts of the processing and memory systems can operate continuously. typically, while one instruction is being executed, its successor is being decoded, and a third instruction is being fetched from memory. the arm cortex-m3 processor is described in detail in the cortex-m3 technical reference manual. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 61 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.3 ahb multilayer matrix 7.4 nested vectored inte rrupt controller (nvic) the nvic is an integral part of the cortex-m 3. the tight coupling to the cpu allows for low interrupt latency and efficient processing of late arriving interrupts. 7.4.1 features ? controls system exceptions and peripheral interrupts. ? in the lpc1850/30/20/10, the nvic supports 32 vectored interrupts. ? 32 programmable interrupt priority levels , with hardware prio rity level masking. ? relocatable vector table. ? non-maskable interrupt (nmi). ? software interr upt generation. (1) not available on all parts (see ta b l e 2 ). fig 8. ahb multilayer matrix master and slave connections arm cortex-m3 test/debug interface gpdma ethernet (1) usb1 (1) usb0 (1) lcd (1) sd/ mmc external memory controller ahb register interfaces, apb, rtc domain peripherals 32 kb ahb sram 16 kb ahb sram (1) 16 kb ahb sram slaves 64 kb rom 64/96 kb local sram 40 kb local sram system bus i-code bus d-code bus masters 01 ahb multilayer matrix = master-slave connection 002aaf880 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 62 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.4.2 interrupt sources each peripheral device has one interrupt line connected to the nvic but may have several interrupt flags. individual interrupt flags may also represent more than one interrupt source. 7.5 event router the event router combines various internal signals, interrupts, and the external interrupt pins (wakeup[3:0]) to create an interrupt in the nvic if enabled and to create a wake-up signal to the arm core and the ccu for wa king up from sleep, deep-sleep, power-down, and deep power-down modes. individual events can be configured as edge or level sensitive and can be enabled or disabled in the event router. the event router can be battery powered. the following events if enabled in the event router can create a wake-up signal and/or an interrupt: ? external pins wakeu p0/1/2/3 and reset ? alarm timer, rtc, wwdt, bod interrupts ? c_can and qei interrupts ? ethernet, usb0, usb1 signals ? selected outputs of combined timers (sct and timer0/1/3) 7.6 global input mult iplexer array (gima) the gima allows to route signals to event-d riven peripheral targets like the sct, timers, event router, or the adcs. 7.6.1 features ? single selectio n of a source. ? signal inversion. ? can capture a pulse if the input event source is faster than the target clock. ? synchronization of input event and target clock. ? single-cycle pulse generation for target. 7.7 system tick timer (systick) the arm cortex-m3 includes a system tick timer (systic k) that is inte nded to generate a dedicated systick exception at a 10 ms interval. 7.8 on-chip static ram the lpc1850/30/20/10 support up to 200 kb sram with separate bus master access for higher throughput and individual power control for low power operation. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 63 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.8.1 isp (in-system programming) mode in-system programming (isp) is programmi ng or reprogramming the on-chip sram memory, using the boot loader software and the usart0 serial port. this can be done when the part resides in the end-user board. isp allows to load data into on-chip sram and execute code from on-chip sram. 7.9 boot rom the internal rom memory is used to store th e boot code of the lpc1850/30/20/10. after a reset, the arm processor will start its code execution from this memory. the boot rom memory includes the following features: ? rom memory size is 64 kb. ? supports booting from usart interfaces and external static memory such as nor flash, spi flash, quad spi flash. ? includes apis for power control and otp programming. ? includes spifi drivers. ? includes a flexible usb device stack that supports human interface device (hid), mass storage class (msc), and device firmware upgrade (dfu) drivers. aes capable parts also support: ? cmac authentication on the boot image. ? secure booting from an encrypted image. in development mode booting from a plain text image is possible. de velopment mode is terminated by programming the aes key. ? api for aes programming. several boot modes are available depending on the values of the otp bits boot_src. if the otp memory is not programmed or the boot_src bits are all zero, the boot mode is determined by the states of the bo ot pins p2_9, p2_8, p1_2, and p1_1. table 4. boot mode when otp boot_src bits are programmed boot mode boot_src bit 3 boot_src bit 2 boot_src bit 1 boot_src bit 0 description pin state 0 0 0 0 boot source is defined by the reset state of p1_1, p1_2, p2_8, and p2_9 pins. see ta b l e 5 . usart0 0 0 0 1 boot from device connected to usart0 using pins p2_0 and p2_1. spifi 0 0 1 0 boot from quad spi flash connected to the spifi interface using pins p3_3 to p3_8. emc 8-bit 0 0 1 1 boot from external static memory (such as nor flash) using cs0 and an 8-bit data bus. emc 16-bit 0 1 0 0 boot from external static memory (such as nor flash) using cs0 and a 16-bit data bus. emc 32-bit 0 1 0 1 boot from external static memory (such as nor flash) using cs0 and a 32-bit data bus. usb0011 0boot from usb0. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 64 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] the boot loader programs the appropriate pin functi on at reset to boot using either ssp0 or spifi. [1] the boot loader programs the appropriate pin function at reset to boot using either ssp0 or spifi. u s b 1011 1b o o t f r o m u s b 1 . spi (ssp) 1 0 0 0 boot from spi flash connected to the ssp0 interface on p3_3, p3_6, p3_7 and p3_8 [1] . usart3 1 0 0 1 boot from device connected to usart3 using pins p2_3 and p2_4. table 4. boot mode when otp boot_src bits are programmed boot mode boot_src bit 3 boot_src bit 2 boot_src bit 1 boot_src bit 0 description table 5. boot mode when opt boot_src bits are zero boot mode pins description p2_9 p2_8 p1_2 p1_1 usart0 low low low low boot from device connected to usart0 using pins p2_0 and p2_1. spifi low low low high boot from quad spi flash connected to the spifi interface on p3_3 to p3_8 [1] . emc 8-bit low low high low boot from external static memory (such as nor flash) using cs0 and an 8-bit data bus. emc 16-bit low low high high boot from external static memory (such as nor flash) using cs0 and a 16-bit data bus. emc 32-bit low high low low boot from external static memory (such as nor flash) using cs0 and a 32-bit data bus. usb0 low high low high boot from usb0 usb1 low high high low boot from usb1. spi (ssp) low high high high boot from spi flash conn ected to the ssp0 interface on p3_3, p3_6, p3_7 and p3_8 [1] . usart3 high low low low boot from device connected to usart3 using pins p2_3 and p2_4. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 65 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.10 memory mapping fig 9. lpc1850/30/20/10 memory mapping (overview) reserved peripheral bit band alias region reserved high-speed gpio reserved 0x0000 0000 0 gb 1 gb 4 gb 0x2001 0000 0x2200 0000 0x2400 0000 0x2800 0000 0x1000 0000 0x3000 0000 0x4000 0000 0x4001 2000 0x4004 0000 0x4005 0000 0x4010 0000 0x4400 0000 0x6000 0000 ahb peripherals apb peripherals #0 apb peripherals #1 reserved reserved reserved rtc domain peripherals 0x4006 0000 0x4008 0000 0x4009 0000 0x400a 0000 0x400b 0000 0x400c 0000 0x400d 0000 0x400e 0000 0x400f 0000 0x400f 1000 0x400f 2000 0x400f 4000 0x400f 8000 clocking/reset peripherals apb peripherals #2 apb peripherals #3 0x2000 8000 16 kb ahb sram (lpc1850/30) 16 kb ahb sram (lpc1850/30/20/10) 0x2000 c000 16 kb ahb sram (lpc1850/30) 16 kb ahb sram (lpc1850/30/20/10) reserved reserved aes 0x4010 1000 0x4010 2000 0x4200 0000 reserved local sram/ external static memory banks 0x2000 0000 0x2000 4000 128 mb dynamic external memory dycs0 256 mb dynamic external memory dycs1 256 mb dynamic external memory dycs2 256 mb dynamic external memory dycs3 0x7000 0000 0x8000 0000 0x8800 0000 0xe000 0000 256 mb shadow area lpc1850/30/20/10 0x1000 0000 0x1001 8000 0x1008 0000 0x1008 a000 0x1040 0000 0x1041 0000 0x1c00 0000 0x1d00 0000 reserved reserved 32 mb ahb sram bit banding reserved reserved reserved 0xe010 0000 0xffff ffff reserved spifi data arm private bus reserved 0x1001 0000 32 kb local sram (lpc1850/30/20) 64 kb local sram (lpc1850/30/20/10) 32 kb + 8 kb local sram (lpc1850/30/20/10) reserved reserved reserved reserved 64 kb rom 0x1e00 0000 0x1f00 0000 0x2000 0000 16 mb static external memory cs3 16 mb static external memory cs2 16 mb static external memory cs1 16 mb static external memory cs0 0x1400 0000 0x1800 0000 64 mb spifi data 002aaf228 xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 66 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller fig 10. lpc1850/30/20/10 memory mapping (peripherals) reserved peripheral bit band alias region high-speed gpio reserved reserved reserved 0x4000 0000 0x0000 0000 0x4001 2000 0x4004 0000 0x4005 0000 0x4010 0000 0x4400 0000 0x6000 0000 0xffff ffff ahb peripherals sram memories external memory banks apb0 peripherals apb1 peripherals reserved reserved reserved rtc domain peripherals 0x4006 0000 0x4008 0000 0x4009 0000 0x400a 0000 0x400b 0000 0x400c 0000 0x400d 0000 0x400e 0000 0x400f 0000 0x400f 1000 0x400f 2000 0x400f 4000 0x400f 8000 clocking/reset peripherals apb2 peripherals apb3 peripherals reserved reserved aes 0x4010 1000 0x4010 2000 0x4200 0000 reserved external memories and arm private bus apb2 peripherals 0x400c 1000 0x400c 2000 0x400c 3000 0x400c 4000 0x400c 6000 0x400c 8000 0x400c 7000 0x400c 5000 0x400c 0000 ri timer usart2 usart3 timer2 timer3 ssp1 qei apb1 peripherals 0x400a 1000 0x400a 2000 0x400a 3000 0x400a 4000 0x400a 5000 0x400b 0000 0x400a 0000 motor control pwm i2c0 i2s0 i2s1 c_can1 reserved ahb peripherals 0x4000 1000 0x4000 0000 sct 0x4000 2000 0x4000 3000 0x4000 4000 0x4000 6000 0x4000 8000 0x4001 0000 0x4001 2000 0x4000 9000 0x4000 7000 0x4000 5000 dma sd/mmc emc usb1 lcd usb0 reserved spifi ethernet reserved 0x4008 1000 0x4008 0000 wwdt 0x4008 2000 0x4008 3000 0x4008 4000 0x4008 6000 0x4008 a000 0x4008 7000 0x4008 8000 0x4008 9000 0x4008 5000 uart1 w/ modem ssp0 timer0 timer1 scu gpio interrupts gpio group0 interrupt gpio group1 interrupt usart0 rtc domain peripherals 0x4004 1000 0x4004 0000 alarm timer 0x4004 2000 0x4004 3000 0x4004 4000 0x4004 6000 0x4004 7000 0x4004 5000 power mode control creg event router otp controller reserved reserved rtc backup registers clocking reset control peripherals 0x4005 1000 0x4005 0000 cgu 0x4005 2000 0x4005 3000 0x4005 4000 0x4006 0000 ccu2 rgu ccu1 lpc1850/30/20/10 002aaf229 reserved reserved apb3 peripherals 0x400e 1000 0x400e 2000 0x400e 3000 0x400e 4000 0x400f 0000 0x400e 5000 0x400e 0000 i2c1 dac c_can0 adc0 adc1 reserved gima apb0 peripherals lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 67 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.11 security features 7.11.1 aes security engine the hardware aes security engine can decode da ta using the aes algorithm in conjunction with a 128-bit key. 7.11.1.1 features ? decoding of external flash data connecte d to the quad spi flash interface (spifi). ? secure stor age of keys. ? support for cmac hash calculation to authenticate encrypted data. ? data is processed in little endian mode. this means that the first byte read from flash is integrated into the aes code word as least significant byte . the 16th byte read from flash is the most significant byte of the first aes codeword. ? aes engine performance of 1 byte/clock cycle. ? dma transfers supported through the gpdma. 7.11.2 one-time programmable (otp) memory the otp provides 32 bit of memory for general purpose use and two 128-bit non-volatile memory blocks to store aes ke ys or other customer data. 7.12 general purpose i/o (gpio) the lpc1850/30/20/10 provides 8 gpio ports with up to 16 gpio pins each. device pins that are not connec ted to a specific peripheral function are controlled by the gpio registers. pins may be dynamically conf igured as inputs or outputs. separate registers allow setting or clearing any number of outputs simultaneously. the value of the output register may be read back as well as the current state of the port pins. all gpio pins default to inputs with pull-up resistors enabled on reset. 7.12.1 features ? accelerated gpio functions: ? gpio registers are located on the ahb so that the fastest possible i/o timing can be achieved. ? mask registers allow treating sets of port bits as a group, leaving other bits unchanged. ? all gpio registers are byte and half-word addressable. ? entire port value can be written in one instruction. ? bit-level set and clear registers allow a single instruction set or clear of any number of bits in one port. ? direction control of individual bits. ? all i/o default to inputs after reset. ? up to eight gpio pins can be selected from all gpio pins to create an edge- or level-sensitive gpio interrupt request. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 68 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? two gpio group interrupts can be triggered by any pin or pins in each port. 7.13 ahb peripherals 7.13.1 state configurable timer (sct) subsystem the sct allows a wide variety of timing, counting, output modulation, and input capture operations. the inputs and outputs of the sct are shared with t he capture and match inputs/outputs of the 32-bit general purpose counter/timers. the sct can be configured as two 16-bit counters or a unified 32-bit counter. in the two-counter case, in addition to the counter value the following operational elements are independent for each half: ? state variable ? limit, halt, stop, and start conditions ? values of match/capture registers, plus reload or capture control values in the two-counter case, the following operational elements are global to the sct, but the last three can use match cond itions from either counter: ? clock selection ? inputs ? events ? outputs ? interrupts 7.13.1.1 features ? two 16-bit counters or one 32-bit counter. ? counter(s) clocked by bu s clock or selected input. ? up counter(s) or up-down counter(s). ? state variable allows sequencin g across multiple counter cycles. ? event combines input or output condition and/or counter match in a specified state. ? events control outputs and interrupts. ? selected event(s) can limit, halt, start, or stop a counter. ? supports: ? up to 8 inputs (one i nput connected internally) ? up to 16 outputs ? 16 match/capture registers ? 16 events ? 32 states 7.13.2 general purpose dma (gpdma) the dma controller allows peripheral-to memory, memory-to-peripheral, peripheral-to-peripheral, and memory-to-memory transactions. each dma stream provides unidirectional serial dma transfer s for a single source and destination. for lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 69 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller example, a bidirectional port requires one st ream for transmit and one for receives. the source and destination areas can each be either a memory region or a peripheral for master 1, but only memory for master 0. 7.13.2.1 features ? eight dma channels. each channel can support an unidirectional transfer. ? 16 dma request lines. ? single dma and burst dma request signals. each peripheral connected to the dma controller can assert either a burst dma request or a single dma request. the dma burst size is set by programming the dma controller. ? memory-to-memory, memory-to-peripheral, peripheral-to-memory, and peripheral-to-peripheral transfers are supported. ? scatter or gather dma is supported through the use of linked lists. this means that the source and destination areas do not hav e to occupy contiguous areas of memory. ? hardware dma ch annel priority. ? ahb slave dma programming interface. the dma controller is programmed by writing to the dma control regist ers over the ahb slave interface. ? two ahb bus masters for transferring data. these interfaces transfer data when a dma request goes active. master 1 can access memories and peripherals, master 0 can access memories only. ? 32-bit ahb master bus width. ? incrementing or non-incrementing addressing for source and destination. ? programmable dma burst size. the dma burst size can be programmed to more efficiently transfer data. ? internal four-word fifo per channel. ? supports 8, 16, and 32-bit wide transactions. ? big-endian and little-endian support. the dma controller defaults to little-endian mode on reset. ? an interrupt to the processor can be generated on a dma completion or when a dma error has occurred. ? raw interrupt status. the dma error and dma count raw interrupt status can be read prior to masking. 7.13.3 spi flash interface (spifi) the spi flash interface (allows low-cost seri al flash memories to be connected to the arm cortex-m3 processor with little perfo rmance penalty compared to parallel flash devices with higher pin count. after a few commands configure the interface at startup, the enti re flash content is accessible as normal memory using byte, halfword, and word accesses by the processor and/or dma channels. erasure and programmi ng are handled by simple sequences of commands. many serial flash devices use a half-duplex command-driven spi protocol for device setup and initialization and then move to a half -duplex, command-driven 4-bit protocol for normal operation. different serial flash vendo rs and devices accept or require different lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 70 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller commands and command fo rmats. spifi provides sufficient flexibility to be compatible with common flash devices and includes extensio ns to help insure compatibility with future devices. 7.13.3.1 features ? interfaces to serial flash me mory in the main memory map. ? supports classic and 4-bit bidirectional serial protocols. ? half-duplex protocol compatible with various vendors and devices. ? data rates of up to 40 mb per second total. ? supports dma access. 7.13.4 sd/mmc card interface the sd/mmc card interface supports the following modes: ? secure digital memo ry (sd version 3.0) ? secure digital i/o (sdio version 2.0) ? consumer electronics advanced transport architecture (ce-ata version 1.1) ? multimedia cards (mmc version 4.4) 7.13.5 external memory controller (emc) the lpc1850/30/20/10 emc is a memory co ntroller peripheral offering support for asynchronous static memory de vices such as ram, rom, and nor flash. in addition, it can be used as an interface with off-chip memory-mapped devices and peripherals. 7.13.5.1 features ? dynamic memory interface support in cluding single data rate sdram. ? asynchronous static memory device supp ort including ram, rom, and nor flash, with or without asynchronous page mode. ? low transaction latency. ? read and write buffers to reduce latency and to improve performance. ? 8/16/32 data and 24 address lines wide static memory support. on parts lpc1820/10 only 8/16 data lines are available. ? 16 bit and 32 bit wide chip select sdram memory support. ? static memory features include: ? asynchronous page mode read ? programmable wait states ? bus turnaround delay ? output enable and write enable delays ? extended wait ? four chip selects for synchro nous memory and four chip selects for static memory devices. ? power-saving modes dynamically co ntrol cke and clkout to sdrams. ? dynamic memory self-refresh mode controlled by software. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 71 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? controller supports 2048 (a0 to a10), 4096 (a0 to a11), and 8192 (a0 to a12) row address synchronous memory parts. that is typical 512 mb, 256 mb, and 128 mb parts, with 4, 8, 16, or 32 data bits per device. ? separate reset domains allow the for auto-refresh through a chip reset if desired. note: synchronous static memory devices (synchronous burst mode) are not supported. 7.13.6 high-speed usb host/device/otg interface (usb0) remark: usb0 is available on parts pc1850/30/20 (see ta b l e 2 ). the usb otg module allows the part to connect directly to a usb host such as a pc (in device mode) or to a usb device in host mode. 7.13.6.1 features ? complies with universal serial bus specification 2.0 . ? complies with usb on-the-go supplement . ? complies with enhanced host controller interface specification . ? supports auto usb 2.0 mode discovery. ? supports all high-speed usb-compliant peripherals. ? supports all full-speed usb-compliant peripherals. ? supports software host ne gotiation protocol (hnp) an d session request protocol (srp) for otg peripherals. ? contains utmi+ compliant transceiver (phy). ? supports interrupts. ? this module has its own, integrated dma engine. 7.13.7 high-speed usb host/device interface with ulpi (usb1) remark: usb1 is available on parts lpc1850/30 (see ta b l e 2 ). the usb1 interface can operate as a full-speed usb host/device interface or can connect to an external ulpi phy for high-speed operation. 7.13.7.1 features ? complies with universal serial bus specification 2.0 . ? complies with enhanced host controller interface specification . ? supports auto usb 2.0 mode discovery. ? supports all high-speed usb-compliant peripherals if connected to external ulpi phy. ? supports all full-speed usb-compliant peripherals. ? supports interrupts. ? this module has its own, integrated dma engine. 7.13.8 lcd controller remark: the lcd controller is available on the part lpc1850 only. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 72 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller the lcd controller provides all of the necessary control signals to interface directly to a variety of color and monochrome lcd panels. both stn (single and dual panel) and tft panels can be operated. the display resolution is selectable and can be up to 1024 ? 768 pixels. several color modes are provided, up to a 24-bit true-color non-palettized mode. an on-chip 512-byte color palette allows reducing bus utilizati on (i.e. memory size of the displayed data) while still supporti ng a large number of colors. the lcd interface includes its own dma controlle r to allow it to operate independently of the cpu and other system functions. a built-in fifo acts as a buffer for display data, providing flexibility for system timing. hardware cursor su pport can furthe r reduce the amount of cpu time needed to operate the display. 7.13.8.1 features ? ahb master interface to access frame buffer. ? setup and control via a separate ahb slave interface. ? dual 16-deep programmable 64-bit wide fifos for buffering incoming display data. ? supports single and dual-panel monochrome super twisted nematic (stn) displays with 4-bit or 8-bit interfaces. ? supports single and dual-panel color stn displays. ? supports thin film transi stor (tft) color displays. ? programmable display resolution including, but not limited to: 320 ? 200, 320 ? 240, 640 ? 200, 640 ? 240, 640 ? 480, 800 ? 600, and 1024 ? 768. ? hardware cursor support for single-panel displays. ? 15 gray-level monochrome, 3375 color stn, and 32 k color palettized tft support. ? 1, 2, or 4 bits-per-pixel (bpp) palettized displays for monochrome stn. ? 1, 2, 4, or 8 bpp palettized color displays for color stn and tft. ? 16 bpp true-color non-palettized for color stn and tft. ? 24 bpp true-color non-palettized for color tft. ? programmable timing for different display panels. ? 256 entry, 16-bit palette ram, arranged as a 128 ? 32-bit ram. ? frame, line, and pixel clock signals. ? ac bias signal for stn, data enable signal for tft panels. ? supports little and big-endian, and windows ce data formats. ? lcd panel clock may be generated from the peripheral clock, or from a clock input pin. 7.13.9 ethernet remark: ethernet is available on parts lpc1850/30 (see table 2 ). 7.13.9.1 features ? 10/100 mbit/s ? tcp/ip hardware checksum ? ip checksum ? dma support lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 73 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? power management remote wake-up frame and magic packet detection ? supports both full-duplex and half-duplex operation ? supports csma/cd protocol for half-duplex operation. ? supports ieee 802.3x flow control for full-duplex operation. ? optional forwarding of received pause co ntrol frames to the user application in full-duplex operation. ? back-pressure support for half-duplex operation. ? automatic transmission of zero-quanta p ause frame on deassertion of flow control input in full-dup lex operation. ? support for ieee 1588 time stamping and ieee 1588 advanced ti me stamping (ieee 1588-2008 v2). 7.14 digital serial peripherals 7.14.1 uart remark: the lpc1850/30/20/10 contain one uart with standard transmit and receive data lines. uart1 also provides a full modem control handshake interface and support for rs-485/9-bit mode allowing both software address detection and automatic address detection using 9-bit mode. uart1 includes a fractional baud rate generator. standard baud rates such as 115200 bd can be achieved with any crystal frequency above 2 mhz. 7.14.1.1 features ? maximum uart data bit rate of lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 74 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.14.2.1 features ? maximum uart data bit rate of lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 75 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.14.4.1 features ? i 2 c0 is a standard i 2 c compliant bus interface with open-drain pins. i 2 c0 also supports fast mode plus with bit rates up to 1 mbit/s. ? i 2 c1 uses standard i/o pins with bit rates of up to 400 kbit/s (fast i 2 c-bus). ? easy to configure as master, slave, or master/slave. ? programmable clocks allow versatile rate control. ? bidirectional data transfer between masters and slaves. ? multi-master bus (no central master). ? arbitration between simultaneously transmit ting masters without corruption of serial data on the bus. ? serial clock synchronization allows devices with different bit rates to communicate via one serial bus. ? serial clock synchronization can be used as a handshake mechanism to suspend and resume serial transfer. ? the i 2 c-bus can be used for test and diagnostic purposes. ? all i 2 c-bus controllers support multiple address recognition and a bus monitor mode. 7.14.5 i 2 s interface remark: the lpc1850/30/20/10 contain two i 2 s interfaces. the i 2 s-bus provides a standard communication interface for digital audio applications. the i 2 s-bus specification defines a 3-wire serial bus using one data line, one clock line, and one word select signal. the basic i 2 s-bus connection has one master, which is always the master, and one slave. the i 2 s-bus interface provides a separate transmit and receive channel, each of which can o perate as either a master or a slave. 7.14.5.1 features ? the interface has separate input/output chan nels each of which can operate in master or slave mode. ? capable of handling 8-bit, 16-bit, and 32-bit word sizes. ? mono and stereo audio data supported. ? the sampling frequency can range from 16 khz to 192 khz (16, 22.05, 32, 44.1, 48, 96, 192) khz. ? support for an audio master clock. ? configurable word select period in master mode (separately for i 2 s-bus input and output). ? two 8-word fifo data buffers are provided, one for transmit and one for receive. ? generates interrupt requests when buffer levels cross a programmable boundary. ? two dma requests, controlled by programma ble buffer levels. these are connected to the gpdma block. ? controls include reset, stop and mute options separately for i 2 s-bus input and i 2 s-bus output. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 76 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.14.6 c_can remark: the lpc1850/30/20/10 contain two c_can controllers. controller area network (can) is the definition of a high performance communication protocol for serial data communication. the c_ can controller is designed to provide a full implementation of the can protocol accordin g to the can specification version 2.0b. the c_can controller allows to build powerful local networks with low-cost multiplex wiring by supporting distributed real-t ime control with a very hi gh level of reliability. 7.14.6.1 features ? conforms to protocol version 2.0 parts a and b. ? supports bit rate of up to 1 mbit/s. ? supports 32 message objects. ? each message object has its own identifier mask. ? provides programmable fifo mode (concatenation of message objects). ? provides maskable interrupts. ? supports disabled automatic retransmission (dar) mode for time-triggered can applications. ? provides programmable loop-back mode for self-test operation. 7.15 counter/timers and motor control 7.15.1 general purpose 32-bit timers/external event counter remark: the lpc1850/30/20/10 include four 32-bit timer/counters. the timer/counter is design ed to count cycles of th e system derived clock or an externally-supplied clock. it can optionally generate interrupts , generate timed dma requests, or perform other actions at spec ified timer values, based on four match registers. each timer/counter al so includes two capture inputs to trap the timer value when an input signal transitions, optionally generating an interrupt. 7.15.1.1 features ? a 32-bit timer/counter with a programmable 32-bit prescaler. ? counter or timer operation. ? two 32-bit capture channels per timer, that can take a snapshot of the timer value when an input signal transitions. a capture event may also generate an interrupt. ? four 32-bit match registers that allow: ? continuous operation with optional interrupt generation on match. ? stop timer on match with optional interrupt generation. ? reset timer on match with optional interrupt generation. ? up to four external outputs corresponding to match registers, with the following capabilities: ? set low on match. ? set high on match. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 77 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? toggle on match. ? do nothing on match. ? up to two match registers can be used to generate timed dma requests. 7.15.2 motor control pwm the motor control pwm is a specialized pwm supporting 3-phase motors and other combinations. feedback inputs are provided to automatically sense rotor position and use that information to ramp speed up or down. an abort input is also provided that causes the pwm to immediately release all motor drive ou tputs. at the same time, the motor control pwm is highly configurable for other genera lized timing, counting, capture, and compare applications. 7.15.3 quadrature encoder interface (qei) a quadrature encoder, also known as a 2-chan nel incremental encoder, converts angular displacement into two pulse signals. by mo nitoring both the number of pulses and the relative phase of the two signals, the user ca n track the position, direction of rotation, and velocity. in addition, a third channel, or index signal, can be used to reset the position counter. the quadrature encoder interface decodes the digital pulses from a quadrature encoder wheel to integrate position over ti me and determine direction of rotation. in addition, the qei can capture the velocity of the encoder wheel. 7.15.3.1 features ? tracks encoder position. ? increments/decrements depending on direction. ? programmable for 2 ? or 4 ? position counting. ? velocity capture using built-in timer. ? velocity compare function with ?less than? interrupt. ? uses 32-bit registers for position and velocity. ? three position compare registers with interrupts. ? index counter for re volution counting. ? index compare register with interrupts. ? can combine index and position interrupts to produce an interrupt for whole and partial revolution displacement. ? digital filter with prog rammable delays for encoder input signals. ? can accept decoded signal inputs (clk and direction). 7.15.4 repetitive interrupt (ri) timer the repetitive interrupt timer provides a free-r unning 32-bit counter which is compared to a selectable value, generating an interrupt when a match occurs. any bits of the timer/compare can be masked such that they do not contribute to the match detection. the repetitive interrupt timer can be used to create an interrupt that repeats at predetermined intervals. 7.15.4.1 features ? 32-bit counter. counter can be free-running or be reset by a generated interrupt. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 78 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? 32-bit compare value. ? 32-bit compare mask. an interrupt is generated when the counter value equals the compare value, after masking. this allows for co mbinations not poss ible with a simple compare. 7.15.5 windowed watchdog timer (wwdt) the purpose of the watchdog is to reset the controller if software fails to periodically service it within a programmable time window. 7.15.5.1 features ? internally resets chip if not periodically reloaded during the programmable time-out period. ? optional windowed operation requires reload to occur between a minimum and maximum time period, both programmable. ? optional warning interrupt can be generated at a programmable time prior to watchdog time-out. ? enabled by software but requires a hardware reset or a watchdog reset/interrupt to be disabled. ? incorrect feed sequence causes reset or interrupt if enabled. ? flag to indicate watchdog reset. ? programmable 24-bit timer with internal prescaler. ? selectable time period from (t cy(wdclk) ? 256 ? 4) to (t cy(wdclk) ? 2 24 ? 4) in multiples of t cy(wdclk) ? 4. ? the watchdog clock (wdclk) uses the irc as the clock source. 7.16 analog peripherals 7.16.1 analog-to-digital converter remark: the lpc1850/30/20/10 contain two 10-bit adcs. 7.16.1.1 features ? 10-bit successive approximation analog to digital converter. ? input multiplexing among 8 pins. ? power-down mode. ? measurement range 0 to vdda. ? sampling frequency up to 400 ksamples/s. ? burst conversion mode for single or multiple inputs. ? optional conversion on transition on adct rig0 or adctrig1 pi ns, combined timer outputs 8 or 15, or the pwm output mcoa2. ? individual result registers for each a/d channel to reduce interrupt overhead. ? dma support. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 79 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.16.2 digital-to-analog converter (dac) 7.16.2.1 features ? 10-bit resolution ? integral non-linearity ? differential non-linearity ? monotonic by design (resistor string architecture) ? controllable conversion speed ? low power consumption 7.17 peripherals in the rtc power domain 7.17.1 rtc the real time clock (rtc) is a set of count ers for measuring time when system power is on, and optionally when it is off. it uses very little power when its registers are not being accessed by the cpu, especially reduced power modes. the rtc is clocked by a separate 32 khz oscillator that produces a 1 hz inte rnal time reference and is powered by its own power supply pin, vbat. 7.17.1.1 features ? measures the passage of time to maintain a calendar and clock. provides seconds, minutes, hours, day of month, month, year, day of week, and day of year. ? ultra-low power design to su pport battery powere d systems. less th an lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 80 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller ? ethernet mode ? memory mapping ? timer/usart inputs ? enabling the usb controllers in addition, the creg block contains the pa rt identification and part configuration information. 7.18.2 system control unit (scu) the system control unit determines the function and electrical mode of the digital pins. by default function 0 is selected for all pins with pull-up enabled. analog i/os for the adcs and the dac as well as most usb pins are on separate pads and are not controlled through the scu. 7.18.3 clock generation unit (cgu) the clock generator unit (c gu) generates several base clocks. the base clocks can be unrelated in frequency and phase and can ha ve different clock s ources within the cgu. one cgu base clock is routed to the clkout pins. multiple branch clocks are derived from each base clock. the branch clocks offer very flexible control for power-management purposes . all branch clocks are outputs of one of two clock control units (ccus) and can be controlled independently. branch clocks derived from the same base clock are synchronous in frequency and phase. 7.18.4 internal rc oscillator (irc) the irc is used as the clock source for the wwdt and/or as the clock that drives the plls and subsequently the cpu. the nominal irc frequency is 12 mhz. the irc is trimmed to 1 % accuracy over the entire voltage and temperature range. upon power-up or any chip reset, the lpc18 50/30/20/10 use the irc as the clock source. software may later switch to one of the other available clock sources. 7.18.5 pll0usb (for usb0) pll0 is a dedicated pll for the usb0 high-speed controller. pll0 accepts an input clock fr equency from an external osc illator in the r ange of 14 khz to 25 mhz. the input frequency is multiplied up to a high frequency with a current controlled oscillator (cco). the cco operates in the ra nge of 4.3 mhz to 550 mhz. 7.18.6 pll0audio (for audio) the audio pll pll0audio is a general purpose pll with a very small step size. this pll accepts an input clock frequency derived fr om an external oscilla tor or internal irc. the input frequency is multiplied up to a high frequency with a current controlled oscillator (cco). a sigma-delta converter modulates the pll divider ratios to obtain the desired output frequency. the output frequency can be set to 32 ??? f s , 64 ??? f s , 128 ? f s , 256 ? f s , 384 ? f s and the sampling frequency f s can range from 16 khz to 192 khz (16, 22.05, 32, 44.1, 48, 96,192) khz. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 81 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 7.18.7 system pll1 the pll1 accepts an input clock frequency from an external oscilla tor in the range of 10 mhz to 25 mhz. the input frequency is multiplied up to a high frequency with a current controlled oscillator (cco ). the multiplier can be an inte ger value from 1 to 32. the cco operates in the range of 156 mhz to 320 mhz, so there is an additional divider in the loop to keep the cco within its frequency range wh ile the pll is providing the desired output frequency. the output divider may be set to divide by 2, 4, 8, or 16 to produce the output clock. since the minimum output divider value is 2, it is insured that the pll output has a 50 % duty cycle. the pll is turned off and bypassed following a chip reset and may be enabled by software. the program must config ure and activate the pll, wait for the pll to lock, and then connect to the pll as a clock source. the pll settling time is 100 ? s. 7.18.8 reset generation unit (rgu) the rgu allows generation of independent reset signals for individual blocks and peripherals. 7.18.9 power control the lpc1850/30/20/10 feature several independent power domains to control power to the core and the peripherals (see figure 11 ). the rtc and its associated peripherals (the alarm timer, the creg block, the otp contro ller, the back-up registers, and the event router) are located in the rtc power-domain which can be powered by a battery supply or the main regulator. a power se lector switch ensures that the rtc block is always powered on. lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 82 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller the lpc1850/30/20/10 support four r educed power modes: sleep, deep-sleep, power-down, and deep power-down. the lpc1850/30/20/10 can wake up from deep-sleep, power-down, and deep power-down modes vi a the wakeup[3:0] pins and in terrupts generated by battery powered blocks in the rtc power domain. 7.19 emulation and debugging debug and trace functions are integrated in to the arm cortex-m3. serial wire debug and trace functions are supported in addition to a standard jtag debug and parallel trace functions. the arm cortex-m3 is configured to support up to eight breakpoints and four watch points. fig 11. lpc1850/30/20/10 power domains real-time clock backup registers reset/wake-up control regulator 32 khz oscillator always-on/rtc power domain main power domain rtcx1 vbat vddreg rtcx2 vddio vss to memories, peripherals, oscillators, plls to core to i/o pads adc dac otp adc power domain otp power domain usb0 power domain vdda vssa vpp usb0 usb0_vdda3v_driver usb0_vdda3v3 lpc18xx ultra low-power regulator power selector alarm reset wakeup0/1/2/3 to rtc domain peripherals 002aag305 to rtc i/o pads lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 83 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 8. limiting values [1] the following applies to the limiting values: a) this product includes circuitry specif ically designed for the protection of its in ternal devices from the damaging effects of excessive static charge. nonetheless, it is sugges ted that conventional precautions be tak en to avoid applying greater than the rated maximum. b) parameters are valid over operating te mperature range unless otherwise specifi ed. all voltages are with respect to v ss unless otherwise noted. [2] 2.0 v if vbat ? 2.2 v. [3] including voltage on outputs in 3-state mode; at 2.0 v the speed will be reduced. [4] the peak current is limited to 25 times the corresponding maximum current. [5] dependent on package type. [6] human body model: equivalent to dischar ging a 100 pf capacitor through a 1.5 k ? series resistor. table 6. limiting values in accordance with the absolute ma ximum rating system (iec 60134). [1] symbol parameter conditions min max unit v dd(reg)(3v3) regulator supply voltage (3.3 v) on pin vddreg 2.2 [2] 3.6 v v dd(io) input/output supply voltage on pin vddio 2.2 3.6 v v dda(3v3) analog supply voltage (3.3 v) on pin vdda 2.0 3.6 v v bat battery supply voltage on pin vbat 2.2 3.6 v v dd(3v3) supply voltage (3.3 v) on pin v dd ; lqfp100 package only 2.2 3.6 v v prog(pf) polyfuse programming voltage on pin vpp 2.7 3.6 v v i input voltage only valid when the v dd(io) supply voltage is present 5 v tolerant i/o pins (see table 3 ) [3] ? 0.5 5.5 v adc/dac pins and digital i/o pins configured for an analog function (see ta b l e 3 ) lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 84 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 9. thermal characteristics the average chip junction temperature, t j ( ? c), can be calculated using the following equation: (1) ? t amb = ambient temperature ( ? c), ? r th(j-a) = the package junction-to-ambient thermal resistance ( ? c/w) ? p d = sum of internal and i/o power dissipation the internal power dissipation is the product of i dd and v dd . the i/o power dissipation of the i/o pins is often small and many times can be negligible. however it can be significant in some applications. t j t amb p d r th j a ? ?? ? ?? += table 7. thermal characteristics v dd = 2.2 v to 3.6 v; t amb = ? ? ? symbol parameter conditions min typ max unit t j(max) maximum junction temperature -- lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 85 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 10. static characteristics table 8. static characteristics t amb = ? 40 ? c to +85 ? c, unless otherwise specified. symbol parameter conditions min typ [1] max unit supply pins v dd(io) input/output supply voltage 2.2 - 3.6 v v dd(reg)(3v3) regulator supply voltage (3.3 v) 2.2 - 3.6 v v dda(3v3) analog supply voltage (3.3 v) 2.0 - 3.6 v v bat battery supply voltage [2] 2.2 - 3.6 v v dd(3v3) supply voltage (3.3 v) on pin v dd ; lqfp100 package only 2.2 - 3.6 v i dd(reg)(3v3) regulator supply current (3.3 v) active mode; code while(1){} executed from lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 86 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller digital pins - reset pin v ih high-level input voltage [8] 0.8 ? (v ps ? 0.35) -5 . 5v v il low-level input voltage [8] ? 0.5 - 0.3 ? (v ps ? 0.1) v v hys hysteresis voltage [8] 0.05 ? (v ps ? 0.35) --v digital pins - normal drive strength i il low-level input current v i = 0 v; on-chip pull-up resistor disabled -- lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 87 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller digital pins - high drive strength i il low-level input current v i = 0 v; on-chip pull-up resistor disabled -- lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 88 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller digital pins - high-speed i il low-level input current v i = 0 v; on-chip pull-up resistor disabled -- lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 89 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. [2] the rtc typically fails when v bat drops below 2.2 v and v dd(reg)(3v3) is less than 2.2 v. [3] v dd(reg)(3v3) = 3.3 v; t amb =25 ? c for all power consumption measurements. ap plies to parts lpc1850/30/20/10 rev ?-? only. [4] conditions lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 90 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: t amb = 25 ? c; normal mode entered executing code while(1){} from rom; internal pull-up resistors disabled; s ystem pll enabled; irc enabled, bo d disabled; all peripherals disabled; all peripheral clocks disabled. fig 12. typical supply current versus regulator supply voltage v dd(reeg)(3v3) in active mode conditions: v dd(reg)(3v3) = 3.0 v, normal mode entered execut ing code while(1){} from rom; internal pull-up resistors disabled; system pll enabled; irc enabled, bod disabled; all peripherals disabled; all peripheral clocks disabled. fig 13. typical supply current ver sus temperature in active mode 002aag121 v dd(reg)(3v3) (v) 2.0 3.6 3.2 2.8 2.4 12 mhz 36 mhz 60 mhz 84 mhz 132 mhz 144 mhz 108 mhz 20 40 60 i dd(reg)(3v3) (ma) 0 temperature (c) -40 85 35 10 60 -15 002aag122 20 40 60 i dd(reg)(3v3) (ma) 0 12 mhz 36 mhz 84 mhz 144 mhz 108 mhz 60 mhz 132 mhz lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 91 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: v dd(reg)(3v3) = 3.0 v; internal pull-up resistors disabled; system pll enabled; irc enabled, bod disabled; all peripherals dis abled; all peripheral clocks disabled. fig 14. typical supply current versus temperature in sleep mode conditions: v bat = 0 v; v dd(io) = 0 v; pd0_sleep0_mode = 0x003f 00aa. fig 15. typical supply current versu s temperature in deep-sleep mode x (x) x x x xx 001aac984 x x x x x x (x) x lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 92 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: v bat = 0 v; v dd(io) = 0 v; pd0_sleep0_mode = 0x003f fcba. fig 16. typical supply current versu s temperature in power-down mode conditions: v bat = 0 v; v dd(io) = 0 v; pd0_sleep0_mode = 0x003f ff7f. fig 17. typical supply current versus temperature in deep power-down mode temperature (c) -40 85 35 10 60 -15 002aag124 20 40 60 i dd(reg)(3v3) (a) 0 v dd(reg)(3v3) = 3.6 v 3.0 v 2.6 v 2.2 v 002aag125 temperature (c) -40 85 35 10 60 -15 v dd(reg)(3v3) = 3.6 v 2.2 v 4.0 8.0 2.0 6.0 10.0 i dd(reg)(3v3) (a) 0 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 93 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. 10.2 power consumption remark: all power consumption data in this section apply to rev ?a? of the lpc1850/30/20/10 parts only. table 9. power consumption fo r individual peripherals t amb = 25 ? c; v dd(reeg)(3v3) = 3.3 v. peripheral conditions typical i dd(reg)(3v3) [1] irc lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 94 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: v dd(reg)(3v3) = 3.0 v, normal mode entered execut ing code while(1){} from rom; internal pull-up resistors disabled; system pll enabled; irc enabled, bod disabled; all peripherals disabled; all peripheral clocks disabled. fig 19. typical supply current ver sus temperature in active mode conditions: v dd(reg)(3v3) = 3.0 v; internal pull-up resistors disabled; system pll enabled; irc enabled, bod disabled; all peripherals dis abled; all peripheral clocks disabled. fig 20. typical supply current versus temperature in sleep mode x (x) x x x xx 001aac984 x x x x x x (x) x lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 95 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: v bat = 0 v; v dd(io) = 0 v. fig 21. typical supply current versu s temperature in deep-sleep mode conditions: v bat = 0 v; v dd(io) = 0 v. fig 22. typical supply current versu s temperature in power-down mode x (x) x x x xx 001aac984 x x x x x x (x) x lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 96 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 10.3 electrical pi n characteristics conditions: v bat = 0 v; v dd(io) = 0 v. fig 23. typical supply current versus temperature in deep power-down mode x (x) x x x xx 001aac984 x x x x x x (x) x lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 97 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller conditions: v dd(reg)(3v3) =v dd(io) = 3.3 v; standard port pins. conditions: v dd(reg)(3v3) =v dd(io) = 3.3 v; standard port pins. fig 26. typical pull-up current i pu versus input voltage v i fig 27. typical pull-down current i pd versus input voltage v i lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 98 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 11. dynamic characteristics 11.1 external clock [1] parameters are valid over operating temp erature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. table 10. dynamic characteristic: external clock t amb = ? 40 ? c to +85 ? c; v dd(io) over specified ranges. [1] symbol parameter conditions min typ [2] max unit f osc oscillator frequency 1 - 25 mhz t cy(clk) clock cycle time 40 - 1000 ns t chcx clock high time t cy(clk) ? lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 99 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 11.2 irc and rtc oscillators [1] parameters are valid over operating te mperature range unless otherwise specified. [2] typical ratings are not guaranteed. the va lues listed are at room temperature (25 ? c), nominal supply voltages. 11.3 i 2 c-bus table 11. dynamic characteristic: irc and rtc oscillators t amb = ? 40 ? c to +85 ? c; lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 100 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] parameters are valid over operating tem perature range unless otherwise specified. [2] thd;dat is the data hold time that is measured from the fa lling edge of scl; applies to data in transmission and the acknowl edge. [3] a device must internally provide a hold time of at least 300 ns for the sda signal (with respect to the v ih (min) of the scl signal) to bridge the undefined region of the falling edge of scl. [4] c b = total capacitance of one bus line in pf. if mixed with hs-mode devices, faster fall times are allowed. [5] the maximum t f for the sda and scl bus lines is specified at 300 ns. the maximum fall time for the sda output stage t f is specified at 250 ns. this allows series protection re sistors to be connected in between the sda and the scl pins and the sda/scl bus lines without exceeding the maximum specified t f . [6] in fast-mode plus, fall time is specified the same for bot h output stage and bus timing. if se ries resistors are used, desig ners should allow for this when c onsidering bus timing. [7] the maximum t hd;dat could be 3.45 ? s and 0.9 ? s for standard-mode and fast-mode but must be less than the maximum of t vd;dat or t vd;ack by a transition time. this maximum must only be met if the device does not stretch the low period (t low ) of the scl signal. if the clock stretches the scl, the data must be valid by the set-up time before it releases the clock. [8] tsu;dat is the data set-up time that is measured with respec t to the rising edge of scl; applies to data in transmission and the acknowledge. [9] a fast-mode i 2 c-bus device can be used in a standard-mode i 2 c-bus system but the requirement t su;dat = 250 ns must then be met. this will automatically be the case if the device does not stretch the low period of the scl signal. if such a device does stre tch the low period of the scl signal, it must output the next data bit to the sda line t r(max) + t su;dat = 1000 + 250 = 1250 ns (according to the standard-mode i 2 c-bus specification) before the scl line is released. al so the acknowledge timing must meet this set-up time. t low low period of the scl clock standard-mode 4.7 - ? s fast-mode 1.3 - ? s fast-mode plus 0.5 - ? s t high high period of the scl clock standard-mode 4.0 - ? s fast-mode 0.6 - ? s fast-mode plus 0.26 - ? s t hd;dat data hold time [2] [3] [7] standard-mode 0 - ? s fast-mode 0 - ? s fast-mode plus 0 - ? s t su;dat data set-up time [8] [9] standard-mode 250 - ns fast-mode 100 - ns fast-mode plus 50 - ns table 12. dynamic characteristic: i 2 c-bus pins t amb = ? 40 ? c to +85 ? c. [1] symbol parameter conditions min max unit lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 101 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 11.4 i 2 s-bus interface [1] cclk = 100 mhz; peripheral clock to the i 2 s-bus interface pclk = cclk / 4. i 2 s clock cycle time t cy(clk) = 1600 ns, corresponds to the sck signal in the i 2 s-bus specification . fig 30. i 2 c-bus pins clock timing 002aaf425 t f 70 % 30 % sda t f 70 % 30 % s 70 % 30 % 70 % 30 % t hd;dat scl 1 / f scl 70 % 30 % 70 % 30 % t vd;dat t high t low t su;dat table 13. dynamic characteristics: i 2 s-bus interface pins t amb = ? 40 ? c to 85 ? c, v dd(reg)(3v3) = lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 102 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller fig 31. i 2 s-bus timing (transmit) fig 32. i 2 s-bus timing (receive) 002aag497 i2sx_tx_sck i2sx_tx_sda i2sx_tx_ws t cy(clk) t f t r t wh t wl t v(q) t v(q) 002aag498 t cy(clk) t f t r t wh t su(d) t h(d) t su(d) t su(d) t wl i2sx_rx_sck i2sx_rx_sda i2sx_rx_ws lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 103 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 11.5 ssp interface [1] t cy(clk) = (sspclkdiv ? (1 + scr) ? cpsdvsr) / f main . the clock cycle time deriv ed from the spi bit rate t cy(clk) is a function of the main clock frequency f main , the ssp peripheral clock divider (sspclkdiv), the ssp scr parameter (specified in the ssp0cr0 register), and the ssp cpsdvsr parameter (spec ified in the ssp clock prescale register). [2] t amb = ?40 ? c to 85 ? c; v dd(reg)(3v3) = 2.0 v to 3.6 v; v dd(io) = 2.0 v to 3.6 v. [3] t cy(clk) = 12 ? t cy(pclk) . [4] t amb = 25 ? c; v dd(reg)(3v3) = 3.3 v; v dd(io) = 3.3 v. table 14. dynamic characteristics: ssp pins in spi mode symbol parameter conditions min max unit t cy(pclk) pclk cycle time lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 104 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller fig 33. ssp master timing in spi mode sck (cpol = 0) mosi miso t cy(clk) t clk(h) t clk(l) t ds t dh t v(q) data valid data valid t h(q) sck (cpol = 1) data valid data valid mosi miso t ds t dh data valid data valid t h(q) data valid data valid t v(q) cpha = 1 cpha = 0 002aae829 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 105 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller fig 34. ssp slave timing in spi mode sck (cpol = 0) mosi miso t cy(clk) t clk(h) t clk(l) t ds t dh t v(q) data valid data valid t h(q) sck (cpol = 1) data valid data valid mosi miso t ds t dh t v(q) data valid data valid t h(q) data valid data valid cpha = 1 cpha = 0 002aae830 lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 106 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller 11.6 external memory interface table 15. dynamic characteristics: static external memory interface c l =30pf, t amb = ? 40 ? c to 85 ? c, v dd(reg)(3v3) = lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 107 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller [1] parameters are shown as rd n or wd n in figure 35 as indicated in the conditions column. [2] parameters specified for 40 % of v dd(io) for rising edges and 60 % of v dd(io) for falling edges. [3] latest of address valid, emc_csx low, emc_oe low, emc_blsx low (pb = 1). [4] after end of read (eor): earliest of emc_csx high, emc_oe high, emc_blsx high (pb = 1), address invalid. [5] end of write (eow): earliest of address invalid, emc_csx high, emc_blsx high (pb = 1). t blslblsh bls low to bls high time wr 10 ; pb = 0 (waitwr ? waitwen + 1) ? t cy(clk) + lpc1850_30_20_10 all information provided in this document is subject to legal disclaimers. ? nxp b.v. 2011. all rights reserved. preliminary data sheet rev. 2.2 ? 9 september 2011 108 of 142 nxp semiconductors lpc1850/30/20/10 32-bit arm cortex-m3 microcontroller fig 36. external static memory read/write access (pb = 1) rd 1 wr 1 emc_ax wr 8 wr 4 wr 8 emc_csx rd 2 rd 7 rd 7 rd 4 emc_oe emc_blsx emc_we rd 5 wr 6 wr 2 rd 5 rd 5 rd 5 rd 6 rd 3 eor eow emc_dx wr 3 wr 5 wr 7 002aag215 fig 37. external static memory burst read cycle rd 5 rd 5 rd 5 rd 5 emc_ax emc_csx emc_oe emc_blsx emc_we emc_dx 002aag216 table 16. dynamic characteristics: dynamic external me mory interface, read strategy bits (rd bits) = 00 c l =30pf, t amb = ? 40 ? c to 85 ? c, v dd(reg)(3v3) = |