Volansys Modular IoT Gateway Installation manual

V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 1
MODULAR IOTGATEWAY
HARDWARE USER GUIDE
REVISION V1R1

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 2
Copyright Info
The information contained in this document is the proprietary information of Volansys Technologies Pvt.,
Ltd. The contents are confidential and any disclosure to persons other than the officers, employees,
agents or subcontractors of the owner or licensee of this document, without the prior written consent of
Volansys, is strictly prohibited.
Further, no portion of this document may be reproduced, stored in a retrieval system, or transmitted in
any form or by any means, electronic or mechanical, including photocopying and recording, without the
prior written consent of Volansys, the copyright holder.
Volansys publishes this document without making any warranty as to the content contained herein.
Further Volansys reserves the right to make modifications, additions and deletions to this document due
to typographical errors, inaccurate information, or improvements to products mentioned in the document
at any time and without notice. Such changes will, nevertheless be incorporated into new editions of this
document.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 3
Table of Contents
1REVISION HISTORY ........................................................................................................................................6
2INTRODUCTION.............................................................................................................................................7
3SPECIFICATION ..............................................................................................................................................9
4CONTENTS OF THE MODULAR GATEWAY KIT .............................................................................................. 22
5SUPPORT..................................................................................................................................................... 24
6APPENDIX-A ................................................................................................................................................ 25

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 4
List of Figures
Figure 1 - Modular Gateway .................................................................................................................... 7
Figure 2 - Modular Gateway With Inbuilt Peripheral ................................................................................8
Figure 3 –Architecture Block Diagram.....................................................................................................9
Figure 4 - SOM Board...............................................................................................................................9
Figure 5 - Base Board............................................................................................................................. 10
Figure 6 - SW01 Settings for Boot Mode Selection ................................................................................. 11
Figure 7 - Resistor Settings for Boot Device Selection (Top Side) ............................................................ 13
Figure 8 - Resistor Settings for Boot Device Selection (Bottom Side) ...................................................... 13
Figure 9 - JTAG Pin Definition................................................................................................................. 15
Figure 10 - Modular Gateway Back Side................................................................................................. 16
Figure 11 - NFC Controller ..................................................................................................................... 17
Figure 12 - MikroBUS Header................................................................................................................. 17
Figure 13- MKW2xD Module with MikroBUS header.............................................................................. 18
Figure 14 - MKW2xD Module................................................................................................................. 18
Figure 15 - MKW41Z Module ................................................................................................................. 19
Figure 16 - JTAG Header for MKW2xD and MKW41z..............................................................................19
Figure 17 - JN5169 Module.................................................................................................................... 20
Figure 18 - JN5179 Module.................................................................................................................... 21

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 5
List of Tables
Table 1 - Revision History ........................................................................................................................6
Table 2 - References ................................................................................................................................6
Table 3 - i.MX6 Ultra Lite SOM DIP SW01 Configuration.........................................................................11
Table 4 - i.MX6 Ultra Lite SOM BOOT Device Configuration.................................................................... 12
Table 5 - Gateway USB Configuration .................................................................................................... 14
Table 6 - Terminal Settings .................................................................................................................... 15
Table 7 - User Interface Switch ..............................................................................................................16
Table 8 - User LED Indications................................................................................................................ 16
Table 9 - J31 - JTAG signal support ........................................................................................................19
Table 10 - JTAG Header for MKW2xD and MKW41z ............................................................................... 19
Table 11 - Modular Gateway Kit Content ............................................................................................... 22
Table 12 - Modular Gateway Unit Contents ........................................................................................... 22
Table 13 - Require Preparation Equipment ............................................................................................ 22
Table 14 - Acronyms & Glossary ............................................................................................................ 25

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 6
1REVISION HISTORY
1.1 Revision History
Rev.
Date
Description
Prepared By
Reviewed By
Approved By
V1R1
22-Dec-17
Initial draft version
VOLANSYS
VOLANSYS
VOLANSYS
Table 1 - Revision History
1.2 References
Documents
Revision
Schematic Design of Volansys’ Base Board
2.05
Schematic Design of Volansys’ SoM
1.05
Datasheet i.MX6UL SOM (IMX6ULCEC)
0.2
Datasheet of MKw2xD
1.0
Datasheet of JN5169 Module
1.1
Quick start Guide of PN7120 NFC Controller Board
1.1
Table 2 - References

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 7
2INTRODUCTION
Volansys presents you a smart modular customizable multi-service reference design of Gateway for
Internet of Things named as –“Modular Gateway”, targeted for multiple use cases in various segments
of IoT such as Smart Home, Buildings and Industries. Core features are its Modular Hardware Design and
Multi-Radio Connectivity (i.e. Wi-Fi, BLE, NFC, Thread and ZigBee).
This document is the hardware user guide for Modular Gateway. This manual provides detail
information about major design peripherals and its usage criteria. It also includes systems setup &
debugging information from hardware systems perspective.
2.1 Board Overview
Figure 1 - Modular Gateway
The Modular Gateway development kit, based on i.MX6UltraLite introduces developers to the i.MX6UL
based SOM board. This gateway will help users to develop and run their IoT based concept using
wireless interfaces like Wi-Fi, BLE, NFC, ZigBee and Thread. It supports Wi-Fi and Ethernet for connection
with cloud.
Modular Gateway supports various hardware module through MikroBUS Header such as Volansys’
KW2xD and KW41Z Thread and other Mikrobus standard supported modules. Also PN7120 base NFC
module and NXP JN5169 ZigBee Module.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 8
Figure 2 - Modular Gateway With Inbuilt Peripheral
The following features are available with the Modular Gateway development board:
CPU
oi.MX 6UltraLite applications processor with a 528 MHz ARM® Cortex®-A7 core
Memory
o256MB DDR3L SDRAM
o1GB NAND Flash
oMicro SD connector
Communication and Connectivity
o1x 10/100Mbps Ethernet connector
o1x USB 2.0 Host connector
o1x USB 2.0 Host connector (Device mode support)
oMikroBus compatible header to support mikroBUS compatible Volansys’ RF modules (like;
KW41Z, KW2xD) & other MikroBUS’ click modules
oWi-Fi + BT module from Murata
oNFC module using PN7120 controller for commissioning
Other I/O
o1x Debug port via USB micro-B connector
o1x Power LED, 2x Status LED
o1x User Switch (for commissioning), 1x reset Switch
oJTAG connector
Power Supply
oDC Input - 5V/3A

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 9
3SPECIFICATION
Modular Gateway implements a variety of peripheral interfaces through the SODIMM-200 connector to
connect with i.MX6UL based SOM. This section provides detailed information about electrical design &
practical consideration of different peripherals of Modular Gateway.
The architecture block diagram of Modular Gateway board is shown as below:
Figure 3 –Architecture Block Diagram
The overview of Modular Gateway Base and SOM board is shown in following figures,
Figure 4 - SOM Board

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 10
Figure 5 - Base Board
3.1 i.MX6UL
The i.MX 6UltraLite is an ultra-efficient processor family with featuring Freescale’s advanced
implementation of the single ARM Cortex®-A7 core, which operates at speeds of up to 528 MHz.
The device is composed of the following major subsystems:
Single-core ARM Cortex-A7 MPCore™ Platform
32 Kbytes L1 Instruction Cache
32 Kbytes L1 Data Cache
Private Timer and Watchdog
Trust Zone support
Cortex-A7 NEON MPE (Media Processing Engine) Co-processor
3.2 BOOT Mode Configuration
Modular Gateway supports three different boot modes as shown below,
oBoot From Fuses
oSerial Downloader
oInternal Boot

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 11
Switch configuration for different boot mode selection is shown in below table:
BMODE
[1:0]
BOOT Mode
0 0
Boot from fuses
0 1
Serial Downloader
1 0
Internal Boot
1 1
Reserved
Table 3 - i.MX6 Ultra Lite SOM DIP SW01 Configuration
Figure 6 - SW01 Settings for Boot Mode Selection
Note: Please see Annex-I for SW01 Boot mode setting for production batch serial number:
17030171XXXXX to 17030295XXXXX and MAC: 70-B3-D5-9A-E07A to 70-B3-D5-9A-E0F6
3.2.1 Serial Downloader
Modular Gateway supports serial download option for initial boot process.
It is also required to change USB mode to device for serial download. USB-2 (J17) connector supports
both modes. Details for USB mode change is provided in sec. 3.5.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 12
Follow below steps to enter into serial download boot option:
Make SW01 setting as per Table-3
Modify jumpers setting for USB-2 to enable device mode operation as shown in Table- 5
Connect Standard USB type-A to type-A cable with USB-2 (J17) connector.
Power up the device
3.2.2 Internal Boot
Typically, internal boot is selected for normal boot.
Module supports NAND flash and micro SD card as Boot Device. To select the boot device it is required
to configure external BOOT configuration resistors as shown in below table.
BOOT
Device
Configuration
Micro SD
Populated Resistors:
R50, R57, R68, R56, R54, R64, R70, R69, R72, R58, R73, R60, R74, R61, R118,
R133
DNP Resistors:
R59, R71, R127, R120, R136, R121, R123, R140, R134, R135, R132, R119, R131,
R117, R130, R116
NAND
Populated Resistors:
R50, R57, R68, R56, R64, R70, R69, R59, R58, R71, R73, R60, R74, R61, R123,
R132
DNP Resistors:
R54, R72, R127, R120, R136, R121, R140, R134, R135, R118, R119, R133, R131,
R117, R130, R116
Table 4 - i.MX6 Ultra Lite SOM BOOT Device Configuration
Configuration resistors position on SOM Board is show in below images:

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 13
Figure 7 - Resistor Settings for Boot Device Selection (Top Side)
Figure 8 - Resistor Settings for Boot Device Selection (Bottom Side)
If user require to change boot mode or boot device selection then it is recommended to follow below
steps: (shown for internal boot mode and NAND as boot device)
Change DIP SW01 to ON, OFF [From 1-2 Bit] to enter internal BOOT Mode.
Make resistors setting as shown in Table-2 below to BOOT from NAND flash.
After the board images are programmed, and the BOOT switches is correctly configured,
system is ready to Run.
Power ON Modular Gateway Board.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 14
3.3 Memory
3.3.1 DDR3
Modular Gateway is equipped with 256 MB DDR3L Memory which is upgradable up to 1 GB
3.3.2 NAND Flash
Gateway is available with on-board NAND (1GB) flash.
3.3.3 Micro SD Card Slot (J18)
Micro SD slot (J18) is provided on Modular gateway.
It is connected to USDHC1 interface of i.MX 6UltraLite on SOM Module.
3.4 Ethernet Connector (J15)
Modular Gateway incorporates a single full-featured 10/100 Ethernet interface, implemented with the
i.MX6UL MAC-NET core in conjunction with a 10/100-Mbit/s MAC coupled with an on-board 10/100
PHY.
The modular Gateway comes with following features:
Integrated PHY on SOM for 10/100 Mbps
Auto-negotiation support
Programmable MAC address
3.5 USB Connectors
The USB interface block provides two High speed USB port, which supports USB ver. 2.0. Initially both
the connectors will act as host. User can configure USB-2(J17) port as device also by modifying jumpers
setting. USB-1 (J16) will work as host only.
Jumper setting for USB-2 port host and device mode are shown in below table:
USB-2 HOST
USB-2 DEVICE
JUMPER 1 (J30)
CLOSE
OPEN
JUMPER 2 (J29)
OPEN
CLOSE
Table 5 - Gateway USB Configuration
When using serial download option for Boot, USB-2(J17) will be used in Device mode. It is required to
change Jumper setting to enable device mode.
3.6 Wi-Fi and Bluetooth
Modular Gateway provides support of Single Band (2.4GHz) Wi-Fi and Bluetooth using Murata’s
LBEE5KLDX RF module on board.
The Modular Gateway supports following features:
Support of single band IEEE 802.11b/g/n Wi-Fi
Bluetooth ver. 4.1 + EDR compliant

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 15
Provides SDIO interface for Wi-Fi and UART interface for Bluetooth operation
External u.fl connectors is connected with antenna line of module to provide external Whip
antenna support
3.7 USB Debug Connector (J20)
Modular Gateway comes with one microUSB debug port support to simplify debugging mechanism.
A CP2102, USB to serial UART IC is used to convert the UART signals to USB. A micro-B to standard A USB
cable can be used. UART1 port is used as the debug port.
The required terminal settings are shown in the following table:
Baud Rate
115200
Data Bits
8
Parity
None
Stop Bits
1
Flow Control
None
Table 6 - Terminal Settings
3.8 JTAG Connector (J21)
J21 has been used as JTAG connector, it’s a 10 pin header. User will require to have 10 to 20-pin
convertor to use standard JTAG debugger.
Pin out of JTAG header are shown in below figure.
Figure 9 - JTAG Pin Definition
3.9 User Interface Switch
3.9.1 Commissioning Switch (SW1)
SW1 is used to start/stop NFC commissioning mode. It is also used to power off the gateway board by
long pressing it for more than 15 sec.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 16
Figure 10 - Modular Gateway Back Side
Different control mechanism for switch is provided as below:
Switch
Control
Last State
Next State
SW1
Short Press
( >5sec &
< 15sec)
NFC Commission Window Off
Start NFC commission window
NFC Commission Window ON
Stop NFC commission window
Long press
(> 15sec)
Any
Power off gateway board
Table 7 - User Interface Switch
3.9.2 Reset Switch
One reset switch is provided for user, to reboot the system without removing power supply. Pressing
the switch will drive logic zero on RESETn signal, which will affects every modules on gateway.
3.10 User LED Indications
Two dual color LEDs are used to provide indication about different Gateway functionalities. Below table
indicates color mark to represent specific events.
LED
Behavior
Represents
LED1
Green
Connected to cloud
Red
Not Connected to cloud
Orange
Connecting to cloud
LED2
Green
Commission window is On
Orange
Commission window is Off
Blink fast for 10 times
ED Commission successful
Blink slow for 5 times
ED Commission failed
Table 8 - User LED Indications
Note: User can change LEDs behavior based on their use case scenario.

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 17
3.11 NFC Controller
Modular gateway have NFC Module Header for NFC Connectivity. It’s have PN7120 NFC Controller from
NXP Semiconductor.
Figure 11 - NFC Controller
3.12 MikroBus Compatible Headers
Modular gateway contains two standard MikroBUS header which provides SPI, I2C & UART interface and
other Mikrobus standard support signals. MikroBUS standard click board can be used with Modular
Gateway board. Below figure displays Standard Mikrobus socket position on Modular Gateway board:
Figure 12 - MikroBUS Header
3.13 Volansys’ THREAD Modules
Volansys has developed two very tiny Thread modules using MKW2xD & MKW41Z SoC from NXP. Also,
to support MikroBUS standard one carrier board is developed, which can be used with any of the thread
module to fix on MikroBUS headers (J31 & J32)

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 18
Figure 13- MKW2xD Module with MikroBUS header
3.13.1 MKW2xD module
Volansys developed ultra-compact sized Thread module using MKW2xD controller from NXP. User can
have support of MKW2xD on Modular Gateway using MikroBUS header compatible module as shown in
Figure 12. Initially Modular Gateway comes with MKW2xD module attached to provide Thread interface
support.
MKW2xD supports following features:
Ultra Compact size of 24x19mm
50 MHz 32-bit ARM Cortex M4 MCU with DSP capabilities
512 KB Flash & 64 KB SRAM
Pads are side castellation for easy soldering & optical inspection
Figure 14 - MKW2xD Module
3.13.2 MKW41Z module (Optional)
Volansys developed very small form factored SMT module using MKW41Z controller. User can have
support of MKW41Z on Modular Gateway using MikroBUS header compatible module as shown in
Figure 12.
MKW41Z supports following features:
Very Small form factor
Low power mode current: 180nA
48 MHz ARM® Cortex™ M0+ MCU
512KB Flash memory and 128 KB of SRAM

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 19
Can utilize the premier BLE / ZigBee/ Thread stack
Figure 15 - MKW41Z Module
3.14 JTAG / Programming Header for MKW2xD and MKW41z Module
Modular Gateway comes with additional JTAG header (J6) to easily debug Volansys’ Thread Modules,
which will be connected on MikroBUS header –J31.
J31 header comes with below additional JTAG signals support:
Pin#
Signal Name
J31.1
TDI
J31.2
TCLK/SWD_CLK
J31.19
TMS/SWD_DIO
J31.20
TDO
Table 9 - J31 - JTAG signal support
Pinout of JTAG header J6 shown as below:
Pin#
JTAG signal
Pin#
JTAG signal
1
VCC_3V3
2
TMS/SWD_DIO
3
GND
4
TCLK/SWD_CLK
5
GND
6
TDO
7
NC
8
TDI
9
NC
10
TRST
Table 10 - JTAG Header for MKW2xD and MKW41z
Figure 16 - JTAG Header for MKW2xD and MKW41z

Modular IoT Gateway User Guide
V1R1 www.volansys.com I Email: business@volansys.com Copyright © 2017 VOLANSYS
Page | 20
3.15 JN5169 ZigBee Module
NXP’s ZigBee module have JN5169 wireless controller which was low power supporting for ZigBee
interface.
JN5169 module supports following features:
2.4GHz IEEE802.15.4 compliant
512KB Flash
32KB RAM
Integrated PCB antenna
Compact size: 30mm x 16mm
Figure 17 - JN5169 Module
3.16 JN5179 ZigBee Module
NXP’s ZigBee module have JN5179 wireless controller which was low power supporting for ZigBee
interface.
JN5179 module supports following features:
2.4GHz IEEE802.15.4 compliant
512KB Flash
32KB RAM
uFl PCB antenna or Internal Antenna or Both support
Compact size: 14.5mm x 20.5mm
TX power 8.5 dBm/10 dBm
Receiver sensitivity –96 dBm
TX current 24 mA at 10 dBm
TX current 21.2 mA at 8.5 dBm
RX current 14.3 mA at maximum input level –2 dBm
2.0 V/3.6 V operation
Other manuals for Modular IoT Gateway
1
Table of contents
Other Volansys Gateway manuals