Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Modular Gateway Hardware User's Guide
NXP Semiconductors Document Number: MGHWUG
User's Guide Rev 0, 10/2016
Contents
Chapter 1 Introduction....................................................................................3
Chapter 2 Specification.................................................................................. 5
Chapter 3 Contents of the Modular Gateway Kit........................................17
Chapter 4 Acronyms and Abbreviations.....................................................18
Chapter 5 References....................................................................................19
Chapter 6 Revision History.......................................................................... 20
Contents
Modular Gateway Hardware User's Guide, Revision 0, October 20162 NXP Semiconductors
Chapter 1Introduction
Volansys presents you a smart modular customizable multi-service reference design of Gateway for Internet of Things namedas – “Modular Gateway”, targeted for multiple use cases in various segments of IoT such as Smart Home, Buildings andIndustries. Core features are its Modular Hardware Design and Multi-Radio Connectivity (i.e. Wi-Fi, BLE, NFC, Thread andZigBee) .
This document is the hardware user guide for Modular Gateway. This manual provides detail information about major designperipherals and its usage criteria. It also includes systems setup & debugging information from hardware systems perspective.
1.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 KW41ZThread and other Mikrobus standard supported modules. Also PN7120 base NFC module and NXP JN5169 ZigBee Module.
Figure 2. Modular Gateway With Inbuilt Peripheral
The following features are available with the Modular Gateway development board:
• CPU
Introduction
Board overview
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 3
• i.MX 6UltraLite applications processor with a 528 MHz ARM® Cortex®-A7 core
• Memory
• 256MB DDR3L SDRAM
• 1GB NAND Flash
• Micro SD connector
• Communication and Connectivity
• 1x 10/100Mbps Ethernet connector
• 1x USB 2.0 Host connector
• 1x USB 2.0 Host connector (Device mode support)
• MikroBus compatible header to support mikroBUS compatible Volansys’ RF modules (like; KW41Z, KW2xD) & otherMikroBUS’ click modules
• Wi-Fi + BT module from Murata
• NFC module using PN7120 controller for commissioning
• Other I/O
• 1x Debug port via USB micro-B connector
• 1x Power LED, 2x Status LED
• 1x User Switch (for commissioning), 1x reset Switch
• JTAG connector
• Power Supply
• DC Input - 5V/3A
Introduction
Board overview
Modular Gateway Hardware User's Guide, Revision 0, October 20164 NXP Semiconductors
Chapter 2Specification
Modular Gateway implements a variety of peripheral interfaces through the SODIMM-200 connector to connect with i.MX6ULbased SOM. This section provides detailed information about electrical design & practical consideration of differentperipherals 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
Specification
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 5
Figure 5. Base Board
2.1 i.MX6ULThe i.MX 6UltraLite is an ultra-efficient processor family with featuring Freescale’s advanced implementation of the singleARM 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
2.2 BOOT Mode ConfigurationModular Gateway supports three different boot modes as shown below,
• Boot From Fuses
• Serial Downloader
• Internal Boot
Switch configuration for different boot mode selection is shown in below table:
Specification
i.MX6UL
Modular Gateway Hardware User's Guide, Revision 0, October 20166 NXP Semiconductors
Table 1. i.MX6 Ultra Lite SOM DIP SW01 Configuration
BMODE [1:0] BOOT Mode
0 0 Boot from fuses
0 1 Serial Downloader
1 0 Internal Boot
1 1 Reserved
Figure 6. SW01 Settings for Boot Mode Selection
2.2.1 Serial DownloaderModular 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. Detailsfor USB mode change is provided in sec. 3.5.
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
2.2.2 Internal BootTypically 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 externalBOOT configuration resistors as shown in below table.
Specification
BOOT Mode Configuration
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 7
Table 2. i.MX6 Ultra Lite SOM BOOT Device Configuration
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
Configuration resistors position on SOM Board is show in below images:
Figure 7. Resistor Settings for Boot Device Selection (Top Side)
Specification
BOOT Mode Configuration
Modular Gateway Hardware User's Guide, Revision 0, October 20168 NXP Semiconductors
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 internalboot 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.
2.3 Memory
2.3.1 DDR3• Modular Gateway is equipped with 256 MB DDR3L Memory which is upgradable up to 1 GB
2.3.2 NAND Flash• Gateway is available with on-board NAND (1GB) flash.
2.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.
2.4 Ethernet Connector (J15)Modular Gateway incorporates a single full-featured 10/100 Ethernet interface, implemented with the i.MX6UL MAC-NETcore in conjunction with a 10/100-Mbit/s MAC coupled with an on-board 10/100 PHY.
Specification
Memory
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 9
The modular Gateway comes with following features:
• Integrated PHY on SOM for 10/100 Mbps
• Auto-negotiation support
• Programmable MAC address
2.5 USB ConnectorsThe USB interface block provides two High speed USB port, which supports USB ver. 2.0. Initially both the connectors willact as host. User can configure USB-2(J17) port as device also by modifying jumpers setting. USB-1 (J16) will work as hostonly.
Jumper setting for USB-2 port host and device mode are shown in below table:
Table 3. Gateway USB Configuration
USB-2 HOST USB-2 DEVICE
JUMPER 1 (J30) CLOSE OPEN
JUMPER 2 (J29) OPEN CLOSE
When using serial download option for Boot, USB-2(J17) will be used in Device mode. It is required to change Jumper settingto enable device mode.
2.6 Wi-Fi and BluetoothModular Gateway provides support of Single Band (2.4GHz) Wi-Fi and Bluetooth using Murata’s LBEE5KLDX RF moduleon board.
The Modular Gateway supports following features:
• Support of single band IEEE 802.11b/g/n Wi-Fi
• Bluetooth ver. 4.1 + EDR compliant
• 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
2.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 beused. UART1 port is used as the debug port.
The required terminal settings are shown in the following table:
Table 4. Terminal Settings
Baud Rate 115200
Table continues on the next page...
Specification
USB Connectors
Modular Gateway Hardware User's Guide, Revision 0, October 201610 NXP Semiconductors
Table 4. Terminal Settings (continued)
Data Bits 8
Parity None
Stop Bits 1
Flow Control None
2.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 standardJTAG debugger.
Pin out of JTAG header are shown in below figure.
Figure 9. JTAG Pin Definition
2.9 User Interface Switch
2.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 formore than 15 sec.
Figure 10. Modular Gateway Back Side
Specification
JTAG Connector (J21)
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 11
Different control mechanism for switch is provided as below:
Table 5. User Interface Switch
Switch Control Last State Next State
SW1 Short Press
( >5sec &
< 15sec)
NFC Commission WindowOff
Start NFC commissionwindow
NFC Commission WindowON
Stop NFC commissionwindow
Long press
(> 15sec)
Any Power off gateway board
2.9.2 Reset SwitchOne reset switch is provided for user, to reboot the system without removing power supply. Pressing the switch will drive logiczero on RESETn signal, which will affects every modules on gateway.
2.10 User LED IndicationsTwo dual color LEDs are used to provide indication about different Gateway functionalities. Below table indicates color markto represent specific events.
Table 6. User LED Indications
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
User can change LEDs behavior based on their use case scenario.
NOTE
2.11 NFC ControllerModular gateway have NFC Module Header for NFC Connectivity. It’s have PN7120 NFC Controller from NXP Semiconductor.
Specification
User LED Indications
Modular Gateway Hardware User's Guide, Revision 0, October 201612 NXP Semiconductors
Figure 11. NFC Controller
2.12 MikroBus Compatible HeadersModular gateway contains two standard MikroBUS header which provides SPI, I2C & UART interface and other Mikrobusstandard support signals. MikroBUS standard click board can be used with Modular Gateway board. Below figure displaysStandard Mikrobus socket position on Modular Gateway board:
Figure 12. MikroBUS Header
2.13 Volansys’ THREAD ModulesVolansys has developed two very tiny Thread modules using MKW2xD & MKW41Z SoC from NXP. Also, to support MikroBUSstandard one carrier board is developed, which can be used with any of the thread module to fix on MikroBUS headers (J31& J32)
Figure 13. MKW2xD Module with MikroBUS header
2.13.1 MKW2xD moduleVolansys developed ultra-compact sized Thread module using MKW2xD controller from NXP. User can have support ofMKW2xD on Modular Gateway using MikroBUS header compatible module as shown in Figure 12. Initially Modular Gatewaycomes with MKW2xD module attached to provide Thread interface support.
Specification
MikroBus Compatible Headers
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 13
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
2.13.2 MKW41Z module (Optional)Volansys developed very small form factored SMT module using MKW41Z controller. User can have support of MKW41Z onModular Gateway using MikroBUS header compatible module as shown in Figure 12.
MKW41Z supports following features:
• Very Small form factor, SMT module 21mm x 16mm
• Low power mode current: 180nA
• 48 MHz ARM® Cortex™ M0+ MCU
• 512KB Flash memory and 128 KB of SRAM
• Can utilize the premier BLE / ZigBee/ Thread stack
Figure 15. MKW41Z Module
Specification
Volansys’ THREAD Modules
Modular Gateway Hardware User's Guide, Revision 0, October 201614 NXP Semiconductors
2.14 JTAG Header for MKW2xD ModuleModular Gateway comes with additional JTAG header (J6) to easily debug Volansys’ Thread Modules, which will be connectedon MikroBUS header – J31.
J31 header comes with below additional JTAG signals support:
Table 7. JTAG signal support
Pin# Signal Name
J31.1 TDI
J31.2 TCLK
J31.19 TMS
J31.20 TDO
Pinout of JTAG header J6 shown as below:
Table 8. JTAG Header for MKW2xD
Pin# JTAG signal Pin# JTAG signal
1 VCC_3V3 2 TMS
3 GND 4 TCLK
5 GND 6 TDO
7 NC 8 TDI
9 NC 10 TRST
Figure 16. JTAG Header for MKW2xD
2.15 JN5169 ZigBee ModuleNXP’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
Specification
JTAG Header for MKW2xD Module
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 15
Figure 17. JN5169 Module
Specification
JN5169 ZigBee Module
Modular Gateway Hardware User's Guide, Revision 0, October 201616 NXP Semiconductors
Chapter 3Contents of the Modular Gateway Kit
Modular Gateway Kit comes with following listed items:
Table 9. Modular Gateway Kit Content
Item Description
Modular Gateway Unit Comes with External Antenna attached
Power Adapter DC 5V, 3A
Documentation Quick Start Guide
Modular Gateway unit has different peripherals support. Initially it contains following peripherals to support differentfunctionality:
Table 10. Modular Gateway Unit Contents
Item Description
SoM Based on i.MX6UL processor, 200-pin SO-DIMM standardsupported module
Base Board Multiple RF interface support with Volansys’ SoM
NFC Module For commissioning of different modules
KW2xD module Provides Thread interface support
JN5169 module Provides ZigBee interface support
Following items are not standard parts of Modular Gateway Kit. User needs to manage it.
Table 11. Require Preparation Equipment
Item Description
USB Cable USB Cable (micro B to standard A)
Micro SD Card Bootable Linux image
Contents of the Modular Gateway Kit
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 17
Chapter 4Acronyms and Abbreviations
The following acronyms are used in this document:
Table 12. Acronyms and abbreviations
Acronym Definition
MCU Microcontroller Unit
U.FL Ultra-Miniature RF Connector
BLE Bluetooth Low Energy
TBD To Be Define
IoT Internet Of Things
SoM Systems On Module
NFC Near Field Communication
eMMC Embedded Multimedia Card
SDRAM Synchronous Dynamic Random Access Memory
PMIC Power Management Integrated Circuits
BT Bluetooth
SoC System on Chip
Acronyms and Abbreviations
Modular Gateway Hardware User's Guide, Revision 0, October 201618 NXP Semiconductors
Chapter 5References
Table 13. References
Documents Revision
Schematic Design of Volansys’ Base Board 2.0
Schematic Design of Volansys’ SoM 2.0
Datasheet i.MX6UL SOM (IMX6ULCEC) 1.0
Datasheet of MKw2xD 1.0
Datasheet of JN5169 Module 1.1
Quick start Guide of PN7120 NFC Controller Board 1.1
References
Modular Gateway Hardware User's Guide, Revision 0, October 2016NXP Semiconductors 19
Chapter 6Revision History
This table summarizes the changes done to this document since the initial release.
Table 14. Revision history
Revision number Date Substantive changes
0 10/2016 Initial release
Revision History
Modular Gateway Hardware User's Guide, Revision 0, October 201620 NXP Semiconductors
How To Reach Us
Home Page:
nxp.com
Web Support:
nxp.com/support
Information in this document is provided solely to enable system and software implementers
to use NXP products. There are no express or implied copyright licenses granted hereunder
to design or fabricate any integrated circuits based on the information in this document. NXP
reserves the right to make changes without further notice to any products herein.
NXP makes no warranty, representation, or guarantee regarding the suitability of its products
for any particular purpose, nor does NXP assume any liability arising out of the application
or use of any product or circuit, and specifically disclaims any and all liability, including without
limitation consequential or incidental damages. “Typical” parameters that may be provided in
NXP data sheets and/or specifications can and do vary in different applications, and actual
performance may vary over time. All operating parameters, including “typicals,” must be
validated for each customer application by customer's technical experts. NXP does not convey
any license under its patent rights nor the rights of others. NXP sells products pursuant to
standard terms and conditions of sale, which can be found at the following address: nxp.com/
SalesTermsandConditions.
NXP, the NXP logo, NXP SECURE CONNECTIONS FOR A SMARTER WORLD,
COOLFLUX, EMBRACE, GREENCHIP, HITAG, I2C BUS, ICODE, JCOP, LIFE VIBES,
MIFARE, MIFARE CLASSIC, MIFARE DESFire, MIFARE PLUS, MIFARE FLEX, MANTIS,
MIFARE ULTRALIGHT, MIFARE4MOBILE, MIGLO, NTAG, ROADLINK, SMARTLX,
SMARTMX, STARPLUG, TOPFET, TRENCHMOS, UCODE, Freescale, the Freescale logo,
AltiVec, C‑5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C‑Ware, the Energy Efficient
Solutions logo, Kinetis, Layerscape, MagniV, mobileGT, PEG, PowerQUICC, Processor
Expert, QorIQ, QorIQ Qonverge, Ready Play, SafeAssure, the SafeAssure logo, StarCore,
Symphony, VortiQa, Vybrid, Airfast, BeeKit, BeeStack, CoreNet, Flexis, MXC, Platform in a
Package, QUICC Engine, SMARTMOS, Tower, TurboLink, and UMEMS are trademarks of
NXP B.V. All other product or service names are the property of their respective owners.
ARM, AMBA, ARM Powered, Artisan, Cortex, Jazelle, Keil, SecurCore, Thumb, TrustZone,
and μVision are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or
elsewhere. ARM7, ARM9, ARM11, big.LITTLE, CoreLink, CoreSight, DesignStart, Mali, mbed,
NEON, POP, Sensinode, Socrates, ULINK and Versatile are trademarks of ARM Limited (or
its subsidiaries) in the EU and/or elsewhere. All rights reserved. Oracle and Java are
registered trademarks of Oracle and/or its affiliates. The Power Architecture and Power.org
word marks and the Power and Power.org logos and related marks are trademarks and
service marks licensed by Power.org.