推荐产品

当前位置:主页 > 电子技术 >

lpc54102的特性简介、接口、传感器、电路图

  一、lpc54102简介

 
  LPC54102MCU是基于ARMCortex-M4的嵌入式应用微控制器。这些器件包括可选ARMCortex-M0+协处理器、104KB片上SRAM、高达512KB的片上flash、五个通用定时器、一个带PWM功能的状态可配置定时器(SCTImer/PWM)、一个RTC/警报定时器、一个24位多速率定时器(MRT)、一个重复中断定时器(RIT)、一个窗口化看门狗定时器(WWDT)、四个USART、两个SPI、三个带高速从机模式的超快速模式I2C总线接口和一个12位5.0MSPSADC。
 
  主要参数:32位ARMCortex-M4/M0+MCU;104kBSRAM;512kBflash,3xI2C,2xSPI,4xUSART,32位计数器/定时器,SCTImer/PWM,12位5.0MSPSADC
 
  lpc54102的特性
 

云顶娱乐app免费下载
 
  双处理器内核:ARMCortex-M4和ARMCortex-M0+。M0+内核的工作频率与M4内核相同。两个内核均可达到最高100MHz的运行频率。
 
  ARMCortex-M4内核(r0p1版本):
 
  1、ARMCortex-M4处理器,运行频率可高达100MHz,使用与Cortex-M4相同的时钟。
 
  2、浮点运算单元(FPU)和存储器保护单元(MPU)。
 
  3、ARMCortex-M4内置可嵌套中断向量控制器(NVIC)。
 
  4、非屏蔽中断(NMI)输入,多种中断源可供选择。
 
  5、串行线调试,具有8个断点和4个观察点。包含串行线输出,用于增强调试功能。
 
  6、系统定时器。
 
  ARMCortex-M0+内核(r0p1版本):
 
  1、ARMCortex-M0+处理器,运行频率可高达100MHz。
 
  2、ARMCortex-M0+内置可嵌套中断向量控制器(NVIC)。
 
  3、非屏蔽中断(NMI)输入,多种中断源可供选择。
 
  4、串行线调试,具有四个中断点和两个观察点。
 
  5、系统定时器。
 
  片上存储器:
 
  1、高达512kB片内flash可编程存储器,带flash加速器和256字节页面擦除和写入功能。
 
  2、总共包含104KB的SRAM:高达96kB的连续主SRAM和一个额外的8kBSRAM。
 
  ROMAPI支持:
 
  1、Flash在应用编程(ISP)和在系统编程(IAP)。
 
  2、功率控制API。
 
  串行接口:
 
  1、四个USART接口,支持同步模式和32kHz模式,用于从深度睡眠和掉电模式中唤醒。USART拥有来自系统FIFO的FIFO支持,并共享一个小数波特率生成器。
 
  2、两个SPI接口,每个接口有四个从机选择和灵活的数据配置。SPI拥有来自系统FIFO的FIFO支持。从机功能能够从深度睡眠和掉电模式唤醒器件。
 
  3、三个I2C总线接口,支持快速模式和超快速模式,数据速率高达1Mbit/s,采用多地址识别和监控模式。每个I2C总线接口还支持高速模式(3.4Mb/s)作为从机模式。从机功能能够从深度睡眠和掉电模式唤醒器件。
 
  数字外设:
 
  1、DMA控制器,具有22个通道和20个可编程触发器,能够访问所有存储器和支持DMA的外设。
 
  2、高达50个通用输入/输出(GPIO)引脚。大部分GPIO具有可配置的上拉/下拉电阻,可编程开漏模式,以及输入逆变器。
 
  3、GPIO寄存器位于AHB上,以支持快速存取。DMA支持GPIO端口。
 
  4、最多可将8个GPIO(引脚中断)选作边缘触发型(上升沿或下降沿,或二者兼有)中断请求或者电平触发型(低电平有效或高电平有效)中断请求。此外,最多可选择8个GPIO用于一个布尔表达式,并使用模式匹配引擎数据块来生成中断。
 
  5、两组GPIO中断(GINT)支持基于输入状态逻辑(AND/OR)组合的中断。
 
  6、CRC引擎。
 
  定时器:
 
  1、5个32位标准通用定时器/计数器,其中4个支持多达4个采集输入和4个比较输出、PWM模式和外部计数输入。可选择特定的定时器事件,以生成DMA请求。第5个定时器没有外部引脚连接,可用于内部定时操作。
 
  2、一个状态可配置定时器/PWM(SCT/PWM),带8个输入(6个外部输入和2个内部输入)和8个输出功能(包括捕获和匹配)。输入和输出可接到或来自于外部引脚,也可接到或来自于内部选定外设。在内部,SCT支持13个采集/匹配,13个事件和13个状态。
 
  3、32位实时时钟(RTC),以1S分辨率在始终开启的电源域内运行。RTC中的定时器可用于唤醒所有低功耗模式(包括深度掉电模式),具有1ms分辨率。
 
  4、多通道多速率24位定时器(MRT),用于在多达4种可编程固定速率下重复生成中断。
 
  5、窗口化看门狗定时器(WWDT)。
 
  6、超低功耗Micro-TIck定时器,通过看门狗振荡器运行,可用于将器件从低功耗模式中唤醒。
 
  7、重复中断定时器(RIT)用于调试时间戳和通用用途。
 
  8、模拟外设:12位12通道模数转换器(ADC),支持5.0MSPS。该ADC支持两个独立的转换序列。
 
  时钟生成:
 
  1、12MHz内置RC振荡器。
 
  2、外部时钟输入的时钟频率高达25MHz。
 
  3、内部低功耗看门狗振荡器(WDOSC),标称频率为500kHz。
 
  4、32kHz低功耗RTC振荡器。
 
  5、系统PLL允许CPU以最大CPU速率运行。可从内部RC振荡器、外部时钟输入CLKIN或RTC振荡器运行。
 
  6、用于监控内部时钟的时钟输出功能。
 
  7、用于测量片上和片下时钟信号频率的频率测量单元。
 
  节能模式和唤醒:
 
  1、用于降低功耗的集成PMU(电源管理单元)。
 
  2、降低功耗的模式:睡眠、深度睡眠、掉电和深度掉电。
 
  3、通过USART、SPI或I2C外设上的活动从深度睡眠模式和掉电模式唤醒。
 
  4、通过RTC报警从睡眠、深度睡眠、掉电和深度掉电模式唤醒。
 
  1.62V至3.6V单电源。
 
  上电复位(POR)。
 
  带独立阈值的掉电检测(BOD),用于中断和强制复位。
 
  支持JTAG边界扫描。
 
  可用作芯片识别的唯一序列号(128位)。
 
  工作温度范围为−40°C至105°C。
 
  采用3.288mmx3.288mmWLCSP49封装和LQFP64封装。



