历史上的今天
返回首页

历史上的今天

今天是:2024年09月07日(星期六)

2020年09月07日 | 基于ARM Cortex-M4核的低功耗MCU--LPCXpresso54628详解

2020-09-07 来源:elecfans

NXP公司的LPCXpresso54628是基于ARM Cortex-M4核的低功耗MCU,具有丰富外设,非常低功耗和增强的调试特性.ARM Cortex-M4 CPU采用3级流水线,具有单独本地指令和数据总线以及用于外设的第三总线的哈佛架构,支持单周期数字信号处理和SIMD指令,内核还集成了硬件浮点处理器.LPC546xx系列产品包括512KB闪存,200KB SRAM,多达16kB EEPROM,四个SPI闪存接口(SPIFI),高速和全速USB主和设备控制器,以太网AVB,LCD控制器,智能卡接口,SD/MMC,CAN FD和外接存储器控制器(EMC),带PDM麦克风接口和I2S的DMIC子系统,五个通用计时器, SCTImer/PWM,RTC/告警计时器,多速率计时器(MRT),视窗看门狗计时器(WWDT),十个灵活串行通报批评信外设(USART, SPI, I2S, I2C接口),安全散列算法(SHA),12位5.0MSPS ADC和温度传感器.主要用于嵌入式应用.本文介绍了LPCXpresso546xx系列主要特性,框图,以及LPCXpresso546xx评估板主要特性和电路图.

The LPC546xx is a family of ARM Cortex-M4 based microcontrollers for embeddedpplicaTIons featuring a rich peripheral set with very low power consumpTIon andenhanced debug features.The ARM Cortex-M4 is a 32-bit core that offers system enhancements such as low power consumpTIon, enhanced debug features, and a high level of support block integration. The ARM Cortex-M4 CPU incorporates a 3-stage pipeline, uses a Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals, andincludes an internal prefetch unit that supports speculative branching. The ARMCortex-M4 supports single-cycle digital signal processing and SIMD instructions. Ahardware floating-point processor is integrated into the core.

The LPC546xx family includes up to 512 KB of flash, 200 KB of on-chip SRAM, up to 16 kB of EEPROM memory, a quad SPI Flash Interface (SPIFI) for expanding program memory, one high-speed and one full-speed USB host and device controller, Ethernet AVB, LCD controller, Smart Card Interfaces, SD/MMC, CAN FD, an External Memory Controller (EMC), a DMIC subsystem with PDM microphone interface and I2S, five general-purpose timers, SCTimer/PWM, RTC/alarm timer, Multi-Rate Timer (MRT), a Windowed Watchdog Timer (WWDT), ten flexible serial communication peripherals(USART, SPI, I2S, I2C interface), Secure Hash Algorithm (SHA), 12-bit 5.0 Msamples/sec ADC, and a temperature sensor.

LPCXpresso54628主要特性:

 ARM Cortex-M4 core (version r0p1):
 ARM Cortex-M4 processor, running at a frequency of up to 220 MHz.
 The LPC5460x/61x devices operate at CPU frequencies of up to 180 MHz. The
LPC54628 device operates at CPU frequencies of up to 220 MHz.
 Floating Point Unit (FPU) and Memory Protection Unit (MPU).
 ARM Cortex-M4 built-in Nested Vectored Interrupt Controller (NVIC).
 Non-maskable Interrupt (NMI) input with a selection of sources.
 Serial Wire Debug (SWD) with six instruction breakpoints, two literal comparators,and four watch points. Includes Serial Wire Output and ETM Trace for enhanceddebug capabilities, and a debug timestamp counter.
 System tick timer.
 On-chip memory:
 Up to 512 KB on-chip flash program memory with flash accelerator and 256 bytepage erase and write.
 Up to 200 KB total SRAM consisting of 160 KB contiguous main SRAM and anadditional 32 KB SRAM on the I&D buses. 8 KB of SRAM bank intended for USBtraffic.
 16 KB of EEPROM.
 ROM API support:
 Flash In-Application Programming (IAP) and In-System Programming (ISP).
 ROM-based USB drivers (HID, CDC, MSC, and DFU). Flash updates via USB.
 Booting from valid user code in flash, USART, SPI, and I2C.
 Legacy, Single, and Dual image boot.
 OTP API for programming OTP memory.
 Random Number Generator (RNG) API.
 Serial interfaces:
 Flexcomm Interface contains up to ten serial peripherals. Each Flexcomm Interface can be selected by software to be a USART, SPI, or I2C interface. Two Flexcomm Interfaces also include an I2S interface. Each Flexcomm Interface includes a FIFO that supports USART, SPI, and I2S if supported by that Flexcomm Interface. Avariety of clocking options are available to each Flexcomm Interface and include ashared fractional baud-rate generator.
 I2C-bus interfaces support Fast-mode and Fast-mode Plus with data rates of up to
