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

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

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

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

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

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

IQRF DPA Quick Start Guide

GW-ETH-0x Datalogger

IQRF DPA Quick Start Guide

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

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

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

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. USB to Serial UART Bridge Converter. Document Date: 5 th September 2012 Document Revision: 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

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

Product Description. Applications. Features

Serial JPEG Camera Module Data Sheet

Technical guide IQRF Technical Guide

ALPW-BLEM103 Datasheet 1.0 Bluetooth Low Energy HCI

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. microusb Programming Adaptor. USB to UART Serial Bridge

Product Datasheet: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

DATASHEET 4D SYSTEMS. uusb-pa5 uusb-pa5-ii. microusb Programming Adaptor TURNING TECHNOLOGY INTO ART. USB to UART Serial Bridge

DATASHEET 4D SYSTEMS. 4D Arduino Adaptor Shield TURNING TECHNOLOGY INTO ART. 4Display-Adaptor-Shield

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

DATASHEET. 4.3 Embedded SPI Display. 4DLCD-FT843 Powered by the FTDI FT800 Video Engine. Document Date: 25 th September 2013 Document Revision: 0.

February 28,

Hints and tips when using RC1xx0 RF Modules

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Introduction. Rev.1.2

Product Overview: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

AN10428 UART-SPI Gateway for Philips SPI slave bridges

6LoWPAN Development Platform Saker Manual

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

EZRadio-2WayLink-DK EZRADIO TWO-WAY LINK DEVELOPMENT KIT USER S GUIDE. 1. Overview

Smart RF Device Family - Getting Started Guide. Features. Description. References ATAN0115 APPLICATION NOTE

WIRELESS COMMUNICATION PLATFORM IQRF A CASE STUDY

Future Technology Devices International

ESPino - Specifications

PIC32 SK I/O Breakout Board. User Manual

Ethernet1 Xplained Pro

LM048 Bluetooth v2.0, v2.1 RS232 Serial Adapter Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

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

M M WIFI Module

AN5123 Application note

Application Note AN_207 USB-DUO

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band

M M WIFI Module

DATASHEET. gen4 Programming Adaptor For all gen4 sizes (Picaso and Diablo16) gen4-pa. Document Date: 29 th January 2016 Document Revision: 1.

Sendyne SFP102MOD Precision Current Measurement Module

Future Technology Devices International

ATtiny104 Xplained Nano. Preface. AVR 8-bit Microcontrollers USER GUIDE

Wireless-Tag WT51822-S4AT

Bridgetek Pte Ltd. Datasheet CleO35-WIFI Module. 1 Introduction. 1.1 Features. CleO35-WIFI Module Datasheet Version 1.0

LM058 Bluetooth v2.0, v2.1 RS232 Serial Adapter - SMA Connector Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

AWLaunch. Software Manual. Version 1.2 Last Revised April 27, 2009

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

USB-to-I2C Basic. Hardware User s Manual.

UM2343 Application note

ZSC31xxx / ZSSC3xxx. SSC Communication Board. Datasheet. Brief Description. Features. Benefits

DATASHEET 4D SYSTEMS. 4Display Shield with 2.2 Display TURNING TECHNOLOGY INTO ART. 4Display-Shield-22

CM5000 DATASHEET v0.1

IQRF - Mesh Networking

Serial Port Plug - F2M01SXA Brief Datasheet. Features. Applications. General Description. Provides transparent RS-232 serial cable replacement.

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

Description. January 2019 DB2381 Rev 3 1/5

AL361A-EVB-A1. Multi-channel Video Processor EVB. Datasheet. (HDMI/AHD-to-HDMI) 2017 by AverLogic Technologies, Corp. Version 1.0

MOD-MRF24J40 development board Users Manual

MOD-RFID1356 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, May 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

BIG8051. Development system. User manual

EZmoto V4.1 Product description Rev. 2 30/07/2015

MOD-RFID125 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, February 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

Radiocrafts Embedded Wireless Solutions

MOD-RFID125-BOX User Manual

AN EZ-USB FX3 I 2 C Boot Option. Application Note Abstract. Introduction. FX3 Boot Options

AT02667: XMEGA-E5 Xplained Hardware User's Guide. Features. Description. AVR XMEGA Microcontrollers APPLICATION NOTE

Low-Power-Radio Transceiver IC

