IQRF DPA Quick Start Guide

Similar documents
IQRF DPA Quick Start Guide

CK-USB-04. User's Manual. IQRF Development Kit. Firmware v MICRORISC s.r.o. MNCKUSB04_ Page 1

KON-RASP-01. User s guide. IQRF Shield for Raspberry Pi MICRORISC s.r.o. User_guide_KON-RASP-01_ Page 1

DK-PGM-01. User's Guide. IQRF Universal Development kit MICRORISC s.r.o. MNDKPGM01_ Page 1

GW-USB-05. User's Guide. FW v1.07. IQRF USB Gateway MICRORISC s.r.o. User_Guide_GW-USB-05_ Page 1

GW-USB-06. User s Guide. IQRF USB Gateway. FW v MICRORISC s.r.o. User_Guide_GW-USB-06_ Page 1

IQRF. Basic informations. Piotr Antończyk IQRF Tech s.r.o.

GW-GSM-02. User's Guide. IQRF GSM Gateway. Preliminary. Firmware v MICRORISC s.r.o. UG_GW-GSM-02_ Page 1

GW-ETH-0x Datalogger

IQRF DPA Framework. Technical guide. Version v2.01. For IQRF OS v3.05d

Technical guide IQRF Technical Guide

IQRF - Mesh Networking

GW-ETH-02. User's Guide. IQRF Ethernet Gateway. Firmware v MICRORISC s.r.o. UG_GW-ETH-02_ Page 1

IQRF SPI. Technical guide. For TR-7xD For IQRF OS v4.02 or higher IQRF Tech s.r.o. Tech_Guide_SPI_TR-7xD_ Page 1

WIRELESS COMMUNICATION PLATFORM IQRF A CASE STUDY

IQRF DPA Framework. Technical guide. Version v1.00. For IQRF OS v3.04d

Wireless M-Bus. Implementation in TR-7xD-WMB and GW-USB-06-WMB. Firmware v2.21. User's Guide

IQRF Alliance. Simon Chudoba CEO, IQRF Alliance. Šimon Chudoba, IQRF Alliance, CEO

A MESH FAIRY TALE. The Eighths International Conference on Networking. and Services ICNS 2012


IQRF Mature technology and fast growing Alliance for IoT

AN4321 Application note

AN4782 Application note

Radiocrafts Embedded Wireless Solutions

Raspberry Pi shield board

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Z8 Encore! XP Family of Microcontrollers Development Kits

CMT2110A/2210A One-Way RF Link Development Kits User s Guide

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

Deploying Devices. Cisco Prime Infrastructure 3.1. Job Aid

Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

Processor Expert Software for i.mx Processors Version 1.0

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

PremierWave 2050 Enterprise Wi-Fi IoT Module Evaluation Kit User Guide

ICP05 IBOARD LITE ICP05. - iboard lite

Managing Device Software Images

Opendiem Training Addendum IIS

RC232 Deployment Tool (DT) User Manual

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

DG0849 Demo Guide PolarFire Dual Camera Video Kit

Description. January 2019 DB2381 Rev 3 1/5

Getting Started with MCUXpresso SDK CMSIS Packs

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

Datapath North America 2550 Blvd of the Generals Suite 30 Norristown, PA U.S.A Tel:

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

Emulating Dual SPI Using FlexIO

QUICK START GUIDE. Multi Display Controller

LPC2148 DEV BOARD. User Manual.

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

AN4869 Application note

UM2255 User manual. SPC58NG-DISP user manual. Introduction

Description. July 2016 DocID Rev 2 1/6

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

StarWind iscsi SAN Software: Using StarWind to provide Cluster Shared Disk resources for Hyper-V Failover Clusters

EZ430-C9. Getting Started with Kionix EZ430-C9 Evaluation Board for the Texas Instruments MSP430 USB Stick Development Tool

RDX QuikStation System Components

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

SQL Server on NetApp HCI

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

nrf Connect Bluetooth low energy

The BlueNRG-1, BlueNRG-2 BLE OTA (over-the-air) firmware upgrade

PIC32 SK I/O Breakout Board. User Manual

USER GUIDE. Atmel QT1 Xplained Pro. Preface

LC1628-L High-Speed USB Flash Disk Controller Preliminary Data Sheet

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

CMSIS DAP Setup. Document Version History Document Version ngxtechnologies.com 2

TWR-LS1021A Getting Started

PCA9633 demonstration board OM6282

No: SW1.12_4.0.2 V F

LP5526 Evaluation Kit

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

Tektronix DPO Demo 1 Board Instruction Manual

Provisioning an Ethernet Private Line (EPL) Virtual Connection