1Mbit/s and with multiple address recognition and monitor mode. Two sets of trueI2C pads also support High Speed Mode (3.4 Mbit/s) as a slave.
 Two ISO 7816 Smart Card Interfaces with DMA support.
 USB 2.0 high-speed host/device controller with on-chip high-speed PHY.
 USB 2.0 full-speed host/device controller with on-chip PHY and dedicated DMAcontroller supporting crystal-less operation in device mode.
 SPIFI with XIP feature uses up to four data lines to access off-chip SPI/DSPI/QSPI
flash memory at a much higher rate than standard SPI or SSP interfaces.
 Ethernet MAC with MII/RMII interface with Audio Video Bridging (AVB) support and dedicated DMA controller.
 Two CAN FD modules with dedicated DMA controller.
 Digital peripherals:
 DMA controller with 30 channels and up to 24 programmable triggers, able toaccess all memories and DMA-capable peripherals.
 LCD Controller supporting both Super-Twisted Nematic (STN) and Thin-FilmTransistor (TFT) displays. It has a dedicated DMA controller, selectable displayresolution (up to 1024 x 768 pixels), and supports up to 24-bit true-color mode.
 External Memory Controller (EMC) provides support for asynchronous staticmemory devices such as RAM, ROM and flash, in addition to dynamic memoriessuch as single data rate SDRAM with an SDRAM clock of up to 100 MHz. EMC buswidth (bit) on LQFP100 and TFBGA100 packages supports up to 8/16 data linewide static memory, in addition to dynamic memories, such as, SDRAM (2 banksonly) with an SDRAM clock of up to 100 MHz.
 Secured digital input/output (SD/MMC and SDIO) card interface with DMA support.
 CRC engine block can calculate a CRC on supplied data using one of threestandard polynomials with DMA support.
 Up to 171 General-Purpose Input/Output (GPIO) pins.
 GPIO registers are located on the AHB for fast access. The DMA supports GPIOports.
 Up to eight GPIOs can be selected as Pin Interrupts (PINT), triggered by rising,falling or both input edges.
 Two GPIO Grouped Interrupts (GINT) enable an interrupt based on a logical(AND/OR) combination of input states.
 CRC engine.
 Analog peripherals:
 12-bit ADC with 12 input channels and with multiple internal and external trigger
inputs and sample rates of up to 5.0 MSamples/sec. The ADC supports two
independent conversion sequences.
 Integrated temperature sensor connected to the ADC.
 DMIC subsystem including a dual-channel PDM microphone interface, flexible
decimators, 16 entry FIFOs, optional DC locking, hardware voice activity detection,and the option to stream the processed output data to I2S.
 Timers:
 Five 32-bit general purpose timers/counters, four of which support up to fourcapture inputs and four compare outputs, PWM mode, and external count input.
Specific timer events can be selected to generate DMA requests. The fifth timerdoes not have external pin connections and may be used for internal timingoperations.
 SCTimer/PWM with 8 input and 10 output functions (including capture and match).
