中国电子技术网

设为首页 网站地图 加入收藏

 

NXP Keil LPC1768 ARM Cortex-M3 MCU开发方案

关键词:工业控制 马达控制 工业网络;消费类电子 白色家电 照明系统

时间:2014-05-26 10:31:35       作者:NXP       来源:中电网

nxp公司的LPC1769/68/67/66/65/64/63是基于ARM Cortex-M3核的微控制器,具有高度集成和低功耗,工作频率高达100MHz/120MHz,采用三级流水线和哈佛架构,具有独立的本地指令,数据总线和用于外设的第三总线,高达512KB闪存,主要用在电表,告警系统,照明系统,白色家电,工业网络和马达控制.本文介绍了LPC1769/68/67/66/65/64/63主要特性和优势,框图,以及Keil LPC1768评估板MCB1700主要特性和电路图.

The LPC1769/68/67/66/65/64/63 are ARM Cortex-M3 based microcontrollers for embedded applications featuring a high level of integration and low power consumption. The ARM Cortex-M3 is a next generation core that offers system enhancements such as enhanced debug features and a higher level of support block integration.

The LPC1768/67/66/65/64/63 operate at CPU frequencies of up to 100 MHz. The LPC1769 operates at CPU frequencies of up to 120 MHz. The ARM Cortex-M3 CPU incorporates a 3-stage pipeline 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 peripheral complement of the LPC1769/68/67/66/65/64/63 includes up to 512 kB of flash memory, up to 64 kB of data memory, Ethernet MAC, USB Device/Host/OTG interface, 8-channel general purpose DMA controller, 4 UARTs, 2 CAN channels, 2 SSP controllers, SPI interface, 3 I2C-bus interfaces, 2-input plus 2-output I2S-bus interface, 8-channel 12-bit ADC, 10-bit DAC, motor control PWM, Quadrature Encoder interface, four general purpose timers, 6-output general purpose PWM, ultra-low power Real-Time Clock (RTC) with separate battery supply, and up to 70 general purpose I/O pins.

The LPC1769/68/67/66/65/64/63 are pin-compatible to the 100-pin LPC236x ARM7-based microcontroller series.

LPC1769/68/67/66/65/64/63主要特性和优势:

 ARM Cortex-M3 processor, running at frequencies of up to 100 MHz(LPC1768/67/66/65/64/63) or of up to 120 MHz (LPC1769). A Memory Protection Unit(MPU) supporting eight regions is included.
 ARM Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC).
 Up to 512 kB on-chip flash programming memory. Enhanced flash memory accelerator enables high-speed 120 MHz operation with zero wait states.
 In-System Programming (ISP) and In-Application Programming (IAP) via on-chip bootloader software.
 On-chip SRAM includes:
 32/16 kB of SRAM on the CPU with local code/data bus for high-performance CPU
access.
 Two/one 16 kB SRAM blocks with separate access paths for higher throughput.These SRAM blocks may be used for Ethernet, USB, and DMA memory, as well as for general purpose CPU instruction and data storage.
 Eight channel General Purpose DMA controller (GPDMA) on the AHB multilayer matrix that can be used with SSP, I2S-bus, UART, Analog-to-Digital and Digital-to-Analog converter peripherals, timer match signals, and for memory-to-memory transfers.
 Multilayer AHB matrix interconnect provides a separate bus for each AHB master.AHB masters include the CPU, General Purpose DMA controller, Ethernet MAC, and the USB interface. This interconnect provides communication with no arbitration delays.
 Split APB bus allows high throughput with few stalls between the CPU and DMA.
 Serial interfaces:
 Ethernet MAC with RMII interface and dedicated DMA controller
 USB 2.0 full-speed device/Host/OTG controller with dedicated DMA controller and on-chip PHY for device, Host, and OTG functions.
 Four UARTs with fractional baud rate generation, internal FIFO, and DMA support.
One UART has modem control I/O and RS-485/EIA-485 support, and one UART has IrDA support.
 CAN 2.0B controller with two channels.
 SPI controller with synchronous, serial, full duplex communication and programmable data length.
 Two SSP controllers with FIFO and multi-protocol capabilities. The SSP interfaces can be used with the GPDMA controller.
 Three enhanced I2C bus interfaces, one with an open-drain output supporting full I2C specification and Fast mode plus with data rates of 1 Mbit/s, two with standard port pins. Enhancements include multiple address recognition and monitor mode.
 I2S (Inter-IC Sound) interface for digital audio input or output, with fractional rate control. The I2S-bus interface can be used with the GPDMA. The I2S-bus interface supports 3-wire and 4-wire data transmit and receive as well as master clock input/output.
 Other peripherals:
 70 (100 pin package) General Purpose I/O (GPIO) pins with configurable pull-up/down resistors. All GPIOs support a new, configurable open-drain operating mode. The GPIO block is accessed through the AHB multilayer bus for fast access and located in memory such that it supports Cortex-M3 bit banding and use by the General Purpose DMA Controller.
 12-bit Analog-to-Digital Converter (ADC) with input multiplexing among eight pins,conversion rates up to 200 kHz, and multiple result registers. The 12-bit ADC can be used with the GPDMA controller.
 10-bit Digital-to-Analog Converter (DAC) with dedicated conversion timer and DMA
