SlideShare a Scribd company logo
1 of 24
Getting Started with ZigBee using the 
CC2530ZNP Mini Kit 
Version 1.00 
Morten Braathen & Suyash Jain
Agenda 
Introduction to ZigBee 
Understanding the CC2530ZNP 
Lab 1 - Understanding ZNP Interface with 
Application Processor 
Lab 2 – Building a Small Zigbee Network 
Lab 3 – Developing a large Zigbee Network 
Questions
Abstract 
This 3-hour workshop will introduce you to ZigBee and how to 
build a ZigBee Application by understanding the design 
process for a ZigBee Network Processor. You will come away 
from this workshop understanding how to set up a ZigBee 
Mesh Network using ZigBee coordinators, routers, and end 
devices. You will run Packet Sniffers and then observe the 
Personal Area Network (PAN) traffic over the network. Other 
features to be learned are Mesh Routing, Network 
Commissioning, PAN Formation.
ZigBee™ Overview 
Application 
ZigBee™ Stack 
 Network functionality 
IEEE 802.15.4 
 Media Access Layer 
 MAC 
 Physical Layer 
 PHY 
 Standardized point to 
point link 
• Self Healing (Mesh Networks) 
– Routing Protocol 
– Redundancy 
• Targeting Long Battery Life 
• Basic Idea - One Channel, One Network 
• End User (Customer) Responsible for 
Commissioning / Deployment Strategy 
Customer 
Application 
Profile 
ZigBee PRO 
IEEE 802.15.4 
• Large Network Support - 100+ 
• Profiles 
– Public Profile (Interoperability) 
– Manufacture Specific Profile (MSP) 
• Standardized Protocol 
• MSP – Private Profile 
– Only for CC2530ZNP - “Out of the Box” 
CC2530
ZigBee Network Processor - ZNP 
 The ZigBee Network 
Processor (ZNP) is a 
CC2530/1 running the ZigBee 
Pro stack with API to 
communicate to the system's 
main processor through the 
Serial interface (SPI/UART) 
 Partitioned Architecture – Two 
Chip Solution 
 ZIgBee Add-On - Use Existing 
Application Processor 
 CC2530 ZNP is not a 
“Pre-Programmed” device 
ZNP Based System Architecture
ZigBee Application Development - Things to do 
A new application concept with no defined 
ZigBee Profile 
 Define the Profile 
 Define devices in the system 
 Map to Logical Devices 
 Define the Device Descriptions within each 
Profile 
 Define the descriptors, deploy the applications 
over endpoints 
 Define the Clusters and indicate which are 
input and output from each Device Description 
 Define the Security solution 
 Define the Commissioning Process 
 Package the solution 
 Integrate and test the solution 
 Solve Deployment issues 
EP 1 
EP 1 
Profile 
Cluster 
List 
Cluster ID 
Cluster ID 
Cluster 
List 
Cluster ID 
Cluster ID 
ZNP 
ZNP
Application Device Type Model 
•Distinguishes the 
type of device 
from an end-user 
perspective 
•Distinguishes the 
Logical Device 
Types deployed 
in a specific 
network 
• Distinguishes the 
type of hardware 
platform 
Application 
Device Type Sink Source 
Logical 
Device Type 
ZigBee 
Coordinator 
IEEE 802.15.4 
Device Type FFD – 
ZigBee 
Router 
Full Function Device 
ZigBee 
End 
Device 
RFD – 
Reduced Function 
Device 
• ZigBee products are a combination of Application, Logical, and Physical device types 
• The communication between applications is based on either a Public Profile (PP) or a 
Manufacturer Specific Profile (MSP) 
• Custom Cluster 
• Sensor Monitor Network Application – Device roles Sink and Source
ZNP Mini Kit 
Perfect Introduction/Educational Tool to 
ZigBee wireless sensor networks 
Kit includes: 
 3 Sensor boards with MSP430F2274 
application MCU and CC2530 ZigBee 
Network Processor 
 1 eZ430 USB stick for SW debugging 
and USB UART interface 
 2 battery boards for battery powered 
end devices and 4 x 1.5V AAA 
batteries 
 Quick Start Guide 
ZigBee Profile Support 
 Private/Manufacturer Specific 
Profiles 
 Not for ZigBee certfied 
products/Public Profiles 
 Application processor requires more 
