1 Day Arm 2007

22,001 views
22,069 views

Published on

1 Day training for migrate from 8bit to ARM

Published in: Technology, Business
3 Comments
9 Likes
Statistics
Notes
No Downloads
Views
Total views
22,001
On SlideShare
0
From Embeds
0
Number of Embeds
3,789
Actions
Shares
0
Downloads
1,258
Comments
3
Likes
9
Embeds 0
No embeds

No notes for slide

1 Day Arm 2007

  1. 1. Standard Microcontroller 1-day ARM Training Paolo Bernasconi NXP Semiconductors, FAE
  2. 2. Agenda 9:30 LPC2000 Technical Training Part I - Introduzione - LPC2000 devices and roadmaps dev tools. I nuovi dispositivi della famiglia LPC2300 e LPC2400. Novità per il 2007 ☺ Break - Presentazione dell'Architettura ARM7 (mappa di memoria, system control, peripherals) 12:30 ☺ Pranzo 13:30 LPC2000 Technical Training Part II - Inizializzazione delle periferiche di sistema PLL, Vector Interrupt Controller e USB - presentazioni di esempi con tool Keil e scheda di valutazione Keil ☺ Break - Implementazone dell’architettura ARM7 nella famiglia LPC23/24 - Q&A 17:30 Chiusura CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  3. 3. Standard Microcontroller Cores 32/16-bit 100 LPC3000 ARM926EJ Throughput LPC2000 ARM7TDMI-S 10 16-bit XA 16-bit 8-bit LPC900 2-Clock 6-Clock MX LPC700 6-Clock C51X2 6-Clock 1 C51 12-Clock Memory Size 2 KB 64 KB 1 MB >16 MB CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  4. 4. NXP Embedded Flash Process Roadmap Mature product line low-cost, 3-5V OTP 5V Flash family Si Foundry LPC900 Family 3V Flash MOS34 / ASMC Planned LPC2000 Family Embedded ARM7S-TDMI Flash 1.8V Flash CMOS90 MOS34 / SSMC Crolles2 ARM926EJ ARM1156EJ CMOS90 CMOS65 Crolles2 Crolles2 0.5μ 0.4μ 0.35μ 0.18μ 0.16μ 0.14μ 90n 65n Process Feature Size CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  5. 5. Standard Microcontroller Strategy Summary Develop Innovative and Cost Effective Products Focus on 16/32-bit market with wide range of ARM7 & ARM9 based products Expand the successful LPC Family approach: - New peripherals like USB, Ethernet, ....... Use highly competitive flash based processes: - 0.35 μm and 0.18 μm Flash in production - Shrink path down to 0.14 μm - First products in 90nm in 2005 Introduction of innovative packages: - Chip scale packages like HVSON10, TFBGA256 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  6. 6. LPC2000 Family 16/32-bit ARM7TDMI-S Products
  7. 7. ARM Microcontrollers NXP has developed a family of ARM-based Microcontrollers For - Low-Cost High Volume Applications With - Embedded Flash and SRAM - On-board AMBA-bus Peripherals (Adv. µC Bus Architecture) - Real-Time Deterministic behavior (no Cache required) -High performance NXP specific Flash Memory matrix -and access design - Full Debug, Real-time Monitoring and Trace facilities To - Continue on from our successful 8-bit 80C51 Family - Enable new low-cost 16/32-bit Microcontroller-based applications CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  8. 8. NXP Standard Microcontrollers The Ultimate Products….. 13 mm LPC2000 LPC3000 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  9. 9. History - NXP a leader in ARM NXP relationship with ARM Ltd. spans a decade – One of the three founding partners of ARM – Development with cores starting from ARM2 through ARM11 NXP offers the most experience – Over 250 ARM designs - more than anyone else in the industry – In Top 3 for ARM shipments worldwide – More than a dozen ARM cores in over 7 CMOS processes NXP is a long-term ARM licensee – Extensive license relationship provides continuous access to all architectures – Announcing off-the-shelf ARM microcontrollers with embedded Flash CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  10. 10. ARM vs. other 32/16-bit Emb. Architectures 450 400 350 ARM Volume in 300 Y2004: 190 MU 250 M units 200 150 100 50 M 0 K R -7 PS 68 A X SH MI Po XX PC 20 20 20 0 20 80 C 06 er 7 20 05 R 20 04 w 86 20 03 A 20 02 01 19 X SP + 19 0 0 20 99 98 Source: SEMICO Research, Q4 2002 ST Numbers excluding cell phone handsets ARM : Leading solution for Industrial / Automotive, Communications and General Purpose CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  11. 11. Shipments of all ARM products Million USD Revenues of ARM Holdings PLC M Unit Shipment of ARM based products ARM’s partners shipped 1,662 Mpcs in 2005 (+31%) CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  12. 12. ARM7TDMI-S NXP Choice The ARM7TDMI-S is based on an ARM7 core T- Thumb architecture extension • ARM Instructions are all 32 bit • Thumb instructions are all 16 bit • Two execution states to select which instruction set to execute D- Core has debug extensions M- Core has enhanced multiplier I- Core has Embedded ICE Macrocell S- Fully synthesis able CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  13. 13. 2007 16/32-bit ARM7 LPC2000 Released (28) UART(2), I2C UART(4) SPI/SSP, LV RTC H2 ’06 2x AHB + Ethernet ADC(1-2), DAC +Single p supply 3V single p.supply 3.3V /01 H1 2007 Flash Security Minibus UART(2), I2C UART(2), I2C, USB SPI(2), RTC SPI/SSP, LV RTC 100 - 144 pins ADC, CAN LPC21xx ADC(1-2), DAC ARM7TDMI-S : LPC2000 UART(4), I2C(3) Flash Security 3V p.supply UART(2), I2C SPI(1), SSP(2), CAN(2) ARM926EJ : LPC3000 1.8V and 3.3 V Flash Security SPI(2), RTC LV RTC, ADC, DAC, 10b-ADC PWM(2), LPC2148 +external bus LPC2194 /01 LPC2138 /01 Flash Security USB full I2C 512K/32K+8K UART(2), + USB 256K/16K 512K/32K 1.8V and 3.3 V UART(2), I2C10/100 Ethernet, USB SPI(2), RTC OTG/Host CAN (4) ADC(2), DAC + external bus CAN(2), IRC ADC(2), DAC SPI(2), RTC ADC ADC, CAN 180 - 208 pins LPC2378 1.8V and 3.3 V LPC2146 LPC2129 /01 LPC2136 /01 LPC2214 /01 Flash Security UART(4), I2C(3) 512K/58K LPC2106 /01 256K/32K+8K SPI(1), SSP(2), 256K/16K 256K/16K Ethernet, 256K/32K 1.8V and 3.3 V 128K/64K USB LV RTC, ADC CAN (2) USB, CAN, ADC(2), DAC +external bus ADC(2), DAC ADC, DAC, MiniBus, MMC Floating + external PWM(2), LPC2368 point bus LPC2144 USB-OTG LPC2124 /01 LPC2134 /01 LPC2212 /01 LPC2294 /01 512K/58K coprocessor LPC2105 /01 10/100 Ethernet, 16 bits codec 128K/16K+8K 256K/16K 128K/16K 128K/16K 256K/16K Ethernet, USB Host full USB 128K/32K USB High CAN(2), IRC, ADC(2), DAC ADC ADC CAN (4) USB, CAN, speed ADC(2), DAC External Bus speed device MMC LPC3190 LPC2366 LPC2468 LPC2142 LPC2119 /01 LPC2888 LPC2132 /01 LPC2220 LPC2292 /01 LCD int 256K/58K 512K/98K LPC2104 /01 64K/16K+8K 128K/16K 1M/64K 64K/16K 0K/64K 256K/16K IIS,SPI Ethernet, Ethernet, USB 128K/16K USB HS ADC, DAC ADC CAN (2) CAN (2) Ethernet ADC, DAC USB, CAN USB, CAN LPC2364 LPC2458 LPC2141 LPC2101/2/3 LPC2114 /01 LPC2210 /01 LPC2880 LPC3180 LPC2131 /01 LPC2290 /01 128K/34K 512K/98K 32K/8K+8K 8/16/32K/Flsh 128K/16K 0M/64K 64K RAM, 32K/8K 0K/16K 0K/16K USB Ethernet, Ethernet, 2/4/8KRam USB HS 32+32K Cache ADC ADC CAN (2) ADC ADC ADC,LV,RTC USB, CAN USB, CAN 180 pins 48pins 320 pins 64pins 64pins 64pins 144pins 144pins Flex. Suppl. UART(2), ADC, 2xI2C, UART(2), I2C UART(2), I2C UART(2), I2C UART(2), I2C UART(2), I2C HS USB, I2C(2), SPI, 2xSPI, SPI(2), RTC SPI, SPI/SSP, SPI(2), USB, SPI(2), RTC SPI(2), RTC Flex. Ext. SPI/SSP, RTC, 7xUART,USB- ADC, CAN LV RTC LV RTC ADC ADC, CAN(2/4) Mem. ADC OTG. ADC(1-2), DAC ADC, DAC LCDcontr.Interf . Timing/features/packages of non released parts may CONFIDENTIAL change without prior notification Subject/Department, Author, MMMM dd, yyyy
  14. 14. Roadmap – 32-bit portfolio Roadmap Recently released LPC31xx: ARM9 • SPI LPC3190 • IIS interface LPC3000 LPC3000 • Ethernet MAC controller Functionality LPC3000 • LCD interface LPC3000 LPC24xx: ARM7 • Ethernet (MII+RMII) LPC2000 LPC2000 • USB FS Device LPC2468 LPC2000 LCD • USB Host/OTG LPC2458 LCD LCD • 2 x CAN LPC2368 LPC2378 • Ext. Memory (SDRAM, SRAM) • 96K SRAM LPC23xx: ARM7 LPC2366 • Ethernet (RMII) • USB FS Device LPC2364 • 2 x CAN Recently released LPC22xx/01 New releases LPC21xx/01 LPC210x/01 Feature and performance improvements 2007 Time CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  15. 15. /00 Versions Status Parts Samples Status LPC2104FBD48/00 Yes RFS LPC2105FBD48/00 Yes RFS LPC2106FBD48/00 Yes RFS LPC2106FHN48/00 Yes RFS LPC2114FBD64/00 Yes RFS LPC2124FBD64/00 Yes RFS Reset.1 bug fixed LPC2119FBD64/00 Yes RFS LPC2129FBD64/00 Yes RFS LPC2104/00 and LPC2105/00 are LPC2194HBD64/00 Yes RFS Indus. Temp. range qualified LPC2212FBD144/00 Yes RFS LPC2214FBD144/00 Yes RFS LPC2292FBD144/00 Yes RFS LPC2292FET144/00 Yes RFS LPC2294HBD144/00 Yes RFS CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  16. 16. /01 Versions Status Parts Samples Status RFS date LPC2104FBD48/01 No Dev H1/07 LPC2105FBD48/01 No Dev H1/07 LPC2106FBD48/01 No Dev H1/07 LPC2106FHN48/01 No Dev H1/07 LPC2114FBD64/01 No Dev H1/07 • All bugs corrected excepted core.1 LPC2124FBD64/01 No Dev H1/07 LPC2119FBD64/01 No Dev H1/07 LPC2129FBD64/01 No Dev H1/07 • Some enhanced features: LPC2131FBD64/01 Yes RFS Now LPC2132FBD64/01 Yes RFS Now Fast I/O (3-4 times faster than LPC2132FHN64/01 Yes RFS Now standard) LPC2134FBD64/01 Yes RFS Now Counter inputs LPC2136FBD64/01 Yes RFS Now Dedicated result registers per ADC LPC2138FBD64/01 Yes RFS Now input LPC2138FHN64/01 No RFS Now UART improvements LPC2194HBD64/01 No Dev H1/07 Program security (for the LPC210x) LPC2210FBD144/01 Yes RFS Now LPC2290FBD144/01 Yes RFS Now … LPC2212FBD144/01 No Dev H1/07 LPC2214FBD144/01 No Dev H1/07 LPC2292FET144/01 No Dev H1/07 LPC2294HBD144/01 No Dev H1/07 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  17. 17. LPC2104/5/6 Block Diagram RST RTCK Vdd TRST 128 KB 16-64KB Vss 128 KB 16-64KB TMS TDO TCK X1 X2 TDI FLASH SRAM FLASH SRAM System System Test/Debug Trace PLL Trace PLL Functions Functions SRAM Memory SRAM Memory Controller Accelerator System Clock Controller Accelerator AHB Bridge AHB Bridge ARM 7TDMI-S Local Bus ARM 7TDMI-S Vectored Interrupt Vectored Interrupt Controller Real Time Watchdog Controller Real Time Watchdog AHB to VPB Bridge AHB to VPB Bridge Clock Timer Clock Timer VLSI Peripheral Bus (VPB) 2 II2C C GPIO SPI Port Timer0 Timer1 PWM UART0 UART1 GPIO SPI Port Timer0 Timer1 PWM UART0 UART1 MAT0.0-2 MAT1.0-3 CAP1.0-3 PWM1 - 6 CAP0.0-2 2 pins 8 pins GPIO SSEL MOSI SCL MISO SDA SCK CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  18. 18. LPC2101/2/3 Blocks 2/4/8Kb 8/16/32Kb FLASH FLASH SRAM Fast GPIO SRAM Bootloader, TRST RealMonitor TMS TCK TDO TDI Vectored Vectored Interrupt Internal Flash SRAM Interrupt Fast Internal Flash SRAM Fast EICE ETM Controller ETM GPIO Controller Controller Controller GPIO Controller Controller Local Bus AHB Bus ARM 7TDMI-S ARM 7TDMI-S ARM Local Bus AHB Bus RST System System Functions Functions AHB to VPB X1 AHB to VPB PLL X2 Bridge PLL Bridge Real Time Watchdog Real Time Watchdog Vbatt Clock Timer Clock Timer RTCX1 RTC RTCX2 Osc VLSI Peripheral Bus (VPB) Timer0 Timer1 Timer2 Timer3 ADC Timer0 Timer1 Timer2 Timer3 ADC 2 x I22C 2 x IC SPI SPI/SSP UART0 UART1 GPIO SPI SPI/SSP UART0 UART1 GPIO 10-bits 32-bit 32-bit 32-bit 32-bit 16-bit 16-bit 10-bits 16-bit 16-bit 4 x MAT3 3 x MAT0 3 x MAT2 4 x MAT1 3 x CAP0 3 x CAP2 4 x CAP1 8 Inputs GPIO 2 pins 8 pins AVDD AVSS SSEL SSEL MOSI MISO MISO MOSI SDA SCL SCK SCK CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  19. 19. *Flash size: 128KB LPC2119 Package: LPC2119, LPC2129,LPC2194 256KB LPC2129,94 LQFP64 RST Vdd 16KB 128/256KB* Vss 16KB 128/256KB* X1 X2 JTAG 6 10 RT-Trace SRAM FLASH SRAM FLASH System System E-ICE ETM PLL ETM PLL Functions Functions SRAM Flash Controller SRAM Flash Controller ARM 7TDMI-S ARM 7TDMI-S Controller // MAM System Clock Controller MAM AHB Bridge AHB Bridge ARM Local Bus AHB Bus Vectored AHB to VPB Vectored AHB to VPB Interrupt Bridge Real Time Watchdog Interrupt Bridge Real Time Watchdog Controller Clock Timer Controller Clock Timer VLSI Peripheral Bus (VPB) 2 II2C C GPIO SPI Port Timer0 Timer1 PWM CAN1 CAN2 10-bit ADC UART1 UART0 GPIO SPI Port Timer0 Timer1 PWM CAN1 CAN2 10-bit ADC UART1 UART0 MAT0.0-3 CAP1.0-3 AIN0 - 3 MAT1.0-3 PWM1 - 6 CAP0.0-3 8 pins 8 pins GPIO SSEL MOSI SCL MISO SDA SCK RD2 TD1 RD1 TD2 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  20. 20. LPC2292, LPC2294 n: LPC2292 = 2 144-Pin LPC2294 = 4 Packages 16KB 256KB 16KB 256KB RST Vdd Vss X1 X2 JTAG 6 10 RT-Trace SRAM FLASH SRAM FLASH BLS3:0 CS3:0 A23:0 D31:0 WE OE System System E-ICE ETM ETM Functions Functions SRAM Flash Controller External Memory SRAM Flash Controller External Memory ARM7TDMI-S ARM7TDMI-S Controller // MAM Controller Controller MAM Controller System PLL PLL Clock AHB AHB Bridge Bridge ARM Local Bus AHB Vectored Interrupt AHB to VPB Real Time Watchdog Vectored Interrupt AHB to VPB Real Time Watchdog Controller Bridge Clock Timer Controller Bridge Clock Timer VPB ... 2 II2C C GPIO SPI0 SPI1 Timer0 Timer1 PWM CAN1 CANn UART1 UART0 10-bit GPIO SPI0 SPI1 Timer0 Timer1 PWM CAN1 CANn UART1 UART0 10-bit ADC ADC MAT1.0-3 CAP1.0-3 MAT0.0-3 CAP0.0-3 PWM1 - 6 AIN0 - 7 8 pins 8 pins 4 pins 4 pins GPIO SCL SDA RDn TDn RD1 TD1 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  21. 21. LPC2220 Flashless 72 MHz RTCK RST Vdd TRST 16KB //64KB Vss 16KB 64KB TMS TDO TCK X1 X2 TDI SRAM 0/128/256 KB SRAM 0/128/256 KB FLASH FLASH System System Test/Debug Trace PLL Trace PLL Functions Functions SRAM SRAM ARM 7TDMI-S Memory ARM 7TDMI-S Memory Controller System Clock Controller Accelerator Accelerator AHB Local Bus CS 3:0 A 23:0 Vectored External AHB to VPB Bridge Vectored External AHB to VPB Bridge BLS 3:0 Interrupt Memory Real Time Watchdog Interrupt Memory Real Time Watchdog OE,WE Controller Controller Clock Timer Controller Controller D 31:0 Clock Timer VLSI Peripheral Bus (VPB) 0/2x 2 II2C C Timer0 Timer1 PWM UART0 UART1 ADC 2xSPI/SSP GPIO 0/2x Timer0 Timer1 PWM UART0 UART1 ADC 2xSPI/SSP GPIO CAN CAN CAP1.0-3 PWM1 - 6 MAT0.0-2 MAT1.0-3 CAP0.0-2 8 pins 2 pins 8 pins SSEL SCL SDA MOSI MISO SCK GPIO Package: LQFP144 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  22. 22. LPC213x Block Diagram RST Vdd 32…512 KB TRST 8…32KB RTCK Vss 32…512 KB 8…32KB TMS TDO TCK X1 X2 TDI FLASH SRAM FLASH SRAM System System Test/Debug Trace PLL Trace PLL Functions Functions SRAM Memory SRAM Memory ARM 7TDMI-S BrownOutDetect ARM 7TDMI-S BrownOutDetect Controller Accelerator System Clock Controller Accelerator PowerOnReset PowerOnReset Local Bus and AHB AHB to VPB Bridge Vectored Interrupt AHB to VPB Bridge Vectored Interrupt 32 kHz Controller Real Time Watchdog Controller Real Time Watchdog Vbat Clock Timer Clock Timer VLSI Peripheral Bus (VPB) Timer0 Timer1 PWM UART0 UART1 ADC0/1 DAC GPIO SPI Port SSP Port 2 2x II2C 2x C Timer0 Timer1 PWM UART0 UART1 ADC0/1 DAC GPIO SPI Port SSP Port CAP1.0-3 PWM1 - 6 MAT0.0-2 MAT1.0-3 CAP0.0-2 2x8 pins 1-10-bit 8 pins 2 pins SSEL SSEL MOSI SCL MISO MISO SDA MOSI SCK GPIO SCK LPC2131, LPC2132 NOT Package: LQFP64/HVQFN64 ONLY ONE LPC2131 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  23. 23. LPC213x Series Overview 60 MHz Operation (54MIPS) from both on-chip Flash and SRAM 2 I2C, 2 UARTs, 1 SPI, 1 SPI/ SSP Two 8-channel 10-bit ADCs One 10-bit DAC 4 Timers (Capture/Match/PWM/WDT) 47 I/O pins (5V tolerant) 3.3V Single-Voltage Supply 32KHz RTC, BOD, POR User-code security Real-time Debugging & Trace * Available Q1 2005 ISP, IAP, Parallel Programmer Support Tiny Packages: QFP64 (10 x 10 x 1.4 mm), HVQFN64 (9 x 9 x 0.85 mm) CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  24. 24. LPC213x Series Overview Single Supply Voltage • 3.3V Single-Voltage Supply • CPU operating voltage range of 3.0V to 3.6V (3.3V +/- 10%) with 5 Volt tolerant I/O pads. Brown Out Detection (BOD @ 2-stage monitoring of the voltage) • Stage 1: Vdd < 2.9V, the Brown-Out Detector (BOD) asserts an interrupt signal to the VIC (Vectored Interrupt Controller). • Stage 2: Vdd < 2.6 V LPC213x will be reset to prevent alteration of the Flash as operation of the various elements of the chip would otherwise become unreliable due to low voltage. Power On Reset (POR) • The BOD circuit maintains this reset down below 1V, at which point the Power-On Reset circuitry maintains the overall Reset. CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  25. 25. LPC213x Series Overview RTC with additional crystal pins CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  26. 26. LPC213x Series Overview RTC: • Can be clocked by a separate 32.768KHz or by prescaler divider based on VPB clock • So RTC can run in Power Down mode • Has got its own supply pin Vbat which can be connected to battery or to the (2.0… 3.3… 3.6 V) supply. • Typical power consumption is 14-20uA (@25 degree, with Vbat 2.5 to 3.6V respectively) when the device is in Power Down Mode CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  27. 27. LPC2142/44/46/48 Block Diagram RST Vdd 64-512 KB TRST 16-32KB Vss 64-512 KB 16-32KB TMS TDO TCK X1 X2 TDI FLASH SRAM FLASH SRAM PLL11 PLL System Clock System System Test/Debug ETM ETM Functions Functions PLL22 PLL USB Clock SRAM Memory SRAM Memory ARM 7TDMI-S BrownOutDetect ARM 7TDMI-S BrownOutDetect Controller Accelerator Controller Accelerator VIC VIC PowerOnReset PowerOnReset Local Bus AMBA AHB Bus D+ 8 KB SRAM 8 KB SRAM AHB to USB 2.0 Full AHB to D- USB 2.0 Full 32 kHz shared w/ DMA shared w/ DMA VPB Speed Device Up_LED OR VPB Speed Device Real Time Watchdog Real Time Watchdog (LPC2148 only) Connect (LPC2148 only) Bridge Vbat w/ DMA Bridge w/ DMA Clock Timer Clock Timer Vbus VLSI Peripheral Bus (VPB) UART0/1 2 II2C0/1 C 0/1 Timer0/1 PWM ADC 0/1 DAC SPI Port SSP Port UART0/1 Fast I/O Timer0/1 PWM ADC 0/1 DAC SPI Port SSP Port Fast I/O PWM1 - 6 Tx/RX 0,1 pins (6) Modem CAP x 8 MAT x 8 6+8 pins 1-10-bit SSEL SSEL MOSI SCL MISO MISO SDA MOSI SCK GPIO 46 max SCK Has 1.8V Regulator. Only 3V input needed 64-pin LQFP CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  28. 28. LPC214x Series Overview 60 MHz Operation from both on-chip Flash and SRAM Spec LPC2142 LPC2148 2 I2C, 2 UARTs, 1 SPI, 1 SPI/ SSP Up to 14-channels 10-bit ADCs Internal 64 KB 512 KB One 10-bit DAC Flash 4 Timers (Capture/Match/PWM/WDT) Internal 16 KB 32 KB + 8 45 I/O pins (5V tolerant) SRAM KB shared – 3.5 times faster than older I/O! 10-bit ADC 1 x 6-chan 1 x 8-chan 3.3V Single-Voltage Supply 32KHz RTC with Vbat input 1 x 6-chan Brown Out Detect, Power On Reset UARTs 2 x 16C550 2 x 16C550 User-code security (one with auto CTS/RTS plus Real-time Debugging & Trace fractional baud ISP, IAP, Parallel Programmer Support rate divisor) Tiny Packages: LQFP64 (10 x 10 x 1.4 mm), HVQFN64 (9 x 9 x 0.85 mm) CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  29. 29. LPC214x - USB Features USB 2.0 Full Speed Device Supports 32 physical (16 logical ) endpoints – Supports Control, Interrupt, Bulk and Isochronous endpoints 2kB of endpoint RAM for communication only (not general purpose) 8kB block of general purpose SRAM usable by USB DMA (LPC2148 only) USB controller has dedicated PLL (functionally same as other PLL) USB registers are accessed via the VPB bus, but the 8kB block is accessible via the AHB bus Customer can choose between the UP_LED (Good LinkTM) OR the CONNECT (Soft ConnectTM) functionality CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  30. 30. Extending the success to LPC214x LPC213x Features: • Fast Embedded Flash: Up to 512K Bytes of nearly 60 MHz zero wait state execution from 128-bitx2 wide Flash with Memory Acceleration • Single-voltage supply: on-chip DC-DC converter takes a single 3.3V supply with POR and BOD capabilities • Many standard peripherals: Real-time-clock with power domain, SPI, I2C, UARTS, Timers LPC214x Adds: • USB 2.0 Full-speed 12 Mbits/sec with full USB standard compliance and DMA • Fast I/O Capability; speeds up Software controlled I/O by 3.5X, up to 15Mhz port-pin toggling frequency • 2 10-bit ADCs and a 10-bit DAC with individual result registers • Enhanced UART with hardware handshake plus fractional baud rate divider. -> crystal frequency can be set to a independent value of to the baud rate generator clock CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  31. 31. 2 10-bit Analog-to-Digital Converters with: • 400 Kbits/Sec Sampling frequency with 8 Channels • Each Channel has its own Result Register thus reducing CPU Interrupt Overhead by a factor of 8 • ADCs can Operate in Burst Mode with autonomous signal acquisition • ADCs can be synchronized (e.g. for simultaneous current & voltage measurement) and triggered by an input pin or Timer match ADC Inputs ADC Clock (CLKS Bits) 1-8 n-bit ADC Select Multiple Channels Input Scan ADCR (7:0) (n Clocks/Conv) (SEL Bits) … ADDR7 ADDR0 ADDR1 CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  32. 32. NXP USB versus Competition USB Standard Philips Atmel SAM7S64 ST STR71X Bi-directional* Endpoints supported 16 max/device 16 4 8 Modes Supported Control, Control, Control, Control, Interrupt,Bulk, Interrupt,Bulk, Interrupt,Bulk, Interrupt,Bulk, Isochronous Isochronous Isochronous Isochronous Max. Control Buffer size. 64 bytes 64 bytes 64 bytes 64 bytes Max. Interrupt Buffer Size 64 bytes 64 bytes 64 bytes 64 bytes Max. Bulk Buffer Size 64 bytes 64 bytes 64 bytes 64 bytes Max. Isoch. Buffer Size 1023 bytes 1023 bytes 64 bytes 512 bytes DMA Capability Yes No No * Separate input/output CONFIDENTIAL Subject/Department, Author, MMMM dd, yyyy
  33. 33. LPC2880/8 Family for MP3 player and audio management best fit

×