enabling the internet of things -...

60
External Use TM Wireless Connectivity for the Internet of Things Designing with Freescale Sep.18.2015 Jason Chiang

Upload: lyxuyen

Post on 29-May-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

External Use

TM

Wireless Connectivity for the

Internet of Things

Designing with Freescale

S e p . 1 8 . 2 0 1 5

Jason Chiang

Page 2: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 1

TM

Page 3: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 2

…smart agriculture

TM

Page 4: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 3

…smart farming

TM

Location

Nutrition

Health

Stress

Page 5: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 4

…smart home

TM

Page 6: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 5

TM

…smart wearables

Page 7: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 6

TM

…smart health

Page 8: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 7

TM

Sense

Process

Communicate

Page 9: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 8

The Solutions for Connectivity

Page 10: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 9

The Languages We Speak

• Sub-GHz

• 2.4 GHz

ZigBee

• RF4CE

• ZigBee PRO

• ZigBee IP

• 2.4 GHz

• Bluetooth 4.1

IP Stack BLE Stack

Core Stack 4.1IPv4/IPv6

Page 11: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 10

Kinetis Microcontrollers (Now & in the Future…)World’s Broadest ARM Cortex-M Portfolio

Pe

rfo

rma

nc

e

Integration

Kinetis X SeriesHigh-performance ARM

Cortex-M4/Mx MCU families

with advanced memory and

feature integration for robust,

networked industrial and

consumer systems.

Kinetis L SeriesUltra-low power/cost ARM

Cortex-M0+ MCU families

from 48MHz / 8KB with mixed-

signal, connectivity & HMI

features in low pin-count

packages.

Kinetis E SeriesRobust, 5V ARM Cortex-M0+

& ARM Cortex-M4 MCU

families for use in high

electrical noise environments.

Safety features for high-

reliability applications

Freescale Bundled IDE, RTOS & Middleware - Rapid prototyping Platform - Broad ARM Ecosystem Support

Leading Performance - Low Power - Scalability - Industrial-grade reliability & temp

Kinetis K SeriesIndustry-first ARM Cortex-M4

MCU families from 50MHz /

32KB with low power,

FlexMemory, mixed-signal and

broad connectivity, HMI &

security features.

General Purpose

Segment FocusedKinetis V SeriesHigh efficiency, high speed

peripherals ARM Cortex-M0+

& Cortex-M4 MCU families for

use in motor control & power

conversion.

Kinetis W SeriesIntegrated wireless

connectivity ARM Cortex-M4

and M0+ MCU families with

class-leading sub-GHz and 2.4

GHz RF transceivers

Kinetis M SeriesHigh accuracy metrology ARM

Cortex-M0+ MCU families for

single chip smart meter

implementations.

Available

NOW!

Available

NOW!

Available

NOW!

Available

NOW!

Available

NOW!

Available

NOW!

Page 12: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 11

Kinetis Key Pillars by Family

L E K X W M V

Low Power5V

Robustness

High

Performance &

Rich

Integration

Extreme

performance &

integration

Integrated RF

Connectivity,

2.4 GHz,

sub-GHz

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 120MHz

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 1MB

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 256KB

RAM

Up to 32KB

RAM

Up to 256KB

RAM

Now! Now! Now! Q2’14 Now! Q4 ‘13 Q1 ’14

Leading Performance – Low Power – Scalability – Industrial Grade reliability & temp

Freescale Bundled IDE, RTOS & Middleware – Rapid Prototyping Platform – Broad ARM Ecosystem Support

Page 13: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 12

Based on Cortex M Architecture –Leveraging Freescale’s successful Kinetismicrocontroller portfolio to create widerange of cost optimized to highperformance wireless MCU platforms

Lowest Power BLE Platform – IntegratedDC-DC converter enables radio operationbelow 5 mA transit and receive currentsand less than 2uA low power standbycurrent

Wide Range Memory Densities – small memory footprint for cost optimized solutions to multi-core solutions with up to 1 MB Flash and 256 KB SRAM

Enablement – Integrated into Freescale’snew Kinetis Software Development Kitoffering a complete software framework fordeveloping advanced wireless networking