二、NXP LPC54102传感器处理和运动解决方案




NXP公司的LPC5410x系列MCU具有超低功耗性能,双处理器内核ARM Cortex-M4和 ARM Cortex-M0+,较大工作频率100 MHz,适用于传感器任务如听,采集和聚集传感器数据以及如传感器融合的复杂传感器处理任务.主要用在手机和平板电脑,手持健身和保健监视, 智能传感, 家庭和建筑物自动化(HABA),车(船)队管理和资产跟踪,机器人和无人驾驶飞机,游戏附件等.本文介绍了LPC54102主要特性和优势,框图,传感器处理/运动解决方案主要特性如开发板和传感器屏蔽板电路图和PCB元件布局图.

The LPC54100 Series microcontrollers were designed from the ground up to deliver the industry’s best power efficiency for always-on sensor-processing applications. These highly efficient MCUs support ultra-low-power performance for sensor tasks such as listening, collection, and aggregation of sensor data as well as complex sensor processing tasks such as sensor fusion. 
Crucial for always-on applications, LPC54100 Series MCUs require as little as 3 µA for continuous sensor listening. A first for sensor applications, an asymmetric dual-core architecture enables scalable active power/performance: Developers can use the 55 µA/MHz Cortex-M0+ core for sensor data collection, aggregation, and external communications, or the Cortex-M4F core (100 µA/MHz) to execute math-intensive algorithms (i.e., motion sensor fusion) more quickly while saving power.  The LPC54100 Series also includes single-core (Cortex-M4F) options with similar sensor listening and M4F power efficiencies. 

This architecture is complemented by a range of analog and digital interfaces designed for power efficiency ― including a 12-bit, 4.8 Msps ADC capable of full-spec performance at the full voltage range, as well as low-power serial interfaces. Together these features enable LPC54100 Series MCUs to offer the best overall power efficiency for sensor processing than any other microcontrollers in their class. 