ESP8266 Application Note Firmware Download Protocol

Genesys Logic, Inc. GL823K. USB 2.0 SD/MSPRO Card Reader Controller. Datasheet. Devin Qiu Q:

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

Future Technology Devices International Limited

R&E International A Subsidiary of Microchip Technology Inc.

[Type here] M907. Bluetooth 4.2 Low Energy/Zigbee/RF4CE/Thread SiP Module with MCU and integrated antenna

AQ_G24 GSM Terminal Card Motorola Cellular GSM Engine

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

USER GUIDE. ATWINC1500 Xplained Pro. Preface

µ-blox GPS-PS1 GPS Receiver Board based on SiRFstar I/LX TM -Datasheet-

Serial JPEG Camera Module Data Sheet

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. Carrier Board for μoled-160-g1/g2 CB-160-G1

Future Technology Devices International Ltd

Future Technology Devices International

Radiocrafts Embedded Wireless Solutions

USB485. USB to RS485 Converter Card. User Manual for connecting with Windows Vista Version 1.01

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

ES- JBM-141SPP Module. Application Note

TTL-234X. TTL234X Series Range of Cables. Datasheet

How to Enable Boot from QSPI Flash

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

Transcription:

FW v1.04 IQRF USB Gateway User s Guide 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 1

Description GW-USB-06 is an IQRF gateway with USB connectivity. It is intended as an interface between IQRF network and PC or similar devices with USB. The user can implement specific functionality by software for internal TR transceiver. Key features PC connectivity via USB interface USB interface (CDC and Custom device, MICRORISC VID & PID) Custom device, CDC IQRF, CDC SPI and CDC UART modes TR transceiver and internal antenna, bidirectional RF TR transceiver programming via USB and IQRF IDE RTCC (real-time clock/calendar) 3 LEDs Compact USB-stick style Bootloader for firmware upgrade Applications IQRF PC interface IQRF gateway Diagnostic tool Wireless programmer (RFPGM) for TR modules Block diagram 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 2

Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICRORISC MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND TO STATED CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE and disclaims all liability arising from this information and its use. Use of MICRORISC devices in life support and/or safety applications is entirely at the buyer s risk, and the buyer agrees to defend, indemnify and hold harmless MICRORISC from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any MICRORISC intellectual property rights. Electrical specifications Supply voltage USB TR transceiver Supply current RF band RF channels RF data modulation RF data transmission bit rate 1 RF IC RF sensitivity Typical values unless otherwise stated 5.0 V supplied from USB V2.0 Compliant SIE TR-72D compatible, without temperature sensor About 15 ma (TR not transmitting), 50 ma max. (TR transmitting) 868 MHz or 916 MHz 3 (software configurable) See IQRF OS User s guide, Appendix Channel maps GFSK (Gaussian Frequency Shift Keying) 19.836 kb/s -106 dbm (STD RX mode, checkrf(0)) RF IC RF output power 11 dbm, programmable in 8 levels (0 7) RF range 2 Antenna 500 m Built in PCB Operating temperature 0 C to +70 C Dimensions Weight 59.3 mm x 23.5 mm x 12.3 mm (including the cover) 12 g (including the cover) Note 1: Several RF bit rates different from 19.836 kb/s will be available in future IQRF OS versions. Note 2: Arrangement: Two GW-GSM-06 devices plugged via USB cables, in vertical positions, 1.6 m above the ground, in free space. The range is significantly shortened when the GW is plugged directly in a USB device. The range is significantly shortened in direction of longitudinal axis (the GW placed in horizontal position). Test software: E09-LINK example (STD mode, setrfpower(7), checkrf(0)), bit rate 19.836 kb/s. Note 3: 916 MHz band is available from IQRF OS v3.08d. Caution: Electrostatic sensitive device. Observe appropriate precautions for handling. Absolute maximum ratings Stresses above listed maximum values may cause permanent damage to the device and affect device reliability. Functional operation at these or any other conditions beyond those specified is not supported. Supply voltage (VCC) 5.5 V Storage temperature -20 C to +70 C 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 3