applications

Kinetis WBluetooth Low Energy Solutions

Page 14: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 13

Remote ControlsPC Peripherals

Remote Keyless Entry

BLE Applications

Portable Medical Sports & Fitness Security & Proximity

iBeacon

Page 15: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 14

Cost Optimized Solution (KW30Z/40Z)

• Cortex-M0+

• Integrated BLE and 802.15.4 Multimode Radio

• Optimized Flash size to support BLE stack and applications

• Low power

• Integrated hardware security

• Small footprint RTOS

Performance Optimized Solution

• Cortex M4F and Cortex-M0+

• High performance

• Integrated BLE and 802.15.4 Multimode Radio

• Large Memory Options (up to 1MB or greater)

• Abundant I/O

• Integrated hardware security protocols

• Scalable with various MCU configurations

BLE Solutions from Freescale

Page 16: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 15

Page 17: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 16

Page 18: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 17

Core/Memory/System• Cortex-M0+ running up to 48 MHz

• 160 KB or 256 KB Flash

• 20 KB or 32 KB SRAM

• Four independently programmable DMA controller channels

Radio• Support for BLE v4.1, 802.15.4-2011, 802.15.4j-2013, ZigBee PRO/IP,

RF4CE, FSL FlexIP Stack

• -94 dBm in BLE mode, -102 dBm in 802.15.4 mode

• -20 to +5 dBm programmable output power

• 13.5 mA Rx & Tx (0dBm) current target (DC-DC bypass)

• <7mA Rx & Tx (0dBm) current target (DC-DC enabled)

• <2uA low power current

Communications/HMI/Timers• 2xSPI, LP-UART, 2xI2C, CMT, GPIO with IRQ capability (KBI)

• Hardware Touch Sensing Inputs (TSI)

• 3xFlexTimer (TPM) with PWM & quadrature decode support

• Low Power (LPTMR), Programmable Interrupt (PIT) and RTC timers

Analog• 16-bit ADC with integrated temperature sensor and battery monitor

• 12-bit DAC and 6-bit High-speed Comparator

Security• AES Accelerator and True Random Number Generator

Integrated DC/DC Converter• Normal: 1.71V to 3.6V

• Buck : 2.1V to 4.2V for coin cell operation

• Boost : 0.9V to 1.8V for single alkaline battery operation

Unique Identifiers• 80-bit device ID programmed at factory

• 48-bit and 64-bit 802.15.4 MAC address programmed at factory

-40ºC to +105ºC

Device Memory Protocol Package

MKW30Z160VHM4/R

MKW30Z256VHM4/R

160K Flash, 20K RAM

256K Flash, 32K RAMBLE Only 5x5 32-pin LGA

MKW40Z160Vxx4/R

MKW40Z160VHT4/R

MKW40Z256Vxx4/R

MKW40Z256VHT4/R

160K Flash, 20K RAM

256K Flash, 32K RAM

BLE +

802.15.4/ZigBee

~3.5x3.5 xx-pin CSP

7x7 48-pin LGA

~3.5x3.5 xx-pin CSP

7x7 48-pin LGA

Features Description

Software and Protocol StacksBLE Stack & Profiles

ZigBee RF4CE & PRO & Profiles

Availability (subject to change)

160K Flash - Samples 3Q’15, Production 4Q’15

256K Flash - Samples 3Q’15, Production 4Q’15

Memories BLE RadioSystemCore

Analog

Clocks

Security

CommunicationsTimers

AES-128

Random Number Generator

2xSPI

2xI2C

PA / LNA

Control Registers

Internal and External Watchdogs

DMA

Phase-Locked Loop

Internal Reference Clocks

Low / High Frequency Osc.

Low Leakage Wake-Up Unit

FlexTimers

Programmable Delay Block

Independent Real Time Clock

Periodic Interrupt Timers

Low Power Timer

ARM Cortex-M0+48 MHz

Debug Interfaces

Interrupt Controller

Up to 256 KB Program Flash

Up to 32 KB SRAM

16-bit ADC

12-bit DAC

DC-DC Converter