ESP-WROVER-KIT Getting Started Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Manual Download. Please visit SUNIX website by searching keyword isafe or KEY-256UN1 for detail.

ZMOTION Detection Module Development Kit

USER GUIDE. Workshop 4 User Guide. Document Date: 17 th December 2012 Document Revision: 1.1

AN3980 Application note

Bluetooth Laptop Mouse Installation Guide

BPC-HPLIR oncue IR Learner & Programmer. Supplemental Guide Crestron Electronics, Inc.

Getting Started with the MCU Flashloader

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

CBC-EVAL-06. EnerChip CC Real-Time Clock Evaluation Kit. Product Discontinued - Not for New Designs

Primex Device Configuration Software Advanced User Guide

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability with VMWare vsphere and ESX server

BASIC INSTRUCTIONS (installation from USB DISC)

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

Validating Service Provisioning

Extended Search Administration

ConferenceCam Connect. QuickStart Guide

Strike the keyboard for you when it sniffing the tag!

AN888: EZR32 Quick Start Guide

StarWind iscsi SAN Software: Using StarWind Tape Redirector and CA ARCserve Backup

Transcription:

Quick Start Guide For IQRF OS v3.04d and higher For IQRF IDE v4.14 and higher 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 1

This document is intended as a step-by-step guide to get familiar with Demo HWP. However, the approach is the same for all hardware profiles. Demo HWP vs. full HWP versions Limitations Demo HWP is limited to max. 5 Nodes (addresses 1 to 5). Demo HWP does not support Custom DPA handler (the optional extension by a user-specific routine). Extensions Demo HWP supports the LED peripheral (using LEDs especially for demonstration) Demo HWP supports the PWM peripheral (simple pulse-width modulated digital output) LED indication of system packets (e.g. during Discovery) is default enabled. DS-DPA-01 development set To learn DPA usage, development set DS-DPA-01 can be used. TR-52DAT IQRF smart transceiver 6 pcs CK-USB-04 IQRF programmer and debugger 2 pcs DK-EVAL-04 Universal portable development kit for TR modules 4 pcs CAB-USBABMICRO Micro USB cable 18.5 cm 2 pcs USB flash drive Software and documentation 1 pc 1. Preparation All SW, plug-ins, etc. are available on the flash disk and on www.iqrf.org. Prepare 5 pieces of TR-52DAT with OS 3.04D or higher as Nodes and one TR-52DAT module with OS 3.04D or higher as the Coordinator. Prepare 4 (5) pieces of DK-EVAL-04 and 1 (2) piece(s) of CK-USB-04. Unpack the Demo HWP package into your computer. Install IQRF IDE 4.14 or higher. Launch IQRF IDE and open project HWP-demo.iqrfprj. All necessary files and macros are included in the project. 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 2

2. HWP upload Creating Nodes A. Plug a TR module in CK-USB-04, select the HWP-Node-Demo.iqrf file in Project window and click the Upload Plugins button on the Toolbar (or use the F5 key). B. Double-click on the configuration file Node.xml in IDE Project window to open the TR Configurations window. Make the following settings: Select desired RF channel (RF Channel A) in the OS tab. Select desired RX Filter in the HWP tab. For short range testing (within the room) you can leave the default value (35). For operating in real conditions select 5. This settings must be the same in the entire network! Do not change other parameters for now. Save the configuration into the TR module by button Upload. C. Plug this TR module in the DK-EVAL-04 kit Repeat steps A to C for all Nodes. Creating the Coordinator Use the same procedure but with the HWP-Coordinator-Demo.iqrf and Coordinator.xml files. Then leave the TR module plugged in CK-USB-04. 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 3

3. Bonding IQRF DPA To use DPA, all Nodes in the network must be bonded to the Coordinator.To get all nodes bonded, follow next procedure: A. All Nodes must be unbonded and located in direct RF range to the Coordinator before bonding (local bonding). In case the Node is already bonded the red LED once shortly flashes. Go to step Unbonding below in this case. If the node is not bonded the red LED is flashing for 10 s and then the module falls into sleep. B. The Coordinator may possibly have stored some bonded Nodes from previous TR module usage. Thus, such bonding information should be cleared from the Coordinator memory first. Click the Clear All Bonds (in IQMESH Network Manager window, tab Control IQMESH). Number of bonded Nodes should be 0, see the screenshot below. C. Activate the Auto Address checkbox. Thus, addresses will be assigned automatically in ascending order starting from 1. Click the Bond Node button. The Coordinator stays cca 10 s in bond mode. During this period press the SW1 pushbutton (the one close to USB connector) on the DK-EVAL-04 kit containing the Node you are just going to bond. It is convenient to mark the assigned address on the TR module (e.g. by a label). D. Repeat step C for all Nodes.It should result in 5 bonded Nodes according to the screenshot below. 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 4