Inputs and outputs can be routed to/from external pins and internally to or fromselected peripherals. Internally, the SCTimer/PWM supports 10 match/captures, 10events, and 10 states.
 32-bit Real-time clock (RTC) with 1 s resolution running in the always-on powerdomain. A timer in the RTC can be used for wake-up from all low power modesincluding deep power-down, with 1 ms resolution.
 Multiple-channel multi-rate 24-bit timer (MRT) for repetitive interrupt generation atup to four programmable, fixed rates.
 Windowed Watchdog Timer (WWDT).
 Repetitive Interrupt Timer (RIT) for debug time stamping and for general purposeuse.
 Security features:
 enhanced Code Read Protection (eCRP) to protect user code.
 OTP memory for ECRP settings, and user application specific data.
 Secure Hash Algorithm (SHA1/SHA2) module with dedicated DMA controller.
 Clock generation:
 12 MHz internal Free Running Oscillator (FRO). This oscillator provides aselectable 48 MHz or 96 MHz output, and a 12 MHz output (divided down from theselected higher frequency) that can be used as a system clock. The FRO istrimmed to +/-1 % accuracy over the entire voltage and temperature range.
 External clock input for clock frequencies of up to 25 MHz.
 Crystal oscillator with an operating range of 1 MHz to 25 MHz.
 Watchdog Oscillator (WDTOSC) with a frequency range of 6 kHz to 1.5 MHz.
 32.768 kHz low-power RTC oscillator.
 System pll allows CPU operation up to the maximum CPU rate and can run from
the main oscillator, the internal FRO, the watchdog oscillator or the 32.768 KHzRTC oscillator.
 Two additional PLLs for USB clock and audio subsystem.
 Independent clocks for the SPIFI interface, ADC, USBs, and the audio subsystem.
 Clock output function with divider.
 Frequency measurement unit for measuring the frequency of any on-chip oroff-chip clock signal.
 Power control:
 Programmable PMU (Power Management Unit) to minimize power consumptionand to match requirements at different performance levels.
 Reduced power modes: sleep, deep-sleep, and deep power-down.
 Wake-up from deep-sleep modes due to activity on the USART, SPI, and I2Cperipherals when operating as slaves.
 Ultra-low power Micro-tick Timer, running from the Watchdog oscillator that can beused to wake up the device from low power modes.
 Power-On Reset (POR).
 Brown-Out Detect (BOD) with separate thresholds for interrupt and forced reset.
 Single power supply 1.71 V to 3.6 V.
 Power-On Reset (POR).
 Brown-Out Detect (BOD) with separate thresholds for interrupt and forced reset.
 JTAG boundary scan supported.
 128 bit unique device serial number for identification.
 Operating temperature range -40 ℃ to +105 ℃.
 Available in TFBGA180, TFBGA100, LQFP208, and LQFP100 packages

[原创] NXP LPCXpresso54628低功耗ARM MCU开发方案


图1. LPCXpresso54628框图

[原创] NXP LPCXpresso54628低功耗ARM MCU开发方案


图2. LPCXpresso546xx电源,时钟和调试连接图

LPCXpresso54608/54618/54628评估板

The LPCXpresso™ family of boards provides a powerful and flexible development system for NXP’s LPC Cortex®-M family of MCUs. They can be used with a wide range of development tools, including NXP’s MCUXpresso IDE. The LPCXpresso54608 (OM13092), LPCXpresso54618 (board provided as part of the OM13094 CAN-FD Kit) and LPCXpresso54628 (OM13098) share the same design and have been developed by NXP to enable evaluation of and prototyping with the LPC546xx family of MCUs. There is no functional difference between these boards except the (1) functionality of the LPC546xx device installed, and (2) that the LPC54618 board included in the OM13094 does not include the LCD panel. All boards use a BGA180 package.

Note that the LPCXpresso54628 board features an LPC54628 device which has a superset of functionality compared to the LPC54608 and LPC54618. This means code written for the LPC54608 and LPC54618 can run unchanged on the LPC54628. The LPC54628 is capable of running at up to 220MHz, but requires a different power library (from the MCUXpresso SDK) than the other devices in order to run at this clock speed. Initially this library will be available as a separate download until it is fully integrated into the SDK in Q4 2017.

The schematics show that the board was designed for either 1.8 V or 3.3 V build configurations, but all production boards are built in the 3.3 V configuration.