LPUART

GPIO w/ IRQ Capabilities

Frequency Locked Loop

802.15.4 & BLE 4.1 radio

Baseband IP

6-bit ACMP

TSI

CMT

Page 19: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 18

Supported Standards

Page 20: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 19

Page 21: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 20

Page 22: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 21

RF Hardware Support

TWR-KW2x Hardware

Reference Manual

Hardware Design Considerations for

MKW2x IEEE 802.15.4 DevicesUSB-KW24D512 Hardware

Reference Manual

Page 23: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 22

Cost Optimized Solution (KW30Z/40Z)

• Cortex-M0+

• Integrated BLE and 802.15.4 Multimode Radio

• Optimized Flash size to support BLE stack and applications

• Low power

• Integrated hardware security

• Small footprint RTOS

Performance Optimized Solution

• Cortex M4F and Cortex-M0+

• High performance

• Integrated BLE and 802.15.4 Multimode Radio

• Large Memory Options (up to 1MB or greater)

• Abundant I/O

• Integrated hardware security protocols

• Scalable with various MCU configurations

BLE Solutions from Freescale

Page 24: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 23

Freescale Wireless Connectivity MCUs

Page 25: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 24

434 MHz315 MHz 868 MHz 915 MHz Frequency2.4 GHz

Wireless Connectivity Solutions

TRX

128KB

256KB

512KB

FlashMemory

Cortex M4

Cortex M0+

ARM7™ No MCU

MKW01Kinetis W

32KB

HCS08 8-Bit

MC12311

MCR20

MC13234/7

MKW2xKinetis W

Page 26: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 25

434 MHz315 MHz 868 MHz 915 MHz Frequency2.4 GHz

Wireless Connectivity Solutions

TRX

128KB

256KB

512KB

FlashMemory

Cortex M4

Cortex M0+

ARM7™ No MCU

MKW01Kinetis W

32KB

HCS08 8-Bit

MC13211

MCR20

MC13234/7

MKW2xKinetis W

Page 27: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 26

CPU

50 MHz Cortex M4 CPU core

Up to 512KB Flash & up to 64KB SRAM

Optional (MKW21D256): 64 KB FlexNVM & 4 KB FlexRAM

Typical current: 250 uA/MHz run, 1.7uA RTC standby

Radio Transceiver, 2.4GHz

IEEE-802.15.4 compliant

-102 dBm RX sensitivity and +8 dBm TX output power

Peak typical current: 17mA TX and 19mA RX

Security

Active and passive tamper detection with RTC timestamp

Crypto engine: DES, 3DES, AES 128-256, SHA-1, SHA-256, MD5, RNG

System

UART, SPI, I2C, optional USB 2.0 FS/LS H/D/OTG

16-bit ADC

Operating range: 1.8 V to 3.6 V, -40C to +105CDevice Flash RAM Feature Package

MKW21D256VHA5 256 KB 32 KB No USB 8x8 63-pin LGA

MKW21D512VHA5 512 KB 64 KB No USB 8x8 63-pin LGA

MKW22D512VHA5 512 KB 64 KB USB 8x8 63-pin LGA

MKW24D512VHA5 512 KB 64 KBUSB and Smart

Energy 2.08x8 63-pin LGA

Memories RF TransceiverSystemCore

Analog

Clocks

Security

Communications Timers

Cyclic Redundancy Check (CRC)

Tamper Detect

Cryptography Authentication

Unit

Random Number Generator

USB Charger Detect

SPI

I2C

32 MHz Osc

SPI Interface

Internal and External

Watchdogs

DMA

Phase-Locked Loop

Internal Reference Clocks

Low / High Frequency Osc.

Low Leakage Wake-Up Unit

Flex Timer

Programmable Delay Block

Independent Real Time Clock

Periodic Interrupt Timers

Low Power Timer

ARM CortexTM-M4

50 MHz

Interrupt Controller

Debug Interfaces

DSP

Program Flash(Up to 512 KB)

SRAM(Up to 64 KB)16-bit ADC

High Speed Comparator with

6-bit DAC

Dual PAN ID

UART (ISO 7816)

