External Use TM Hands-On Workshop: Freescale Sub-GHz Wireless Connectivity Solutions for Neighborhood Area Networks, Smart Cities and Home Area Networks FTF-SEG-F0186 APR.2014 Alan Collins | Wireless Applications Engineer Mike Dow | Business Development
88
Embed
Hands-On Workshop: Freescale Sub-GHz Wireless …cache.freescale.com/files/training/doc/ftf/2014/FTF-SEG-F0186.pdf · Wireless Connectivity Solutions for Neighborhood Area Networks,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
External Use
TM
Hands-On Workshop: Freescale Sub-GHz
Wireless Connectivity Solutions for
Neighborhood Area Networks, Smart Cities
and Home Area Networks
FTF-SEG-F0186
A P R . 2 0 1 4
Alan Collins | Wireless Applications Engineer
Mike Dow | Business Development
TM
External Use 1
Session Introduction
• The “Internet of Things”, “Smart Objects”, Smart Utility Networks,
and M2M are common buzz words in today’s technical vocabulary.
This presentation will give context to those terms in relation to
developing IETF and IEEE standards.
• Freescale has made partnerships to come up with a joint solution to
address these networks with IPv6 standards based networking
software and Freescale Kinetis Processors and Sub-GHz radios.
Nivis Smart Objects & Proximetry AirSync.
TM
External Use 2
Session Objectives
Effectively describe at a high level the “Internet of Things”
and what makes a “Smart Object” smart
Use complex wireless software stack for embedded
systems.
Understand the development environment for Wireless
Connectivity products.
After completing this session you will be able to:
TM
External Use 3
Agenda
• Smart Cities & the Internet of Things Overview
• Freescale Partnerships to Enable the Smart Objects
Concept
− Smart Objects platform by Centero
− AirSync5 software by Proximetry
• Freescale Kinetis W Family
• Hands-On Training
− SMAC: Radio utility
− IP stack: Sockets over IPv6 application
• Summary
TM
External Use 4
Agenda
• Smart Cities & the Internet of Things Overview
• Freescale Partnerships to Enable the Smart Objects
Concept
− Smart Objects platform by Centero
− AirSync5 software by Proximetry
• Freescale Kinetis W Family
• Hands-On Training
− SMAC: Radio utility
− IP stack: Sockets over IPv6 application
• Summary
TM
External Use 5
Smart Cities Where the Internet of Things (IoT) is
happening first
TM
External Use 6
Smart Cities
•High-Confidence Transport and Asset Tracking
•Energy Saving Smart Grid
•Predictive Maintenance
•Improve Productivity
•Enhanced Safety & Security
•Enable New Knowledge
•Healthcare
•Smart Home S+CC
•Intelligent Buildings
•Improve Food and H2O
TM
External Use 7
Multiple Applications – One Network
TM
External Use 8
Metropolitan Area Networks (MAN)
TM
External Use 9
Smart Utility Network (SUN)
H
A
N
LAN
SUN
TM
External Use 10
Common factors
Wireless Mesh or Star Topology for robust coverage of end
devices
High density NWK 500 - 1000+ Nodes per Edge Router /
Gateway
Fairly long distance between end devices (100s of meters,
favors Sub-GHz and power amplification)
Sophisticated security protocols
Connection to cloud based services
Internet Protocol (IP) communication protocols
TM
External Use 11
Agenda
• Smart Cities & the Internet of Things Overview
• Freescale Partnerships to Enable the Smart
Objects Concept
− Smart Objects platform by Centero
− AirSync5 software by Proximetry
• Freescale Kinetis W Family
• Hands-On Training
− SMAC: Radio utility
− IP stack: Sockets over IPv6 application
• Summary
TM
External Use 12
Nivis Smart Object Platform Empowering the Internet of Things
• Proprietary standards Lower deployment and operating costs
TM
External Use 45
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
TM
External Use 46
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.
TM
External Use 47
RF Hardware support
TM
External Use 48
Sub-1 GHz Protocol Stack Comparison
Feature SMAC 802.15.4g/e IPv6 Wireless
M-Bus
Typical Application Cable Replacement
Wireless Meter
Reading Internet of Things
M2M
Wireless Meter
Reading (Europe) Building Control
Medical
Standard Proprietary IEEE 802.15.4 6lowPAN EN 13757-4:2013
Network Stack No No Yes Yes
Network Profiles No No No No
Memory
Requirements 4-8K 32K 100K 16-32K
Network Topology
Point to Point Peer-to-Peer
IP
Point-to-Point
Star Tree
Star Mesh
Typical # of Nodes 2-100 2-100 Not limited 2-100
Data Rate 200 Kbps 50-200 Kbps 1-600Kbps 32-100 Kbps
Protocol Stack
Provider Freescale Available Q1’2014 Q2’2014 3rd Party
TM
External Use 49
KW01 Product Differentiator
Very low power suitable for battery operated equipments
−Cortex M0+ Breakthrough power efficiency
−Low-power features such as 100nA with radio configuration retention.
High Integration Level
−Includes the exclusive ARM Cortex M0+ core with up to 48MHz performance, embedded 128KB Flash and 16KB of RAM supporting wireless communication protocol + application in one chip
Demonstrates exceptional RF performance with a budget link up to +137dB
Flexibility and Compliancy with Multiple Standards
Full set of peripherals
−Offers multiple 16-bit timers, 13-bit port keyboard interrupt and Touch Sensing Interface, 16-bit ADC, SCI, I2C, SPI
TM
External Use 50
Agenda
• Smart Cities & the Internet of Things Overview
• Freescale Partnerships to Enable the Smart Objects
Concept
− Smart Objects platform by Centero
− AirSync5 software by Proximetry
• Freescale Kinetis W Family
• Hands-On Training
− SMAC: Radio utility
− IP stack: Sockets over IPv6 application
• Summary
TM
External Use 51
Hands-On Training
TM
External Use 52
Agenda
• Smart Cities & the Internet of Things Overview
• Freescale Partnerships to Enable the Smart Objects
Concept
− Smart Objects platform by Centero
− AirSync5 software by Proximetry
• Freescale Kinetis W Family
• Hands-On Training
− SMAC: Radio utility
− IP stack: Sockets over IPv6 application
• Summary
TM
External Use 53
Application Diagram
802.15.4
Mesh Network PC
Data Concentrator
Sensors
(Nodes)
TM
External Use 54
Wireless Connectivity Hands-On session - Setup
TM
External Use 55
Prerequisites per each Station
• 1 Laptop − IAR v7.10 or higher
− Freescale CDC driver
− Tera Term
• 2 KW01-MRB − 1 Mini USB cable
− 1 Sub-Ghz antenna
− NB: Connect Sub-Ghz antenna to the SMA jack.
• 1 REM board − Type B USB cable
• 1 J-Link Debugger interface − J-Link Adapter Cortex M
TM
External Use 56
Station configuration
Ipv6 Stack on MKW01
• Data Concentrator
• PAN ID: 0x7801
• Channel: 11
• Ipv6 Link Local Address:
fe80::1322:3344:5566:0001
• Ipv6 Global Address:
2003::d0b8:1322:3344:5566:0001
• Short address:
0x0021
• Extended address:
0x1122334455667701
• Node
• PAN ID: 0x7801
• Channel: 11
• Ipv6 Link Local Address:
fe80::8372:6354:4536:0001
• Ipv6 Global Address:
2003::d0b8:8372:6354:4536:0001
• Short address:
0x0101
• Extended address:
0x8172635445362701
TM
External Use 57
Wireless Connectivity Hands-On – Building code and configurations
TM
External Use 58
Step 1: Create a folder in local drive and unzip project