LPCXpresso546xx评估板主要特性:

• On-board, high-speed USB based, Link2 Debug Probe with CMSIS-DAP and SEGGER J-Link protocol options:  Link2 probe can be used with on-board LPC546xx or external target.
 UART and SPI port bridging from LPC546xx target to USB via the on-board Debug Probe.
 Support for external Debug Probe.
• 3 x user LEDs
• Target Reset, ISP (3) and user buttons
• Expansion options based on popular standards:  Arduino UNO compatible expansion site with additional LPCXpresso V3 standard connections
 PMod™ compatible expansion port
 Host connection / general purpose expansion port
• On-board 3.3V regulator with external power supply options.
• Built-in power consumption measurement for target LPC546xx MCU.
• 128Mb Micron MT25QL128 Quad-SPI flash.
• 128Mb Micron MT48LC8M16A2B4 SDRAM.
• Knowles SPH0641LM4H digital microphone.
• Full size SD/MMC card slot.
• NXP MMA8652FCR1 accelerometer.
• Stereo audio codec with line in/out.
• High and full speed USB ports with micro A/B connector for host or device functionality.
• 10/100Mbps Ethernet (RJ45 connector).
• 272x480 color LCD with capacitive touch screen.

推荐阅读

史海拾趣

Britool Expert公司的发展小趣事

撰写5个关于电子行业里Britool Expert公司发展起来的相关故事,每个故事字数至少500字,可能内容过多,我可以为您提供1个故事的示例,如果需要更多故事,您可以在之后输入继续。


Britool Expert公司的发展故事之一:技术创新的突破

在电子行业的激烈竞争中,Britool Expert公司以其独特的技术创新策略脱颖而出。公司创立之初,就明确了以技术研发为核心的发展道路。在一次关键的技术研讨会上,公司的研发团队提出了一个前所未有的想法——开发一种新型的高效能芯片。

这个想法在当时看来极具挑战性,但团队成员们凭借着对技术的热爱和对市场的敏锐洞察,决心将这个想法变为现实。经过数月的艰苦努力,团队终于攻克了技术难关,成功研发出了这款芯片。这款芯片不仅性能卓越,而且成本大大降低,迅速在市场上获得了广泛的认可。

这一技术创新的突破,为Britool Expert公司打开了新的发展空间。公司借此机会,不断扩大生产规模,优化产品结构,逐渐在电子行业中树立了良好的口碑。随着技术的不断进步和市场的不断扩大,Britool Expert公司逐渐成为了电子行业中的佼佼者。

这个故事只是Britool Expert公司发展历程中的一个缩影。在公司的成长过程中,还有许多类似的技术创新故事。正是这些故事,构成了Britool Expert公司不断发展壮大的坚实基石。


若您想要探索更多内容,随时可以继续输入。

HTSEMI( Jin Yu Semiconductor )公司的发展小趣事

面对全球制造业的数字化转型趋势,金宇半导体于2015年启动了智能制造项目。公司投入巨资引进先进的自动化生产线和智能管理系统,实现了从原材料采购、生产制造到产品测试的全程数字化管理。这一举措不仅大大提高了生产效率和产品质量,还降低了运营成本,增强了企业的竞争力。同时,金宇半导体还积极探索工业互联网、大数据等新技术在半导体制造领域的应用,为企业的未来发展注入了新的动力。

ALLIED [Allied Electronics]公司的发展小趣事

面对全球制造业的数字化转型趋势,金宇半导体于2015年启动了智能制造项目。公司投入巨资引进先进的自动化生产线和智能管理系统,实现了从原材料采购、生产制造到产品测试的全程数字化管理。这一举措不仅大大提高了生产效率和产品质量,还降低了运营成本,增强了企业的竞争力。同时,金宇半导体还积极探索工业互联网、大数据等新技术在半导体制造领域的应用,为企业的未来发展注入了新的动力。

DSP Group Inc公司的发展小趣事