USB On-The-Go (H)

USB Voltage Regulator

Frequency Locked Loop

FlexMemory Option

64 KB FlexNVM4 KB FlexRAM

(MKW21D256 only)

IEEE 802.15.4 2006

2.4 GHz

Fast Antenna Diversity

Kinetis KW2x Wireless MCU (2.4Hz)

Page 28: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 27

KW2x Unique Features

• Dual PAN Support

− Ability to participate in two networks simultaneously

− Maintains two sets of network parameters

− Hardware block : No extra software bandwidth required

• Antenna Diversity

− Maximize the communication link quality

− No loss from orthogonal antennas

− Ideal if no freedom in device orientation

− Hardware block : No extra software bandwidth required

• Security Block

− Active and passive tamper detection with RTC timestamp

− Cryptographic Encryption engine: DES, 3DES, AES 128-256,

SHA-1, SHA-256, MD5, RNG

Page 29: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 28

MKW2x Fast Antenna Diversity (FAD)

• With Fast Antenna Diversity, sensitivity performance increases the low end limit of the

dynamic range of the system

• There is little cost of FAD which is essentially enabling the functionality and adding the

circuitry for situations where the application runs the possibility of operating at the limits

of RX sensitivity

• Simplified block diagram showing the two port antenna control topology

Ext RF

SWKW2xDxxx

20 - 25 db

typical port isolation

ANTA Control

ANTB Control

ANTB

ANTA

Power

MGMT

Main

supply

RF SW

supply

Ext Supply

RF

Page 30: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 29

MCU Security Module Summary

The KW2x SiP incorporates the following hardware security modules

• Cyclic Redundancy Check (CRC) module for error detection

− Hardware CRC generator circuit using a 16-bit or 32-bit programmable shift register

− Error detection for all single, double, odd, and most multi-bit errors, programmable initial seed value

− Option to transpose input/output data and the CRC result bitwise or bytewise

• MMCAU – Memory Mapped Cryptographic Acceleration Unit

− Supports DES, 3DES, AES, MD5, SHA-1, and SHA-256 algorithms via simple C calls to optimized security functions provided by Freescale

• RNG Accelerator - Hardware encryption, along with a random number generator

− Supports the key generation algorithm defined in the Digital Signature Standard

• DryIce - Tamper detect and secure storage (NDA required)

− Includes a 32-byte secure memory that is asynchronously erased on any tamper detect

− Optionally can force a System Reset and/or invalidate the Real Time Clock

Page 31: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 30

KW2x Development Kit

Tower Form Factor

• Use standalone or in Tower System

• Boards sold individually

• Combine as many boards as needed

Part Numbers:TWR-KW21D256 $149

TWR-KW24D512 $149

• An external antenna needs to purchased separately

Kit Features

• Can use PCB “F” antenna or bypass for external

antenna via RF connector

• Open-SDA debugging

• USB port to interface with PC

• Configurable I/O access

• LEDs and switches for demonstration, monitoring

and control

• Full software stacks and applications

• BeeStack (ZigBee Pro, RF4CE, part of BeeKit)

• Flexible IPv6 Stack (6LoWPAN toolbox)

• Quick Start Guide

USB-dongle Form Factor

• Use is as sniffer hardware

• Host processors

USB-KW24D512

Page 32: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 31

Feature SMAC802.15.4

MACSynkroRF®

ZigBee®

RF4CE

ZigBee®

ProZigBee® IP

ApplicationsCable Replacement

Remote Control

Home Control

Home Automation

Health Care

Building Automation

Smart Energy

Network

StackNo No Yes Yes Yes Yes

Network

ProfilesNo No No Yes Yes Yes

Memory

Requirements4-8K 32K <40K <40K 128-160K 256K

Network

Topology

Point-to-

PointPeer-to-Peer

Co-existing

Star

Co-existing

StarTree Mesh

Star Tree Mesh

Typical # of

Nodes2-100 2-1000*

32 per

Controlled

Device

32 per Target

Device

2-1000*

ZigBee Pro2-32

Typical IC Cost $ $ $ $ $$ $$$

Typical Data