RAM and Flash 
CC2530ZNP Mini kit 
MSP430F2274 
32K flash/1K RAM 
Mini-kit Example 
applications 
SPI 
CC2530ZNP 
SPI SPI/UART/USB 
ZigBee Stack/MAC 
IEEE 802.15.4 Radio 
ZNP Mini Kit 
ZNP Mini Kit Block Diagram showing interface between MSP430F2274 and 
CC2530
Examples From TI 
 TI provides extensive 
examples for developers to 
understand basic ZNP 
application development and 
start with custom development 
 Download the examples from 
TI web page for ZNP Mini Kit 
 Wiki Pages for ZNP Mini kit 
provide detailed information 
about ZNP Mini kit and 
application examples 
Screen Shot of Wiki Page for ZNP mini Kit
Three Pin Configurations 
 As explained in the ZNP interface 
specification documentation, ZNP builds 
from Texas instruments use three types of 
pin configuration 
 Main Pin Configuration – SPI Mode 
 Alternate Pin Configuration – UART 
Mode 
 ZNP Mini Kit Pin Configuration – SPI 
Mode 
 CFG0 and CFG1 pin on CC2530 
 CC2590/CC2591 
 To enable the CC2590 build the ZNP 
image 
with compile option 
HAL_LNA_PA_CC2590 
 To enable the CC2591 build the ZNP 
image 
with compile option HAL_LNA_PA
Application Processor ZNP Interface 
 CC2530ZNP has two sets of interfaces 
 Reduced Interface API (Simple Interface) 
 Fewer Commands (and Features) 
 Supports Single End-Point 
 Full – ZigBee API (AF-ZDO Interface) 
 More commands (and Features) 
 Supports Multiple Endpoints 
 Refer to ZNP Interface Specification Documentation 
included with Z-Stack Install for complete details.
ZNP Interface – Frame Format 
Type 
CMD0 
Value 
POLL 0x00 
SREQ 0x20 
AREQ 0x40 
SRSP 0x60 
 ZNP Command Types 
– AREQ – Asynchronous Request 
• Callback Events 
• Function call with return value 
– POLL – Polling for Data 
• Retrieve Queued Data 
– SREQ – Synchronous Request 
• Immediate Response 
– SRSP – Synchronous Response 
• Response to a SREQ command 
Fig: General Frame Format 
Fig: Command Field 
 ZNP Subsystem 
‒ The Subsystem of the 
Command is described by 
bits 0-4 of CMD0
ZigBee® Glossary 
 A Application Profile is an agreement on a series of messages defining an application space 
 Public Application Profile 
 Interoperable application profile developed by the ZigBee Alliance 
 Manufacturer Specific Profile 
 Private application profile developed by a company to operate a ZigBee Device 
 Limits application interoperability to devices that share this profile 
 Profile ID a unique identifier assigned by the ZigBee Alliance 
 A Cluster is a message identifier for exchange of information within an application profile 
 Endpoint a communication entity within a device which permits support for a specific application through the exchange 
of Clusters 
 Binding/s is a way of connecting devices between two endpoints 
 Each binding supporting a specific application profile 
 Each message type is represented by a cluster within the profile 
 Commissioning the task of configuring devices and networks to achieve the needs of a specific installation 
 Application Object is software at an endpoint that controls the ZigBee Device 
 A single ZigBee Device node supports up to 240 application objects 
 Each application objects supports endpoints numbered between 1 and 240 
 Endpoint 0 reserved for the ZigBee Device Object (ZDO) 
 ZigBee Device Object (ZDO) defines the logical role of a device within the network 
 Device type: Coordinator, Router, End device 
 Initiates and/or responds to binding and discovery 
 CC2530ZNP is running the ZDO endpoint 
 PAN ID – a unique Personal Area Network Identifier; Controlled by User and Application development 
 Device Description is a description of a specific device within a profile 
 Device Discovery can find the identity of devices on active channels within the PAN 
 In a Mesh network the routing of messages is performed as a decentralized, cooperative process involving many peer 
devices routing on each others’ behalf 
 Service Discovery is the ability to determine supported services on given devices within the PAN (e.q. USB 
Enumeration)
Z-Tool 
 A PC application for sending and receiving commands to/from 
programs on the target board using the RS-232 port (transceiver 
required) 
 Requires MT_TASK Compiler option 
