Transcript
NXP Semiconductors User's Guide
Document Number: MGHWUG Rev 0, 10/2016
Modular Gateway Hardware User's Guide
Contents
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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 2
NXP Semiconductors
Introduction Board overview
Chapter 1 Introduction 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.
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 KW41Z Thread 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
3
Introduction Board overview
• 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) & other MikroBUS’ 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 4
NXP Semiconductors
Specification
Chapter 2 Specification 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 Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
5
Specification i.MX6UL
Figure 5. Base Board
2.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
2.2 BOOT Mode Configuration Modular 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:
Modular Gateway Hardware User's Guide, Revision 0, October 2016 6
NXP Semiconductors
Specification BOOT Mode Configuration
Table 1. i.MX6 Ultra Lite SOM DIP SW01 Configuration BMODE [1:0]
BOOT Mode
00
Boot from fuses
01
Serial Downloader
10
Internal Boot
11
Reserved
Figure 6. SW01 Settings for Boot Mode Selection
2.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. 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 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.
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
7
Specification BOOT Mode Configuration
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)
Modular Gateway Hardware User's Guide, Revision 0, October 2016 8
NXP Semiconductors
Specification Memory
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.
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-NET core in conjunction with a 10/100-Mbit/s MAC coupled with an on-board 10/100 PHY.
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
9
Specification USB Connectors
The modular Gateway comes with following features: • Integrated PHY on SOM for 10/100 Mbps • Auto-negotiation support • Programmable MAC address
2.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: 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 setting to enable device mode.
2.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 • 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 be used. 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...
Modular Gateway Hardware User's Guide, Revision 0, October 2016 10
NXP Semiconductors
Specification JTAG Connector (J21)
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 standard JTAG 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 for more than 15 sec.
Figure 10. Modular Gateway Back Side
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
11
Specification User LED Indications
Different control mechanism for switch is provided as below: Table 5. User Interface Switch Switch
Control
Last State
Next State
SW1
Short Press
NFC Commission Window Off
Start NFC commission window
< 15sec)
NFC Commission Window ON
Stop NFC commission window
Long press
Any
Power off gateway board
( >5sec &
(> 15sec)
2.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.
2.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. Table 6. User LED Indications LED
Behavior
Represents
LED1
Green
Connected to cloud
Red
Not Connected to cloud
Orange
Connecting to cloud
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
LED2
NOTE User can change LEDs behavior based on their use case scenario.
2.11 NFC Controller Modular gateway have NFC Module Header for NFC Connectivity. It’s have PN7120 NFC Controller from NXP Semiconductor.
Modular Gateway Hardware User's Guide, Revision 0, October 2016 12
NXP Semiconductors
Specification MikroBus Compatible Headers
Figure 11. NFC Controller
2.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
2.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)
Figure 13. MKW2xD Module with MikroBUS header
2.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.
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
13
Specification Volansys’ THREAD Modules
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 on Modular 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 Modular Gateway Hardware User's Guide, Revision 0, October 2016 14
NXP Semiconductors
Specification JTAG Header for MKW2xD Module
2.14 JTAG Header for MKW2xD 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: 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 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 Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
15
Specification JN5169 ZigBee Module
Figure 17. JN5169 Module
Modular Gateway Hardware User's Guide, Revision 0, October 2016 16
NXP Semiconductors
Contents of the Modular Gateway Kit
Chapter 3 Contents 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 different functionality: Table 10. Modular Gateway Unit Contents Item
Description
SoM
Based on i.MX6UL processor, 200-pin SO-DIMM standard supported 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
17
Acronyms and Abbreviations
Chapter 4 Acronyms 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 18
NXP Semiconductors
References
Chapter 5 References 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 NXP Semiconductors
19
Revision History
Chapter 6 Revision 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
Modular Gateway Hardware User's Guide, Revision 0, October 2016 20
NXP Semiconductors
How To Reach Us Home Page:
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
nxp.com
reserves the right to make changes without further notice to any products herein.
Web Support:
NXP makes no warranty, representation, or guarantee regarding the suitability of its products
nxp.com/support
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.