Throughput50-115K 90-115K 70-100K 70-100K 30-70K <50K*

802.15.4 Protocol Stack Comparison

“Freescale did receive strong marks fr the

extensive range of protocol stacks offered”

ABI Research – IEEE 802.15.4 IC Vendor Matrix

Company Rankings

Page 33: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 32

BeeKit™ Definitions

A codebase contains all the information that is required for BeeKit to interact with the user and create a project for a specific communication stack. Freescale provides a codebase in the form of:

− A database containing the embedded software component source files (platform components, applications, etc.) and pre-compiled libraries (SMAC, MAC, or BeeStack)

− Configuration files that hold information about the organization of the embedded software components, their configurable parameters and features, and the BeeKitGUI information

Freescale provides each codebase. The user does not modify it, but uses BeeKit to generate stack-based directory structures external to the codebase.

A solution contains one or more BeeKit projects drawn from a single codebase.

A project in BeeKit is a complete collection of attributes that define a stack and application configuration for a particular target platform.

A project exported from BeeKit consists of assembled codebase components (source files, libraries) and an XML file (CW) or EWP file (EWARM) that describes the project.

Page 34: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 33

BeeKit : New Approach to Wireless Applications

Development

− Graphical user interface (GUI) to

create, and validate network

configuration

Complementary tool to traditional IDEs

− Codebases deliver libraries,

templates and applications

Supports Simple MAC (SMAC), IEEE®

802.15.4 MAC, SynkroRF, ZigBee RF4CE,

ZigBee and ZigBee Pro

− Exports directly to IDE for

development and debug

Applications are decoupled from the stack

implementation

Allows for easy code updates and

promotes code reuse

Page 35: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 34

434 MHz315 MHz 868 MHz 915 MHz Frequency2.4 GHz

Wireless Connectivity Solutions

TRX

128KB

256KB

512KB

FlashMemory

Cortex M4

Cortex M0+

ARM7™ No MCU

MKW01Kinetis W

32KB

HCS08 8-Bit

MC13211

MCR20

MC13234/7

MKW2xKinetis W

Page 36: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 35

Sub-GHz Overview

• Typically: 300, 450 and 900 MHz

• Uses:

− Metering (Gas, electric, water)

− Building control (AC, Heat, lighting)

− Security (Fire & Security Alarms, keyless entry)

− Wireless Sensors (TPMS, hazardous, asset tracking)

− Medical (wearables & remotes)

• vs 2.4 GHz

− Better Range

− Proprietary formats & data rates

− Regional Frequency allocations

− Larger antennas

Page 37: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 36

Kinetis KW01 Wireless MCU (Sub 1-GHz)

CPU

32-bit ARM Cortex M0+ 48MHz Core

128KB Flash and 16KB SRAM

Radio Transceiver, Sub 1-GHz

Supports 290-340MHz, 424-510MHz, and 862-

1020MHz frequency bands

FSK, GFSK, MSK, GMSK and OOK modulations

up to 600kbps

Up to -120dBm RX sensitivity @ 1.2kbps

-18 to +17dBm TX output power in steps of 1dBm

Ultra Low Power for Battery Operated Devices

Typical consumption

1.7µA standby

<130 µA/MHz CPU system run mode

16 mA RX peak

20 mA TX peak at 0 dBm, 33 mA at +10 dBm

Software

SMAC (Simple-MAC), user modifiable for

proprietary protocols

System

16-bit ADC, Capacitive Touch Sensing, I2C,

UART, SPI, Timers

Operating Range: 1.8V to 3.6V, -40C to +85C

Page 38: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 37

MKW01x Development Kits

• Modular Reference Board (MRB).

− Features

Flash reprogramming and in-circuit hardware debugging,

test points & jumpers.

USB port on the MRB to interface with PC

Reference design for RF matching networks on board.

SMA connectors for RFIO or separate TX/RX.

Out-of-box application with Radio Utility GUI and

firmware.

Quick Start Guide

Can be mounted on TWR-RF which can in turn be

installed in a TOWER system.

Page 39: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 38

Sub-GHz Wireless Communication Protocols

