lpc4370 introduction training pack v1
TRANSCRIPT
High-Performance Data Acquisition … on a Chip!
Introducing the LPC4370 Microcontroller
Feature Overview
Competitive Analysis
Software & Tools
Overview
Applications and Solutions
Support, Pricing & Order Info
2
Today’s Data Acquisition Applications Require Separate ICs for … Input, Processing, and Output
High-speed Data Input(analog & digital)
ADC
SGPIO
analog
digital
camera SCT
• Reduce bottlenecks
• Smaller footprint
• Lower BOM
• Lower power consumption
• Reduced application complexity
Introducing the LPC4370 Microcontroller… a complete data acquisition solution on a single chip!
Data &/or Signal Processing
Core(s)
High-Speed Output& Results Display
Ethernet
LCD
HS USB
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 high-
speed input / output– Graphics LCD controller for results display– More for timing, control, input, output
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
LPC4370Feature Overview
6
LPC43x0 Family Delivers
Multi-core performance for complex algorithms & data-intensive applications – Fastest Cortex-M4 core (204 MHz) on market– Cortex-M0 co-processor (204 MHz)
Flexible, scalable memory configurations 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
Pin compatible to LPC1800
MEMORYCORES
Mul
tilay
er B
us M
atrix
SRAMUp to 264 kB
ROM with ROM Drivers
SYSTEM
INTERFACES
HS USB 2.0 (2)
Ethernet MACGraphic LCD
EMC
SD/MMC
CAN 2.0B (2)
SPIFI
SGPIO
GPDMA
GPIO (146)
SSP/SPI (3) I2C (2)
UART (4) I2S (2)
ARM Cortex-M4 Core
ARM Cortex-M0 Coprocessor
Audio PLLUSB PLL
Windowed WDTSystem PLL
Clock GenerationPower Mgmt
TIMERS
SCT
RTC
32-bit Timers (4)
QEIMCPWM
Alarm Timer
ANALOG
ADC (2) DAC
Floating Point Unit
7
New LPC4370 Family Adds…
New 80-Msps,12-bit ADC for the fastest data conversion possible on MCU
Dedicated subsystem for handling programmable digital I/O– Offloads cores– Includes SGPIO & SPI– Driven by dedicated Cortex-M0– Includes additional 18kB SRAM
Up to 282 kB SRAM
Packages: BGA256/100
Mul
tilay
er B
us M
atrix
ANALOG
80-Msps ADC 6-channel, 12-bit
SYSTEM
Audio PLLUSB PLL
Windowed WDTSystem PLL
Clock GenerationPower Mgmt
TIMERS
SCT
RTC
32-bit Timers (4)
QEIMCPWM
Alarm Timer
ADC (2) DAC
CORES
ARM Cortex-M4 Core
ARM Cortex-M0 Coprocessor
SUBSYSTEM
SGPIO
ARM Cortex-M0
SRAM 16kB SRAM 2kB
SPI
INTERFACES
HS USB 2.0 (2)
Ethernet MACGraphic LCD
EMC
SD/MMC
CAN 2.0B (2)
SPIFI
GPDMA
GPIO (146)
SSP/SPI (2) I2C (2)
UART (4) I2S (2)
MEMORY
SRAMUp to 264 kB
ROM with ROM DriversFloating Point Unit
New 80-Msps 12-bit ADCFastest 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
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
Dedicated subsystem for handling programmable digital I/O– Dedicated bus matrix with
Cortex-M0 core (up to 204 MHz) – Manages SGPIO & SPI I/O– Direct access to 18kB SRAM
master
master
SUBSYSTEM
ARM CORTEX-M0
ARM CORTEX-M4
Multilayer Bus Matrix
ARM CORTEX-M0
System
bus
D-code bus
I-code bus
System
bus
Multilayer Bus Matrix
Core-Core Bridge
SRAM16 KB
ROMSerial GPIO
SPI
master slaves
2 x HSUSB 2.0
EthernetMAC
LCDcontroller
SRAM2KB
…
…
master master master
Expandable Memory ArchitectureTailor 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
LPC4370
Cortex-M4Serial Flash
Memory
432
SRAM(Up to 282kB)
SPIFIEMC
Unique SPI Flash interface allows inexpensive memory scaling using low-cost QSPI memory
SRAM/SDRAM
Fast external memory controller allows scaling of external SDRAM (or NOR Flash)
8/16/32
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)
Support for host and device modes enables dual-host USB configurations
Free USB stack library
On-chip USB ROM drivers
LPC4370
HS USB1 Vbus
D+
D-
IDGND
ExternalHS
ULPIPHYDATA(7:0)
ULPI
CLKDIRNXTSTP
Vbus
D+
D-
IDGND
HS USB0
InternalHS PHY
LPC4320 LPC4330 LPC4350 LPC4370
IntegratedHi-Speed USB PHY
● ● ● ●
Second USB* ● ● ●
* Hi-Speed with external PHY
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
Fast ADC, dedicated peripheral handler
LCD
Ethernet
FS USB (LPC4000) HS USB (4300)
I2C, SPI, UARTs, SPIFI, etc.
Flash
SRAM
LPC4000120-MHz Cortex-M4, Cortex-M4F
LPC4300204-MHz Cortex-M4F & 204-MHz Cortex-M0
LPC4370 LPC4000 & LPC4300 (Cortex-M4) Families
LPC4370
LPC4088 LPC4353 LPC4357 LPC4350
LPC4076 LPC4078 LPC4333 LPC4337 LPC4330
LPC4072 LPC4074 LPC4323 LPC4322 LPC4325 LPC4327 LPC4320
LPC4313LPC4312 LPC4315 LPC4317 LPC4310
64 kB 128 kB 256 kB 512 kB 512 kB 768 kB 1 MB kB Flashless
32 kB 40 kB 80 kB 96 kB 104-136 kB 136 kB 136 kB 168-282 kB
LPC4370Applications & Solutions
LPC43707.1
Multi-channel Audio Codec
LPC4370 Application Example7.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• I2S x2• Serial GPIO for emulating I2S
FS or HS USB streaming
SGPIO
Multi-Channel Audio
Cortex-M0USB
Cortex-M4Cortex-M4 100%available for audio signal processing
Cortex M0 handles interrupt-
intensive I/O processing
LPC4370 Application ExampleHigh 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
HS USB
ADC80 Msps
analog data
digital data
camera input
State Config TimerCortex-M0
(USB stack)
Cortex-M4 SGPIO
LPC4370 Example ApplicationMixed-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
Embedded Artists p/n: EA-XPR-202– www.embeddedartists.com/products/app/labtool.php
LPC4370
80-MspsADC
GPDMA
Cortex-M4SGPIO
analog
digital
HS USB
LPC4370Competitive Analysis
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-PHY1x ULPI
1x FS-PHY 1xFS-PHY 1xFS-PHY
ADC #modules x res., sample rate
1x12-bit, 80Msps2x10-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-bitSDRAM, etc.102MHz max.
Limited 8/16-bitNo SDRAM84Mhz max.
8/16/32-bit, 2G addr.Synchr/asynchr memories, 50MHz max.
24-bit addr8-bit data~60MHz max.
Camera I/F SCT or SGPIO8-bit App Note
Y8 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/144QFP64/80/100/144
QFP100/144
Competitive Comparison
LPC4370Software & Tools
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
* with Red Probe+ and LPC-Link2 debug adapters only
Free Pro (NEW!)
License fee Free $495
Download limit
256K unlimited
Support forums1-yr renewable NXP email ticket-based
Upgradable NA online
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
http://www.nxp.com/demoboard/OM13054.html
NXP Partner Ecosystem
23
LPC Microcontroller
LPC4370 SUPPORT, PRICING, ORDER INFO
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
Ordering Information: Parts & Tools
26
PARTS PART NO DETAILS ORDER INFO
LPC4370 LPC4370FET256 BGA256 package www.nxp.com/products/microcontrollers/cortex_m4/LPC4370FET256.html
LPC4370 LPC4370FET100 BGA100 package www.nxp.com/products/microcontrollers/cortex_m4/LPC4370FET100.html
DEVELOPMENT & DEMO TOOLS
Link2 dev board & debugger
OM13054,598LPC4370 Development board / Cortex-M debugger
http://www.embeddedartists.com/products/lpcxpresso/lpclink2.php
Keil MCB4357 Eval Board OM13040,598Evaluation board for LPC4357 / For Internet radio solution
http://www.nxp.com/demoboard/OM13040.html
Oscilloscope Example/ Solution (aka Lab Tool)
EA-XPR-201Add-on board for Link2 available from EA in October
http://www.embeddedartists.com/products/app/labtool.php
Oscilloscope Example/ Solution (aka Lab Tool Plus Link2)
EA-XPR-202Bundled with Link2, available in October from EA
http://www.embeddedartists.com/products/app/labtool.php
LPCXpresso IDE LPCXpresso IDE v6Cross platform C/C++ development suite supporting all 32-bit LPC MCUs
www.nxp.com/lpcxpresso/home
Questions?For more information visit:www.nxp.com/microcontrollers