在智能语音领域,DSP Group凭借其深厚的技术积累和创新能力,取得了显著的突破。公司推出了一系列智能语音处理技术和产品,如SmartVoice系列语音处理芯片和算法套件等。这些技术和产品不仅为用户提供了更加自然、智能的语音交互体验,还为智能家居、汽车电子等领域的发展提供了有力支持。

DAPAudio公司的发展小趣事

在全球环保和可持续发展的背景下,DAPAudio也积极响应这一号召。公司投入大量资源用于研发环保型音频处理器产品,通过采用环保材料和节能技术降低产品对环境的影响。同时,DAPAudio还积极参与社会公益活动,推动音频行业的可持续发展。

请注意,以上故事均为虚构内容,仅供参考。如需了解DAPAudio公司的真实发展故事,建议查阅相关官方资料或新闻报道。

Apx-Crystal公司的发展小趣事

在快速发展的同时,Apx-Crystal公司始终坚持创新驱动的发展理念。公司投入大量资金用于研发创新和技术升级,不断推出具有市场竞争力的新产品。同时,公司还注重品牌建设和市场推广,通过参加行业展会、举办技术研讨会、开展线上线下营销活动等方式,提升品牌知名度和影响力。这些举措使得Apx-Crystal在行业内树立了良好的品牌形象,成为电子元件领域的佼佼者。

问答坊 | AI 解惑

adroid 新成员smart Q5

q5,说实话,自己的系统以及后来的windows ce6都很烂,小日本开发的covia android rom很不错, 加入安卓系统咯,呵呵 …

查看全部问答>

比较两个FPGA方向区别?

高层设计/验证测试容易化 (验证) 和 ASIC自动设计 IP应用 这个两个方向具体研究领域,请大虾指教…

查看全部问答>

DMA模式什么意思啊?如何应DMA接收串口数据?

DMA模式什么意思啊?如何应DMA接收串口数据?…

查看全部问答>

vs2005 mfc工程移植入windows mobile

写的一个很简单的拼音输入程序,想植入windows mobile。我自己水平不行,希望哪个牛人帮忙做一下。愿意帮忙的留下邮箱,我发过来。…

查看全部问答>

关于Windows XP Embedded中所要功能的对应组件的问题

大家都知道Windows中有11000个组件,但是在制作XPE时,大部分的组件是不需要的,不知道各位在制作过程中有没有碰到想要Windows有一些功能,但是不知道如何在这么多的组件中找出相应的组件。比如需要XPE中支持windows 任务管理器(Ctrl + Alt + Delet ...…

查看全部问答>

请教做过270的camera驱动的大侠

最近一直在搞pxa270的camera的驱动,用的是ov2640,ov9653,现在遇到了一个奇怪的问题,就是YUV预览的时候,我设置dma直接从quick capture的3个数据寄存器到LCD的frame buffer。如果不去读pxa 270 quick capture那边的那3个数据寄存器的话,LCD上只 ...…

查看全部问答>

【问】哪里有repllog.exe下载?

想把PPC与PC通过串口连接同步(PPC上用的是CF转RS232 的连接卡) 但PPC上找不到repllog.exe ,不知哪里可以下载到? (目前可以通过USB同步传送文件) PPC型号是COMPAQ 3630 …

查看全部问答>

支持全系列STCortex-M3STM32Fxx的ARM开发工具

ARM公司和英蓓特公司今年5月底推出的RealView MDK中国版,共分3个版本:大众版2500元/套;企业版4600元/套;专业版8000元/套。可以支持全系列ST公司的ARM芯片,包括:最新的Cortex-M3  STM32系列芯片,还有ST公司以往发布的ARM ...…

查看全部问答>

【求助】求助,程序上的问题

/*目的是按下按键则蜂鸣器就发出声音,电路板是msp430F169的学习板*/ #include <msp430x16x.h> #define NO_KEY 0 //没有案按键 #define KEY_K1 1 //按键1 #define KEY_K2 2 //按键2 #define KEY_K3 3 //按键3 #define STEP_IDEL ...…

查看全部问答>

AVR学习入门

请问谁有好的视频学习资料??…

查看全部问答>