基于Freescale公司的Kinetis KM34Z256智能电表解决方案
原标题:Freescale Kinetis KM34Z256智能电表解决方案
freescale公司的Kinetis KM34Z256 MCU是基于低功耗ARM® Cortex®-M0+内核,工作频率75MHz并集成了计量算法硬件算法单元(MMAU),支持32/64位整数乘法,除法和平方根运算,比标准等效MCU的性能提高135%,和更高成本的ARM Cortex-M4 MCU相比,性能增加35%,适用于单芯片1,2和3相电表和流量计以及其它高精度测量应用.本文介绍了Kinetis KM34Z256主要特性,框图和塔式模块TWR-KM34Z75M主要特性,框图和电路图.
The new Kinetis KM34Z256 MCU is designed for 1-, 2- and 3-phase electricity meters, and features a 75MHz ARM® Cortex®-M0+ core plus metering algorithm hardware arithmetic unit (MMAU). The solution supports 32/64 -bit integer multiply, divide and square root operations and delivers a 135 percent performance increase over a standard equivalent MCU, and a 35 percent increase versus higher cost ARM Cortex-M4 MCUs. A sophisticated analog front end (AFE) enables high accuracy voltage and current measurement from four 24-bit Sigma-Delta analog-to-digital converters (ADCs) – each with its own low-noise programmable gain amplifier. Complementing these are a precision voltage reference with low gain drift of 6 ppm/C°, a dedicated hardware block for dynamic sensor phase shift compensation, and three analog comparators for frequency detection in meters that use Fast Fourier Transform (FFT) algorithms.
Enabling high accuracy, secure 1-, 2- & 3-phase electricitymetering solutions through a powerful analog front end (AFE),auto-compensated iRTC with hardware tamper detection,segment LCD controller, rich security protection and multiple lowpower features in a 32-bit ARMR CortexR-M0+ MCU. Thisproduct offers:
• Enabling single-chip 1-, 2- & 3-phase metering designs
• AFE, Security & HMI. Single crystal implementation
• Single point of calibration during manufacture
• Highest accuracy metrology with regional feature support
• Multiple ƩΔ ADCs with PGA
• Supports neutral disconnect use case
• Compliance with WELMEC/OIML recommendations
• Memory & peripheral protection
• Hardware tamper detect with time stamping
• Low-power RTC, battery backup with tamper memory
Kinetis KM34Z256主要特性:
Core
• ARMR CortexR-M0+ core up to 75 MHz
• Metering specific Memory Mapped Arithmetic Unit
(MMAU)
Clocks
• 75 MHz high-accuracy internal reference clock
• 32 kHz, and 4 MHz internal reference clock
• 1 kHz LPO clock
• 32.768 kHz crystal oscillator in iRTC power domain
• 1 MHz to 32 MHz crystal oscillator
• FLL and PLL
System peripherals
• Memory Protection Unit (MPU)
• 4-channel DMA controller
• Watchdog and EWM
• Low-leakage Wakeup Unit (LLWU)
• SWD debug interface and Micro Trace Buffer (MTB)
• Bit Manipulation Engine (BME)
• Inter-peripheral Crossbar Switch (XBAR)
Analog Modules
• 4 AFE channels (4× 24-bit ƩΔ ADCs with PGA)
• 16-channel 16-bit SAR ADC with 4 result registers
• High-speed analog comparator containing a 6-bit DACand programmable reference input
• Internal 1.2 V reference voltage 10–15 ppm/℃
Memories
• 256 KB program flash memory
• 32 KB SRAM
Operating Characteristics
• Voltage range: 1.71 to 3.6 V (without AFE)
• Voltage range: 2.7 to 3.6 V (with AFE)
• Temperature range (ambient): –40 to 105 ℃
Low power features
• 13 power modes to provide power optimizationbased on application requirements
• 7.69 mA @ 75 MHz run current
• Less than 171 μA/MHz very low power run current
• 6.05 μA very low power stop current
• Down to 220 nA deep sleep current
• VBAT domain current < 1 μA with iRTC operational
• Low-power boot with less than 2.33 mA peakcurrent
Communication interfaces
• 16-bit SPI modules
• Low-power UART module
• UART module complying with ISO7816-3
• Basic UART module
• I2C with SMBus
Timers
• Quad Timer (QTMR)
• Periodic Interrupt Timer (PIT)
• Low Power Timer (LPTMR)
• Programmable Delay Block (PDB)
• Independent Real Time Clock (iRTC)
Human-machine interface
• Up to 4×60 (8×56, 6×58) segment LCD controlleroperating in all low-power modes
• General purpose input/output (GPIO)
Security and integrity modules
• Memory Mapped Cryptographic Acceleration Unit(MMCAU) for AES encryption
• Random Number Generator (RNGA), complyingwith NIST: SP800-90
• Programmable Cyclic Redundancy Check (PCRC)
• 80-bit unique identification number per chip
图1.Kinetis KM34Z256框图
塔式模块TWR-KM34Z75M
The TWR-KM34Z75M microcontroller module is designed to work either in a standalone mode or as a part of the Freescale Tower System development board platform, a modular development platform that enables rapid prototyping and tool re-use through reconfigurable hardware. You can take your design to the next level and begin constructing your Tower System today.
The TWR-KM34Z75M is a Tower MCU Module featuring the MKM34Z256VLQ7 a Kinetis-M family (metering) microcontroller in a LQFP144 package with Sigma-Delta ADC and tamper detection with a secure real-time clock with independent battery supply. It is intended for use in the Freescale Tower System development board platform but can also operate in a standalone mode. An on-board OpenSDA debug circuit provides a SWD programming interface, USB to serial interface, and power supply input through a single mini-USB connector. An optional on-board sinus waveform generator allows emulating of electricity net signals for software development purposes.
图2.塔式模块TWR-KM34Z75M外形图
塔式模块TWR-KM34Z75M包括:
• TWR-KM34Z75M board assembly.
• A(M) to MINI B(M) USB cable for debug interface and power or USB to serial interface for TWR-KM34Z75M.
• Quick Start Guide.
塔式模块TWR-KM34Z75M主要特性:
• Tower-compatible microcontroller module.
• MKM34Z256VLQ7 MCU (75 MHz, 256 KB Flash, 32 KB RAM, low power, LQFP144 package).
• USB interface with Mini-B USB connector.
• Large 160-seg. glass LCD.
• On-board debug circuit, open source JTAG/SWD (OpenSDA) with virtual serial port.
• Three-axis accelerometer/anti tamper tilt sensor (MMA8451Q).
• Four user-controllable LEDs.
• Two user pushbutton switches for GPIO interrupts.
• One user pushbutton switch for tamper detection.
• One user pushbutton switch for MCU reset.
• Potentiometer.
• Headers for direct GPIO and ADC access.
• External Tamper pins.
• Independent, battery-operated power supply for Real Time Clock (RTC) and tamper detection modules.
• IRDA support.
• NTC temperature sensor.
• General-purpose Tower Plug-in (TWRPI) socket.
图3.塔式模块TWR-KM34Z75M框图
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。