RS-232 
FET 
USB Emulator 
Emulator 
Port 
CC2520 
CC2520EM 
MSP430 
CCMSP 
SmartRF05EB 
RS-232 
XCVR 
UART
Sending Commands from Z-Tool
Receiving Messages in Z-Tool 
 Z-Tool automatically formats 
and displays incoming and 
outgoing messages 
 Z-stack is instrumented to 
automatically provide system 
status at startup (when enabled)
JOINING A ZIGBEE NETWORK 
Active Scan to search for existing 
Networks 
Beacon Response from 
Coordinator or Router in the 
Vicinity 
Association Request to Join the 
network 
Data Request Polling for 
Association Response 
Association Response from the 
Coordinator or Router 
Device Announces its address 
on the network to check if any 
other device has similar 
address. 
If yes the parent of joining 
node assigns new address and 
process is repeated until a 
unique address is assigned 
to the device
BINDING – SENSOR MONITOR NETWORK SAMPLE APP 
View network operation 
and over the air messages 
(after network join 
operation) illustrating 
binding and then Source 
devices periodically 
reporting the data and 
receiving 
acknowledgement from 
the Sink device
State Machine Diagram without NV Restore 
Power-up 
Initialization 
Receive ZNP Reset 
Indication 
Clear Network State 
Awaiting Button Press 
for Configuration 
Successful join 
ZNP Source 
Reports Data 
Periodically to Sink 
Allows Join 
Button Press 
ZNP Source 
Reports Data 
Periodically to Sink 
Does not 
Allows Join 
Button Press 
Configurable Timer Expires 
before Successful Join 
ZNP Sink 
Reports received 
Data to the PC 
Application 
Allows Join 
Button Press 
ZNP Sink 
Reports received 
Data to the PC 
Application 
Does not - 
Allow Join 
Button Press 
ZNP Source 
Reports Data 
Periodically to Sink 
Low Power 
Otherwise 
One Button Press 
in two seconds 
Two or More Button Presses 
in two seconds
State Machine Diagram WITH NV Restore 
Power-up 
Initialization 
Receive ZNP Reset 
Indication 
Yes 
ZNP Source 
Reports Data 
Periodically to Sink 
Allows Join 
Button Press 
ZNP Source 
Reports Data 
Periodically to Sink 
Does not 
Allows Join 
Button Press 
If Device Type = Coordinator 
ZNP Sink 
Reports received 
Data to the PC 
Application 
Allows Join 
Button Press 
ZNP Sink 
Reports received 
Data to the PC 
Application 
Does not - 
Allow Join 
Button Press 
ZNP Source 
Reports Data 
Periodically to Sink 
Low Power 
Otherwise 
Refer to State Machine 
in figure 2 for operation 
If Device Type = Router 
If Device Type = End Device 
Read NV Memory for stored PAN_ID 
PAN_ID = 
0xFFFF 
No 
Read NV Memory for stored Device Type
Sensor Monitor GUI
Descriptor 
 Assign a Device ID & Version 
 Specify Profile ID 
 Specify Endpoint ID 
 Initialized in AppReset() 
 Must be registered with CC2530ZNP 
• Simple (Device) 
• Endpoint Descriptor provide information about the 
application like: 
– Simple Descriptor (Number of defined Clusters) 
– Endpoint ID 
• zb_AppRegisterRequest(srceEP) 
– Allows CC2530ZNP to know the cluster information for ONLY one 
endpoint 
– Simplifies handling of messages to the node by differentiating by 
endpoint
Lab Overview 
 Lab1 
 A: Get MAC address example 
 B: RF Tester example 
 Lab2: Sensor Monitor Network sample application 
 Lab3: Sensor Monitor Network sample application 
– NV Restore 
 Lab4: Form a large Zigbee network
ZigBee CC2530

More Related Content

What's hot

Wireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeWireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeXaver Y.R. Chen
 
Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5Silicon Labs
 
EC8004 wireless networks unit 1 IEEE802.11
EC8004 wireless networks unit 1 IEEE802.11EC8004 wireless networks unit 1 IEEE802.11
EC8004 wireless networks unit 1 IEEE802.11HemalathaR31
 
Zigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsZigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsArkaprava Sadhu
 
Voice communication using zigbee
Voice communication using zigbeeVoice communication using zigbee
Voice communication using zigbeeWaqar Memon
 