4. Discovery IQRF DPA Discovery is a process that sets up network topology to deliver data or commands to nodes out of the Coordinator direct range. Thanks to HWP just couple of clicks and all is done. Discovered topology can directly be reviewed in window IQMESH Network Manager, the Map View tab. Follow next steps to run Discovery and create different types of topologies. A. Place all Nodes close to the Coordinator and click the Discovery button (in window IQMESH Network Manager, the Map View tab). If all Nodes are in direct range to the Coordinator the Discovery should take a few seconds only. Switch to the Map View tab after finishing Discovery. The topology like in the screenshot below should appear. B. Place Nodes in longer distance between each other (with respect to current RX Filter selected in TR Configuration). For test purpose it is recommended to reduce the range using a shielding, e.g. by inserting the kits with TR modules into plastic bags with anti-static proofing. D. Click the Discovery button. If not all Nodes are in direct range now, the Discovery process will take a bit longer. The result can look like on the screenshot below: Note Displayed topology is only a tree visualization of parent Nodes (illustrating just the path which has been used to discover individual Nodes). This does not mean that packets can be delivered through displayed links only. Packets are delivered based on Directed flooding routing algorithm described in IQRF OS User 's guide. 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 5

5. Examples A quick test of the network functionality can be performed by the pop-up menu (example A below). For detailed testing of DPA commands the Terminal DPA Test tool provides two ways how to set up a specific DPA command: using macros (example B) or manual arrangement of DPA packet (example C). A. Pop-up menu For the simpliest checking, a command to switch the red LED On/Off on selected Node can be immediately sent by clicking the left mouse button on the symbol of given Node in the map. The command currently selected in the DPA Test Data to Send window can be executed by the right mouse button click on the symbol of given Node in the map and by selecting the Send Packet from DPA Test item. NAdr is set automatically according to selected Node. B. Macros Click on the particular macro and PNum, PCmd and Data are automatically filled in. Then select Node Address in NAdr box (for Broadcast use address 0xFF) and click the Send button. Go to LED macros and click on macro Set LEDR on. To switch all LEDs on, fill in 0xFF in NAdr and Click Send button. Use various macros and Node addresses to test the functionality. C. DPA packet arranged manually To get better understanding of DPA packet structure, you can also fill in the DPA packet manually. By clicking the right mouse button to the area for selecting NAdr, PNum or PCmd, menu Predefined Addresses, Predefined Peripherals or Predefined Commands is displayed. These lists allow to select items defined by the DPA specification and directly arrange the packet. From menu Predefined Addresses select Broadcast or directly specify the address of given Node. From menu Predefined Peripherals select the LEDR peripheral. From menu Predefined Commands select the Set on command. Click the Send button. Test other peripherals and commands in the same way. 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 6

6. Unbonding Unbonding a Node on the Coordinator side Select the desired address of the Node in the Address field (IQMESH Network Manager the Control IQMESH tab) If the network is not created yet or given Node is not reachable, activate the Only in Coordinator checkbox. Click the Unbond Node button. Unbonding a Node on the Node side Press and hold button SW1 (close to USB connector). Shortly press button SW2. Green LED shines for about 2 s. Release the SW1 button immediately once the green LED stops shinning. If the node is successfully unbonded, red LED is flashing and module falls asleep after 10 s. Note Besides of IQMESH Network Manager and DPA Test, IQRF IDE provides also further tools (Terminal Log and Packet Inspector) for working with DPA especially for developers implementing or testing the DPA protocol. They are described in IQRF IDE Help. Document history 131022 Updated for IQRF IDE v3.14. 131003 First release 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 7

Corporate office Sales and Service IQRF Alliance s.r.o., Prumyslova 1275, 506 01 Jicin, Czech Republic, EU Tel: +420 493 538 125, Fax: +420 493 538 126, www.iqrf.org/alliance. Partners and distribution Please visit www.iqrf.org/partners. Trademarks The IQRF name and logo and MICRORISC name are registered trademarks of MICRORISC s.r.o. PIC, SPI, Microchip and all other trademarks mentioned herein are property of their respective owners. Legal All information contained in this publication is intended through suggestion only and may be superseded by updates without prior notice. No representation or warranty is given and no liability is assumed by MICRORISC s.r.o. with respect to the accuracy or use of such information. Without written permission it is not allowed to copy or reproduce this information, even partially. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The IQRF products utilize several patents (CZ, EU, US) 2013 IQRF Alliance s.r.o. www.iqrf.org/alliance QSG_IQRF-DPA-QUICKSTART_131022 Page 8