MCU Kinetis ARM Cortex M TM External Use

  • Slides: 49
Download presentation
�思卡�开源MCU系列平台介� -- Kinetis ARM® Cortex® M TM External Use

�思卡�开源MCU系列平台介� -- Kinetis ARM® Cortex® M TM External Use

Agenda • �思卡� Kinetis 系列MCU介� • Kinetis Free RTOS介� • Kinetis Middleware介� • Kinetis

Agenda • �思卡� Kinetis 系列MCU介� • Kinetis Free RTOS介� • Kinetis Middleware介� • Kinetis 硬件开� 具介� • Kinetis 系列开源硬件平台介� − Netduino (Freescale Kinetis K 64) 开��介� − �思卡 尔Kinetis K 22 Wi. Fi module开�平台介� § K 22 wifi 模� § K 22 wifi模��展开�平台 § Wi. Fi无��量插座参考�� • 成功案例 TM External Use 1

The Internet of Things is Driving Explosive Growth In Connected Devices 50 BILLION 25

The Internet of Things is Driving Explosive Growth In Connected Devices 50 BILLION 25 BILLION 12. 5 BILLION World Population 6. 8 B 6. 5 B 6. 3 B 7. 6 B 7. 2 B <1 x 1 x 2 x 3. 5 x 6. 5 x 2003 2008 2010 2015 2020 # Connected Devices/Perso n 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

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

Freescale Io. T Offerings Edge Product Xtrinsic Sensing Connectivity Intelligent Contextual Sensing. BAN/ PAN/

Freescale Io. T Offerings Edge Product Xtrinsic Sensing Connectivity Intelligent Contextual Sensing. BAN/ PAN/ LAN BAN/PAN/ & Wired/Wireless, Power Line LAN Layers of Aggregation / Hubs / Gateways Wired/Wireless, Power Line WAN Remote Cloud-based Processing 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 Io. T it provides Context: Identity, Activity, Location, & Time 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 Communicati ons 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™-M 0+ architectures. Real-time, highly integrated solutions with best-in-class 2 D 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. Qor. IQ 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

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

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-M 0+ MCU families from 48 MHz / 8 KB with mixedsignal, connectivity & HMI features in low pin-count packages. Kinetis E Series Robust, 5 V ARM Cortex-M 0+ & ARM Cortex-M 4 MCU families for use in high electrical noise environments. Safety features for highreliability applications Industry-first ARM Cortex-M 4 MCU families from 50 MHz / 32 KB with low power, Flex. Memory, mixed-signal and broad connectivity, HMI & security features. General Purpose Kinetis V Series Kinetis W Series Integrated wireless connectivity ARM Cortex-M 4 and M 0+ MCU families with classleading 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-M 0+ MCU families for single chip smart meter implementations. Segment Focused High efficiency, high speed peripherals ARM Cortex-M 0+ & Cortex-M 4 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

Kinetis Key Pillars by Family L E K X W M V Low Power 5 V Robustness High Performance & Rich Integration Extreme performance & integration Integrated RF Connectivity Integrated metrology engine Motor and Power Conversion 48 MHz Cortex M 0+ Up to 180 MHz Cortex M 4 Up to 400 MHz Cortex M-next Up to 50 MHz Cortex M 4, Cortex M 0+ Up to 48 MHz Cortex M 0+ Up to 200 MHz, Cortex M 4, Cortex M 0+ 8 KB to 512 k. B Flash 8 KB to 128 k. B Flash 32 KB to 2 MB Flash 0 KB to 16 MB Flash 32 KB to 512 k. B Flash 32 KB to 128 k. B Flash 16 KB to 2 MB Flash Up to 128 KB RAM Up to 16 KB RAM Up to 256 KB RAM Up to 512 KB RAM Up to 64 KB RAM Up to 32 KB RAM Up to 256 KB RAM Now! Q 2’ 15 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

Kinetis RTOS’s TM External Use 8

MQX RTOS: Keeping your Application on Schedule Market proven, growing on-line community and partners

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: • >10 k unique users downloads • Nearly doubled year on year • 6 th ranked RTOS according to 2012 Embedded Market Study TM External Use 9

