Document

advertisement
飞思卡尔开源MCU系列平台介绍
-- Kinetis ARM® Cortex® M
TM
External Use
Agenda
•
飞思卡尔Kinetis 系列MCU介绍
•
Kinetis Free RTOS介绍
•
Kinetis Middleware介绍
•
Kinetis 硬件开发工具介绍
•
Kinetis 系列开源硬件平台介绍
− Netduino
(Freescale Kinetis K64) 开发办介绍
− 飞思卡尔Kinetis
K22 WiFi module开发平台介绍
 K22
wifi 模块
 K22
wifi模块扩展开发平台
 WiFi无线计量插座参考设计
•
成功案例
TM
External Use
1
The Internet of Things is
Driving Explosive Growth
In Connected Devices
50
BILLION
25
BILLION
12.5
BILLION
7.6B
World
Population
6.8B
6.5B
6.3B
7.2B
<1x
1x
2x
3.5x
6.5x
2003
2008
2010
2015
2020
# Connected
Devices/Person
TM
External Use
2
* Sources: Ericsson, February 2011; Cisco Internet Business Solutions Group (IBSG), April 2011
Our Products Power The Internet of Things
Microcontrollers | Digital Networking | Auto MCU | Analog and Sensors | RF
Traffic Monitoring
Metro Cells
Small Cells
Base Stations
Advanced
Safety
Security
Networked
Printers
Infotainment
Radar +
Vision
Cloud
Computing
Data
Center
Enterprise Gateways,
Switchers, Routers
Home Health
Monitors + Fitness
Energy Management,
Wind + Solar
Telehealth
Connected
Appliances
Smart Energy
Grid
Connected
Farms
Industrial
Networking
Digital Power
Conversion
Energy
Meters
Home Hubs
Security
TM
External Use
3
Machine – Machine
Human – Machine
Interface
Edge
Product
Xtrinsic Sensing
BAN/PAN/ &
Wired/Wireless,
Power Line LAN
Layers of
Aggregation /
Hubs / Gateways
Wired/Wireless,
Power Line
WAN
Remote
Cloud-based
Processing
Connectivity
Intelligent
Contextual Sensing.
BAN/ PAN/ LAN
S P C
C
The right combination of
Fully integrated Short Range
intelligent integration, logic
radios with best in class
and customizable software on
power performance, and
the platform to deliver
Powerline Communications
smarter, more differentiated
applications.
For IoT it provides Context: Identity,
Activity, Location, & Time
P C
C P C
C P
S P C
Software in All Nodes
Edge products:
• Very small
• Low cost
• Low power
• Low complexity
• Industrial grade & robust
S
P
C
Sensing
Embedded Processing
Communications
Kinetis
Microcontrollers
Design Potential.
Realized
Vybrid Controller
Solutions
Rich Apps in Real
Time.
Industry’s most scalable
ultra-low-power, mixed-signal
MCU solutions based on the
ARM® Cortex™-M and
Cortex™-M0+ architectures.
Real-time, highly integrated
solutions with best-in-class 2D
graphics to enable
your system to control, interface,
connect, secure and scale.
i.MX Applications
Processors
Your Interface to the
World.
Industry’s most versatile
solutions for multimedia and
display applications, with
multicore scalability and
market-leading power,
performance & integration.
QorIQ Processors
built on Layerscape
Architecture
Accelerating the
Network’s IQ
Industry’s first softwareaware, core-agnostic
networking system
architecture for the smarter,
more capable networks of
tomorrow – end to end.
Scalable Industry Standard Solutions, Software and Development Ecosystem
TM
External Use
4
Kinetis in Production
i'm Watch
Thalmic Labs MYO
Withings Wireless Scale WS-30
TM
External Use
5
Whistle Activity Monitor
Withings Smart Body Analyzer
Kinetis Microcontrollers (Now & in the Future…)
Performance
World’s Broadest ARM Cortex-M Portfolio
Kinetis X Series
Kinetis K Series
Kinetis L Series
Ultra-low power/cost ARM
Cortex-M0+ MCU families
from 48MHz / 8KB with mixedsignal, connectivity & HMI
features in low pin-count
packages.
Kinetis E Series
Robust, 5V ARM Cortex-M0+
& ARM Cortex-M4 MCU
families for use in high
electrical noise environments.
Safety features for highreliability applications
Industry-first ARM Cortex-M4
MCU families from 50MHz /
32KB with low power,
FlexMemory, mixed-signal and
broad connectivity, HMI &
security features.
General Purpose
Kinetis V Series
Kinetis W Series
Integrated wireless
connectivity ARM Cortex-M4
and M0+ MCU families with
class-leading sub-1 GHz and
2.4 GHz RF transceivers
High-performance ARM
Cortex-M MCU families with
advanced memory and feature
integration for robust,
networked industrial and
consumer systems.
Kinetis M Series
High accuracy metrology ARM
Cortex-M0+ MCU families for
single chip smart meter
implementations.
Segment Focused
High efficiency, high speed
peripherals ARM Cortex-M0+
& Cortex-M4 MCU families for
use in motor control & power
conversion.
Integration
Leading Performance - Low Power - Scalability - Industrial-grade reliability & temp
Freescale Bundled IDE, RTOS & Middleware - Rapid prototyping Platform - Broad ARM Ecosystem Support
TM
External Use
6
Kinetis Key Pillars by Family
L
E
K
X
W
M
V
Low Power
5V
Robustness
High
Performance &
Rich
Integration
Extreme
performance &
integration
Integrated RF
Connectivity
Integrated
metrology
engine
Motor and
Power
Conversion
48MHz Cortex
M0+
Up to 48MHz
Cortex M0+
Up to 180MHz
Cortex M4
Up to 400MHz
Cortex M-next
Up to 50MHz
Cortex M4,
Cortex M0+
Up to 48MHz
Cortex M0+
Up to 200MHz,
Cortex M4,
Cortex M0+
8KB to 512kB
Flash
8KB to 128kB
Flash
32KB to 2MB
Flash
0KB to 16MB
Flash
32KB to
512kB Flash
32KB to
128kB Flash
16KB to 2MB
Flash
Up to 128KB
RAM
Up to 16KB
RAM
Up to 256KB
RAM
Up to 512KB
RAM
Up to 64KB
RAM
Up to 32KB
RAM
Up to 256KB
RAM
Now!
Now!
Now!
Q2’15
Now!
Now!
Now!
Leading Performance – Low Power – Scalability – Industrial Grade reliability & temp
Freescale Bundled IDE, RTOS & Middleware – Rapid Prototyping Platform – Broad ARM Ecosystem Support
TM
External Use
7
Kinetis
RTOS’s
TM
External Use
8
MQX RTOS: Keeping your Application on Schedule
Market proven, growing on-line community and partners
• Full-featured, Scalable platform bundled free
• Similar to other “pay-for” RTOS
• Now available:
−
MQX Lite RTOS and MQX 4.0
MQX Installed Base
Since 2009 launch:
•
>10k unique users downloads
•
Nearly doubled year on year
•
6th ranked RTOS according to
2012 Embedded Market Study
TM
External Use
9
Kinetis Middleware
TM
External Use
10
eGUI: Free Graphics LCD Driver
•
•
•
•
•
Lightweight software component allowing
graphics LCD panels to be driven from small
microcontrollers
Structure of driver brings complete software
solution for applications needing a LCD screen
Very light RAM and FLASH footprint
The Freescale eGUI can be used stand alone or
integrated into the MQX operating system.
Features
−
−
−
−
−
−
−
Multiple platforms supported: S08, HCS12,
ColdFire.
Extremely low flash and RAM footprint so that it
can easily be used in a small MCU system.
Smart support for screen oriented structure of
user code.
Supports LCD displays up to 1/4 VGA for MCU
and larger for MPUs supported.
Touch screen support.
Tower LCD board supported.
Easily ported to new display/controller
combinations
TM
External Use
11
www.freescale.com/egui
Portable Embedded GUI (PEG)
• Screen transitions
• Multiple alpha-blended
windows
• True anti-aliasing
• Gradient manager
• Open GL support
• Written in C++
•
•
•
•
•
•
Starting 225KB
Typical 225-250KB
TM
External Use
One of the smallest footprint
solutions available for
embedded GUIs
Most portable graphics software
package for high-performance
embedded displays
Support for touchscreen displays, multi-layer
alpha-blended graphics, high color depths
and open GL support
12
Multiple window updates
Alpha-blended images
Run-time image decoders & language
resources
Custom widget integration
Dynamic themes
Written in C++
Starting at 128KB
Typical 160-175KB
www.frescale.com/PEG
• Designed for:
-
•
•
•
•
Small LCDs (QVGA)
Low colour-depth
Very small footprint
Single window update
Multi-language capable
Written in ANSI C
Starting at 64KB
Typical 90-110KB
FreeMASTER
•
Real-time monitor and control of an app
− Track
your variables
− Modify them while the system runs
•
Data visualization
− Design
•
your own dashboard
Data streaming – e.g…
− Send
it to MATLAB® via FreeMASTER
Kinetis
•
Demonstration platform
−A
product packaging tool
www.frescale.com/FreeMASTER
TM
External Use
13
Embedded Software and Motor Control Libraries
•
Wide group of algorithms
− basic
mathematics, logic, controllers, modulations, transformations up to
advanced observers
•
Tool for beginners as well as for professionals
− motor
•
•
•
control, power conversion, UPS etc.
Libraries are optimized, tested and easy to use
Implemented with C-callable function interface
Implemented Algorithms
− Sine
, Cosine , Tangent , Arcus Sine, Arcus Cosine, Arcus Tangent,
Arcus Tangent, Shifted Arcus Tangent, Square Root, Ramp, Limiter,
Hysteresis, Signum, Look-up Table, PI Controller ,
− Clarke Transformation, Inverse Clarke Transformation, Park
Transformation, Inverse Park Transformation, Space Vector Modulation,
Vector Limiter, PMSM Decoupling, DC Bus Ripple Elimination
− IIR filter, Moving avg. filter
Embedded Software and Motor Control Libraries
TM
External Use
14
NanoSSL™/ NanoSSH™ Client for Freescale MQX
Security options with significant cost savings
•
•
•
Super-fast, super-small embedded SSH and SSL clients from Mocana
One-time “unlocking” fee of $199 to access source code with unlimited binary distribution
Available via Buy Direct www.freescale.com/embeddedcomponents
Shell (SSH) encrypts communications between hosts over an insecure network, and it’s
great for logging into and executing commands on networked computers. It’s also useful for
tunneling, port-forwarding and secure file transfers using the SFTP protocol.
•Secure
•Secure
Sockets Layer/Transport Layer Security (SSL/TLS) - authenticates endpoints and
encrypts channels to provide session privacy and security on the Internet. The standard operates
at a higher level in the OSI stack than IPsec, and supports peer negotiation for algorithm selection,
public key based exchange of secret session keys and X.509 certificates.
► Ultra-small
at less than one fifth the size of a typical SSL/SSH client.
impact on device performance
► Minimal impact on flash ROM utilization
► Minimal
•
Freescale’s super-fast, super-small
embedded
SSH/SSL
client by Mocana
Addition
Upgrades:
http://mocana.com/mqx/
Royalty-Free for MQX Users!
•Kinetis NANOSSL, NANOSSH and CAU libraries due end May / start June
•“How-to-use CAU Library” App Note is currently in development for Kinetis. Available Now
TM
External Use
15
The ARM® Eco System
Use the broad support for ARM® microcontroller
by many companies.
• Re-use your existing IDE and Middleware for
Freescale Kinetis.
GNU Tools
TM
External Use
16
Kinetis Development Hardware
Freedom Platform
Tower System
•
The new Freescale platform for
Kinetis L and Kinetis K
microcontroller
•
The established and proven
platform with highest flexibility
and re-usability
•
Compatible with Arduino
shields
•
Over 50 add-on boards
available.
•
4 different boards available
today
Device Specific
Reference Designs
•
•
Home Energy Gateway, 1ph
Meter, 3ph Meter, pre-/postpaid Meter, Home Area
Network, Home Display, …
•
Available through Freescale
RSM
Evaluation boards addressing
special functions and
capabilities of Kinetis devices
TM
External Use
17
Robust Software & Development Ecosystem
Applications
Tools, OS, Middleware
CodeWarrior
VortiQa
Architectures
SynkroRF
>800
BeeKit
Embedded
Software
Engineers
FreeMASTER
Proprietary
ColdFire
MQX
Key Software Acquisitions & Investments
1999: Metrowerks
2002: AMC, Lineo
2008: Intoto
TM
External Use
18
2009: MQX Runtime Platform
2010: Processor Expert, Chipwerks, Swell
Kinetis Development Hardware
TM
External Use
19
Tower System: Easy Evaluation & Prototyping
Launched in 2009, now offers more than
65 interchangeable modules and growing
Spans Freescale’s MCU/MPU portfolio,
including Kinetis, Vybrid, Power
Architecture®, ColdFire, DSC, 16- & 8-bit
Partner-developed modules fuel growth
and provide complete solutions
TM
External Use
20
Freescale Tower System
•
•
•
•
•
•
•
•
•
Modular development platform
Also for rapid prototyping
Interchangeable and reusable modules
Open source design files
Easy to customize
www.freescale.com/tower
Reduced low level design effort
Sold in kits or as individual modules
Processor modules with debug interface and stand-alone
operation.
Cost effective
TM
External Use
21
Available Tower System Modules
8bit
ColdFire
Kinetis
TWR-S08LL64
TWR-S08LH64
TWR-S08JE128
TWR-S08MM128
TWR-S08GW64
TWR-S08UNIV
TWR-S08PT60
TWR-MCF51AG
TWR-MCF51CN
TWR-MCF51JE
TWR-MCF51JF
TWR-MCF51MM
TWR-MCF51QM
TWR-MCF5225X
TWR-MCF5441X
16bit
Power Arch
TWR-S12G64
TWR-S12G128
TWR-S12G240
TWR-S12GN32
DSC
Serial
TWR-KL25Z48M
TWR-K20D50M
TWR-K20D72M
TWR-K21D50M
TWR-K40X256
TWR-K40D100M
TWR-K53N512
TWR-K60N512
TWR-K60D100M
TWR-K60F120M
TWR-K70F120M
TWRMPC5125
TWRMPC8309
TWR-P1025
TWR-PXD10
TWR-PXD20
TWR-PXN20
TWR-PXR40
TWRPXS2010
TWRPXS3020
TWR-SER
TWR-SER2
External Use
22
Memory
TWR-WIFI-RS2101
TWR-WIFI-G1011MI
TWR-WIFI-GS1500M
TWR-WIFI-AR4100
Analog
Audio
Mesh Networking
Displays
TWR-ADCDAC-LTC
TWR-AUDIO-SGTL
TWR-RF-SNAP
TWR-LCD
TWR-LCD-RGB
TWR-MC-LV3P
TM
Wi-Fi
TWR-PROTO
Motor-Control
TWR-56F8257
TWR-56F8400
Prototyping
Apple MFi
TWR-DOCK
TWR-DOCK2
Industrial
TWR-MECH
TWR-IND-IO
www.freescale.com/tower
Sensors &
Plug-Ins
TWR-SENSOR-PAK
TWR-MEM
TWR-MEM-PISMO TWR-SENSOR-PAK-AUTO
TWR-TWRPI-BD
TWRPI-MMA6900
TWRPI-MPL115A
Radio
TWR-12311
TWR-METRO-KIT
Medical
MED-EKG
Freescale‘s Made For iPod (MFi) Solutions
Freescale’s MFi solutions are based on the TWR-DOCK peripheral module
•
•
•
•
•
•
TWR-DOCK supports development and rapid prototyping of electronic accessories for iPod, iPhone and iPad devices
− Available to MFi licensees on the MFi portal for $139
− Direct 30-pin dock connection
− USB A receptacle for USB to 30-pin dock or Lightning™ cable connection
− Analog audio and video signals with standard RCA and S-Video connectors
− Digital audio streaming in both directions over USB
− Control and communication with various devices
Includes free interface software
TWR-DOCK concentrates all MFi controlled items on one Tower module, without including any processors or other Freescale
products
TWR-DOCK may be used with a wide range of Tower System MCU/MPU, peripheral, sensor and communication modules
Kinetis-based demos are available
A new TWR-DOCKx is in development for direct Lightning dock connection
TM
External Use
23
www.frescale.com/MFi
Freedom Platform
•
•
•
•
•
•
•
small, low-power, cost-effective evaluation and development
system
quick application prototyping and demonstration
Low–cost ($10–15 MSRP)
Designed in an industry-standard compact form factor
Easy access to the MCU I/O pins
Integrated open-standard serial and debug interface
(OpenSDA)
Compatible with a rich-set of third-party expansion boards
FRDM-KL02Z
FRDM-KL26Z*
FRDM-KL05Z
FRDM-KL46Z*
FRDM-KL25Z
FRDM-K20D50M
TM
External Use
24
*coming soon
OpenSDA Applications Overview
Mass Storage
Programmer
P&E Multilink
Proprietary, Default
Proprietary
Open Debug
Standard
Cloud
Computing
Interface
Open
OpenSDA
OpenSDA MCU
K20DX128Vxx5
MSD Bootloader
to Target MCU
UART TX/RX
UART RX/TX
Proprietary
OpenSDA
Application
Data Logging
Customer / Partner
Application
Open
Open or Proprietary
GPIO / Interrupt
SPI, GPIO
Latest OpenSDA applications and drivers: visit pemicro.com/opensda
TM
External Use
25
RESET
SWD / JTAG
Reference Designs
TM
External Use
26
PE Micro Universal Multilink (U-MULTILINK)
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=UMultilink
Features
•Easy-to-use debug and programming interface which
allows the PC to communicate with a target processor
through the USB port of the PC.
•Controls the MCU/MPU by accessing the debug port of
the target.
•Can communicate with multiple MCUs using multiple
headers - flip open the plastic case. Ribbon cables for the
supported MCUs are conveniently included.
•Supported by recent versions of CodeWarrior, current
P&E software applications, and Kinetis tool chains from
IAR, Keil, and Mentor Graphics.
•Draws power directly from the USB port – no external
power supply needed
•Multi-voltage support for targets ranging from 1.6 to 5.25
Volts
•Multilink Universal FX: a high-speed version of the USB
Multilink Universal with additional enhancements.
TM
External Use
27
Supports:
• Kinetis
• HCS08
• HC(S)12(X)
• ColdFire(+) V1
• ColdFire V2-4
• Qorivva
Freescale
P&E
Replaces:
N/A
USBMULTILINK08
USBMULTILINKBDM
USBMULTILINKBDM
USBMLCF
USBMLPPCNEXUS
U-MULTILINK
USB-ML-UNIVERSAL
$119
$119
Debug Emulators & Programmers
Peak download
into RAM
(KByte/sec)
Added Features
Green Hills Probe
TBD
Multiuser, high-speed debugging, download, flash programming via
Ethernet or USB
MULTI
TBD
Non-intrusive trace, download, and debugging via ARM CoreSight and
Embedded Trace (ETM)
MULTI & TimeMachine
Keil
30
1000
ULINK2 and ULINK-ME (included w/MCBxME)
ULINKpro
Lauterbach Cortex-M Debugger
TBD
Support for Core Sight components like Debug Access Port, Trace
Funnel etc…
Open Source Debug (JTAG & BDM) – P& E
5-10
Built-in to Tower
Free
CodeWarrior , IAR
P&E Universal MultiLink
P&E Universal MultiLink FX
P&E Universal MultiLink Trace
30-50
TBD
Support any Freescale ColdFire, Power, 8bit, Kinetis, DSC & 1.6 – 5.5V
JTAG, SWD interface
Data Monitor, High Speed
External Trace, Very High Speed
$119
CodeWarrior, P&E Software
Segger J-Link Ultra
1440
SWD, SWB, JTAG speed up to 25MHz
Hi-Speed USB & On Board FPGA
Unlimited # of sw Flash Breakpoints
Embedded Trace Buffer (ETB)
$648
Segger J-Link
720
JTAG speed up to 12MHZ
$299
Signum Systems JTAGjet
> 2,033
Chameleon Debugger, ETB, SWD, JTAG up to 30MHz, NAND, NOR and
on-chip flash, Code Profiler, Linux debugging using only JTAG.
$1200
and up
Signum Systems JTAGjet-TRACE
>2,033
Chameleon Debugger, ETB, SWD, ETM, PTM and JTAG up to 30MHz,
NAND, NOR and on-chip flash, Code Profiler, Coverage Analyzer, Linux
debugging using only JTAG.
From
$1,500
•
Green Hills SuperTrace Probe
28
Cost
$395
$1500
$399
$999
Green Hills Probe
200 MBit/s per trace channel w/ up to 4 channels, 128-MB of trace
memory, Real-time profiling, Long-time trace, Energy profiling
P& E Cyclone Universal (Q2/Q3 2011)
Segger Flasher ARM
Signum Systems JTAGjet-Flasher
TM
External Use
28
Batch mode, 600kBytes/sec flash speed, support for all CFI compliant
NOR flash, most NAND and on-chip flash, multi emulator support for
parallel programming.
Keil , Keil uVision
Keil, GHS, IAR etc…
Factory Stand Alone Programmers & Debug
Lauterbach CombiProbe
IDE
From
$1000
IAR , Keil , and
CodeSourcery
IAR, Keil, CodeSourcery ,
CodeWarrior and more
Keil, eSOL eBinder,
CodeSourcery, IAR, GHS,
CodeWarrior, Mentor Graphic,
CCStudio, Eclipse, GDB, etc.
Kinetis Flash Programming
Factory Programming Services
Avnet / Source Electronics
Hi-Lo Systems
Production Equipment
Hi-Lo Systems: 144 BGA, 144 LQFP, 100 LQFP, 64 BGA, more upon request
BPM Micro:
144 BGA, 100 LQFP, more upon request
Phyton:
144 BGA, 144 LQFP, more upon request
DediProg:
support in progress, upon request
System General: support in progress, upon request
Xeltek:
support in progress, upon request
TM
External Use
29
The ARM® Eco System
Use the broad support for ARM® microcontroller
by many companies.
• Re-use your existing debugger and
programmer for Freescale Kinetis.
TM
External Use
30
Kinetis 开源硬件系列
TM
External Use
31
Netduino (Freescale Kinetis K64)
特点:
1. 采用了飞思卡尔K64系列Cortex M4内
核,性能高、速率快、功能强大,对
追求性能比较高的系统,比Arduino更
合适;
2. Netduino IDE就是Visual Studio,编
程语言是C#,这对于熟悉C#的人是
个大好的消息,并且Netduino对仿
真 和 在 线 调 试 (in-circuit
debugging)都支持, 也就是说你可
以在代码里随意设置断点进行调试,
而在Arduino环境下,你无法调试。
3. 编程语言为C#,代码简洁更容易阅
读,还支持事件机制!
带有XBee模块的标准接口,可直接使用
目前流行的XBee无线模块。
TM
External Use
32
Netduino (Freescale Kinetis K64)
性能描述:
•
Digital I/O 数字输入输出端,共0~13接口;
•
Analog I/O 摸牛输入输出端,共0~5接口;
•
支持USB接口协议及供电(不需外接电源);
•
采用了飞思卡尔K64系列Cortex M4内核,高
效率、高性能;
•
支持双UART口接口;
•
支持目前较为流行的XBee模块使用;
•
支持I2C双线接口;
•
支持6组PWM端子;
•
输入电压可USB接口供电,或者外部5~9V直
流电源供电;
•
输出电压5V DC和3.3V DC输出;
TM
External Use
33
Kinetis K Series
K64 / K63 / K24 120MHz Devices
Key Features:
System
Core
Arm Cortex-M4
Up to 120 MHz
Core/System
• Cortex-M4 up to 120MHz with FPU
Memory
• up to 1MB Flash,
• up to 256KB SRAM
• up to 4KB EEPROM (FlexMemory)
Communications
• USB OTG FS/LS w/ PHY and USB
Vreg
• Ethernet w/ IEEE1588
• CAN
• Multiple serial ports
Debug
Interfaces
DSP
Interrupt
Controller
Floating Point
Unit (sFPU)
Timers
• 2x8ch FTM (PWM)
• 2x2ch FTM (PWM/Quad Dec.)
• Low Power Timer
• RTC with independent Vbat supply
Others
• 1.71V-3.6V; -40 to 105oC
• Up TBD to x I/Os (5V tolerant)
• Tamper and Crypto acceleration
Memory
Protection Unit
(MPU)
16-ch DMA
Security
and Integrity
Analog
Up to 2 x16bit ADC
3 x ACMP
Random
Number
Generator
Up to 2 x
12-bit
DAC
Cryptographic
Acceleration
Unit (CAU)
Vref
DRY ICE
Timers
Phase-Locked
Loop
Serial
Programming
Interface
(EzPort)
External Bus
Interface
(FlexBus)
FrequencyLocked Loop
Up to 4KB
EEPROM
(Flexmemory)
Standard Feature
TM
34
Communication Interfaces
Programmable
Delay Block
6xUARTs
Periodic
Interrupt
Timers
Secure
Digital Host
Controller
(SDHC)
3xSPI
USB
Voltage
Regulator
1 x USB OTG
(LS/FS) +
PHY
CAN
Low-Power
Timer
Independent
Real-Time
Clock (RTC)
Optional Feature
Low/High
Frequency
Oscillators
Internal
Reference
Clocks
1xI2S
Packages:100 LQFP, 121 MAPBGA,
144LQFP, 144BGA
External Use
SRAM
(256KB)
3xI2C
FlexTimer
Clocks
Program Flash
(Up to 1MB)
Low-Leakage
Wake-Up Unit
Cyclic
Redundancy
Check (CRC)
Analog
• 2x 16-bit ADC
• 2x 12-bit DAC; 3 x ACMP
Internal and
External
Watchdogs
Memories
IEEE 1588
Ethernet
MAC
HMI
GPIO
Module Block Diagram
SPI x 1
Antenna
4002
USB OTG x 1
I2C x 1
UART x1 + LPUART x1 OR UART x2
SPI
NMI
16-bit ADC x 2
I2C
K22F
BGA64
POWER
I2S x 1
MFi
12-bit DAC x 1
GPIO x 1 Dedicated
RESET
JTAG /SWD
TM
External Use
35
Hardware Features
•
•
•
•
•
•
Operation voltage: 3.3V
Power consumption:
CPU: 120MHz with 128K RAM and 512K Flash
PCB: 4 layers with Industry Grade
Peripherals
− 1 x USB OTG
− 1 x UART + 1xLPUART OR 2 x UARTs, including hardware flow control
− 1 x SPI
− 1 x I2S
− 2 x I2C
− 1 x GPIO Dedicated
− 2 x ADC
− 1 x DAC
WiFi Connectivity
− Support for IEEE 802.11 b/g/n
− Integrated IPV4/IPV6 TCP/IP Stack
− Integrated Network services such as HTTP, DNS, FTP
− Full Security support: WPS, WPA, WPA2, WAP2, WEP, TKIP
TM
External Use
36
Software Features & Certifications
•
Software
− MQX
− Cloud
Client
− ALL JOYN
− Status update via Status PINs
− Application Interface: HA Command Set (TBD)
− Firmware upgrade via WiFi and UART
− Security Bootloader with RSA2048/SHA-256
− Enabling SPI and UART interfaces in Phrase 1
− Other interfaces to be enabled in Phrase 2
− HomeKit software in Phrase 2
•
Certifications
− FCC/CE
− RoHS
− EMI/EMC
TM
External Use
37
Software Features & Certifications
•
Software
− MQX
− Cloud
Client
− ALL JOYN
− Status update via Status PINs
− Application Interface: HA Command Set (TBD)
− Firmware upgrade via WiFi and UART
− Security Bootloader with RSA2048/SHA-256
•
Certifications
− FCC/CE
− RoHS
− EMI/EMC
TM
External Use
38
Wifi 模块开发平台
Anduino 等
扩展接口
USB 接口
USB充电
蓝牙模
块
自学习
红外
备份电池
液晶显示屏
Sd卡
外扩键盘
无线语音
温湿度传感器
、键盘
PM2.5 传
感器
•
•
卡扩展平台,支持基于wifi的语音、红外、传感器、云存储等设备开发
飞思卡尔提供BSP和所有外设驱动
TM
External Use
39
Wifi智能插座
Wifi 智能插座
电力线
QCA4002
KM14
或者KM34(具备LCD)
50Mhz M0+内核
飞思卡尔计量SoC 产品优势
1. 50Mhz 主频能够支持wifi协议栈和用户自定义协议和应用
2.低功耗M0+内核节省电量,
3. 低功耗构架停电的时候可以支持超低功耗待机,延长电池使用寿命
片上24位SD ADC
片上16位SAR ADC
片内温度传感器
128k Flash/16K RAM
1.支持能源计量(有功、无功、电网频率等)
2. 支持电能质量分析,提高用户用电保护和故障诊断功能
3. 支持直流计量
4. 开放的计量库
1. 支持外接传感器,扩展插座其他智能功能(位移传感器、红外传感器等)
1.支持插座温度监测功能
1.足够大的程序空间,方便用户应用程序开发
带单独供电的硬件RTC 1.支持分时累计付费率电价计算
>30 I/O
1.外接继电器开关和指示灯
LCD
1.本地显示插座电量数据和wifi连接状况
驱动器
片上
20mA驱动能力的I/O
1.直接连接LED工作指示灯
TM
External Use
40
系统框图
Scalable HMI&COM Functions
QCA4002 based WiFi
Module
AT CMD
All Metering Functions
TM
External Use
41
Relay/LED/LCD
/Button Control
GPIO/LCD Drive
One Pager
Core
• CM0+ core Up to 50MHz
• Separate FLL post-scalers for Flash and Core
clocks.
• Dedicated PLL for ΣΔ modulator clock
• 4ch DMA
• Memory Protection Unit
• Single 32kHz Crystal operation
• MHz Crystal optional
Timer/PWM/Clock
• Quad Timer (total 4 universal timers)
• 2x PIT
• 1x Watchdog Timer (windowed, independently
clocked)
• 1x EWM (External Watchdog Monitor)
• 1x LPTimer
Security & Encryption
• Programmable 16/32-bit CRC
• IRTC w/ tamper detection
• 3 Tamper pins (operating on battery)
• Random Number Generator (NIST: SP800-90)
• AES Encryption (via software library)
Wakeup Unit
• Group selected GPIOs (16), LPTIM, RTC
(+tamper pins) , HSCMP, SCI , Brownout and
POR sources to wake up from Power Gated
STOP mode
LCD Display
• Up to 288 segment LCD, up to 8 backplanes
Memories
• Up to 128 KB Program Flash
• 16 KB SRAM
Analog
• 4x24 bit ΣΔ after averaging (2xPGA) highly
accurate supporting EN 50470-1, EN 50470-3,
IEC 62053-21, IEC 62053-22 and IEC 62053-23,
optimized for shunt sensor (≥50uOhm).
• 0.1% error in active and reactive energy over a
dynamic range of 2000 to 1
• Internal 1.2V reference voltage (15-20 ppm/oC)
• 12-ch 16-bit SAR for auxiliary measurement
• 2x analog comparator
Serial Communications
• 2x SPI
• 4x UART
• All combined with Quad Timer & HSCMP for IR
• 2 support ISO7816
• All support flow control
• 2× I2C
• All UARTs and SPIs are 3V compatible while 1
UART and 1 SPI are both 3V and 5V compatible
(open drain configuration)
Peripheral XBAR
• Remapping peripheral IOs
• UART selection for IR
TM
External Use
42
GPIO
•
•
•
•
Up to 68 with push pull, pull up/down select
Up to 8 GPIO with filter
Support for interruption on any edge
Single cycle access for all GPIOs (Rapid GPIO)
Power Modes & Clock Sources
•
•
•
•
•
•
Many low power modes supported
2.7V to 3.6V Operating voltage with AFE
1.71V to 3.6V Operating voltage without AFE
1.71V-3.6V IRTC VBAT supply
32kHz or 4 MHz internal clock source
32.768kHz crystal oscillator
Package
•
•
100 LQFP, 64 LQFP and 44 LGA options
-40°C ~ +85°C Temp
产品型号列表
Part Number
24 bit ƩΔ
ADCs独立通
道数
辅助ADC
封装
LCD液晶驱动
44LGA
MKM14Z64CHH5
4
16 bit
(5x5mm2
)
-
44LGA
MKM14Z128CHH5
4
16 bit
(5x5mm2
)
-
MKM33Z64CLH5
3
16 bit
64LQFP
8 x 17
MKM33Z128CLH5
3
16 bit
64LQFP
8 x 17
MKM33Z64CLL5
3
16 bit
100LQF
P
8 x 38
MKM33Z128CLL5
3
16 bit
100LQF
P
8 x 38
MKM34Z128CLL5
4
16 bit
100LQF
P
8 x 38
TM
External Use
43
(Flash /
SRAM)
特点
目标应用
单相、双相、三相计量芯片
谐波分析芯片
64 / 16 KB
计量插座
电能监控模块
单相、双相、三相计量芯片
集成硬件5ppm RTC,具备谐
谐波分析芯片
128 / 16 KB 波分析功能,同一芯片覆盖单
计量插座
相、双相和三相
电能监控模块
集成硬件5ppm RTC,具备谐
波分析功能,同一芯片覆盖单
相、双相和三相
集成硬件5ppm RTC,LCD 驱
低成本单相、双相、三相SoC
64 / 16 KB 动, 具备谐波分析功能,同一
电能表
芯片覆盖单相、双相和三相
集成硬件5ppm RTC,LCD 驱
128 / 16 KB 动, 具备谐波分析功能,同一
芯片覆盖单相、双相和三相
集成硬件5ppm RTC,LCD 驱
64 / 16 KB 动, 具备谐波分析功能,同一
芯片覆盖单相、双相和三相
集成硬件5ppm RTC,LCD 驱
128 / 16 KB 动, 具备谐波分析功能,同一
芯片覆盖单相、双相和三相
集成硬件5ppm RTC,LCD 驱
128 / 16 KB 动, 具备谐波分析功能,同一
芯片覆盖单相、双相和三相
低成本单相、双相、三相SoC
电能表
低成本单相、双相、三相SoC
电能表
低成本单相、双相、三相SoC
电能表
低成本单相、双相、三相SoC
电能表
部分成功案例
TM
External Use
44
成功案例– Energy Management System
An innovated energy management system provider
•Product:
•Energy monitor
•Smart energy controller
•Smart Switch
•Energy Gateway
•Energy Cloud service
FSL Position
•KM14 in curtain controls
•KM14 in touch switch
•KM14 in thermostat
•KM14 in metrology socket
•IMX6S/SL in industry gateway
•M60+MQX in industry gateway
Cloud for energy
service
能源服务入口
Energy Services Portal
窗帘控制器
Curtain Controls
I.MX6 S/SL for multi media
K60 for Wifi
K60 for GPRS
触控开关
Touch Switch
MKM14Z128CHH5
MKM14Z128CHH5
Star/Tree/Mesh
混合组网
空调调温器
Thermostat
MKM14Z128CHH5
计量插座
Metrology Socket
TM
External Use
45
MKM14Z128CHH5
成功案例– Smart Socket
TM
External Use
46
成功案例– Panel Meter
智能漏电开关
电量监控终端
配电面板表
TM
External Use
47
TM
www.Freescale.com
© 2014 Freescale Semiconductor, Inc. | External Use
Download