Hardware GW-USB-06 consists of main MCU, memories and the TR-72D compatible circuitry with RTCC added. Firmware of the main MCU is fixed. Specific functionality of the device can be implemented by user application software for the TR transceiver inside. This (except of RTCC usage) can also be developed using the CK-USB-04A development kit. For detailed information refer to CK-USB-04A User's guide. Power supply GW-USB-06 is intended to be supplied from a host via USB connector. LDO voltage regulator converts 5 V from USB to 3.3 V for all internal circuitry. RTCC has a temporary backup by decoupling capacitors, see below (RTCC). Reset Reset can be invoked by connecting a disconnected GW-USB-06 to USB or by the Reset USB Device command in CDC IQRF mode. Actual reset is executed ~5 s after the command is issued. This delay allows to disconnect USB communication on host side in time. See the CDC Implementation in IQRF USB devices User's guide. USB GW-USB-06 supports Custom device and three types of CDC USB modes. Proper USB driver(s) must be installed in the host device. Refer to the IQRF USB drivers Installation guide if needed. TR transceiver Wireless IQRF transceiver compatible with TR-72D, without temperature sensor. Refer to the TR-72D datasheet for details. Antenna PCB antenna on GW-USB-06 board. RTCC Real-time clock / calendar MCP7940NT by Microchip shares the I2C serial bus with serial EEPROM. It can be controlled from TR transceiver. Decoupling capacitors ensure RTCC backup for 30 s after disconnecting power supply which allows to quickly replug the device from one host USB to another keeping the RTCC running. RTCC is supported by demo RTCC example available on www.iqrf.org/gw-usb-06 product page. Serial Flash memory 8 Mb Flash memory SST25VF080B-80-4I (by SST) with serial SPI interface is connected to main MCU. It is not supported in current firmware version, reserved for future use and optional on request. LEDs LED1 (red) and LED2 (green) are dedicated to TR transceiver (compatible with LEDs on discrete TR transceivers). LED 3 indicates USB modes and other status information. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 4

Basic components IC Type Manufacturer Note Main MCU PIC18F26J50-I/ML Microchip Flash SST25VF080B-80-4I Microchip 8 Mb, SPI EEPROM 24AA16-I/MC Microchip 16 Kb, I2C, connected to main MCU TR MCU PIC16LF1938 I/MV Microchip RF IC SPIRIT1 STMicroelectronics RF balun BALF-SPI-01D3 STMicroelectronics EEPROM 24AA256-I/CS16K Microchip 256 Kb, I2C, connected to TR MCU RTCC MCP7940NT-I/MNY Microchip I2C LDO voltage regulator MCP1700T-3002E/TT Microchip 3.3 V For more information refer to datasheets of ICs used. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 5

Firmware Firmware upgrade GW-USB-06 firmware can be upgraded by the user with new versions possibly released by the factory using the IQRF IDE v4.31 or higher, menu Tools IQRF Device Manager Upload FW. See IQRF IDE Help. LED 3 indication After GW-USB-06 reset (by reconnecting the USB cable), current USB mode is indicated by a series of flashing of LED 3 as follows: Custom Device CDC IQRF CDC SPI CDC UART 1 x 2 x 3 x 4 x In idle state LED 3 is not flashing (Custom Device mode) or flashes with 1 s period (CDC xxx mode). If it is needed to find out the current USB mode, the reset of the device must be performed. LED3 flashes 3x after the Indicate USB Device command (key F11) in respective IQRF IDE (to identify the kit in case of multiple IQRF USB devices or IDE instances). LED3 flashing in 300 ms period means missing firmware (see Firmware upgrade below). USB modes GW-USB-06 supports four USB modes: Custom Device CDC IQRF CDC SPI CDC UART Proper USB drivers must be installed in the host equipment. See the IQRF document Install_Guide_USB_Drivers. If used with IQRF IDE, both USB drivers (Custom Device and CDC) are installed transparently within the IQRF IDE installation. USB mode selection Using IQRF IDE: Menu Tools USB Classes (for all modes, see IQRF IDE Help). Using commands in CDC IQRF protocol (from CDC IQRF mode only). See the CDC Implementation in IQRF USB devices User's guide (User_Guide_CDC_xxxxxx.PDF). Using the sequence 1 s inactive *** 1 s inactive sent from a USB host application (for switching from CDC SPI or CDC UART to CDC IQRF only). The switching is performed after about 5 s. See chapter LEDs for indication of current mode. The last selected mode is restored after start-up or reset. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 6

Custom Device mode Full communication with the IQRF IDE is enabled in this mode. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 7