Lorawan: What you need to know
Lorawan: What you need to knowLorawan: What you need to know
Lorawan: What you need to knowPaul Coomans
 
Brief LoRaWAN Overview
Brief LoRaWAN OverviewBrief LoRaWAN Overview
Brief LoRaWAN OverviewAlper Yegin
 
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...Silicon Labs
 
Extending Bluetooth with Mesh Networking
Extending Bluetooth with Mesh NetworkingExtending Bluetooth with Mesh Networking
Extending Bluetooth with Mesh NetworkingSilicon Labs
 
Wireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesWireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesMichael Boman
 
A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...ranjitha mudhiraj
 

What's hot (20)

Wireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBeeWireless Communication And Mobile Network - ZigBee
Wireless Communication And Mobile Network - ZigBee
 
Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5Getting the Most Out of Bluetooth 5
Getting the Most Out of Bluetooth 5
 
8051 zigbee interface
8051 zigbee interface8051 zigbee interface
8051 zigbee interface
 
Wi-Fi Module
Wi-Fi ModuleWi-Fi Module
Wi-Fi Module
 
Zigbee
ZigbeeZigbee
Zigbee
 
Zigbee technology2
Zigbee technology2Zigbee technology2
Zigbee technology2
 
Zig bee (8)
Zig bee (8)Zig bee (8)
Zig bee (8)
 
Zigbee intro
Zigbee introZigbee intro
Zigbee intro
 
Final presentation
Final presentationFinal presentation
Final presentation
 
EC8004 wireless networks unit 1 IEEE802.11
EC8004 wireless networks unit 1 IEEE802.11EC8004 wireless networks unit 1 IEEE802.11
EC8004 wireless networks unit 1 IEEE802.11
 
Zigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsZigbee- The Future of Data Communications
Zigbee- The Future of Data Communications
 
Voice communication using zigbee
Voice communication using zigbeeVoice communication using zigbee
Voice communication using zigbee
 
Lorawan: What you need to know
Lorawan: What you need to knowLorawan: What you need to know
Lorawan: What you need to know
 
Brief LoRaWAN Overview
Brief LoRaWAN OverviewBrief LoRaWAN Overview
Brief LoRaWAN Overview
 
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...
5 Clock Tree Design Techniques to Optimize SerDes Performance for Networking ...
 
Extending Bluetooth with Mesh Networking
Extending Bluetooth with Mesh NetworkingExtending Bluetooth with Mesh Networking
Extending Bluetooth with Mesh Networking
 
LoRa Alliance
LoRa AllianceLoRa Alliance
LoRa Alliance
 
Summer training on CCNA
Summer training on CCNASummer training on CCNA
Summer training on CCNA
 
Wireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesWireless LAN Deployment Best Practices
Wireless LAN Deployment Best Practices
 
A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...
 

Viewers also liked

Final ieee 2012 embedded list
Final ieee 2012 embedded listFinal ieee 2012 embedded list
Final ieee 2012 embedded listtema_solution
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01mrmr2010i
 
Thesis Final PresentationV2
Thesis Final PresentationV2Thesis Final PresentationV2
Thesis Final PresentationV2Onur Kayikci
 
The A2530x24xx AIR Module for ZigBee Standard Applications
The A2530x24xx AIR Module for ZigBee Standard ApplicationsThe A2530x24xx AIR Module for ZigBee Standard Applications
The A2530x24xx AIR Module for ZigBee Standard ApplicationsAnaren, Inc.
 
6lowpan
6lowpan 6lowpan
6lowpan Wi6Labs
 
Texas Instruments Smart Meter Board
Texas Instruments Smart Meter BoardTexas Instruments Smart Meter Board
Texas Instruments Smart Meter BoardZin Kyaw
 
Zig bee程式與韌體開發設計
Zig bee程式與韌體開發設計Zig bee程式與韌體開發設計
Zig bee程式與韌體開發設計casiolike0531
 
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack FirmwareSimen Li
 
Introduction to zigbee
Introduction to zigbeeIntroduction to zigbee
Introduction to zigbeeAmit Dixit
 
Overview zigbee-2012-03-26
Overview zigbee-2012-03-26Overview zigbee-2012-03-26
Overview zigbee-2012-03-26Philip Wu
 
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack FirmwareSimen Li
 
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...Zvi Avraham
 
