Introduction to SimpliciTI

Similar documents
Introduction to SimpliciTI. Low-power RF protocol from Texas Instruments

RF Networking With MSP430 & the ez430-rf2500 Session 2 Miguel Morales, MSP430 Applications 6/5/2008 1

SimpliciTI: Simple Modular RF Network Specification

SimpliciTI. Introduction. Learning Objectives

Fang Shanshan. Protocol Implementation Using TI s SimpliciTI Platform

A Time Synchronized Wireless Sensor Tree Network using SimpliciTI

WiMOD LR Base Plus Host Controller Interface

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

WiMOD LR Base Host Controller Interface

1. Introduction Motivation Project Description System Overview Hardware Description GASB Gas Sensor...

The challenge with IoT

WiMOD LR Base Host Controller Interface

DASH7 ALLIANCE PROTOCOL - WHERE RFID MEETS WSN. public

The Emergence of Networking Abstractions and Techniques in TinyOS

The ZigBee Architecture An Introduction

Building and deploying a wireless sensor network in the Georgia Tech stadium


Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

Sensor Networks. Part 3: TinyOS. CATT Short Course, March 11, 2005 Mark Coates Mike Rabbat. Operating Systems 101

ez430-chronos Wireless Watch Development Tool: Teardown & Getting Started

By Nick Giannaris. ZigBee

Wireless Personal Area Networks (WPANs) Wireless PAN

Topics. Introduction Architecture Node Types Network Topologies Traffic Modes Frame Format Applications Conclusion

Mesh networking with ZigBee. A dive into the ZigBee ecosystem

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

ZIC2410 User Guide Device-Programmer Software Manual

Smart Home Technology: Zigbee and Z-Wave

Wireless Sensor Networks. Introduction to the Laboratory

LXRS and LXRS+ Wireless Sensor Protocol

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Sensor-to-cloud connectivity using Sub-1 GHz and

Davide Quaglia Assistant CS depart University of Verona, Italy

UM2379. The BlueNRG-1, BlueNRG-2 radio driver. User manual. Introduction

QSUSB API V1.2.2 Aug 2016

Designing a ZigBee Network

By Ambuj Varshney & Akshat Logar

UDCP Unified Decomposition of Cross layer Protocol. Chen Hsiang Feng 7/15/2008

Hands-on course Mobile Communications

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Different Layers Lecture 20

OSS-7 AN OPEN SOURCE DASH7 STACK

Zigbee protocol stack overview

Matteo Petracca Scuola Superiore Sant Anna, Pisa

Design and Implementation of a Multi-hop Zigbee Network

Emad Ebeid Ph.D. CS depart University of Verona, Italy