CE/FCC

Application

Layer

Network

Layer

Media

Access

Layer (MAC)

Physical

Layer (PHY)

S-MAC

Customer

Software

W-MBUS

W-MBUS

W-MBUS

802.15.4e

Customer

Software

802.15.4g

Proprietary W-MBUS 802.15.4g/e

802.15.4e

IPv6, TCP, UDP

Customer

Software

IP / IoT

Page 40: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 39

434 MHz315 MHz 868 MHz 915 MHz Frequency2.4 GHz

Wireless Connectivity Solutions

TRX

128KB

256KB

512KB

FlashMemory

Cortex M4

Cortex M0+

ARM7™ No MCU

MKW01Kinetis W

32KB

HCS08 8-Bit

MC13211

MCR20

MC13234/7

MKW2xKinetis W

Page 41: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 40

MCR20 High Performance 802.15.4/ZigBee Transceiver

RF Features

• High performance 2.4 GHz IEEE 802.15.4 RF transceiver

• Support for MBAN frequencies (2.36-2.4 GHz)

• Packet processor for hardware acceleration

• Supports single ended and diversity antenna options

• Dual-PAN support

• -30 to + 8 dBm power output

• Support for external PA/LNA (FEM)

• -102 dBm sensitivity

• Tx 18mA @ 0dBm

• Rx 15mA LPPS mode, 19.5mA full Rx

• AES Hardware encryption/decryption

• True Random Number Generator

• SPI Interface (memory mapped)

• 6 GPIO

System Features

• -40°C to 105°C

• 1.8 to 3.6 V

• 5x5 32-pin LGA

• Samples Now, Q2’2015

High performance 2.4 GHz

802.15.4 transceiver

Page 42: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 41

Contents

• Quick Start Package Overview

• Get to Know the FRDM-CR20A

• Explore Further

FRDM-CR20A + FRDM-K46Z FRDM-CR20A + FRDM-K64F

Page 43: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 42

for MKW2x

Page 44: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 43

The need for a new wireless network

• We are entering a new era of connected products

− There needs to be a low power mesh network in

addition to Wi-Fi in your home

• We wanted to use an existing wireless mesh

protocol

− But none fit our requirements well enough

− Some came close but were not suitable for homes and

CE products

• After talking with other companies it was clear that

they shared the same concerns

− So we started working on a new wireless mesh

protocol. One that was built on existing standards but

legacy-free

− Working as a group of companies to help make

Thread better

Requirements:New wireless home network

✔ Low power

✔ Resilient (mesh)

✔ IP-based

✔ Open protocol

✔ Secure and user friendly

✔ Fast time to market

✔ Existing radio silicon

Page 45: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 44

What it delivers

• A secure wireless mesh network for your

home and its connected products

− Built on well-proven, existing technologies

− Uses 6LoWPAN and carries IPv6 natively

− Runs on existing 802.15.4 silicon - Product

development can start today

− Designed with a new security architecture to

make it simple and secure to add and remove

products

− Supports 250+ products per network

− Designed for very low power operation

Thread can support many popular

application layer protocols

A software upgrade can add Thread to

currently shipping 802.15.4 products

Page 46: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 45

Target applications

Thread is designed for all sorts of products in the home

Appliances

Access control

Climate control

Energy management

Lighting

Safety

Security

Devices working together to form a cohesive mesh network

Page 47: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 46

Members of Thread Group (Sponsor & Contributor)

Page 48: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 47

Members of Thread Group (Contributor)

Page 49: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 48

Members of Thread Group (Affiliate)

Page 50: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 49

Members of Thread Group (Affiliate)

Page 51: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 50

ZigBee Alliance and Thread Group Collaborate to Aid

Development of Connected Home Products

Agreement Opens Doors for ZigBee Cluster Library Application Protocol to Run on

Thread Networks

San Ramon, Calif. – April 2, 2015 – The ZigBee Alliance (www.ZigBee.org) and the

Thread Group (www.threadgroup.org) today announced they are collaborating to enable

the ZigBee Cluster Library to run over Thread networks. By working together, ZigBee

