打破传统设计, LPC 微控制器家族再添新成员 恩智浦半导体 2012 年 11 月
NXP Microcontrollers Eindhoven (NL) Nijmegen (NL) Bellevue (US) San Jose (US) Beijing Shanghai Kaohsiung Bangalore (India) Singapore NXP started in 8-bit MCUs as Philips and now has over 10 years experience with ARM microcontrollers. NXP s Microcontroller business line provides a 32-bit ARM microcontroller portfolio including ARM7 (> 60 parts), ARM9 (>25 parts), Cortex- M (>250 parts), and growing! Headquartered in San Jose, CA, NXP s Microcontroller division has major design centers in San Jose, the Netherlands, and Shanghai employing over 150 design & application engineers. Production locations include SSMC Singapore, TSMC Taiwan and APK Kaohsiung. Additional information can be found at www.nxp.com. 2
NXP is a leader in ARM Flash MCUs 8051 Clear strategy: 100% focus on ARM Top performance through leading technology & architecture ARM9 TM ARM7 TM Design flexibility through pin- and software-compatible solutions Scalable memory sizes Widest range of peripherals Unlimited choice through complete families for multiple cores Cortex TM -M0+ Cortex TM -M0 Cortex TM -M3 Cortex TM -M4
LPC Leading with Innovation 4
NXP MCU LPC Lines LPC Go LPC1100 LPC1100LV LPC11E00 LPC131x LPC210x LPC Connect LPC11Uxx LPC11Cxx LPC11A00 LPC1200 LPC134x LPC213x LPC214x LPC ConnectPlus LPC4000 LPC1700 LPC2200 LPC2300 LPC2400 LPC ConnectTurbo LPC1800 LPC4300 LPC2900 LPC Command LPC3100 LPC3200 10 years of ARM experience 5
Cortex-M0+ New Cortex-M0+ Features Single-cycle IO 2-stage pipeline Miro Trace Buffer (MTB) Memory Protection (MPU) Customer Application Benefits Faster IO manipulations Improved memory access; Faster branch in firmware; Shortens debugging time Improved code security 6
LPC800 An indispensable device for all embedded engineers
Flash The Newest Member of LPC Go Family Flashles s LPC Command 1MB 768kB 512kB LPC ConnectTurbo 256kB 128kB 64kB LPC Go LPC Connect LPC ConnectPlus 32kB 16kB 8kB 4kB LPC800 Newest Member of LPC Go Family 8 16 20 24 33 48 64 80 100 144 180 208 256 296 pins 8
GPIO Pads Switch Matrix APB Bus AHB-LITE Bus LPC800 Cortex-M0+ Microcontrollers LPC800: Low Power Cortex-M0+ Cortex-M0+ processor, up to 30MHz ARM CORTEX-M0+ 30 MHz TIMERS IOP GPIO Up to 18 SCT 4 ch. Multi-Rate Timer WWDT Wake-up Timer SPI (2) I 2 C USART (3) Bridge Flash Up to 16 kb SRAM Up to 4 kb ROM CRC Engine Power Control PMU, power modes, BOD, single V dd power supply, POR Clock Gen Unit 12MHz, 1% IRC OSC Watchdog OSC 1-25 MHz System OSC System PLL SYSTEM Comparator With External Vref Memory: Up to 16 KB Flash Up to 4 KB SRAM USART, I2C, and Power Profile ROM Drivers Peripherals: Up to 3x USART, 2x SPI, 1x I 2 C 1x Analog Comparator, external Vref 4-ch Multi-Rate Timer, Self wake-up Timer Switch matrix for peripheral configurations State Configurable Timer, WatchDog Timer Pattern matching engine (GPIO) Up to 18 GPIO SERIAL INTERFACES ANALOG Single V DD power supply (1.8V to 3.6V) TSSOP16/20, SO20 and DIP8
Switch Matrix Movable functions Can be assigned to any external pin that is not power or ground UART, SPI, I2C, SCT, comparator o/p, CLKOUT, Pattern match o/p Fixed pin functions XTAL, comparator i/p, GPIOs Can be replaced by movable functions Switch Matrix UART P0_1 SPI P0_2 I2C P0_3 TIMER P0_4
Switch Matrix Configuration Tool Free Tool: Download from LPCware.com!
State Configurable Timer (SCT) Combines a 32-bit timer or 2 16-bit counters with a configurable state machine 4 Inputs, 4 Outputs 6 Events, 2 States, 5 Match/Capture registers Implements virtually any timing or PWM function found on popular 8-bit MCUs without loading the CPU Wide variety of counting, output, input, and control operations Dead time insertion High resolution PWMs Timer Input Start State 3 State 1 State 2 Timer Output Motor Control Generating PWM outputs, triggering ADC sample points Lighting Modulated PWM outputs, reaction to lamp sensor Custom sampling of input signals for: Frequency detection Pulse width detection Phase detection Custom control signals in hardware: Clock or signal gating Complex modulation of outputs Pulse sequences
Graphical SCT configuration tool GUI-based configuration tool (Redstate) Integrated into LPCXpresso Choose pre-configured timing functions or build your own
Pattern Match Engine (PME) Pin Interrupt generator 8 pins can be selected to generate interrupts to the core Pattern match feature The same 8-pins (above) can be selected from all GPIO pins to contribute to a Boolean expression Example: (IN0)~(IN1)(IN3)^ + (IN1)(IN2) + (IN0)~(IN3)~(IN4) The PME keeps polling these pins and generates an interrupt to the core when one or more of the bit slices match IN0 IN1 IN2 IN3 IN4 IN5 IN6 IN7 Pattern Match Engine O/P Both the pin interrupt and pattern match blocks are mutually exclusive
Enhanced GPIO Pin Manipulation Enhanced GPIO Pin Manipulation Capable of simultaneously reading Bit/Byte/Word or toggling up to 18 I/Os per instruction Support high frequency I/O toggling As fast as CPU_Clock/2 Toggle bit0 bit0 bit1 bit2 bit1 bit2 Bit n Bit n+1 Bit n Bit n+1
Analog Comparator Edge and level Comparator output signals connected to State Configurable Timer (SCT), allowing for the recording of event comparison, timestamps 32 levels of Comparator reference voltage for fine grain comparison V DDA at 3.3V, or External V REF Comparator IP V DDA COMPSTAT V REF Comparator Analog Comparator Digital TO SCT COMPEDGE (NVIC)
Enhanced Serial Interfaces SPI speed Maximum data rates of 30 Mbit/s in slave and master mode I2C operation can be routed to: Dedicated I2C pins (1Mbits/sec) and Any other open-drain pins (by routing the functions using switch matrix) ROM drivers to configure I2C USART Synchronous operations on all 3 UARTs Maximum bit rates of 1.875 Mbit/s in asynchronous mode and 30 Mbit/s in synchronous mode for USART functions ROM drivers to configure USART Wakeup from low power modes
Memory Block Enhancements Flash: 1K sectors with 64-byte page program/erase EEPROM emulation CRC Engine Supports three common polynomials CRC-CCITT, CRC-16, and CRC-32 Accept any size of data width per write: 8, 16 or 32-bit On-chip BootROM drivers Drivers for USART and I 2 C Power profiles for active run time power management In-System and In-Application Flash Programming Support
Timers Multi-Rate timer (MRT) 31-bit timer with four independent channels Each channel can generate interrupts for: Repeat interrupt mode (application- Counter operation) and One-shot interrupt mode (application- software delay) Self Wakeup timer (WKT) A non-zero value in this 32-bit timer initiates a countdown sequence. Wakeup source from low power modes Windowed watchdog timer (24-bit timer) State Configurable Timer (SCT) Advanced timer with four match/compare outputs that can be used for PWM operation Two 16-bit counters or one 32-bit counter 4 Inputs, 4 Outputs 6 Events with state machine support, 5 Match/Capture registers
LPC800 Power Consumption Low Power Mode Impact Active 100uA/MHz* Sleep 600 ua** * while (1) ** 12 MHz, peripherals disabled + Deep Sleep Below 170 ua Power Profiles Power Down Below 1.8 ua Deep Power Down 220 na Sleep Deep Sleep Power Down Deep Power Down Peripherals and memories are active, core is shut down Peripherals receive no internal clocks. Memories are in stand-by mode. The WWDT, WKT, and BOD can remain active to wake up the system on an interrupt Peripherals receive no internal clocks. The flash memory is powered down. The WWDT, WKT, and BOD can remain active to wake up the system on an interrupt The entire system is shut down except for the general purpose registers in the PMU and the self wake-up timer. All registers maintain their internal states. The part can wake up on a pulse on the WAKEUP pin or when the self wake-up timer times out. On wake-up, the part reboots
Designed for Scalability NXP s low-pin-count packages are designed for sharing systemcritical pin-out Customers can easily swap or scale packages that fit their applications the most
Low-Pin-Count Package Savings for Customers Design Ease of Making Prototype DIP or TSSOP for prototyping on breadboard and hand-solder MFG Ease of Assembly Low-Pin-Count packages for hand-solder during assembly Yield Reduced Manufacturing Process No need for reflow, no QFN ground pad to deal with, and easy for re-work
All at an 8-bit Price LPC810 M021FN8 LPC811 M001FDH16 LPC812 M101FDH16 LPC812 M101FD20 LPC812 M101FDH20 Flash 4 8 16 16 16 SRAM 1 2 4 4 4 Package DIP8 TSSOP16 TSSOP16 SO20 TSSOP20 I 2 C 1 1 1 1 1 SPI 1 1 2 1 2 UART 2 2 3 2 3 SCT 1 1 1 1 1 MRT 4-ch 4-ch 4-ch 4-ch 4-ch Comp 1 1 1 1 1 Comp V ref No Yes Yes Yes Yes GPIO 6 14 14 18 18 Availability Evaluation Kits: November 2012 / Samples: December 2012
PRODUCT LONGEVITY PROGRAM This certificate is awarded to LPC800 ARM Cortex-M0+ Microcontrollers In recognition of LPC800 joining NXP Microcontroller Longevity Program Minimum 10-yr Availability
Robust Developer Ecosystem Extensive user community Online developer forums Extensive sample code Free tools
Where to get started? www.nxp.com www.lpcware.com 26
27