nxp wireless mcu introduction kw qn jn€¦ · nxp wireless mcu introduction ... source: iot tam...
TRANSCRIPT
EXTERNAL USE
GC REGIONAL MARKETING, GC
MICR
Q2,2017
NXP WIRELESS MCU INTRODUCTION
(KW,QN,JN)
EXTERNAL USE1
Index
• Connectivity MCU Biz and Market
• Product and Key Features
• Application
• Enablement
EXTERNAL USE2
MICR CONNECTIVITY
MARKET
EXTERNAL USE3Notes:
▪ NXP IoT SAM excludes FPGA, ASIC/ASSP, image sensors, Automotive, STB & TV processing. Source:
IoT TAM based on Gartner forecast (Nov 2015).
4.4
11
7
17
2015 2019
~$12B
~$28B
NXP IoT SAM
Other IoT TAM
CAGR
(15-19)
25%
25%
IoT market expected to grow 25% per year
IoT semiconductor market
Initial focus on consumer segments; to further explore B2B this year
Smart appliances
Endpoints
Gateways
Smart Watch
Wristbands & activity trackers
Hearables
Smart Pharma
Target Applications
Smart toys & gaming
Smart meters
Industrial IoT – cold chain
logistics, therapy
adherence, factory
automation, smart cities
Consumer verticals –
home automation,
wearables, connected
accessories, hearables
IoT offers a huge opportunity for growth
EXTERNAL USE4
Low-power wireless connectivity driving growth
Low-power wireless to drive growth
Notes:
▪ IoT forecast (incl. connectivity) based on Gartner forecast for Internet of Things Endpoints, 2015
▪ BLE forecast based on TSR Wireless Connectivity, 1Q16; ZigBee on internal analysis
▪ Current SAM includes Bluetooth Low Energy, ZigBee
Category Standard Strengths Usage
.ac Highest connection speed.
Established standard
Gateway
.b/.g/.n High throughput, high power.
Established standard
Endpoints
.ah Proposed low-power IoT standard tbd
Classic High-throughput streaming.
Mature standard
Legacy audio
streaming
Low Energy /
Smart
Low power emerging standard Device to
smartphone
comms
Mesh Standard in development Home (<250
nodes)
802.15.4 ZigBee Low-throughput local area
network; mesh
Commercial
buildings
Thread New 802.15.4 standard from Nest Home & business
automation
Cellular LTE-m Low-power LTE Mobile IoT
Connectivity is ~60% of NXP IoT SAM; a range of solutions cover different use cases
Best in class
connectivity IP
EXTERNAL USE5
PRODUCT AND KEY
FEATURES
EXTERNAL USE6
KW20Z/30Z/40Z: 802.15.4, BLE 4.2Up to 48 MHz Cortex-M0+160kB Flash, 20kB RAM-102dBm 802.15.4, -91dBm BLE Sensitivity, up to +5dBm PARx current 6.5mA, Tx current 8.4mA @0dBm48QFN 7x7, -40 to +85C
KW21Z/31Z/41Z: BLE 4.2, Thread, zigbee 3.0Smart Home, industrial, healthcareUp to 48MHz Cortex-M0+256kB/512kB Flash, 64kB/128kB RAM-100dBm 802.15.4, -95dBm BLE Sensitivity, up to +3.5dBm PA Rx current 6.5mA, Tx current 6.5mA @0dBm48LQFN 7x7, 75WLCSP 3.9x3.8, -40C to +105C
JN5179: zigbee 3.0Up to 32 MHz Cortex-M3Up to 512kB Flash, 32kB RAM-96dBm 802.15.4 Sensitivity, up to +10dBm PARx current 14.8mA, Tx current 14mA @ 3dBm10V SMPS for lighting applications40QFN 6x6, -40 to +125C
KW21D/22D: ThreadUp to 50MHz Cortex-M4F256kB/512kB Flash, 32kB/64kB RAM -102dBm 802.15.4 Sensitivity, up to +8dBm PARx current 19mA, Tx current 17mA @ 0dBm 63QFN 8x8, -40 to +105C
K32W022S/32S/42S: Thread, zigbee, BLEDual core high performance multiple mode MCU,
Production
Development
NXP Wireless ARM® MCU Hardware Portfolio & Roadmap
2017
BLE for AutomotiveAutomotive(AEC Q100) and IndustrialPin-to-Pin compatible with KW31CAN/LIN
QN9020/21/22 BLE 4.0Wearables, healthcareUp to 32MHz Cortex-M0128kB Flash/ext serial Flash, 64kB RAM, 96kB ROM-95dBm BLE Sensitivity, +4 dBm PA Rx current 9.2mA, Tx current 8.7mA @0dBm48QFN 6x6, 32QFN 5x5, 40QFN 5x5, -40 to +85C
QN9080: BLE 4.232MHz Cortex-M4F with Fusion Sensor Processor (FSP) 512kB flash, 128kB RAM, 256 kB ROM
Zigbee Stack
WLCSP Package
JN5169: zigbee 3.0, HA, LL, SEUp to 32MHz 32-bit RISC core512kB Flash, 32kB RAM, 4kB EEPROM-96dBm 802.15.4 Sensitivity, up to +10dBm PARx current 14.7mA, Tx current 14mA @ 3dBm40QFN 6x6, -40 to +125C
Production
EXTERNAL USE7
Kinetis KW41Z/31Z/21Z
Core/System• Cortex-M0+ running up to 48 MHz
• Four independently programmable DMA controller channels
Memory• Up to 512kB Flash
• Up to 128 kB SRAM
Radio• Support for BLE v4.2, 802.15.4, Generic FSK
• -95 dBm in BLE mode, -100 dBm in 802.15.4 mode
• -30 to +3.5 dBm programmable output power
• 6.8 mA Rx & 6.1 mA Tx (0dBm) current target (DC-DC enabled)
• On-chip balun with single ended bidirectional RF port
Communications/HMI/Timers• 2xSPI, 2xI2C, LP-UART, GPIO with IRQ capability (KBI)
• Carrier Modulated Timer (CMT) for infrared transmissions
• Hardware Capacitive Touch Sensing Interface (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-128 Accelerator and True Random Number Generator
• Advanced flash security
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.795V for single alkaline battery operation
Unique Identifiers• 80-bit unique device ID programmed at factory
• 40-bit unique media access control (MAC) subaddress can be used for Bluetooth Low
Energy or IEEE 802.15.4 MAC Address
-40ºC to +105ºC
Device Memory (Flash/RAM) Protocol Package
MKW21Z512VHT4
MKW21Z256VHT4
512 kB / 128 KB
256 kB / 64 KB802.15.4 7x7 48-pin Laminate QFN
MKW31Z512VHT4
MKW31Z256VHT4
512 kB / 128 KB
256 kB / 64 KBBLE v4.2 / Generic FSK 7x7 48-pin Laminate QFN
MKW41Z512VHT4
MKW41Z256VHT4
512 KB / 128 KB
256 KB / 64 KB
BLE v4.2 / Generic FSK
/ 802.15.4 ( Supports
concurrent operation)
7x7 48-pin Laminate QFN
Features Description
Software and
Protocol Stacks
Bluetooth Smart Host Stack & Profiles
Generic FSK (250 kbps, 500 kbps, 1Mbps)
Thread Stack, IEEE 802.15.4 MAC, SMAC
Thread + BLE Multi-Protocol Stack
KSDK, RTOSes, IAR & KDS Support
Memories TransceiverSystemCore
Analog
Clocks
CommunicationsTimers
2xSPI
2xI2C
Internal and External Watchdogs
DMA
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 512 kB Flash
Up to 128 kB SRAM
16-bit ADC
12-bit DAC
DC-DC Converter
LPUART
GPIO w/ IRQ Capabilities
Frequency Locked Loop
BLE 4.2, Generic FSK & 802.15.4
radio
6-bit ACMP
TSI
CMT
Balun
Security
AES-128
True Random Number Generator
EXTERNAL USE8
Kinetis KW41Z/31Z/21Z: Key Differentiators
Multi-Protocol Radio – High performance radio supporting
Bluetooth Smart/Bluetooth Low Energy (BLE) v4.2, Generic
FSK and IEEE 802.15.4 (Thread) based standards
Large Memory – Enough memory to adequately contain
desired networking stack(s) with ample room remaining for
custom applications
Low Power – Low transmit, receive and standby currents
that maximizes battery life, including standard coin-cells
Complete Enablement – Fully compliant, certified Bluetooth
Low Energy, Thread and 802.15.4 MAC/PHY. Support for
Generic FSK, BLE Mesh, SMAC, multiple RTOSes, KSDK
2.0, KDS and IAR IDEs.
EXTERNAL USE9
2.4 GHz
BLE LL/PHY
Bluetooth v4.2
2.4 GHz
Bluetooth Low Energy
Core Stack 4.2 Profiles
✓ Thread R1.1 Compliant Network Stack
✓ Thread + BLE Combo Stack
✓ IEEE 802.15.4 MAC/PHY
✓ Qualified Bluetooth Low Energy v4.2 Stack + Application Profiles
✓ Bluetooth Low Energy Mesh Stack
✓ IPv6 over BLE
✓ Generic FSK at 250, 500 and 1000 kbps
✓ SMAC w/ Connectivity Test for Regulatory Certification
✓ Support for Host MCU and MPU (Linux®) Processors
✓ Full integration with Kinetis SDK
✓ Multiple RTOS, including FreeRTOS and uCOSII (BLE)
✓ Kinetis Design Studio (KDS)
✓ IAR Embedded Workbench®
802.15.4 MAC/PHY
IPv6 + 6LoWPAN, UDP
Stack
EXTERNAL USE10
QN902x
Multiple Master/Slave roles support
➢ Support master with 8 links as well as slave mode BLE operation,
➢ Support concurrent scan/advertisement/connection combined roles
High throughput OTA and QPP
➢ High throughput up to ~50kbps, 5x faster than competition
Voice over BT LE (VoLE)
➢ QN9020 enables voice over LE communication with iOS device
iBeacon and Direction Finding
➢ QN902x supports iBeacon
➢ QN902x integrated hardware supports high precision direction finding
A4WP – Wireless Charging
➢ Already developed A4WP Tx and Rx Profiles
Mesh network
➢ QN902x supports BT LE based proprietary mesh network
EXTERNAL USE11
QN908x: 32MHz Cortex-M4F + FSP with 512 KB FlashBlock Diagram and Key Features
EXTERNAL USE12
QN908x Fusion sensor co-processor (FSP)
• HW accelerator for frequently used math and signal processing computations
− Compared to Cortex-M4 FPU, primarily better with matrix inverse and 256 point
FFTs
• Software APIs designed to match ARM CMSIS-DSP library
• Interrupt once calculation is complete
EXTERNAL USE13
JN5169 block diagram32-bit RISC, 512 kB Flash / 32 kB RAM, integrated PA
• CPU
− 32 MHz, 32-bit RISC CPU core
− 512 kB Flash & 32kB RAM & 4KB EEPROM
• 2.4 GHz radio transceiver
− IEEE-802.15.4 compliant
− Antenna diversity
− +10 dBm power amplifier
− -96 dBm RX sensitivity
− Peak typical current:
▪ 23.3mA TX @ +10dBm, 14mA @ +3dBm
▪ 14.7mA RX
• Security
− Crypto engine: AES 128, RNG
• System
− USART, SPI, I2C, PWM, IR
− 10-bit ADC, Analog Comparator
− Battery operating range: 2.0V to 3.6V,
− Ambient temperature : -40°C to +125°C
− HVQFN40 6x6mm
Memories RF TransceiverSystemCore
Analog interfaces
Clocks
Security
Digital interfaces
Timers
AES 128
Random Number Generator
2 x SPI
1 x I2C
Watchdog Timer
DMA
Low frequency free running
oscillator
Power Management
Controller
2 x low power Counter/Timer
32-bit RISC32 MHz
JTAG
Flash512 kB
10-bit ADC (6 channels )
1 x Analog comparator
Dual PAN ID
2 x USART
32MHz Xtaloscillator
SRAM 32kB
IEEE 802.15.4 2011
Fast Antenna Diversity
5 x PWM
POR
Brown Out Detector
20 x GPIO
IR driver
Battery sensor
Temperature sensor
High frequency free running
Oscillator
32.768kHz Xtaloscillator
EXTERNAL USE14
JN517x
• CPU
− 32 MHz ARM Cortex-M3 core
− Up to 512 KB Flash & up to 32 KB RAM & 4KB EEPROM
• 2.4 GHz radio transceiver
− IEEE-802.15.4 2011 compliant
− Dual PAN support
− Antenna diversity
− +10 dBm power amplifier
− -96 dBm RX sensitivity
− Peak typical current:
▪ 22.5mA TX @ +10dBm, 14mA @ +3dBm
▪ 14.8mA RX
• Security
− Crypto engine: AES 128, RNG
• System
− Ambient temperature: -40°C to +125°C
− HVQFN40 6x6 mm
Memories RF TransceiverSystemCore
Analog interfaces
Clocks
Security
Digital interfaces
Timers
AES 128
Random Number Generator
2 x SPI
1 x I2C
Watchdog Timer
DMA
Low frequency free running
oscillator
Power Management
Controller
2 x low power Counter/Timer
CortexTM-M332 MHz
JTAG
FlashUp to 512 KB
10-bit ADC (6 channels )
1 x Analog comparator
Dual PAN ID
2 x USART (supporting DALI
and DMX512)
32MHz Xtaloscillator
SRAM Up to 32kB
IEEE 802.15.4 2011
Fast Antenna Diversity
6 x PWM
POR
Brown Out Detector
18 x GPIO
IR driver
Battery sensor
Temperature sensor
SMPS
High frequency free running
Oscillator
32.768kHz Xtaloscillator
14
EXTERNAL USE15
BLE (BLE MESH,
BLE IPV6, HOMEKIT)
EXTERNAL USE16
BLE in smart device
• Low power
• Security
• Popular
• Standard GATT Profiles
• BLE 4.2 & BLE 5.0
EXTERNAL USE17
Bluetooth Low Energy Controller
Present on KW41Z and the KW31Z
Controller consists of Link Layer (LL) and PHY Layer
BLE Link Layer (Hardware and Firmware)
▪ Data management
▪ Link Control
▪ Handle IRQ from the hardware
BLE Physical Layer (Hardware)
▪ Setup and sustain BLE link
▪ Perform low latency functions
▪ Advertising, Scanning, etc
▪ Packet management
▪ Encryption
Bluetooth Low Energy
Link Layer Firmware
Bluetooth Low Energy
PHY
Bluetooth Low Energy
Link Layer Hardware
Bluetooth Low Energy
Host (Stack & Profiles)
HCI
Controller
EXTERNAL USE18
Bluetooth Low Energy Software Environment
Profile and Application
Bluetooth Low Energy Host Stack
Connectivity Framework
RTOS
Kinetis SDK
KW41Z/31Z MCU
HCI
Bluetooth Link Layer Firmware
Bluetooth Link Layer Hardware
Bluetooth PHY
Highlights:• Broad range of the most common Bluetooth® LE GATT profiles and
demo applications
• Fully compliant implementation of the Bluetooth LE host
specification v4.2 (L2CAP, ATT, SM, GAP, GATT) certified by BT
SIG.
• Host Controller Interface layer with software or UART transport
options
• Connectivity Framework middleware collection
• Bluetooth Low Energy Link Layer firmware library that interacts with
the corresponding hardware.
• Kinetis SDK v2.0 driver
• Integration with the most common RTOS’s available in Kinetis SDK:
FreeRTOS, µCOSII and bare-metal non-preemptive scheduler.
EXTERNAL USE19
Standard GATT Profiles/Services
HRS - Heart Rate Service
HTP - Health Thermometer Profile
HTS - Health Thermometer Service
IAS - Immediate Alert Service
IPSP – Internet Protocol Support Profile
LLS - Link Loss Service
OTAP – Over the Air Programmer Profile
(proprietary to Freescale)
PASS - Phone Alert Status Service
POP – Pulse Oximeter Profile
PXP - Proximity Profile
RSCP - Running Speed and Cadence Profile
RSCS - Running Speed and Cadence Service
RTUS - Reference Time Update Service
TIP - Time Profile
TPS - Transmit Power Service
UDS - User Data Service
KW41Z Bluetooth Low Energy Profiles
A4WP – Wireless Power Profile
ANP - Alert Notification Profile
ANS - Alert Notification Service
BAS - Battery Service
BLP - Blood Pressure Profile
BLS - Blood Pressure Service
CPP – Cycling Power Profile
CPS – Cycling Power Service
CSCP - Cycling Speed and Cadence Profile
CSCS - Cycling Speed and Cadence Service
CTS - Current Time Service
DIS - Device Information Service
FMP - Find Me Profile
GLP - Glucose Monitor Profile
GLS - Glucose Monitor Service
HIDS - Human Interface Device Service
HOGP - HID over GATT Profile
HRP - Heart Rate Profile
EXTERNAL USE20
NXP KW41Z BLE Mesh
• Implementation is a proprietary flooding-based BLE Mesh layer
• The Official BT-SiG version will be ratified in 1Q 2017
• Separate Mesh API defined for Mesh Applications. Provides support for:
− Initialization
− Commissioning
− Address Management
− Mesh Relay Management
• Supported Mesh Profiles
− Mesh Configuration Profile
− Mesh Light Profile
− Mesh Temperature Profile
Me
sh
Infra
stru
ctu
re
Physical Layer
Link Layer
HCI
L2CAP
Attribute
Protocol
Security
Manager
Generic
Attribute
Profile
Generic
Access
Profile
Host
Controller
Core Mesh
Functionality
Mesh Application
EXTERNAL USE21
Where Bluetooth LE Stops and the Mesh Starts
• Two states of a device: advertising and connected
• Topology: point-to-point or at best star
• Range: line of sight: protocol allows a datagram to be exchanged by two neighbor devices
• A single state of a device: advertising
• Topology: flooded mesh
• Range: configurable: protocol allows datagram to be relayed as many times as desired
Bluetooth LE Bluetooth LE Mesh
EXTERNAL USE22
NXP KW41Z Mesh Demo Applications
The KW41Z Mesh Software includes two demo applications
1. Mesh Commissioner application
− This demo application features a terminal-based setup that can be used to dynamically configure nodes within a network using terminal commands.
− The commissioner itself is also a node in the network
2. Mesh Device application
− The Mesh Device application instantiates a mesh node with a configurable mesh address, network key, and functionality.
Further details can be found in the BLE Mesh User’s Guide
EXTERNAL USE23
IPv6 over BLE
Bluetooth stack:
− GATT-based profile Internet
Protocol Support Profile (IPSP)
− L2CAP Connection Oriented
Channels as bearer for 6lo traffic
Adaptation layer:
− 6LoBLE: optimization of IPv6 packets
for Bluetooth
IPv6 Stack:
− ICMPv6, UDP, CoAP, ND, etc.
EXTERNAL USE24
IPv6 over BLE Topology
• Supported via Internet Protocol Support Profile v1.0
• Node types:
− 6LoWPAN Border Router (6LBR)
• IPSP Router and GAP Central
• Manages multiple connections with 6LNs
• Routes and forwards packets between 6LNs and to and from the Internet
• Prevents address collision
− 6LoWPAN Node (6LN)
• IPSP Node and GAP Peripheral
• Communicate with other 6LN only via the 6LBR and using prefix
• Joins the all-nodes multicast address
EXTERNAL USE25
IPv6 over BLE Demo Application
• IPv6 Router
− The IPV6 Router behaves as a GAP central node.
− It enters GAP Limited Discovery Procedure and searches for IPV6 nodes to connect with.
− When the IPV6 Router connects it initiates an LE Credit Based Connection request.
• IPv6 Node
− The IPV6 Node behaves as a GAP peripheral node.
− It enters GAP General Discoverable Mode and waits for a GAP central node to connect.
− When the IPv6 Router connects, it initiates an LE Credit Based Connection request.
• When the credit based connection is set, the user can send data through the credit based channel from each device.
Example details can be found in document “BLE Transport for IPv6 Datagrams User’s Guide”
EXTERNAL USE26
Apple HomeKit – Overview
• Announced at WWDC (6/14) to support home automation:
− HomeKit is a framework in iOS that lets accessories connect seamlessly so people can better manage their homes.
− HomeKit offers a set of common protocols which enable accessories to work together easily and securely, allowing consumers to control them using Siri.
− HomeKit is built on a secure foundation with end-to-end encryption, providing customers a secure connection between their iPhone, iPad or iPod touch and HomeKit-enabled accessories.
▪ Directly supports Internet Protocol (IP) (Wi-Fi® and Ethernet) and Bluetooth Smart (4.0+) transports
▪ Supports multiple legacy transports (ZigBee, Z-Wave and PowerLine) via accessory bridges
▪ Multiple vendor accessories may be controlled by one or more iOS apps
▪ Multiple iOS apps may control each accessory
▪ HomeKit support available from iOS 8
▪ iOS 9 added several new functions
NXP Software Development Kit (SDK)
for Kinetis MCUs offers full support for
home automation applications using
Apple HomeKit technology.
iOS 8
or later
device
HomeKit
Apps
HomeKit
Compatible
Bridge
HomeKit
Accessory
e.g. Lamp
HomeKit
Accessory
e.g. Door
HomeKit
Accessory
e.g. Thermostat
ZigBee
Accessory
e.g. Lamp
PowerLine
Accessory
e.g. Outlet
EXTERNAL USE27
THREAD
EXTERNAL USE28
Thread
• Low power
• Security
• Robustness
• Mesh network
• IPv6
EXTERNAL USE29
Can support many popular
application layer protocols and platforms
A software upgrade can add Thread to
currently shipping 802.15.4 products
Thread Specification is available to Thread Group members
Thread
• A secure wireless mesh network for your
home and its connected products
− Built on well-proven, existing technologies
• Runs on existing 802.15.4 silicon
• Uses 6LoWPAN with IPv6 addressing
• UDP Transport
− Includes mandatory security architecture
− Simple and secure to add / remove products
− Scalable to 250+ products per network
− Designed for very low power operation
− Reliable for critical infrastructure
EXTERNAL USE30
About Thread Group
7 Founding Companies, grown to 12 Sponsor Companies, 230+ member companies
NXP founding company
A market education group offering product certification
Promoting Thread’s use in connected products for the home
Thread will offer rigorous product certification to ensure security and interoperability
EXTERNAL USE31
IEEE 802.15.4
• IEEE 802.15.4 is a standard used for Low-Rate Wireless Personal Are Networks
• Main features:
− Low cost
− Low complexity
− Low power consumption
− Low data rate transmissions
− Generally used for WSN (Wireless Sensor Networks)
• Higher-level layers and interoperability sublayers (Thread, Application Layer) are not defined in the IEEE 802.15.4 standard
Application Layer
UDP + DTLS
Distance Vector Routing
6LowPAN (IPv6)
IEEE 802.15.4 MAC
(including MAC security)
IEEE 802.15.4 PHY
EXTERNAL USE32
6LoWPAN – IPv6 over Low power Wireless PANs
6LoWPAN is an Adaptation Layer between PHY-MAC and IP layer with the role of:
• Fragmenting the “big” IPv6 packets into “smaller” 802.15.4 packets
• Compressing the IPv6 header from 40 bytes down to 2-3 bytes
• Performing Link Layer forwarding of packets from one node to the other in the Mesh Network
Application Layer
UDP + DTLS
Distance Vector Routing
6LowPAN (IPv6)
IEEE 802.15.4 MAC
(including MAC security)
IEEE 802.15.4 PHY
EXTERNAL USE33
Network Routing
• Similar algorithm to Routing Information Protocol next generation (RipNG):
• Distance Vector routing protocol
• All routers exchange with other routers their cost of routing in the Thread network in a compressed format using MLE (Mesh Link Establishment).
• Devices use IP routing to compute the routing table which is populated with a compressed form of a mesh unique local address for all routers and the appropriate next hop address.
• Routers inform their neighbors of topology changes periodically
• Packets forwarding is assured via 6LoWPAN at Link Layer
Application Layer
UDP + DTLS
Distance Vector Routing
6LowPAN (IPv6)
IEEE 802.15.4 MAC
(including MAC security)
IEEE 802.15.4 PHY
EXTERNAL USE34
UDP: User Datagram ProtocolDTLS: Datagram Transport Layer Security
• UDP is connectionless protocol - One program can send a
load of packets to another with no handshake establishment.
Suitable for applications that need fast, efficient transmission
but the delivery of the packets is not guaranteed.
• DTLS provides communication privacy (integrity,
authentication and confidentiality) and other security
properties such as replay prevention for datagram protocols
• An additional crypto library like WolfSSL and PolarSSL is
needed for using ciphersuites different than what is
implemented in Thread (DTLS-jpake)
Application Layer
UDP + DTLS
Distance Vector Routing
6LowPAN (IPv6)
IEEE 802.15.4 MAC
(including MAC security)
IEEE 802.15.4 PHY
EXTERNAL USE35
Application Layer
• Thread provides basic services required for
application frameworks implementation via
Unicast and Multicast transmissions using UDP
• The Thread spec does not define the Application
Layer. Various application layers can be used
like: ZCAL, Weave, IOTivity, AllJoyn, etc.
• For those application layers not using IP
services, some adaption would be needed
Application Layer
UDP + DTLS
Distance Vector Routing
6LowPAN (IPv6)
IEEE 802.15.4 MAC
(including MAC security)
IEEE 802.15.4 PHY
EXTERNAL USE36
Commissioning and Security
• Simple Commissioning
− User securely authorizes devices onto the network using smart phone/tablet app or computer
− GUI rich device already on Thread network can be used to authorize devices
• Security session established between new device and commissioning device to authenticate and provide credentials
• Once commissioning session is complete, device attaches to network
• 802.15.4 MAC security used for all messages
• Application level security may be included based on product requirements
• KWx2D can commission another device symmetrically in <10s
End Device Router Eligible
THREAD Router
Leader
Border Router
THREAD Link
EXTERNAL USE37
Commissioner Mobile Application
• Simple, consumer friendly method for adding
devices onto a Thread network
• App uses QR Code or simple user friendly key to
identify joining product
• Mobile device attaches to Thread Network
through Border Router to add device to network
• Thread Group developed a sample
commissioning app that is available to Thread
Sponsor and Contributor members
• Available in iOS and Android
EXTERNAL USE38
NXP’s Thread Hardware Offering
NXP Kinetis KW2xD, KW41Z
• Thread Router / REED / End Device
• Tower Board and Freedom Board
• Kinetis SDK and FreeRTOS
NXP Kinetis KL46 + MCR20A Transceiver
• Thread End Device
• Freedom Board
• Kinetis SDK and FreeRTOS
NXP i.MX6 UltraLite EVK NXP Kinetis KW2xD USB
• Thread Border Router / Cloud gateway
• Provides IP data routing and infrastructure integration
• i.MX6UL EVK & USB Dongle
• Runs Linux operating system
NXP Kinetis K64F + MCR20A Transceiver
• Border Router with Ethernet & upcoming Wi-Fi support (QCA400x)
• Freedom Boards
• Kinetis SDK and FreeRTOS
+End Device
Thread Router
Leader
Border Router
Thread Link
The most complete Thread end to end platform available!
EXTERNAL USE39
Thread MCU (RTOS) Border Router
• K64 is a standalone MCU with up to
1MB Flash, up to 256kB RAM and
embedded Ethernet
• Memory configuration can support
Thread stack, Ethernet stack and
Application
• MCR20A is a 2.4GHz 802.15.4
transceiver
• Wi-Fi (Qualcomm Atheros
QCA400x) support mid-2016.
Input/Output
Communication
Control
Sensors K64F
SPI
MCR20A
ENET
PHYWi-Fi
EXTERNAL USE40
Thread MPU (OS) Border Router
KW2xDi.MX6
USB
Cloud
Connection
Linux System
Data
Management
Events
Processing
KW2xD device runs the Thread Border Router functionality while the i.MX6 Linux system handles Data Management and Analytics, Events Processing and
Cloud Connection
EXTERNAL USE41
Thread Router and Low Power End Device
KW
Input / Output
Communication
Control
Sensors
KW devices with 512kB Flash and 64k RAM can run Border Router or Router Eligible Device configurations with an Application
KW devices with 32kB RAM can run Thread End Device configurations with an Application
EXTERNAL USE42
ZIGBEE
EXTERNAL USE43
• All modules include JN5168 and JN5169 chip plus support components
− Surface mountable on motherboards
• Standard power modules
− Medium Power Module
▪ With integrated printed antenna 16x30mm JN5169-001-M00-2
▪ With uFl connector 16x21mm JN5169-001-M03-2
▪ +10dBm
− High power module 16x30mm JN5169-001-M06-2
▪ uFl connector
▪ +22dBm
• Modules are available NOW for sampling
• Module value proposition
− Fast time to market
− Reduced support burden
− Ready approved to FCC and EU regulations
− No need for RF design resource for board and test design
− Overall lowest cost of implementation up to 20-50ku
JN5169-001-M03_2
JN5169-001-M06-2
MODULES: JN5169 RANGE
JN5169
JN5169-001-M00-2
JN5169
JN5169
EXTERNAL USE44
Evaluation Kit EK004
Hardware
• Easy development of ZigBee and IEEE802.15.4
applications with NFC
• All necessary hardware components to demonstrate,
evaluate and develop ZigBee solution with NFC
commissioning
• All firmware preloaded for both nodes and gateway
• Raspberry Pi
• NFC reader (PN7120)
• Wi-Fi USB dongle
• ZigBee USB dongle (JN5169)
• Generic PCBs with ZigBee module
(JN5169) and NFC connected tag
(NTAG I2C) including NFC antenna• Generic expansion board
• Lighting/Sensor generic expansion board
• ZigBee remote control
• Cable for Power supply
(gateway and nodes)
• Programming cables
• Ethernet cable
• SD card
LINUX based (openWRT)
Smart
nodeIoT Gateway Tools
EXTERNAL USE45
BLE/THREAD
DUAL-MODE
April 19, 2017Subject /
Department /
4
5
EXTERNAL USE46
Multi-Protocol ApplicationDoor Lock using Thread and Bluetooth Low Energy
Smart Door Lock contains KW41Z Multi-Protocol
Radio• Bluetooth Low Energy
• Thread (802.15.4)
Direct and Network Controlled and Monitoring • Out-of-band commissioning of device on Thread network using BLE
• Control directly from BLE enabled phone
• Control and monitoring using cloud connected Thread mesh
network
BLE Direct
Communication
Thread
Network
Smart
Door Lock
EXTERNAL USE47
Thread + BLE KW41 Demo Application
BLE UART to Thread Shell
Thread
Network
BLE Direct
Communication
FRDM-KW41Z
EXTERNAL USE48
BLE FOR
AUTOMOTIVE
EXTERNAL USE49
BLE in automotive
• Keyless entry enhancements
• Remote controller for
infotainment systems
• In-vehicle ecosystems
• BLE OBD diagnostic
• Beacon for Positioning
• TPMS
EXTERNAL USE50
BLE in Automotive
Car Body ControlDigital KeyOBD-box T-box
Atmosphere LampSensor NodesTPMS Beacon for Positioning
EXTERNAL USE51
ENABLEMENT
EXTERNAL USE52
Enablement: KW41Z Development Board
FRDM-KW41Z Freedom Development Kit
− Can be configured as Host or Shield for connection to Host Processor
− Supports all DC-DC configurations (Buck, Boost, Bypass)
− PCB inverted F-type antenna
− SMA RF Connector
− Internal Balun
− RF regulatory certified
− Serial Flash for OTA firmware upgrades
− On board NXP FXOS8700CQ digital sensor, 3D Accelerometer (±2g/±4g/±8g) + 3D Magnetometer
− OpenSDA, SWD and JTAG debug
− Full KSDK support
− $145 suggested resale (2 boards in a box)
− Availability: Now
USB-KW41Z USB Dongle/Sniffer
− Ideal for BLE/Generic FSK/802.15.4 sniffer or connection to PC/Tablet
− Integrated PCB meander antenna
− RF regulatory certified
− OpenSDA, SWD and JTAG debug
− USB Type A Connector
− $60 suggested resale
− Availability: Now
EXTERNAL USE53
Enablement: Smartphone App – Kinetis BLE Toolbox
BLE Toolbox include support for the following BLE profiles:
− Glucose
− Blood Pressure
− Cycling Speed and Cadence
− Health Thermometer
− Heart Rate
− Proximity
− Running Speed and Cadence
Also includes Beacon monitoring and support for customs profiles,
including:
− Over the Air Programming (OTAP)
− Wireless UART
Support being added from Thread + BLE
Download today from iTunes App Store (iOS) or Google Play (Android)
EXTERNAL USE54
Smart Lock
• Based on BLE Protocol
• Smart Phone Apps
• Encryption data transmission
• RSSI Auto Lock and Unlock
Wireless
BLE
EXTERNAL USE55
iPhone
Thread
network
Rou
ter
End
Device 2
End
Device n
BLE
Connection
End
Device 1
……
• This demo involves several (20~30) FRDM-KW41Z boards and one iOS App (iOS 9.0 or later).
• This demo mainly controls RGB LEDs in a Thread network by the iOS App, which connects to one KW41
in the network through BLE.
• COAP commands are mapped to GATT Characteristics, as a result, resources in thread network (e.g.
LEDs and sensors) can be controlled by BLE GATT read/write operations.
Thread/BLE Dual-mode Network
• This project presents a 30-node Thread wireless network.
• The nodes are based on NXP dual-mode wireless SoC MCU KW41.
• Because of dual-mode capacity, these nodes can also communicate with mobile/tablet by BLE at the same time.
EXTERNAL USE56
Thread Large Network 250 – Distributed Setup
50
26
26
26
2420
26
26
26
• Test Items
− Device Attach Time
− Network Create Time (sec)
− Network Reset Time (sec)
− Unicast Message Latency
− OTA Update Time (min)
− OTA Success Rate (%)
EXTERNAL USE57
Volansys Gateway
• Thread Gateway with integrated Thread radio, NFC, Wi-Fi, BT and Ethernet.
• Thread Border Router
• Based on NXP i.MX6UL, KW2x and NFC
EXTERNAL USE58
Volansys Gateway
EXTERNAL USE59
KW41Z Module
• Features• With Skyworks PA 66112
• Up to +20dBm
• Tiny size
• Will be released on Q3, 2017
EXTERNAL USE60 • April 19, 2017
COMPANY
CONFIDENTIAL
6
0.
QN902x: Module Reference Design
EXTERNAL USE61
• All modules include JN5168 and JN5169 chip plus support components
− Surface mountable on motherboards
• Standard power modules
− Medium Power Module
▪ With integrated printed antenna 16x30mm JN5169-001-M00-2
▪ With uFl connector 16x21mm JN5169-001-M03-2
▪ +10dBm
− High power module 16x30mm JN5169-001-M06-2
▪ uFl connector
▪ +22dBm
• Modules are available NOW for sampling
• Module value proposition
− Fast time to market
− Reduced support burden
− Ready approved to FCC and EU regulations
− No need for RF design resource for board and test design
− Overall lowest cost of implementation up to 20-50ku
JN5169-001-M03_2
JN5169-001-M06-2
MODULES: JN5169 RANGE
JN5169
JN5169-001-M00-2
JN5169
JN5169
EXTERNAL USE62
Evaluation Kit EK004
Hardware
• Easy development of ZigBee and IEEE802.15.4
applications with NFC
• All necessary hardware components to demonstrate,
evaluate and develop ZigBee solution with NFC
commissioning
• All firmware preloaded for both nodes and gateway
• Raspberry Pi
• NFC reader (PN7120)
• Wi-Fi USB dongle
• ZigBee USB dongle (JN5169)
• Generic PCBs with ZigBee module
(JN5169) and NFC connected tag
(NTAG I2C) including NFC antenna• Generic expansion board
• Lighting/Sensor generic expansion board
• ZigBee remote control
• Cable for Power supply
(gateway and nodes)
• Programming cables
• Ethernet cable
• SD card
LINUX based (openWRT)
Smart
nodeIoT Gateway Tools
EXTERNAL USE63
Thread/BLE Dual-mode Network
• This project presents a 30-node Thread wireless network.
• The nodes are based on NXP dual-mode wireless SoC MCU KW41.
• Because of dual-mode capacity, these nodes can also communicate with mobile/tablet by BLE at the same time.
EXTERNAL USE64
iPhon
e
Thread
network
Route
r
End Device
2
End Device
n
BLE
Connection
End Device
1
……
• This demo involves several (20~30) FRDM-KW41Z boards and one iOS App (iOS 9.0 or later).
• This demo mainly controls RGB LEDs in a Thread network by the iOS App, which connects to one
KW41 in the network through BLE.
• COAP commands are mapped to GATT Characteristics, as a result, resources in thread network (e.g.
LEDs and sensors) can be controlled by BLE GATT read/write operations.
EXTERNAL USE65
无线通信• BLE