support.
 Four general purpose timers/counters, with a total of eight capture inputs and ten compare outputs. Each timer block has an external count input. Specific timer events can be selected to generate DMA requests.
 One motor control PWM with support for three-phase motor control
 Quadrature encoder interface that can monitor one external quadrature encoder.
 One standard PWM/timer block with external count input.
 RTC with a separate power domain and dedicated RTC oscillator. The RTC block includes 20 bytes of battery-powered backup registers.
 WatchDog Timer (WDT). The WDT can be clocked from the internal RC oscillator, the RTC oscillator, or the APB clock.
 ARM Cortex-M3 system tick timer, including an external clock input option.
 Repetitive interrupt timer provides programmable and repeating timed interrupts.
 Each peripheral has its own clock divider for further power savings.
 Standard JTAG test/debug interface for compatibility with existing tools. Serial Wire Debug and Serial Wire Trace Port options.
 Emulation trace module enables non-intrusive, high-speed real-time tracing of instruction execution.
 Integrated PMU (Power Management Unit) automatically adjusts internal regulators to minimize power consumption during Sleep, Deep sleep, Power-down, and Deep power-down modes.
 Four reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down.
 Single 3.3 V power supply (2.4 V to 3.6 V).
 Four external interrupt inputs configurable as edge/level sensitive. All pins on Port 0 and Port 2 can be used as edge sensitive interrupt sources.
 Non-maskable Interrupt (NMI) input.
 Clock output function that can reflect the main oscillator clock, IRC clock, RTC clock, CPU clock, and the USB clock.
 The Wake-up Interrupt Controller (WIC) allows the CPU to automatically wake up from any priority interrupt that can occur while the clocks are stopped in deep sleep, Power-down, and Deep power-down modes.
 Processor wake-up from Power-down mode via any interrupt able to operate during Power-down mode (includes external interrupts, RTC interrupt, USB activity, Ethernet wake-up interrupt, CAN bus activity, Port 0/2 pin interrupt, and NMI).
 Brownout detect with separate threshold for interrupt and forced reset.
 Power-On Reset (POR).
 Crystal oscillator with an operating range of 1 MHz to 25 MHz.
 4 MHz internal RC oscillator trimmed to 1 % accuracy that can optionally be used as a
system clock.
 PLL allows CPU operation up to the maximum CPU rate without the need for a high-frequency crystal. May be run from the main oscillator, the internal RC oscillator, or the RTC oscillator.
 USB PLL for added flexibility.
 Code Read Protection (CRP) with different security levels.
 Unique device serial number for identification purposes.
 Available as LQFP100 (14 mm x 14 mmx 1.4 mm), TFBGA1001 (9 mmx 9 mm x 0.7
mm), and WLCSP100 (5.074 x 5.074 x 0.6 mm) package

LPC1769/68/67/66/65/64/63 应用:

 eMetering
 Alarm systems
 Lighting
 White goods
 Industrial networking
 Motor control

图1. LPC1769/68/67/66/65/64/63框图

Keil LPC1768评估板MCB1700

The Keil LPC1768 Evaluation Board allows you to quickly and easily evaluate the LPC176x family of microcontrollers. The microcontroller, board, and accompanying features make it a great starting point for your next Cortex-M3 project.

Populated with the LPC1768 to demonstrate LPC176x features, the LPC1768 board allows the evaluation of the high level integration and low power consumption of the LPC1768.

Keil’s LPC1768 Evaluation Board lets you get up-and-running quickly in evaluating the superior performance and capability of the LPC1768. The LPC1768 is developed with an extensive set of peripherals that allow for a broad array of designs and applications.

The MCB1700 kit includes:

The MCB1700 Evaluation Board.
A µVision IDE Quick Start Guide.
An ARM Development Tools Overview.
Example Programs for the MCB1700 Evaluation Board are located in the folder KEILARMBOARDSKEILMCB1700 for MDK V4 users. MDK V5 users may copy examples included with the the installation of the Keil MCB1700 Device Family Pack (DFP) to a folder of their choice

图2.Keil LPC1768评估板MCB1700外形图

Keil LPC1768评估板MCB1700主要特性:

Color QVGA TFT LCD
10/100 Ethernet Port
USB 2.0 Full Speed - USB, USB-OTG, and USB Host
2 CAN interfaces
2 Serial Ports
SD/MMC Card Interface
5-position Joystick and push-button
Analog Voltage Control for ACD Input
Amplifier and Speaker
Up to 70 GPIO
Debug Interface Connectors


图3. Keil LPC1768评估板MCB1700电路图(1)

图4. Keil LPC1768评估板MCB1700电路图(2)

图5. Keil LPC1768评估板MCB1700电路图(3)

图6. Keil LPC1768评估板MCB1700电路图(4)

图7. Keil LPC1768评估板MCB1700电路图(5)

图8. Keil LPC1768评估板MCB1700电路图(6)
详情请见:
http://www.nxp.com/documents/data_sheet/LPC1769_68_67_66_65_64_63.pdf
http://www.keil.com/support/man/docs/mcb1700/
以及http://www.nxp.com/documents/other/Keil_LPC1768_Eval_Board_Schematic.pdf

LPC1769_68_67_66_65_64_63.pdf
Keil_LPC1768_Eval_Board_Schematic.pdf

  • 分享到:

 

猜你喜欢