21 Błędów w 21 Miesięcy - w drodze do rentowności
21 Błędów w 21 Miesięcy - w drodze do rentowności21 Błędów w 21 Miesięcy - w drodze do rentowności
21 Błędów w 21 Miesięcy - w drodze do rentownościFilip Duszczak
 

Viewers also liked (20)

Zigbee andre
Zigbee andreZigbee andre
Zigbee andre
 
Final ieee 2012 embedded list
Final ieee 2012 embedded listFinal ieee 2012 embedded list
Final ieee 2012 embedded list
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01
 
zigbee
 zigbee  zigbee
zigbee
 
Thesis Final PresentationV2
Thesis Final PresentationV2Thesis Final PresentationV2
Thesis Final PresentationV2
 
The A2530x24xx AIR Module for ZigBee Standard Applications
The A2530x24xx AIR Module for ZigBee Standard ApplicationsThe A2530x24xx AIR Module for ZigBee Standard Applications
The A2530x24xx AIR Module for ZigBee Standard Applications
 
6lowpan
6lowpan 6lowpan
6lowpan
 
Presentation 6lowpan
Presentation 6lowpanPresentation 6lowpan
Presentation 6lowpan
 
Texas Instruments Smart Meter Board
Texas Instruments Smart Meter BoardTexas Instruments Smart Meter Board
Texas Instruments Smart Meter Board
 
Zig bee程式與韌體開發設計
Zig bee程式與韌體開發設計Zig bee程式與韌體開發設計
Zig bee程式與韌體開發設計
 
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
 
Zigbee1
Zigbee1Zigbee1
Zigbee1
 
Introduction to zigbee
Introduction to zigbeeIntroduction to zigbee
Introduction to zigbee
 