For fast development, NXP offers the LPCXpresso54102 board for rapid prototyping and evaluation and an application-in-a-box LPC54102 Sensor Processing/Motion Solution to bring sensor-based motion and other sensor-processing applications to market quickly.

LPC54102主要特性和优势:
 Dual processor cores: ARM Cortex-M4 and ARM Cortex-M0+. The M0+ core runs at the same frequency as the M4 core. Both cores operate up to a maximum frequency of 100 MHz.
 ARM Cortex-M4F core (version r0p1):
 ARM Cortex-M4 processor, running at a frequency of up to 100 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 with eight breakpoints and four watch points.
Includes Serial Wire Output for enhanced debug capabilities.
 System tick timer.
 ARM Cortex-M0+ core (version r0p1):
 ARM Cortex-M0+ processor, running at a frequency of up to 100 MHz.
 ARM Cortex-M0+ built-in Nested Vectored Interrupt Controller (NVIC).
 Non-maskable Interrupt (NMI) input with a selection of sources.
 Serial Wire Debug with four breakpoints and two watch points.
 System tick timer.
 On-chip memory:
 Up to 512 KB on-chip flash program memory with flash accelerator and 256 byte page erase and write.
 104 KB SRAM for code and data use.
 ROM API support:
 Flash In-Application Programming (IAP) and In-System Programming (ISP).
 Power control API.
 Serial interfaces:
 Four USART interfaces with synchronous mode and 32 kHz mode for wake-up from Deep-sleep and Power-down modes. The USARTs include a FIFO buffer and share a fractional baud-rate generator.
 Two SPI interfaces, each with four slave selects and flexible data configuration.
The SPIs include a FIFO buffer. The slave function is able to wake up the device from Deep-sleep and Power-down modes.
 Three I2C-bus interfaces supporting fast mode and Fast-mode Plus with data rates of up to 1Mbit/s and with multiple address recognition and monitor mode. Each I2C-bus interface also supports High Speed Mode (3.4 Mbit/s) as a slave. The slave function is able to wake up the device from Deep-sleep and Power-down modes.
 Digital peripherals:
 DMA controller with 22 channels and 20 programmable triggers, able to access all memories and DMA-capable peripherals.
 Up to 50 General-Purpose Input/Output (GPIO) pins. Most GPIOs have configurable pull-up/pull-down resistors, programmable open-drain mode, and input/output inverter.
 GPIO registers are located on the AHB for fast access. The DMA supports GPIO ports.
 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.
 Timers:
 Five 32-bit general purpose timers/counters, with up to 4 capture inputs and 4 compare outputs, PWM mode, and external count input. Specific timer events can be selected to generate DMA requests.
 One State Configurable Timer/PWM (SCT) with 6 input and 8 output functions
(including capture and match). Inputs and outputs can be routed to/from external pins and internally to/from selected peripherals. Internally, the SCT supports 13 captures/matches, 13 events and 13 states.
 32-bit Real-time clock (RTC) with 1 s resolution running in the always-on power domain. A timer in the RTC can be used for wake-up from all low power modes including Deep power-down, with 1 ms resolution. The RTC is clocked by the 32 kHz oscillator.
 Multiple-channel multi-rate 24-bit timer (MRT) for repetitive interrupt generation at up to four programmable, fixed rates.
 Windowed Watchdog Timer (WWDT).
 Ultra-low power Micro-tick Timer, running from the Watchdog oscillator,that can beused to wake up the device from low power modes.
 Repetitive Interrupt Timer (RIT) for debug time-stamping and general-purpose use.
 Analog peripheral: 12-bit, 12-channel, Analog-to-Digital Converter (ADC) supporting 4.8 Msamples/s. The ADC supports two independent conversion sequences.
 Clock generation:
 12 MHz internal RC oscillator.
 External clock input for clock frequencies of up to 24 MHz.
 Internal low-power, watchdog oscillator with a nominal frequency of 500 kHz (WDOSC).
 32 kHz low-power RTC oscillator.
 System PLL allows CPU operation up to the maximum CPU rate. May be run from the internal RC oscillator, the external clock input CLKIN, or the RTC oscillator.
 Clock output function for monitoring internal clocks.
 Frequency measurement unit for measuring the frequency of any on-chip or off-chip clock signal.
 Power-saving modes and wake-up:
 Integrated PMU (Power Management Unit) to minimize power consumption.
 Reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down.
 Wake-up from Deep-sleep and Power-down modes via activity on the USART, SPI,and I2C peripherals.
 Wake-up from Sleep, Deep-sleep, Power-down, and Deep power-down modes using the RTC alarm.
 The Micro-tick Timer can wake-up the device from the Deep power-down mode by using the watchdog oscillator when no other on-chip resources are running.
 Single power supply 1.62 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.
 Unique device serial number for identification.
 Operating temperature range 40 ℃ to 105 ℃.
 Available in a 3.288 x 3.288 mm WLCSP49 package and LQFP64 package.

