• Like
Lpc4370 introduction training pack v1
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Lpc4370 introduction training pack v1



Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • You’ve asked us to talk for a few minutes about the trends we see happening in the market that are driving changes in MCU technology
  • M0 – same bus as m4 – same speed, same peripherals.Other m0 core… can run at different speed, can only access things in subsystem with zero wait state.Intention – peripehal handler for fast transfers, because SGPIO requires some proc, thus here is M0 for that.This is the original dual-core arch…addedUsed forAddingfeatures…to differentiate between low & high-end products, e.g. gordon has notes.Peripheral handler..targeted for xyz..high-end apps, offloads CPU. See from customers as third core.Memory – accessible by any core, but to cross bus = penalty, thus intended as dedicated to M0SGPIOFPGA interface…app note in progress? M0 = part of fPGA interfaceBit banging to non-xx interface, do it and control it…becomes controller..offloads core. E.g. customized i/f- another I2S or SPI…in applications requiring faster, such as xxx.
  • Key points on this slide:The 80Msps 12bit ADC is in addition to the two existing 10b 8ch ADCs on the LPC4350/30/20/10Total number of channels available is 22 (this part doesn’t have the problem with the two 8-ch ADCs muxed together)The 80Msps ADC can have 6 single ended channels or 1 differential channelThe 80Msps ADC will need some signal conditioning on the inputs
  • Medical SystemsPortable meters, large monitoring equipment White GoodsHigh end Display and Human Interface
  • Streaming HS USB multi-channel audio systemIn an audio system, the Cortex-M0 manages real-time control and the Cortex-M4 performs complex processing to improve the audio signal. The Cortex-M0 accepts the Hi-Speed USB data stream, prepares the audio data for processing, and sends processed data to the speakers. The two cores use separate connections to access the peripherals and memory, so there's no bus contention. (The SGPIO feature makes it easier to work with serial interfaces. See section II. D).
  • Example use cases. The Lab Tool uses Serial GPIO for fast digital inputs (logic analyzer) and the fast ADC for fast analog inputs (oscilloscope)
  • You’ve asked us to talk for a few minutes about the trends we see happening in the market that are driving changes in MCU technology
  • You’ve asked us to talk for a few minutes about the trends we see happening in the market that are driving changes in MCU technology
  • You’ve asked us to talk for a few minutes about the trends we see happening in the market that are driving changes in MCU technology


  • 1. Overview Feature Overview High-Performance Data Acquisition … on a Chip! Applications and Solutions Software & Tools Competitive Analysis Introducing the LPC4370 Microcontroller Support, Pricing & Order Info
  • 2. Today’s Data Acquisition Applications Require Separate ICs for … Input, Processing, and Output Introducing the LPC4370 Microcontroller … a complete data acquisition solution on a single chip! High-speed Data Input (analog & digital) camera digital analog Data &/or Signal Processing High-Speed Output & Results Display • Reduce bottlenecks • Smaller footprint SCT HS USB • Lower BOM SGPIO Ethernet • Lower power consumption ADC Core(s) LCD • Reduced application complexity 2
  • 3. On a Single, Powerful Microcontroller, LPC4370 Integrates… New 80-Msps, 12-bit ADC – fastest on an MCU – for high-speed analog data conversion Dedicated subsystem for handling programmable digital I/O & pre- or post-processing Dual, 204-MHz cores – ample performance for complex algorithms & data-intensive applications Large SRAM & flexible memory expansion to tailor memory type and size to application requirements Advanced peripherals – High-speed USB (with HS PHY) and Ethernet for highspeed input / output – Graphics LCD controller for results display – More for timing, control, input, output 3
  • 4. For Applications with High Speed Data Acquisition Requirements Such As … Spectrum analysis Current measurement Digital signal processing, digital filtering Industrial automation Portable and analytical instrumentation Audio streaming/processing Smart metering And more 4
  • 5. LPC4370 Feature Overview
  • 6. LPC43x0 Family Delivers SRAM ARM Cortex-M4 Core Multi-core performance for complex algorithms & data-intensive applications Up to 264 kB Floating Point Unit ROM with ROM Drivers ARM Cortex-M0 Coprocessor MEMORY CORES – Fastest Cortex-M4 core (204 MHz) on market – Cortex-M0 co-processor (204 MHz) System PLL Windowed WDT USB PLL Audio PLL Power Mgmt Clock Generation SYSTEM Multilayer Bus Matrix Flexible, scalable memory configurations EMC SPIFI SD/MMC GPDMA Graphic LCD Ethernet MAC 32-bit Timers (4) SCT MCPWM QEI CAN 2.0B (2) HS USB 2.0 (2) RTC Alarm Timer SSP/SPI (3) I2C (2) UART (4) I2S (2) SGPIO GPIO (146) TIMERS ADC (2) DAC ANALOG reduce cost and future-proof designs – Up to 264-kB SDRAM – Add external low-cost QSPI Flash with SPIFI – Expand external SRAM/SDRAM/Nor Flash through external memory controller Advanced peripherals to lower cost and reduce design and board complexity – Dual Hi-Speed USB, HS USB PHY, free USB libraries – Ethernet MAC – Graphics LCD controller, free graphics library – SCT, SGPIO Packages: BGA256/180/100, LQFP208/144 INTERFACES Pin compatible to LPC1800 6
  • 7. New LPC4370 Family Adds… SRAM ARM Cortex-M4 Core Up to 264 kB Floating Point Unit ROM with ROM Drivers ARM Cortex-M0 Coprocessor MEMORY CORES Windowed WDT USB PLL Audio PLL Power Mgmt Clock Generation SYSTEM Multilayer Bus Matrix System PLL ARM Cortex-M0 SRAM 16kB SRAM 2kB SGPIO SPI SUBSYSTEM EMC SPIFI SD/MMC GPDMA Graphic LCD Ethernet MAC TIMERS CAN 2.0B (2) HS USB 2.0 (2) 80-Msps ADC SSP/SPI (2) Dedicated subsystem for handling programmable digital I/O – Offloads cores – Includes SGPIO & SPI – Driven by dedicated Cortex-M0 – Includes additional 18kB SRAM I2C (2) UART (4) New 80-Msps,12-bit ADC for the fastest data conversion possible on MCU I2S (2) 32-bit Timers (4) SCT MCPWM QEI RTC Alarm Timer Up to 282 kB SRAM Packages: BGA256/100 6-channel, 12-bit ADC (2) DAC ANALOG GPIO (146) INTERFACES 7
  • 8. New 80-Msps 12-bit ADC Fastest Data Conversion on an MCU LPC4370 supports up to 22 channels with the addition of new 80-Msps, 12-bit ADC – – – – Sample freq: up to 80 Msps Measurement range: 0.1-0.9V Conversion time: 12.5 nsec (1/80M) Channels: six single-sided or one differential – Power down mode – Output FIFO with DMA support Other analog components include: – Two 8-ch, 10-bit SAR ADCs, 400 Ksps – One 10-bit DAC, 40 Ksps
  • 9. Multi-core Performance Handles More Complex Algorithms & More Data 204-MHz ARM Cortex-M4F core, fastest on the market – Integrated floating point processor – Supports DSP & SIMD instructions master 204-MHz ARM Cortex-M0 coprocessor, fastest on the market – More processing for handling I/O and control tasks – Code & tool compatible with Cortex-M4 SRAM 16 KB 2KB ROM Serial GPIO SPI SUBSYSTEM ARM CORTEX-M4 master master System bus System bus master master LCD controller ARM CORTEX-M0 D-code bus – Dedicated bus matrix with Cortex-M0 core (up to 204 MHz) – Manages SGPIO & SPI I/O – Direct access to 18kB SRAM SRAM Multilayer Bus Matrix master I-code bus Dedicated subsystem for handling programmable digital I/O ARM CORTEX-M0 slaves Ethernet MAC 2 x HS USB 2.0 … Core-Core Bridge Multilayer Bus Matrix … 9
  • 10. Expandable Memory Architecture Tailor Memory Type, Cost & Footprint to Application Future-proof memory requirements – Add serial external Flash sized to fit application • SPIFI interface connects low cost QSPI Flash • External Flash looks & acts same as 32-bit internal Flash to cores – Add external SDRAM or NOR Flash via fast external memory controller (EMC) Choose best memory device for application & footprint Fast external memory controller allows scaling of external SDRAM (or NOR Flash) LPC4370 (Up to 282kB) 8/16/32 SRAM/SDRAM Unique SPI Flash interface allows inexpensive memory scaling using low-cost QSPI memory SRAM 32 EMC Cortex-M4 4 SPIFI Serial Flash Memory
  • 11. LPC43x0 Advanced Peripherals Hi-Speed USB Dual Hi-Speed USB – integrated HS USB PHY reduces cost, complexity and footprint (USB1 ) – integrated FS USB PHY & ULPI interface to external HS PHY (USB2) LPC4370 HS USB0 Vbus D+ Internal HS PHY Support for host and device modes enables dual-host USB configurations DID GND Free USB stack library HS USB1 U L P I CLK DIR NXT STP DATA(7:0) Vbus External HS ULPI PHY D+ On-chip USB ROM drivers DID GND LPC4320 Integrated Hi-Speed USB PHY Second USB* * Hi-Speed with external PHY LPC4330 LPC4350 LPC4370 ● ● ● ● ● ● ●
  • 12. LPC43x0 Advanced Peripherals Integrated graphics LCD controller – Programmable resolutions from CGA (320x200) to XGA (1024x768) and <15fps – Free Segger Emwin graphics library 10/100 Mbps IEEE 802.3 Ethernet MAC – – – – – IEEE 1588-2008 time stamping block Supports both full-duplex and half-duplex operation DMA support External MII and RMII Ethernet PHY LWIP stack supported in LPCOpen software SGPIO: up to 16 channels of configurable I/O for customizing application-specific serial or parallel interfaces State configurable timer (SCT): PWM state machine for advanced timing tasks and special-purpose I/O, e.g. camera I/F
  • 13. LPC4370 LPC4000 & LPC4300 (Cortex-M4) Families LPC4000 LPC4300 120-MHz Cortex-M4, Cortex-M4F 204-MHz Cortex-M4F & 204-MHz Cortex-M0 LPC4370 Fast ADC, dedicated peripheral handler LPC4088 LPC4076 LPC4353 LPC4357 LPC4350 LCD LPC4078 LPC4333 LPC4337 LPC4330 Ethernet LPC4323 LPC4322 LPC4074 LPC4325 LPC4327 LPC4320 FS USB (LPC4000) HS USB (4300) LPC4313 LPC4312 LPC4072 LPC4315 LPC4317 LPC4310 I2C, SPI, UARTs, SPIFI, etc. Flashless Flash 64 kB 128 kB 256 kB 512 kB 512 kB 768 kB 1 MB kB 32 kB 40 kB 80 kB 96 kB 104-136 kB 136 kB 136 kB 168-282 kB SRAM 13
  • 14. LPC4370 Applications & Solutions
  • 15. LPC4370 Application Example 7.1 Audio / Multimedia Speakers – Cortex-M4 for signal processing – Cortex-M0 for I/O handling – Hi-Speed or Full Speed USB for audio streaming • Host or device USB • Audio PLL Cortex M0 • I2S x2 handles interrupt• Serial GPIO for emulating I2S intensive I/O processing LPC4370 USB Cortex-M0 SGPIO 7.1 Multichannel Audio Codec Multi-Channel Audio Cortex-M4 FS or HS USB streaming Cortex-M4 100% available for audio signal processing
  • 16. LPC4370 Application Example High Speed Data Acquisition Single MCU collects high-speed inputs from analog, digital or camera devices and output via Hi-Speed USB Key blocks – 80-Msps ADC – Hi-Speed USB Typical applications: instrumentation, robotics/machine vision, etc. LPC4370 ADC 80 Msps HS USB Cortex-M4 Cortex-M0 (USB stack) SGPIO State Config Timer analog data digital data camera input
  • 17. LPC4370 Example Application Mixed-Signal Logic Analyzer/Oscilloscope Provides logic analyzer, oscilloscope, and signal/pattern generation functionality Powered by LPC4370’s Cortex-M cores, 80-Msps ADC, Hi-Speed USB, and more Features – – – – – – – – – Up to 10-channel logic analyzer 11-channel digital signal generator 2-channel oscilloscope Analog & demo signal generators Analog calibration (data stored in EEPROM) One shot and continous sampling Sorting and moving signals I2S, I2C and UART protocol analyzers built in! Collected data can be exported LPC4370 GPDMA HS USB Embedded Artists p/n: EA-XPR-202 – www.embeddedartists.com/products/app/labtool.php 80-Msps ADC analog SGPIO digital Cortex-M4
  • 18. LPC4370 Competitive Analysis
  • 19. Competitive Comparison NXP LPC4370 Competitor A Competitor B Competitor C MHz /FPU 204 MHz / Y 168 MHz / Y 72 & 100 MHz / N 120MHz / Y USB 2x HS-USB 1x HS (d/h/o) 1x FS (d/h/o) 1xFS/LS 1xFS USB PHY 1x HS-PHY 1x ULPI 1x FS-PHY 1xFS-PHY 1xFS-PHY ADC #modules x res., sample rate 1x12-bit, 80Msps 2x10-bit, 400ksps 3x12-bit, 2.4Msps 2x16-bit, 818ksps 12-bit mode 461ksps 16-bit mode 2x12-bit, 1Msps (16-bit w/ avg’ing) Ext. Bus 8/16/32-bit SDRAM, etc. 102MHz max. Limited 8/16-bit No SDRAM 84Mhz max. 8/16/32-bit, 2G addr. Synchr/asynchr memories, 50MHz max. 24-bit addr 8-bit data ~60MHz max. Camera I/F SCT or SGPIO 8-bit App Note Y 8 to 14-bit N Parallel I/O Controller, App Note LCD I/F Y N N N Flash Scales to >4GB using SPIFI to QSPI 512/1024KB 128/256/512KB 512/1024KB SRAM 282KB 192KB 32/64/128KB 128KB GPIO up to 146 up to 140 up to 94 up to 117 Package BGA100/256 BGA176, QFP100/144/176 BGA121/144 QFP64/80/100/144 QFP100/144
  • 20. LPC4370 Software & Tools
  • 21. LPCXpresso IDE v6 Powerful Eclipse-based IDE – – – – Cross platform: Windows, Mac, Linux supported C and C++ development Supports all 32-bit LPC MCUs Advanced HW debug capabilities including trace • LPC-Link, Red Probe+, RDB-Link, LPC-Link2, CMSIS-DAP • MTB, ETB, SWV Trace Free Edition – 256K download limit – Simple registration at LPCWare.com NEW! Pro Edition – – – – All Code Red “Red Suite” features No download limit Professional customer support $495 license fee Free Pro (NEW!) License fee Free $495 Download limit 256K unlimited forums 1-yr renewable NXP email ticket-based NA online Support Upgradable * with Red Probe+ and LPC-Link2 debug adapters only
  • 22. LPC-Link2: Demoboard and Debugger LPC4370 development board and standalone debugger all in one – Develop applications directly on the host MCU – Use the programmable images to enable debugging all other NXP Cortex-M products Features – 10-pin JTAG/SWD connector – 20-pin JTAG/SWD/ETM connector – Analog, digital and serial expansion headers Configuration Tool enables broad compatibility with multiple tools/IDEs – – – – CMSIS-DAP Segger J-Link (NXP MCUs only) Code Red RedLink http://www.lpcware.com/lpclink2-config-tool 22 http://www.nxp.com/demoboard/OM13054.html
  • 23. NXP Partner Ecosystem LPC Microcontroller 23
  • 25. Microcontroller Support Get answers – www.nxp.com/technicalsupport – www.lpcware.com/forum www.nxp.com/lpcxpresso www.nxp.com/lpcxpresso-support – NXP examples page, schematics and FAQ www.nxp.com/lpczone – Video training modules http://www.lpcware.com/content/device/lpc43xx – LPC43xx family product page
  • 26. Ordering Information: Parts & Tools PARTS PART NO DETAILS ORDER INFO LPC4370 LPC4370FET256 BGA256 package www.nxp.com/products/microcontrolle rs/cortex_m4/LPC4370FET256.html LPC4370 LPC4370FET100 BGA100 package www.nxp.com/products/microcontrolle rs/cortex_m4/LPC4370FET100.html OM13054,598 LPC4370 Development board / Cortex-M debugger http://www.embeddedartists.com/prod ucts/lpcxpresso/lpclink2.php Keil MCB4357 Eval Board OM13040,598 Evaluation board for LPC4357 / For Internet radio solution http://www.nxp.com/demoboard/OM13 040.html Oscilloscope Example/ Solution (aka Lab Tool) EA-XPR-201 Add-on board for Link2 available from EA in October http://www.embeddedartists.com/prod ucts/app/labtool.php Oscilloscope Example/ Solution (aka Lab Tool Plus Link2) EA-XPR-202 Bundled with Link2, available in October from EA http://www.embeddedartists.com/prod ucts/app/labtool.php LPCXpresso IDE v6 Cross platform C/C++ development suite supporting all 32-bit LPC MCUs www.nxp.com/lpcxpresso/home DEVELOPMENT & DEMO TOOLS Link2 dev board & debugger LPCXpresso IDE 26
  • 27. Questions? For more information visit: www.nxp.com/microcontrollers