_äìé`çêé» UART Host Transport Summary. February 2004

Tehama System Installation Guide

CHAPTER 8: LAN Standards

MiWi Software Design Guide

Wireless# Guide to Wireless Communications. Objectives

Delivering Voice over IEEE WLAN Networks

ISA100 Wireless for Control Applications. Control Data Systems. Industrial Wireless Data Systems,

Control Data Systems Industrial Wireless Communications

Presented by: Murad Kaplan

RC11xx(HP)-TM/ RC25xx(HP)-TM

AT THE END OF THIS SECTION, YOU SHOULD HAVE AN UNDERSTANDING OF THE

Modulation. Propagation. Typical frequency bands

BASIC CHARACTERISTICS OF ZIGBEE AND SIMPLICITI MODULES TO USE IN MEASUREMENT SYSTEMS

Introduction to IEEE

Product Brief. Model: TLM922S-P01A. Ver.1.0

ISO/IEC , CSD, IEEE a. Embedded Systems Lab. Dept. of CSE, PNU

WIRELESS HOME NETWORK CONTORL MECHANISM FOR STANDBY POWER REDUCTION

Embit Binary Interface - IEEE Specific Documentation. embit s.r.l.

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

WiMOD LoRaWAN EndNode Modem HCI Specification

Wireless M-BUS Solutions STM32L & SPIRIT1

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

im871a Wireless M-Bus

ZICM357P2 - Evaluation Kit User s Guide

WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH

Author: Bill Buchanan. Wireless LAN. Unit 2: Wireless Fundamentals

EE 122: Ethernet and

Multiple Access in Cellular and Systems

Radiocrafts Embedded Wireless Solutions

Wireless Sensor Networks

WIRELESS RECEIVER WRM-TS. Rev. 1.0c

Medium Access Control in Wireless Sensor Networks

WirelessHART: Applying Wireless Technology in Real-Time Industrial Process Control

Wireless Sensor Networks

Wireless Protocols. Training materials for wireless trainers

Computer Networks. Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

WIRELESS NETWORK USER MANUAL MHz RFT-868-USB USB RFTide Network Interface

CS263: Wireless Communications and Sensor Networks

Development and Deployment of ZigBee Wireless Sensor Networks for Precision Agriculture in Sugarcane Field

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

The Value of Low Power

Fuzzy Duty Cycle Adaption Algorithm for IEEE Star Topology Networks

FW UPGRADE SPECIFICATION

OSBRiDGE 24XL(i) Configuration Manual. Firmware 2.05b9

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Energy Efficient MAC Protocols Design for Wireless Sensor Networks

WL-5420AP. User s Guide

AllNet: Ubiquitous Interpersonal Communication

Multi Hop Send Protocol Tool for TinyNodes Semesterthesis

Wireless M-Bus Studio

Page 1 of 6. nblue BR-XB-LE4.0-D2A Summary Datasheet Copyright BlueRadios, Inc.

Summary of MAC protocols

New CC430 combines leading MCU and RF technology

Transcription:

Introduction to SimpliciTI Low-power RF protocol from Texas Instruments Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 2 1

What is SimpliciTI? SimpliciTI is: Low Power: a TI proprietary low-power RF network protocol Low Cost: uses < 8K FLASH, 1K RAM depending on configuration Flexible: simple star w/ extendor and/or p2p communication Simple: Utilizes a very basic core API Versatile: MSP430+CC110x/2500, CC1110/2510, CC1111/CC2511, CC2430, CC2520 Low Power: Supports sleeping devices 3 Application Areas SimpliciTI supports: - alarm & security: occupancy sensors, light sensors, carbon monoxide sensors, glass-breakage detectors - smoke detectors - remote controls - AMR: gas meters, water meters, e-meters - home automation: garage door openers, appliances, environmental devices 4 2

Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 5 SimpliciTI Network topology wireless sensing application Range can be extended through repeaters. The circles represent range of gateway and extended range of repeaters. 6 3

SimpliciTI Network topology Active RF tags Active RF tags typically enter and exit the network ad-hoc. Tags must be able to quickly associate to the network while maintaining low power consumption. 7 SimpliciTI Network topology Detector System Optional Access point Sensor / Extender Triggered Device C Gateway Examples message flows Flooded Message 8 4

Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 9 Architectural Overview Layers MRFI ( minimal RF interface ) NWK nwk applications (modules) customer applications Network Support init ping link / linklisten nwk mgmt send / receive I/O 10 5

Application Programming Interface (API) initialization smplstatus_t SMPL_Init(uint8_t (*callback)(linkid_t)); linking (bi-directional by default) smplstatus_t SMPL_Link(linkID_t *linkid); smplstatus_t SMPL_LinkListen(linkID_t *linkid); peer-to-peer messaging smplstatus_t SMPL_Send(lid, *msg, len); smplstatus_t SMPL_Receive(lid, *msg, *len); configuration smplstatus_t SMPL_Ioctl(object, action, *val); 11 Simple Configuration operational mode (type) power mode (sleep support) topology addressing / identification RAM allocation packet size buffer sizes # supported links (connections) security tokens messaging (hop ct, repeaters) radio (freq, crypto key, modulation, CCA parameters) /* FROM smpl_config.dat */ // Number of connections supported -DNUM_CONNECTIONS=4 // Maximum size of application payload -DMAX_APP_PAYLOAD=20 // size of low level queues for sent and received frames. -DSIZE_INFRAME_Q=2 -DSIZE_OUTFRAME_Q=2 // default Link token -DDEFAULT_LINK_TOKEN=0x01020304 // default Join token -DDEFAULT_JOIN_TOKEN=0x05060708 // this device's address. -DTHIS_DEVICE_ADDRESS="{0x79, 0x56, 0x34, 0x12}" // device type -DEND_DEVICE // for End Devices specify the Rx type. //-DRX_LISTENS //-DRX_POLLS //-DRX_NEVER -DRX_ALWAYS 12 6

Runtime Configuration radio frequency encryption key app access to frame header app access to radio controls AP nwk mgmt control Object IOCTL_OBJ_FREQ IOCTL_OBJ_CRYPTKEY IOCTL_OBJ_RAW_IO IOCTL_OBJ_RADIO IOCTL_OBJ_AP_JOIN Description Get/Set radio frequency Set encryption key Application layer access to the frame header to directly send or receive a frame. Application layer access to some radio controls. Access Point join-allow context Comments Frequency agility. May be used by APP or NWK. Customer may provide external means for user to set a non-default key. Requires reset to take effect. This object is used for example to ping another device where the network address of the target device is supplied directly and not done through the connection table. Limited access to radio directly. For example, sleeping and awakening the radio and getting signal strength information. Interface to control whether Access Point will allow devices to join or not. 13 Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 14 7

Example How to configure Access Point star hub in the network ( 1 / net ) always-on (acts as range extender) store and fwd for sleeping devices linking and token (link and join) mgmt AP can implement end device functionality (link listen, receive) // Initialize the HW/Radio BSP_Init(); // initialize the BSP (API subject to change) SMPL_Init(0); // Handle Linking SMPL_LinkListen(&linkID1); // Receive Messages While (1) { while((smpl_success == SMPL_Receive(linkID1, msg, &len) { // do something }} 15 Example How to configure Range Extender always-on device repeats received frames (with limitations) limited to 4 / net (although flexible in design) // Initialize the HW/Radio BSP_Init(); SMPL_Init(0); // No Linking or application level functionality while(1) ; 16 8

Example How to configure End Device poll for data polling is Port specific no data results in blank (empty) response API e.g. Sequence Init (and Join) Link (assumes listen) Sample Temp Send option to sleep void main() { linkid_t linkid; uint32_t temp; // Initialize the board s HW BSP_Init(); SMPL_Init(0); // link. SMPL_Link(&linkID); while (TRUE) { // sleep until timer. read temp sensor MCU_Sleep(); HW_ReadTempSensor(&temp); if (temp > TOO_HIGH) { SMPL_Send(linkID, Hot!, 4); } if (temp < TOO_LOW) { SMPL_Send(linkID, Cold!, 5); }}} 17 Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 18 9

Packet Format preamble: hw sync sync: hw sync length: bytes non-phy dstaddr srcaddr tractid: transaction nonce or seq num app pyld: 0 <= n <= 52 byte/113 byte (radio dependent) crc: must be valid port: app port number dev info: capabilities 19 Addressing and Communication net address = hw addr (4 byte) + app port statically assigned hw addr no address resolution mechanism byte 1: 0x00, 0xFF reserved for broadcast communication topologies: ED 1 RE ED 2 ED 1 direct peer-2-peer direct p2p through RE ED 2 store and fwd p2p through AP store and fwd p2p through RE and AP 20 10

Additional Details CCS development environment minimal hw abstraction no driver support (UART, SPI, LCD, Timers) no heap utilization no runtime (nwk) context storage single thread (app), no tasks or scheduling nwk api is synchronous (does not return until operation is complete) retries and acks must be managed by app 21 Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 22 11

Hardware Support MSP-EXP430FG4618 Experimenters Board (MSP430FG4618) w/ Socket Interface for CC110x / CC2500 CC2510-CC2511DK and CC1110 CC1111DK ez430rf-2500 MSP430F2274 + CC2500 DSSS (MSP430 +CC2420, CC2430) CC2520 23 Outline Overview What is SimpliciTI? Device types and network topologies SimpliciTI software architecture Example: How to configure SimpliciTI devices Insight on packet format and addressing Supported hardware platforms Demonstration: Temp sensor network 24 12

Example Hardware configuration 25 Development Tools Packet sniffer two end devices are reading their internal temperature sensor 1/sec they report their value to the access point the access point feeds the data to a terminal window on the PC via a virtual COM port all RF traffic can be monitored with the TI SimpliciTI packet sniffer Packet sniffer screenshot 26 13

Current Consumption How to estimate and measure? Guideline to SimpliciTI current consumption as application note: Wireless Sensor Monitor Using the ez430-rf2500. http://www.ti.com/litv/pdf/slaa378a presented in 27 Available examples Where SimpliciTI distribution What SimpliciTI examples: - 2 ED with bi-di - AP as data hub - Cascading ED - Simple polling with AP Notes ez430-rf2500 - Temp.Sens network with PC gui - Distributed with ez430- RF2500. - Comes with app.note www.ti.com/simpliciti 28 14