LPC54102主要应用:

Mobile handsets & tablets 
Portable fitness & health monitoring
Intelligent sensing
Home and building automation (HABA)
Fleet management & asset tracking
Robotics & drones
Gaming accessories

图1. LPC5410x框图

LPCX54102传感器处理/运动解决方案

The LPCX54102 Sensor Processing/Motion Solution has been developed by NXP and its partners to provide all that you need to develop an always-on sensor processing product. The Solution combines an LPCX54102 board and a Sensor Shield Board (SSB), plus application software and sensor fusion software from Bosch Sensortec to provide a highly capable platform for always-on sensor processing.

The LPC54102 board provides a highly flexible hardware platform with a selection of motion-related MEMS sensors, complemented by an optimized sensor management framework from NXP and integration of the Bosch BSX / BSX Lite sensor fusion libraries. The board is pre-programmed and supported with an example Windows PC application to enable a demonstration of its capabilities to be up and running within minutes of opening the box. In addition to the motion sensors, the platform also includes proximity and ambient light sensing, an IR remote control transceiver, and a Bluetooth Smart (Low Energy) module from ACKme for wireless connectivity
云顶娱乐app免费下载
图2. LPCX54102传感器处理/运动解决方案外形图

LPCX54102传感器处理/运动解决方案主要特性:

LPC54102 MCU in an LQFP64 package
Built-in Link2 high-speed USB based debug probe and option for an external debug probe
Tri-color LED, target Reset, ISP and WAKE buttons
On-board regulators for 1.8 V or 3.3 V supply or external power supply options
Built-in MCU power consumption, sensor board and supply voltage measurement
UART, I²C and SPI port bridging from LPC54102 target to USB via Link2 device
Sensor Shield Board Bosch Sensortec sensors: BMI055 inertial measurement unit BMC150 digital compass, BMM150 magnetometer and BMP280 pressure/temperature sensor
Murata ZPA2326 pressure sensor
MAX44000 ambient light and proximity sensor
ACKme AMS0002 Bluetooth LE module
IR remote control transmitter/receiver
Dual Knowles digital microphones
Headers for easy prototyping of additional SPI and I²C sensors
Supported by NXP Sensor Framework and Bosch Sensortec BSX Lite sensor fusion library, available for free download at www.lpcware.com (subject to license terms and conditions)

LPCX54102传感器处理/运动解决方案包括:
  LPC54102 Development Board 
  Sensor Shield Board 
  Micro USB cable

图3. LPC54102开发板电路图(1)

图4. LPC54102开发板电路图(2)

图5. LPC54102开发板电路图(3)

图6. LPC54102开发板电路图(4)

图7. LPC54102开发板电路图(5)

图8. LPC54102开发板电路图(6)

图9. LPC54102开发板PCB元件布局图:顶层

图10. LPC54102传感器屏蔽板电路图(1)

图11. LPC54102传感器屏蔽板电路图(2)

图12. LPC54102传感器屏蔽板电路图(3)

图13. LPC54102传感器屏蔽板电路图(4)

图14. LPC54102传感器屏蔽板电路图(5)

图15. LPC54102传感器屏蔽板元件布局图:顶层
详情请见:
http://www.nxp.com/documents/data_sheet/LPC5410X.pdf
http://www.nxp.com/documents/user_manual/UM10850.pdf


    Copyright © 2002-2017 海猎网. 版权所有 关键词:电鱼机 超声波逆变器 超声波捕鱼机 电子捕鱼器 捕鱼器 电鱼器