Overview zigbee-2012-03-26
Overview zigbee-2012-03-26Overview zigbee-2012-03-26
Overview zigbee-2012-03-26
 
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
 
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
[http://1PU.SH] Building Wireless Sensor Networks with MQTT-SN, RaspberryPi a...
 
Zig Bee
Zig BeeZig Bee
Zig Bee
 
21 Błędów w 21 Miesięcy - w drodze do rentowności
21 Błędów w 21 Miesięcy - w drodze do rentowności21 Błędów w 21 Miesięcy - w drodze do rentowności
21 Błędów w 21 Miesięcy - w drodze do rentowności
 
zigbee full ppt
zigbee full pptzigbee full ppt
zigbee full ppt
 
Zigbee Presentation
Zigbee PresentationZigbee Presentation
Zigbee Presentation
 

Similar to ZigBee CC2530

X-Device Service Discovery
X-Device Service DiscoveryX-Device Service Discovery
X-Device Service DiscoveryTekObserver
 
Innovation in SDN Tools and Platforms
Innovation in SDN Tools and PlatformsInnovation in SDN Tools and Platforms
Innovation in SDN Tools and PlatformsUmesh Krishnaswamy
 
Oracle Database Appliance RAC in a box Some Strings Attached
Oracle Database Appliance RAC in a box Some Strings AttachedOracle Database Appliance RAC in a box Some Strings Attached
Oracle Database Appliance RAC in a box Some Strings AttachedFuad Arshad
 
Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area NetworksDilum Bandara
 
IAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDIAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDPeterNiblett
 
Eyeball AnyConnect™ Gateway Administration Guide
Eyeball AnyConnect™ Gateway Administration GuideEyeball AnyConnect™ Gateway Administration Guide
Eyeball AnyConnect™ Gateway Administration GuideEyeball Networks
 
Tutorial1: mbed開發快速上手
Tutorial1: mbed開發快速上手Tutorial1: mbed開發快速上手
Tutorial1: mbed開發快速上手艾鍗科技
 
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdfSamsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdfRaviSharma1113
 
Monitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerMonitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerManageEngine
 
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...PROFIBUS and PROFINET InternationaI - PI UK
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS
 
Eclipse kura in industry 4.0 david woodard
Eclipse kura in industry 4.0   david woodardEclipse kura in industry 4.0   david woodard
Eclipse kura in industry 4.0 david woodardEurotech
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...mfrancis
 

Similar to ZigBee CC2530 (20)

Zigbee Basics
Zigbee BasicsZigbee Basics
Zigbee Basics
 
X-Device Service Discovery
X-Device Service DiscoveryX-Device Service Discovery
X-Device Service Discovery
 
Innovation in SDN Tools and Platforms
Innovation in SDN Tools and PlatformsInnovation in SDN Tools and Platforms
Innovation in SDN Tools and Platforms
 
Oracle Database Appliance RAC in a box Some Strings Attached
Oracle Database Appliance RAC in a box Some Strings AttachedOracle Database Appliance RAC in a box Some Strings Attached
Oracle Database Appliance RAC in a box Some Strings Attached
 
Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area Networks
 
IAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDIAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-RED
 
Explore Android Internals
Explore Android InternalsExplore Android Internals
Explore Android Internals
 
ENSA_Module_10.pptx
ENSA_Module_10.pptxENSA_Module_10.pptx
ENSA_Module_10.pptx
 
Eyeball AnyConnect™ Gateway Administration Guide
Eyeball AnyConnect™ Gateway Administration GuideEyeball AnyConnect™ Gateway Administration Guide
Eyeball AnyConnect™ Gateway Administration Guide
 
Wireless notice board using zigbee
Wireless notice board using zigbeeWireless notice board using zigbee
Wireless notice board using zigbee
 
Tutorial1: mbed開發快速上手
Tutorial1: mbed開發快速上手Tutorial1: mbed開發快速上手
Tutorial1: mbed開發快速上手
 
Zigbee
ZigbeeZigbee
Zigbee
 
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdfSamsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
Samsung_EnodeLSMR__Integration_Module__V1.pdf (1).pdf
 
CSE-Zigbee-ppt.pptx
CSE-Zigbee-ppt.pptxCSE-Zigbee-ppt.pptx
CSE-Zigbee-ppt.pptx
 
Monitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerMonitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManager
 
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...IO-Link for the "last metres" communication - Derek Lane – Process Automation...
IO-Link for the "last metres" communication - Derek Lane – Process Automation...
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
 
IO-Link for the last metres communication - Derek Lane
IO-Link for the last metres communication - Derek LaneIO-Link for the last metres communication - Derek Lane
IO-Link for the last metres communication - Derek Lane
 
Eclipse kura in industry 4.0 david woodard
Eclipse kura in industry 4.0   david woodardEclipse kura in industry 4.0   david woodard
Eclipse kura in industry 4.0 david woodard
 
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
 

Recently uploaded

247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 

Recently uploaded (20)

247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

ZigBee CC2530

  • 1. Getting Started with ZigBee using the CC2530ZNP Mini Kit Version 1.00 Morten Braathen & Suyash Jain
  • 2. Agenda Introduction to ZigBee Understanding the CC2530ZNP Lab 1 - Understanding ZNP Interface with Application Processor Lab 2 – Building a Small Zigbee Network Lab 3 – Developing a large Zigbee Network Questions
  • 3. Abstract This 3-hour workshop will introduce you to ZigBee and how to build a ZigBee Application by understanding the design process for a ZigBee Network Processor. You will come away from this workshop understanding how to set up a ZigBee Mesh Network using ZigBee coordinators, routers, and end devices. You will run Packet Sniffers and then observe the Personal Area Network (PAN) traffic over the network. Other features to be learned are Mesh Routing, Network Commissioning, PAN Formation.
  • 4. ZigBee™ Overview Application ZigBee™ Stack  Network functionality IEEE 802.15.4  Media Access Layer  MAC  Physical Layer  PHY  Standardized point to point link • Self Healing (Mesh Networks) – Routing Protocol – Redundancy • Targeting Long Battery Life • Basic Idea - One Channel, One Network • End User (Customer) Responsible for Commissioning / Deployment Strategy Customer Application Profile ZigBee PRO IEEE 802.15.4 • Large Network Support - 100+ • Profiles – Public Profile (Interoperability) – Manufacture Specific Profile (MSP) • Standardized Protocol • MSP – Private Profile – Only for CC2530ZNP - “Out of the Box” CC2530
  • 5. ZigBee Network Processor - ZNP  The ZigBee Network Processor (ZNP) is a CC2530/1 running the ZigBee Pro stack with API to communicate to the system's main processor through the Serial interface (SPI/UART)  Partitioned Architecture – Two Chip Solution  ZIgBee Add-On - Use Existing Application Processor  CC2530 ZNP is not a “Pre-Programmed” device ZNP Based System Architecture
  • 6. ZigBee Application Development - Things to do A new application concept with no defined ZigBee Profile  Define the Profile  Define devices in the system  Map to Logical Devices  Define the Device Descriptions within each Profile  Define the descriptors, deploy the applications over endpoints  Define the Clusters and indicate which are input and output from each Device Description  Define the Security solution  Define the Commissioning Process  Package the solution  Integrate and test the solution  Solve Deployment issues EP 1 EP 1 Profile Cluster List Cluster ID Cluster ID Cluster List Cluster ID Cluster ID ZNP ZNP
  • 7. Application Device Type Model •Distinguishes the type of device from an end-user perspective •Distinguishes the Logical Device Types deployed in a specific network • Distinguishes the type of hardware platform Application Device Type Sink Source Logical Device Type ZigBee Coordinator IEEE 802.15.4 Device Type FFD – ZigBee Router Full Function Device ZigBee End Device RFD – Reduced Function Device • ZigBee products are a combination of Application, Logical, and Physical device types • The communication between applications is based on either a Public Profile (PP) or a Manufacturer Specific Profile (MSP) • Custom Cluster • Sensor Monitor Network Application – Device roles Sink and Source
  • 8. ZNP Mini Kit Perfect Introduction/Educational Tool to ZigBee wireless sensor networks Kit includes:  3 Sensor boards with MSP430F2274 application MCU and CC2530 ZigBee Network Processor  1 eZ430 USB stick for SW debugging and USB UART interface  2 battery boards for battery powered end devices and 4 x 1.5V AAA batteries  Quick Start Guide ZigBee Profile Support  Private/Manufacturer Specific Profiles  Not for ZigBee certfied products/Public Profiles  Application processor requires more RAM and Flash CC2530ZNP Mini kit MSP430F2274 32K flash/1K RAM Mini-kit Example applications SPI CC2530ZNP SPI SPI/UART/USB ZigBee Stack/MAC IEEE 802.15.4 Radio ZNP Mini Kit ZNP Mini Kit Block Diagram showing interface between MSP430F2274 and CC2530
  • 9. Examples From TI  TI provides extensive examples for developers to understand basic ZNP application development and start with custom development  Download the examples from TI web page for ZNP Mini Kit  Wiki Pages for ZNP Mini kit provide detailed information about ZNP Mini kit and application examples Screen Shot of Wiki Page for ZNP mini Kit
  • 10. Three Pin Configurations  As explained in the ZNP interface specification documentation, ZNP builds from Texas instruments use three types of pin configuration  Main Pin Configuration – SPI Mode  Alternate Pin Configuration – UART Mode  ZNP Mini Kit Pin Configuration – SPI Mode  CFG0 and CFG1 pin on CC2530  CC2590/CC2591  To enable the CC2590 build the ZNP image with compile option HAL_LNA_PA_CC2590  To enable the CC2591 build the ZNP image with compile option HAL_LNA_PA
  • 11. Application Processor ZNP Interface  CC2530ZNP has two sets of interfaces  Reduced Interface API (Simple Interface)  Fewer Commands (and Features)  Supports Single End-Point  Full – ZigBee API (AF-ZDO Interface)  More commands (and Features)  Supports Multiple Endpoints  Refer to ZNP Interface Specification Documentation included with Z-Stack Install for complete details.
  • 12. ZNP Interface – Frame Format Type CMD0 Value POLL 0x00 SREQ 0x20 AREQ 0x40 SRSP 0x60  ZNP Command Types – AREQ – Asynchronous Request • Callback Events • Function call with return value – POLL – Polling for Data • Retrieve Queued Data – SREQ – Synchronous Request • Immediate Response – SRSP – Synchronous Response • Response to a SREQ command Fig: General Frame Format Fig: Command Field  ZNP Subsystem ‒ The Subsystem of the Command is described by bits 0-4 of CMD0
  • 13. ZigBee® Glossary  A Application Profile is an agreement on a series of messages defining an application space  Public Application Profile  Interoperable application profile developed by the ZigBee Alliance  Manufacturer Specific Profile  Private application profile developed by a company to operate a ZigBee Device  Limits application interoperability to devices that share this profile  Profile ID a unique identifier assigned by the ZigBee Alliance  A Cluster is a message identifier for exchange of information within an application profile  Endpoint a communication entity within a device which permits support for a specific application through the exchange of Clusters  Binding/s is a way of connecting devices between two endpoints  Each binding supporting a specific application profile  Each message type is represented by a cluster within the profile  Commissioning the task of configuring devices and networks to achieve the needs of a specific installation  Application Object is software at an endpoint that controls the ZigBee Device  A single ZigBee Device node supports up to 240 application objects  Each application objects supports endpoints numbered between 1 and 240  Endpoint 0 reserved for the ZigBee Device Object (ZDO)  ZigBee Device Object (ZDO) defines the logical role of a device within the network  Device type: Coordinator, Router, End device  Initiates and/or responds to binding and discovery  CC2530ZNP is running the ZDO endpoint  PAN ID – a unique Personal Area Network Identifier; Controlled by User and Application development  Device Description is a description of a specific device within a profile  Device Discovery can find the identity of devices on active channels within the PAN  In a Mesh network the routing of messages is performed as a decentralized, cooperative process involving many peer devices routing on each others’ behalf  Service Discovery is the ability to determine supported services on given devices within the PAN (e.q. USB Enumeration)
  • 14. Z-Tool  A PC application for sending and receiving commands to/from programs on the target board using the RS-232 port (transceiver required)  Requires MT_TASK Compiler option RS-232 FET USB Emulator Emulator Port CC2520 CC2520EM MSP430 CCMSP SmartRF05EB RS-232 XCVR UART
  • 16. Receiving Messages in Z-Tool  Z-Tool automatically formats and displays incoming and outgoing messages  Z-stack is instrumented to automatically provide system status at startup (when enabled)
  • 17. JOINING A ZIGBEE NETWORK Active Scan to search for existing Networks Beacon Response from Coordinator or Router in the Vicinity Association Request to Join the network Data Request Polling for Association Response Association Response from the Coordinator or Router Device Announces its address on the network to check if any other device has similar address. If yes the parent of joining node assigns new address and process is repeated until a unique address is assigned to the device
  • 18. BINDING – SENSOR MONITOR NETWORK SAMPLE APP View network operation and over the air messages (after network join operation) illustrating binding and then Source devices periodically reporting the data and receiving acknowledgement from the Sink device
  • 19. State Machine Diagram without NV Restore Power-up Initialization Receive ZNP Reset Indication Clear Network State Awaiting Button Press for Configuration Successful join ZNP Source Reports Data Periodically to Sink Allows Join Button Press ZNP Source Reports Data Periodically to Sink Does not Allows Join Button Press Configurable Timer Expires before Successful Join ZNP Sink Reports received Data to the PC Application Allows Join Button Press ZNP Sink Reports received Data to the PC Application Does not - Allow Join Button Press ZNP Source Reports Data Periodically to Sink Low Power Otherwise One Button Press in two seconds Two or More Button Presses in two seconds
  • 20. State Machine Diagram WITH NV Restore Power-up Initialization Receive ZNP Reset Indication Yes ZNP Source Reports Data Periodically to Sink Allows Join Button Press ZNP Source Reports Data Periodically to Sink Does not Allows Join Button Press If Device Type = Coordinator ZNP Sink Reports received Data to the PC Application Allows Join Button Press ZNP Sink Reports received Data to the PC Application Does not - Allow Join Button Press ZNP Source Reports Data Periodically to Sink Low Power Otherwise Refer to State Machine in figure 2 for operation If Device Type = Router If Device Type = End Device Read NV Memory for stored PAN_ID PAN_ID = 0xFFFF No Read NV Memory for stored Device Type
  • 22. Descriptor  Assign a Device ID & Version  Specify Profile ID  Specify Endpoint ID  Initialized in AppReset()  Must be registered with CC2530ZNP • Simple (Device) • Endpoint Descriptor provide information about the application like: – Simple Descriptor (Number of defined Clusters) – Endpoint ID • zb_AppRegisterRequest(srceEP) – Allows CC2530ZNP to know the cluster information for ONLY one endpoint – Simplifies handling of messages to the node by differentiating by endpoint
  • 23. Lab Overview  Lab1  A: Get MAC address example  B: RF Tester example  Lab2: Sensor Monitor Network sample application  Lab3: Sensor Monitor Network sample application – NV Restore  Lab4: Form a large Zigbee network