CDC IQRF mode After connecting to PC a virtual serial port is created in this mode. The user can create one's own PC program and communicate via this port using the protocol described in document CDC Implementation in IQRF USB devices User's guide. This protocol enables: Communication with TR transceiver Communication with the USB device itself Confirmation of commands Information about error states This mode is recommended for communication with custom (USB host) applications and is supported by the IQRF SDK (Software Development Kit, open source). The application in TR transceiver must use SPI communication. Tip For testing a communication in CDC mode various SW terminals operating with PC serial ports are available. Select a terminal enabling to issue direct byte commands and data. Refer to the communication protocol described in CDC Implementation in IQRF USB devices User's guide. Recommended terminal: Docklight, www.docklight.de. There is a project containing all supported commands for this terminal available at www.iqrf.org/218. It is necessary just to select the COM port used. Unsuitable terminals: Windows Hyperterminal and Tera Term. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 8

CDC SPI mode After connecting to PC a virtual serial port is created in this mode. This mode is intended for testing of user application for TR transceiver utilizing SPI communication. It works similarly as the CDC IQRF mode but it has no protocol implemented and the data is transferred transparently. It can be used also in case when the user (a USB host) application does not allow to implement any proprietary protocol. Otherwise, the CDC IQRF mode is recommended. The application in TR transceiver must use SPI communication. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 9

CDC UART mode After connecting to PC a virtual serial port is created in this mode. Application Testing of user applications for TR transceiver using UART communication UART parameters Voltage levels: 3 V Baud rates: 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200 Bd Data bits: 8 Parity: None, Odd, Even, Mark, Space Stop bits: 1 Operation: duplex Number of data bytes in a packet: max. 64 End of packet detection timeout: cca 3 * transmission time for one byte (with respect to given baud rate) This mode has no protocol implemented and the data is transferred transparently. The application in TR transceiver must use UART communication. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 10

Application Users have to ensure observing local provisions and restrictions relating to the use of short range devices by software, e.g. the CEPT ERC/REC 70-03 Recommendation and subsequent amendments in EU. The functionality of TR transceiver inside the GW is fully user programmable. Factory default application is E03-TR (one of basic IQRF examples). Installing See the IQRF Quick Start guide and IQRF IDE Help. Operating system See IQRF OS User's guide and IQRF OS Reference guide. DPA framework and DCTR See DPA Framework technical guide. Programming Programming the application is similar to the CK-USB-04A development kit usage. See the IQRF Quick Start guide, CK- USB-04A User's guide and IQRF application examples included in IQRF Startup package (www.iqrf.org/startup). Upload GW-USB-06 enables to upload an application code into IQRF TR transceivers in following ways: Wired upload using IQRF IDE running in the GW-USB-06 host. Wireless upload (RFPGM RF Programming ), e.g. when the GW is hosted on an equipment not supporting IQRF IDE. Switching between RFPGM and operation modes must be solved in the application in this case. See IQRF OS User's guide (Appendix RFPGM) and IQRF IDE (Tools CATS Service Tools Control menu, Create CATS button). Debug The application in internal TR transceiver can be debugged similarly as in discrete TR transceivers. See the IQRF Quick Start guide, IQRF IDE Help and IQRF application example E06-RAM included in IQRF Startup package (www.iqrf.org/startup). 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 11

Product information Pack list GW-USB-06 Ordering codes GW-USB-06 Document history 160122 USB gateway, with E03-TR example uploaded in TR transceiver. USB gateway (serial Flash memory included). First release. 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 12

Corporate office Sales and Service MICRORISC s.r.o., Prumyslova 1275, 506 01 Jicin, Czech Republic, EU Tel: +420 493 538 125, Fax: +420 493 538 126, www.microrisc.com. Partners and distribution Please visit www.iqrf.org/partners. Quality management ISO 9001 : 2009 certified Complies with ETSI directives EN 301489-1 V1.9.2:2011, EN 301489-3 V1.6.1:2013, EN 300220-1 V2.4.1:2012, EN 300220-2 V2.4.1:2012 and VO-R/10/05.2014-3. Complies with directives 2011/65/EU (RoHS) and 2012/19/EU (WEEE). 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) On-line support: support@iqrf.org 2016 MICRORISC s.r.o. www.iqrf.org User_Guide_GW-USB-06_160122 Page 13