0 卖盘信息
BOM询价
您现在的位置: 首页 > 技术方案 >工业控制 > NXP Keil LPC122x 32位ARM MCU开发方案

NXP Keil LPC122x 32位ARM MCU开发方案

来源: 中电网
2019-03-28
类别:工业控制
eye 120
文章创建人 拍明

原标题:NXP Keil LPC122x 32位ARM MCU开发方案

  nxp公司的LPC122x系列是基于ARM Cortex-M0的32位MCU,工作频率高达45MHz,闪存从32KB到128KB,并集成了多种外设包括10位ADC,两个比较器,两个 UART,SSP/SPI接口,I2C总线接口,看门狗定时器,DMA控制器,CRC引擎,四个通用定时器,32位RTC等.主要用在照明,家用电器,智能电表,工业网络,,告警系统,白色家电.本文介绍了LPC122x主要特性和优势,框图,以及Keil MCB1200评估板主要特性,框图和电路图.

  The LPC122x extend NXPs 32-bit ARM microcontroller continuum and target a wide range of industrial applications in the areas of factory and home automation. Benefitting from the ARM Cortex-M0 Thumb instruction set, the LPC122x have up to 50 % higher code density compared to common 8/16-bit microcontroller performing typical tasks. The LPC122x also feature an optimized ROM-based divide library for Cortex-M0, which offers several times the arithmetic performance of software-based libraries, as well as highly deterministic cycle time combined with reduced flash code size. The ARM Cortex-M0 efficiency also helps the LPC122x achieve lower average power for similar applications.

  The LPC122x operate at CPU frequencies of up to 45 MHz. They offer a wide range of flash memory options, from 32 kB to 128 kB. The small 512-byte page erase of the flash memory brings multiple design benefits, such as finer EEPROM emulation, boot-load support from any serial interface and ease of in-field programming with reduced on-chip RAM buffer requirements.

  The peripheral complement of the LPC122x includes a 10-bit ADC, two comparators with output feedback loop, two UARTs, one SSP/SPI interface, one I2C-bus interface with Fast-mode Plus features, a Windowed Watchdog Timer, a DMA controller, a CRC engine, four general purpose timers, a 32-bit RTC, a 1 % internal oscillator for baud rate generation, and up to 55 General Purpose I/O (GPIO) pins.

  LPC122x主要特性和优势:

   Processor core

   ARM Cortex-M0 processor, running at frequencies of up to 45 MHz (one wait state

  from flash) or 30 MHz (zero wait states from flash). The LPC122x have a high score of over 45 in CoreMark CPU performance benchmark testing, equivalent to 1.51/MHz.

   ARM Cortex-M0 built-in Nested Vectored Interrupt Controller (NVIC).

   Serial Wire Debug (SWD).

   System tick timer.

   Memory

   Up to 8 kB SRAM.

   Up to 128 kB on-chip flash programming memory.

   In-System Programming (ISP) and In-Application Programming (IAP) via on-chip bootloader software.

   Includes ROM-based 32-bit integer division routines.

   Clock generation unit

   Crystal oscillator with an operating range of 1 MHz to 25 MHz.

   12 MHz Internal RC (IRC) 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 system oscillator or the internal RC oscillator.

   Clock output function with divider that can reflect the system oscillator clock, IRC clock, main clock, and Watchdog clock.

   Real-Time Clock (RTC).

   Digital peripherals

   Micro DMA controller with 21 channels.

   CRC engine.

   Two UARTs with fractional baud rate generation and internal FIFO. One UART with RS-485 and modem support and one standard UART with IrDA.

   SSP/SPI controller with FIFO and multi-protocol capabilities.

   I2C-bus interface supporting full I2C-bus specification and Fast-mode Plus with a data rate of 1 Mbit/s with multiple address recognition and monitor mode. I2C-bus pins have programmable glitch filter.

   Up to 55 General Purpose I/O (GPIO) pins with programmable pull-up resistor, open-drain mode, programmable digital input glitch filter, and programmable input inverter.

   Programmable output drive on all GPIO pins. Four pins support high-current output drivers.

   All GPIO pins can be used as edge and level sensitive interrupt sources.

   Four general purpose counter/timers with four capture inputs and four match outputs (32-bit timers) or two capture inputs and two match outputs (16-bit timers).

   Windowed WatchDog Timer (WWDT); IEC-60335 Class B certified.

   Analog peripherals

   One 8-channel, 10-bit ADC.

   Two highly flexible analog comparators. Comparator outputs can be programmed to trigger a timer match signal or can be used to emulate 555 timer behavior.

   Power

   Three reduced power modes: Sleep, Deep-sleep, and Deep power-down.

   Processor wake-up from Deep-sleep mode via start logic using 12 port pins.

   Processor wake-up from Deep-power down and Deep-sleep modes via the RTC.

   Brownout detect with three separate thresholds each for interrupt and forced reset.

   Power-On Reset (POR).

   Integrated PMU (Power Management Unit).

   Unique device serial number for identification.

   3.3 V power supply.

   Available as 64-pin and 48-pin LQFP package.

  LPC122x系列应用:

   eMetering

   Lighting

   Industrial networking

   Alarm systems

   White goods

  图1. LPC122x系列框图

  Keil MCB1200评估板

  The Keil MCB1200 Evaluation Board allows you to generate and test application programs for the NXP LPC122x device family. With this hands-on process, you can determine the hardware and software requirements for current and future product development.

  The MCB1200 board is populated with the NXP LPC1227FBD64/301 Cortex-M0 device.

  图2. Keil MCB1200评估板外形图

  Keil MCB1200评估板包括:

  The MCB1200 Evaluation Board.

  A µVision IDE Quick Start Guide.

  An ARM Development Tools Overview.

  A USB A to USB B cable.

  Example Programs for the MCB1200 Evaluation Board are located in the folder KEILARMBOARDSKEILMCB1200. All examples can be compiled and debugged using the MDK-ARM Lite Edition.

  Keil MCB1200评估板主要特性:

  The MCB1200 evaluation board features the following easy access to many of the on-chip peripherals.

  Serial Port

  A standard DB9 connector provides an RS232 connection to the on-chip UART.

  Analog Voltage Control for ADC Input

  An adjustable analog voltage source is on the MCB1200 board for testing the Analog to Digital output feature of the LPC1227.

  Cortex Download and Debug

  The MCB1200 board incorporates a Cortex Debug interface. When coupled with the ULINK2 USB-JTAG adapter, the Serial Wire Debug interface allows flash programming and debugging.

  The hardware block diagram displays input, configuration, power system, and User I/O on the board. This visual presentation helps you to understand the MCB1200 board components.

  图3.Keil MCB1200评估板框图

  Technical Data

Parameter

Description

Supply Voltage

5V DC (provided by the USB bus of a PC)

Supply Current

10mA typical, 15mA maximum

XTAL Frequency

12 MHz

Microcontroller

NXP LPC1227FBD64/301

Peripherals

1 × Serial Interface,
1 × Cortex Debug Interface

Board Size

80mm x 80mm (3.1" x 3.1").




责任编辑:HanFeng

【免责声明】

1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。

2、本文的引用仅供读者交流学习使用,不涉及商业目的。

3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。

4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。

拍明芯城拥有对此声明的最终解释权。

相关资讯