Kinetis Middleware TM External Use 10

Kinetis Middleware TM External Use 10

e. GUI: Free Graphics LCD Driver • • • Lightweight software component allowing graphics

e. GUI: 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 e. GUI can be used stand alone or integrated into the MQX operating system. Features − − − − Multiple platforms supported: S 08, HCS 12, Cold. Fire. 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

Portable Embedded GUI (PEG) • Screen transitions • Multiple alpha-blended windows • True anti-aliasing • Gradient manager • Open GL support • Written in C++ Starting 225 KB Typical 225 -250 KB • • • TM External Use One of the smallest footprint solutions available for embedded GUIs Most portable graphics software package for highperformance 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 128 KB Typical 160 -175 KB 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 64 KB Typical 90 -110 KB

Free. MASTER • Real-time monitor and control of an app − Track your variables

Free. MASTER • 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 Free. MASTER Kinetis • Demonstration platform −A product packaging tool www. frescale. com/Free. MASTER TM External Use 13

Embedded Software and Motor Control Libraries • Wide group of algorithms − basic mathematics,

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, 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

Nano. SSL™/ Nano. SSH™ Client for Freescale MQX Security options with significant cost savings

Nano. SSL™/ Nano. SSH™ 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 • Secure 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 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.

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

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 Evaluation boards addressing special functions and capabilities of Kinetis devices TM External Use 17 • Home Energy Gateway, 1 ph Meter, 3 ph Meter, pre-/postpaid Meter, Home Area Network, Home Display, … • Available through Freescale RSM

Robust Software & Development Ecosystem Applications Tools, OS, Middleware Code. Warrior Vorti. Qa Architectures

Robust Software & Development Ecosystem Applications Tools, OS, Middleware Code. Warrior Vorti. Qa Architectures Synkro. RF >800 Bee. Kit Embedded Software Engineers Free. MASTER Proprietary Cold. Fire MQX Key Software Acquisitions & Investments 1999: Metrowerks 2009: MQX Runtime Platform 2002: AMC, Lineo 2010: Processor Expert, Chipwerks, Swell 2008: Intoto TM External Use 18

Kinetis Development Hardware TM External Use 19

Kinetis Development Hardware TM External Use 19

Tower System: Easy Evaluation & Prototyping Launched in 2009, now offers more than 65

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®, Cold. Fire, 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

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 8 bit Cold. Fire Kinetis TWR-S 08 LL 64 TWR-S

Available Tower System Modules 8 bit Cold. Fire Kinetis TWR-S 08 LL 64 TWR-S 08 LH 64 TWR-S 08 JE 128 TWR-S 08 MM 128 TWR-S 08 GW 64 TWR-S 08 UNIV TWR-S 08 PT 60 TWR-MCF 51 AG TWR-MCF 51 CN TWR-MCF 51 JE TWR-MCF 51 JF TWR-MCF 51 MM TWR-MCF 51 QM TWR-MCF 5225 X TWR-MCF 5441 X 16 bit Power Arch TWR-S 12 G 64 TWR-S 12 G 128 TWR-S 12 G 240 TWR-S 12 GN 32 DSC Serial TWR-KL 25 Z 48 M TWR-K 20 D 50 M TWR-K 20 D 72 M TWR-K 21 D 50 M TWR-K 40 X 256 TWR-K 40 D 100 M TWR-K 53 N 512 TWR-K 60 D 100 M TWR-K 60 F 120 M TWR-K 70 F 120 M TWRMPC 5125 TWRMPC 8309 TWR-P 1025 TWR-PXD 10 TWR-PXD 20 TWR-PXN 20 TWR-PXR 40 TWRPXS 2010 TWRPXS 3020 TWR-SER 2 External Use 22 Memory TWR-WIFI-RS 2101 TWR-WIFI-G 1011 MI TWR-WIFI-GS 1500 M TWR-WIFI-AR 4100 Analog Audio Mesh Networking Displays TWR-ADCDAC-LTC TWR-AUDIO-SGTL TWR-RF-SNAP TWR-LCD-RGB TWR-MC-LV 3 P TM Wi-Fi TWR-PROTO Motor-Control TWR-56 F 8257 TWR-56 F 8400 Prototyping Apple MFi TWR-DOCK 2 Industrial TWR-MECH TWR-IND-IO www. freescale. com/tower Sensors & Plug-Ins TWR-SENSOR-PAK TWR-MEM-PISMO TWR-SENSOR-PAK-AUTO TWR-TWRPI-BD TWRPI-MMA 6900 TWRPI-MPL 115 A Radio TWR-12311 TWR-METRO-KIT Medical MED-EKG