and Thread can jointly provide an interoperable solution to help streamline product

development and ultimately improve the consumer’s experience in the connected home.

The ZigBee Cluster Library standardizes application level functionality for a wide variety

of devices used in smart homes and other markets. Thread is a wireless networking

protocol that can support multiple low-bandwidth, IP-based application protocols to

provide secure and reliable networks, simple connectivity and low power in the home.

Both organizations remain committed to their independence while cooperating to benefit

their respective members.

“Application level standardization is necessary to provide truly interoperable products to

consumers,” said Tobin Richardson, president and CEO of the ZigBee Alliance. “We

believe this agreement will deliver value to product

Page 52: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 51

developers searching for another solution for connectivity in the smart home.”

The ZigBee Alliance is a global association of companies working together to

enable reliable, cost-effective, low-power and wirelessly networked monitoring and

control products. ZigBee is a wireless standard used to connect a wide variety of

everyday devices to improve comfort, security and convenience in homes and

businesses.

“By agreeing to work together, ZigBee and Thread are taking a big step towards

reducing fragmentation in the industry,” said Chris Boross, president of the Thread

Group and technical product marketing manager, Nest. “Thread is designed to work

with and support many different application layer protocols, and we look forward to

working with ZigBee to create a combined solution for the connected home.”

Thread enables product developers to create, and consumers to enjoy, products

that easily and securely connect to a low-power wireless mesh network, with direct

Internet and cloud access for every device. Using proven standards including IPv6

technology with 6LoWPAN and standard 802.15.4 radios as its foundation, Thread

gives product developers a reliable low-power, self-healing, and secure network

over existing wireless standards.

Page 53: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 52

Thread HAN

System Messaging Model

Cloud Connectivity

Cloud connectivity for control when not at home

When within the home, phone or tablet

must go direct to gateway to eliminate

latency

of going to the cloud

Has to be seamless to consumer using

device

Border Router

Border Router forwards data to cloud

Also provides Wifi connectivity to phone or tablet in the home

Border RouterWiFi or Ethernet

Device Communication

Expect device to device communication within HAN for operations in the home

Page 54: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 53

Network architecture

End Device Router Eligible

Thread Router

Leader

Border Router

Thread Link

Page 55: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 54

End Device / Router Eligible

Thread Router

Border Router / Leader

Thread Link

+

Freescale Thread System Overview

Freescale Kinetis KW2x - Tower Mesh Network Router / End Device

IEEE 802.15.4 compliant

IPv6 addressable over 6LoWPAN

Runs Freescale protocol stack and MQX RTOS

Freescale i.MX6 IoT Gateway

Freescale Kinetis KW2x - USB Cloud gateway / Border Router

Provides IP data routing and infrastructure integration

Runs Linux operating system

Freescale Kinetis K64F + MCR20

Transceiver + WiFiBorder Router with Ethernet and WiFi support

IEEE 802.15.4 compliant

Provides IP data routing and infrastructure integration

Page 56: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 55

Thread Network Demonstration

Page 57: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 56

KW2x series document :● MKW2x Data Sheet● MKW2x Reference Manual

EVB HW Reference and BSP:USB-KW24D512: USB Packet Sniffer/Dongle USB-KW2x Hardware Reference Manual,

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-KW2x&fpsp=1&tab=Design_Tools_Tab

USB-KW24D512 (Sniffer/Dongle Board Support Package)

TWR-KW2x: Kinetis KW2x Tower System Modules TWR-KW2x Hardware Reference Manual,

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-KW2x&fpsp=1&tab=Design_Tools_Tab

TWR-KW2x Board Support Package

Integrated development environment (IDE)BeeKit Wireless Connectivity Toolkit

BeeKit Wireless Connectivity ToolKit Rev 3.0.2

Reference Document

Page 58: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 57

https://community.freescale.com/community/wireless-connectivity

Page 59: Enabling the Internet of Things - DIGITIMES科技網digitimes.com.tw/tw/B2B/Seminar/Service/download/053A...Leading Performance - Low Power - Scalability - Industrial-grade reliability

TM

External Use 58

TM

Sense

Process

Communicatewith