Freescale‘s Made For i. Pod (MFi) Solutions Freescale’s MFi solutions are based on the

Freescale‘s Made For i. Pod (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 i. Pod, i. Phone and i. Pad 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

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 (Open. SDA) Compatible with a rich-set of third-party expansion boards FRDM-KL 02 Z FRDM-KL 26 Z* FRDM-KL 05 Z FRDM-KL 46 Z* FRDM-KL 25 Z FRDM-K 20 D 50 M TM External Use 24 *coming soon

Open. SDA Applications Overview Mass Storage Programmer P&E Multilink Proprietary, Default Proprietary Open Debug

Open. SDA Applications Overview Mass Storage Programmer P&E Multilink Proprietary, Default Proprietary Open Debug Standard Cloud Computing Interface Open Proprietary Open. SDA MCU K 20 DX 128 Vxx 5 MSD Bootloader to Target MCU UART TX/RX Open. SDA Application Data Logging Customer / Partner Application Open or Proprietary GPIO / Interrupt SPI, GPIO Latest Open. SDA applications and drivers: visit pemicro. com/opensda TM External Use 25 UART RX/TX RESET SWD / JTAG

Reference Designs TM External Use 26

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

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 Code. Warrior, current P&E software applications, and Kinetis tool chains from IAR, Keil, and Mentor Graphics. Supports: • Kinetis • HCS 08 • Draws power directly from the USB port – no external • HC(S)12(X) power supply needed • Cold. Fire(+) V 1 • Multi-voltage support for targets ranging from 1. 6 to 5. 25 • Cold. Fire V 2 -4 • Qorivva Volts • Multilink Universal FX: a high-speed version of the USB Multilink Universal with additional enhancements. TM External Use 27 Freescale P&E Replaces: N/A USBMULTILINK 08 USBMULTILINKBDM USBMLCF USBMLPPCNEXUS U-MULTILINK USB-ML-UNIVERSAL $119

Debug Emulator and Programmers Debug Emulators & Programmers Peak download into RAM (KByte/sec) Added

Debug Emulator and Programmers 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 Core. Sight and Embedded Trace (ETM) MULTI & Time. Machine Keil 30 1000 ULINK 2 and ULINK-ME (included w/MCBx. ME) 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 Code. Warrior , IAR P&E Universal Multi. Link FX P&E Universal Multi. Link Trace 30 -50 TBD Support any Freescale Cold. Fire, Power, 8 bit, Kinetis, DSC & 1. 6 – 5. 5 V JTAG, SWD interface Data Monitor, High Speed External Trace, Very High Speed $119 Code. Warrior, P&E Software Segger J-Link Ultra 1440 SWD, SWB, JTAG speed up to 25 MHz Hi-Speed USB & On Board FPGA Unlimited # of sw Flash Breakpoints Embedded Trace Buffer (ETB) $648 Segger J-Link 720 JTAG speed up to 12 MHZ $299 Signum Systems JTAGjet > 2, 033 Chameleon Debugger, ETB, SWD, JTAG up to 30 MHz, 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 30 MHz, NAND, NOR and on-chip flash, Code Profiler, Coverage Analyzer, Linux debugging using only JTAG. From $1, 500 • Green Hills Super. Trace 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 (Q 2/Q 3 2011) Segger Flasher ARM Signum Systems JTAGjet-Flasher TM External Use 28 Batch mode, 600 k. Bytes/sec flash speed, support for all CFI compliant NOR flash, most NAND and on-chip flash, multi emulator support for parallel programming. Keil , Keil u. Vision Keil, GHS, IAR etc… Factory Stand Alone Programmers & Debug Lauterbach Combi. Probe IDE From $1000 IAR , Keil , and Code. Sourcery IAR, Keil, Code. Sourcery , Code. Warrior and more Keil, e. SOL e. Binder, Code. Sourcery, IAR, GHS, Code. Warrior, Mentor Graphic, CCStudio, Eclipse, GDB, etc.

Kinetis Flash Programming Factory Programming Services Avnet / Source Electronics Hi-Lo Systems Production Equipment

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 Dedi. Prog: 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.

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

Kinetis 开源硬件系列 TM External Use 31

Kinetis K Series K 64 / K 63 / K 24 120 MHz Devices

Kinetis K Series K 64 / K 63 / K 24 120 MHz Devices Key Features: System Core Arm Cortex-M 4 Up to 120 MHz Core/System • Cortex-M 4 up to 120 MHz with FPU Memory • up to 1 MB Flash, • up to 256 KB SRAM • up to 4 KB EEPROM (Flex. Memory) Communications • USB OTG FS/LS w/ PHY and USB Vreg • Ethernet w/ IEEE 1588 • CAN • Multiple serial ports Analog • 2 x 16 -bit ADC • 2 x 12 -bit DAC; 3 x ACMP Debug Interfaces DSP Interrupt Controller Floating Point Unit (s. FPU) Others • 1. 71 V-3. 6 V; -40 to 105 o. C • Up TBD to x I/Os (5 V tolerant) • Tamper and Crypto acceleration Memory Protection Unit (MPU) 16 -ch DMA Security and Integrity Analog Up to 2 x 16 bit 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 (Ez. Port) External Bus Interface (Flex. Bus) Frequency. Locked Loop Up to 4 KB EEPROM (Flexmemory) Standard Feature TM 34 Communication Interfaces Programmable Delay Block 6 x. UARTs Periodic Interrupt Timers Secure Digital Host Controller (SDHC) 3 x. SPI 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 1 x. I 2 S Packages: 100 LQFP, 121 MAPBGA, 144 LQFP, 144 BGA External Use SRAM (256 KB) 3 x. I 2 C Flex. Timer Clocks Program Flash (Up to 1 MB) Low-Leakage Wake-Up Unit Cyclic Redundancy Check (CRC) Timers • 2 x 8 ch FTM (PWM) • 2 x 2 ch FTM (PWM/Quad Dec. ) • Low Power Timer • RTC with independent Vbat supply Internal and External Watchdogs Memories IEEE 1588 Ethernet MAC HMI GPIO

Module Block Diagram SPI x 1 Antenna 4002 USB OTG x 1 I 2

Module Block Diagram SPI x 1 Antenna 4002 USB OTG x 1 I 2 C x 1 UART x 1 + LPUART x 1 OR UART x 2 SPI NMI 16 -bit ADC x 2 I 2 C K 22 F BGA 64 POWER I 2 S x 1 MFi 12 -bit DAC x 1 GPIO x 1 Dedicated RESET JTAG /SWD TM External Use 35

Hardware Features • • • Operation voltage: 3. 3 V Power consumption: CPU: 120

Hardware Features • • • Operation voltage: 3. 3 V Power consumption: CPU: 120 MHz with 128 K RAM and 512 K Flash PCB: 4 layers with Industry Grade Peripherals − 1 x USB OTG − 1 x UART + 1 x. LPUART OR 2 x UARTs, including hardware flow control − 1 x SPI − 1 x I 2 S − 2 x I 2 C − 1 x GPIO Dedicated − 2 x ADC − 1 x DAC Wi. Fi Connectivity − Support for IEEE 802. 11 b/g/n − Integrated IPV 4/IPV 6 TCP/IP Stack − Integrated Network services such as HTTP, DNS, FTP − Full Security support: WPS, WPA 2, WAP 2, WEP, TKIP TM External Use 36

Software Features & Certifications • Software − MQX − Cloud Client − ALL JOYN

Software Features & Certifications • Software − MQX − Cloud Client − ALL JOYN − Status update via Status PINs − Application Interface: HA Command Set (TBD) − Firmware upgrade via Wi. Fi and UART − Security Bootloader with RSA 2048/SHA-256 − Enabling SPI and UART interfaces in Phrase 1 − Other interfaces to be enabled in Phrase 2 − Home. Kit software in Phrase 2 • Certifications − FCC/CE − Ro. HS − EMI/EMC TM External Use 37

Software Features & Certifications • Software − MQX − Cloud Client − ALL JOYN

Software Features & Certifications • Software − MQX − Cloud Client − ALL JOYN − Status update via Status PINs − Application Interface: HA Command Set (TBD) − Firmware upgrade via Wi. Fi and UART − Security Bootloader with RSA 2048/SHA-256 • Certifications − FCC/CE − Ro. HS − EMI/EMC TM External Use 38

系�框� Scalable HMI&COM Functions QCA 4002 based Wi. Fi Module AT CMD All Metering

系�框� Scalable HMI&COM Functions QCA 4002 based Wi. Fi Module AT CMD All Metering Functions TM External Use 41 Relay/LED/LCD /Button Control GPIO/LCD Drive

One Pager Core • CM 0+ core Up to 50 MHz • Separate FLL

One Pager Core • CM 0+ core Up to 50 MHz • Separate FLL post-scalers for Flash and Core clocks. • Dedicated PLL for ΣΔ modulator clock • 4 ch DMA • Memory Protection Unit • Single 32 k. Hz Crystal operation • MHz Crystal optional Timer/PWM/Clock • Quad Timer (total 4 universal timers) • 2 x PIT • 1 x Watchdog Timer (windowed, independently clocked) • 1 x EWM (External Watchdog Monitor) • 1 x LPTimer Security & Encryption • Programmable 16/32 -bit CRC • IRTC w/ tamper detection • 3 Tamper pins (operating on battery) • Random Number Generator (NIST: SP 800 -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 • 4 x 24 bit ΣΔ after averaging (2 x. PGA) highly accurate supporting EN 50470 -1, EN 50470 -3, IEC 62053 -21, IEC 62053 -22 and IEC 62053 -23, optimized for shunt sensor (≥ 50 u. Ohm). • 0. 1% error in active and reactive energy over a dynamic range of 2000 to 1 • Internal 1. 2 V reference voltage (15 -20 ppm/o. C) • 12 -ch 16 -bit SAR for auxiliary measurement • 2 x analog comparator Serial Communications • 2 x SPI • 4 x UART • All combined with Quad Timer & HSCMP for IR • 2 support ISO 7816 • All support flow control • 2× I 2 C • All UARTs and SPIs are 3 V compatible while 1 UART and 1 SPI are both 3 V and 5 V 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. 7 V to 3. 6 V Operating voltage with AFE 1. 71 V to 3. 6 V Operating voltage without AFE 1. 71 V-3. 6 V IRTC VBAT supply 32 k. Hz or 4 MHz internal clock source 32. 768 k. Hz crystal oscillator Package • 100 LQFP, 64 LQFP and 44 LGA options • -40°C ~ +85°C Temp

部分成功案例 TM External Use 44

部分成功案例 TM External Use 44

成功案例– Energy Management System An innovated energy management system provider • Product: • Energy

成功案例– Energy Management System An innovated energy management system provider • Product: • Energy monitor • Smart energy controller • Smart Switch • Energy Gateway • Energy Cloud service FSL Position • KM 14 in curtain controls • KM 14 in touch switch • KM 14 in thermostat • KM 14 in metrology socket • IMX 6 S/SL in industry gateway • M 60+MQX in industry gateway Cloud for energy service 能源服�入 口 Energy Services Portal 窗帘控制器 Curtain Controls I. MX 6 S/SL for multi media K 60 for Wifi K 60 for GPRS 触控开关 Touch Switch MKM 14 Z 128 CHH 5 Star/Tree/Mesh 混合�网 空��温器 Thermostat MKM 14 Z 128 CHH 5 �量插座 Metrology Socket TM External Use 45 MKM 14 Z 128 CHH 5

成功案例– Smart Socket TM External Use 46

成功案例– Smart Socket TM External Use 46

TM www. Freescale. com © 2014 Freescale Semiconductor, Inc. | External Use

TM www. Freescale. com © 2014 Freescale Semiconductor, Inc. | External Use