background image

 JN517x-DK005 

Development 

Kit

User Guide

JN-UG-3121 v1.1

© NXP Semiconductors 2017

39

3.3.2 ZigBee 3.0 Resources

A complete list of the support resources relevant to ZigBee 3.0 is provided in 

Table 4

 

below.

1.

First study Part I of the 

ZigBee 3.0 Stack User Guide (JN-UG-3113)

 in order to 

familiarise yourself with the relevant concepts. 

2.

During application development, you should refer to:

ZigBee 3.0 Stack User Guide (JN-UG-3113)

ZigBee Devices User Guide (JN-UG-3114)

ZigBee Cluster Library User Guide (JN-UG-3115)

Depending on your application, you may also wish to refer to one or more of 
the following Application Notes that provide example code which may be used 
as a starting point or template:

ZigBee 3.0 Base Device Template (JN-AN-1217)

ZigBee 3.0 Light Bulbs (JN-AN-1218)

ZigBee 3.0 Controller and Switch (JN-AN-1219)

ZigBee 3.0 Sensors (JN-AN-1220)

ZigBee 3.0 Control Bridge (JN-AN-1216)

Part Number

Title

Description

Application Coding

JN-UG-3113

ZigBee 3.0 Stack User Guide

Introduces essential ZigBee PRO concepts and details the 
APIs for developing ZigBee 3.0 applications.

JN-UG-3114

ZigBee Devices User Guide

Details the ZigBee Base Device and the ZigBee Lighting & 
Occupancy (ZLO) device types.

JN-UG-3115

ZigBee Cluster Library User 
Guide

Describes the NXP implementation of the ZigBee Cluster 
Library (ZCL) for ZigBee 3.0.

JN-UG-3119

ZigBee Green Power User Guide

Describes the use of ZigBee Green Power (GP) with 

ZigBee 3.0.

JN-UG-3116

JN51xx Core Utilities User Guide

Details software utilities that may be incorporated in ZigBee 
3.0 applications.

JN-AN-1216

ZigBee 3.0 Control Bridge

Provides an example application for a ZigBee Control Bridge 
to facilitate an IP connection.

JN-AN-1217

ZigBee 3.0 Base Device 

Template

Provides example ZigBee Base Device code, required in all 
ZigBee 3.0 applications.

JN-AN-1218

ZigBee 3.0 Light Bulbs

Provides example applications for ZigBee lighting devices.

JN-AN-1219

ZigBee 3.0 Controller and Switch

Provides example applications for ZigBee controller and 
switch devices.

JN-AN-1220

ZigBee 3.0 Sensors

Provides example applications for ZigBee sensor devices.

Table 4: ZigBee 3.0 Support Resources

Summary of Contents for JN517x-DK005

Page 1: ...JN517x DK005 Development Kit User Guide JN UG 3121 Revision 1 1 8 February 2017...

Page 2: ...JN517x DK005 Development Kit User Guide 2 NXP Semiconductors 2017 JN UG 3121 v1 1...

Page 3: ...and Topology 14 1 2 4 1 Star Networks 14 1 2 4 2 Tree Networks 15 1 2 4 3 Mesh Networks 15 1 2 5 Wireless Network Protocol Stack 16 1 3 Internet of Things IoT 17 1 3 1 IoT Gateway 17 1 3 2 IP Connecti...

Page 4: ...A Kit Hardware 41 A 1 Carrier Boards 42 A 1 1 Power Source Selection 46 A 1 2 Pre assembled Boards 48 A 2 Lighting Sensor Expansion Boards 50 A 3 Generic Expansion Boards 52 A 4 JN5179 Modules 54 A 5...

Page 5: ...anual consists of three chapters and five appendices as follows Chapter 1 introduces the JN517x DK005 Development Kit and outlines the key concepts for an understanding of wireless networks Chapter 2...

Page 6: ...t Current DHCP Dynamic Host Configuration Protocol DIO Digital Input Output FTDI Future Technology Devices International GPIO General Purpose Input Output HA Home Automation IEEE Institute of Electric...

Page 7: ...presso Installation and User Guide JN UG 3099 JN51xx Production Flash Programmer User Guide JN UG 3112 NFC Commissioning User Guide JN AN 1216 ZigBee 3 0 IoT Control Bridge Application Note JN AN 1217...

Page 8: ...re available for use with the JN517x DK005 Development Kit These products can be individually ordered via the NXP web site www nxp com Trademarks All trademarks are the property of their respective ow...

Page 9: ...T The wireless network protocols supported by the development kit are as follows IEEE 802 15 4 ZigBee 3 0 with ZigBee Lighting Occupancy ZLO devices This chapter introduces you to the development kit...

Page 10: ...them with the required functionality Lighting Sensor or Generic Modules including the JN5179 standard power modules pre fitted to the Carrier Boards and JN5179 high power modules for use in territorie...

Page 11: ...for use with Wi Pi adaptor and USB dongle 11 2 USB A to Mini B cables 12 RJ45 Ethernet cable 13 microSD card adaptor 14 Pack of 10 AAA batteries Notes a The Raspberry Pi 2 board s microSD card is prog...

Page 12: ...Wireless network protocol stacks Section 1 2 5 1 2 1 Radio Frequency The JN5179 based devices of the development kit communicate in the 2400 MHz radio frequency RF band This is one of the standard RF...

Page 13: ...an application e g temperature measurement each node of a wireless network has a networking role Most IEEE 802 15 4 based networks can contain three types of node differentiated by their networking ro...

Page 14: ...in it as its children the Co ordinator is referred to as a parent These child nodes can be Routers and or End Devices 3 Each Router may itself become a parent by allowing child nodes to join it which...

Page 15: ...4 3 Mesh Networks A Mesh network may contain the full range of node types Co ordinator Routers and End Devices Any routing node Router or Co ordinator can communicate directly with any other routing n...

Page 16: ...specifying the destination of outgoing messages Physical layer Provided by the PHY Physical layer of the IEEE 802 15 4 standard and concerned with interfacing to the physical transmission medium radi...

Page 17: ...he Internet connection for a WPAN is provided by a device called an IoT Gateway A basic system is shown in Figure 7 below 1 3 1 IoT Gateway The IoT Gateway allows commands and data to be passed betwee...

Page 18: ...WPAN and also acts as the WPAN Co ordinator This IoT Gateway implementation is illustrated in Figure 9 below The Raspberry Pi microSD card is pre programmed with NXP firmware which allows the IP Host...

Page 19: ...rk rather than join an existing Wi Fi network A PC can then interact with the Raspberry Pi by joining this Wi Fi network which has the SSID Iot_GW_NXP In this case the Raspberry Pi is allocated the fi...

Page 20: ...lows 1 The NFC tag of the joining node is brought close to the NFC Controller mounted on the Raspberry Pi board which is itself connected to the JN5179 USB Dongle that acts as the network Co ordinator...

Page 21: ...application on the target node such that commands issued by the source application are always sent to the target node without needing to specify an address The source node can be bound to multiple ta...

Page 22: ...switched on off brightness adjusted in the following ways From within the WPAN using the buttons on a controller node board Dimmer Switch From outside the WPAN via an IP connection from a PC The demon...

Page 23: ...ess network is simplified by means of NFC commissioning which allows a node to be joined to the network through the simple action of an NFC tap 2 1 Demo System Overview This ZigBee Smart Home Demonstr...

Page 24: ...ttons IoT Gateway Raspberry Pi 2 board Wi Pi adaptor providing the Wi Fi connection and DHCP server JN5179 USB Dongle acting as the ZigBee Co ordinator and providing the connection to the WPAN NFC Con...

Page 25: ...o check that the pre installed microSD card is securely fitted to the Raspberry Pi Step 4 Mount the NFC Controller onto the Raspberry Pi board Install the NXP PN7120 NFC Controller assembly NFC Contro...

Page 26: ...During the boot process the following will occur a The red LED on the Raspberry Pi board will illuminate b The green LED on the Raspberry Pi board will flash c After around 20 seconds an audible beep...

Page 27: ...Step 9 Select a ZigBee network channel and create a network This step is needed only the first time the demonstration is used On the Control tab of the IoT Gateway interface do the following in the Z...

Page 28: ...kit as detailed in Section 2 1 The NFC commissioning of each node into the ZigBee network is identical It is performed by simply holding the NFC antenna of the node s Carrier Board see Appendix A 1 a...

Page 29: ...AA batteries onto the rear of the Carrier Board Step 4 Commission the Dimmer Switch node into the network Move the NFC antenna of the Dimmer Switch node over the NFC antenna of the NFC Controller Boar...

Page 30: ...he Dimmable Light node over the NFC antenna of the NFC Controller Board as shown in Figure 11 If data is successfully exchanged in this NFC tap the Raspberry Pi board will sound a long beep An unsucce...

Page 31: ...er Switch node for up to 10 seconds or longer until the three white LEDs stop flashing on the Lighting Sensor Expansion Board of the Dimmable Light node If these LEDs fail to stop flashing press the R...

Page 32: ...the Dimmable Light from the Dimmer Switch The Dimmer Switch node can be used to control the Dimmable Light node The controlled lights are the three white LEDs D1 D3 on the Lighting Sensor Expansion Bo...

Page 33: ...terface via the Lamps tab or the Mobile Site tab shown below To control the Dimmable Light from the IoT Gateway interface Step 1 Access the Dimmable Light in the web browser on the PC Select the Lamps...

Page 34: ...d from the PC using the controls shown above as follows Toggle the light on and off by clicking on button Vary the brightness of the light by either of the following methods Enter a brightness level a...

Page 35: ...network protocols that can be used to develop applications for the JN517x wireless microcontroller IEEE 802 15 4 This is an industry standard protocol which provides the low level functionality for im...

Page 36: ...n and User Guide JN UG 3109 The contents of the installers are outlined in the sub sections below 3 2 1 LPCXpresso LPCXpresso is an Eclipse based IDE and must be installed first before the SDK The LPC...

Page 37: ...es the Application Note JN517x IEEE 802 15 4 Application Template JN AN 1211 as a Wizard 3 2 3 ZigBee 3 0 SDK JN SW 4270 The ZigBee 3 0 SDK includes the ZigBee PRO stack software and the following com...

Page 38: ...point for your own application coding and is supplied in the SDK Part Number Title Description Application Coding JN UG 3024 IEEE 802 15 4 Stack User Guide Introduces IEEE 802 15 4 and details the sof...

Page 39: ...Guide Introduces essential ZigBee PRO concepts and details the APIs for developing ZigBee 3 0 applications JN UG 3114 ZigBee Devices User Guide Details the ZigBee Base Device and the ZigBee Lighting O...

Page 40: ...o interact with on chip peripherals JN RM 2003 LPRF Board API Reference Manual Details the functions and associated resources used to inter act with components on boards supplied in the development ki...

Page 41: ...r full kit contents Carrier Boards see Appendix A 1 Lighting Sensor Expansion Boards see Appendix A 2 Generic Expansion Boards see Appendix A 3 JN5179 Modules see Appendix A 4 JN5179 USB Dongles see A...

Page 42: ...3 10 way JTAG debug header J6 USB Mini B port for JN51xx module programming or UART connection FTDI FT232 driver chip for USB port On board 4 Mbit Flash memory device connected to SPISSZ line of modul...

Page 43: ...oard with a JN5179 Module USB Port DC Power J3 NFC Antenna J1 J2 JN51xx Module Site JTAG J6 CN1 CN2 CN3 CN4 Expansion Board Site GPIO4 RESET JP1 JP6 JP2 UART0 JTAG JP3 MODULE POWER JP4 SPI JP5 J4 D10...

Page 44: ...x module and or replacing the expansion board with a different expansion board The antenna apertures can each accommodate a push through external antenna The board is supplied with the JP1 jumper conf...

Page 45: ...Disable mapping UART0 JP4 MODULE POWER Selects power source for JN517x module SMPS External 12V power supply for JN517x module LOW 5V power supply for JN517x module LOW JP5 SPI Enables disables JN517x...

Page 46: ...s and Expansion Boards Reference Design JN RD 6036 Voltage Regulator The Carrier Board can be powered from any one of 4 AAA batteries on underside of the board External 5 12V DC supply via 2 1mm conne...

Page 47: ...5V from batteries 12V supply Both JP4 jumpers must be in the SMPS position This setting must be used when the power supply to the Carrier Board is 12V from an external DC source The above jumper setti...

Page 48: ...itted with a JN5179 module with integrated antenna and an expansion board Figure 18 below shows a pre assembled board fitted with a Generic Expansion Board DR1199 Source JP1 JP4 1 JP4 2 Batteries BAT...

Page 49: ...JN5179 modules are described in Appendix A 4 Figure 19 Carrier Board Fitted with Module and DR1175 Expansion Board Tip 1 The pre assembled board shown in Figure 18 is also available to purchase separa...

Page 50: ...ependently controlled by PWM from an on chip multi channel PMW controller connected via the 2 wire Serial Interface see below Connected to the 2 wire Serial Interface I2 C of the JN517x module on the...

Page 51: ...ductors 2017 51 Figure 20 Lighting Sensor Expansion Board Layout Figure 21 Lighting Sensor Expansion Board DR1175 LED Lighting Sensors RESET CN4 CN3 CN2 CN1 CN6 D7 U4 U5 SW1 White LEDs Multi Colour LE...

Page 52: ...ed to DIO0 D2 is connected to DIO13 same as for the PWM output used on the Lighting Sensor Expansion Board to drive the three white LEDs D3 is connected to DIO16 D4 is an optional LED which is not fit...

Page 53: ...Kit User Guide JN UG 3121 v1 1 NXP Semiconductors 2017 53 Figure 22 Generic Expansion Board Layout Figure 23 Generic Expansion Board SW1 SW3 SW4 D2 D1 D3 D4 FTDI Chip USB Port Potentiometer GPIO R11...

Page 54: ...n be used to connect the module to an antenna supplied on the Carrier Board via a flying lead When using a high power module the jumper JP6 on the Carrier Board see Appendix A 1 must be in the M06 pos...

Page 55: ...i board provides the interface with the IP LAN WAN side of the demonstration system For more details of the demonstration system refer to Section 1 5 and Chapter 2 Packet Sniffer The JN5179 USB Dongle...

Page 56: ...ammed with NXP firmware Wi Pi Raspberry Pi 802 11n wireless adaptor NXP PN7120 NFC Controller described in Appendix A 7 RJ45 Ethernet cable USB to Micro USB cable for power supply The Raspberry Pi wit...

Page 57: ...f the USB ports of the Raspberry Pi board in order to provide Wi Fi connectivity However it is recommended that this connection is made via a supplied USB to USB cable especially when a JN5179 USB Don...

Page 58: ...assembly must be mounted on the Raspberry Pi 2 Interface Board Figure 26 shows the two components and Figure 27 shows the assembled components The supplied NFC Controller assembly is a high performanc...

Page 59: ...or more information and operational instructions relating to the NFC Controller refer to the following NXP documentation AN11646 PN7120 NFC Controller SBC Kit Quick Start Guide UM10878 PN7120 NFC Cont...

Page 60: ...ogram the sniffer application binary into the JN5179 device on the dongle The sniffer binary file JennicSniffer_JN5179_1000000_HP bin is provided in the JN517x Software Developer s Kit SDK in the dire...

Page 61: ...Board on which the module is located to your PC see below To perform the re programming from your PC you must use a JN51xx Flash Programmer utility see Flash Programmers above When re programming the...

Page 62: ...pted to install the device driver for the chip on your PC You will need to obtain the driver from the Internet You must obtain the driver for your operating system from the VCP drivers page of the FTD...

Page 63: ...uctors Unauthorized modification may void the equipment authorization from the FCC and will void the NXP Semiconductors warranty NOTE This equipment has been tested and found to comply with the limits...

Page 64: ...Appendices 64 NXP Semiconductors 2017 JN UG 3121 v1 1...

Page 65: ...N UG 3121 v1 1 NXP Semiconductors 2017 65 Revision History Version Date Comments 1 0 13 Oct 2016 First release 1 1 8 Feb 2017 Minor updates and improvements made including new web addresses for LPCXpr...

Page 66: ...to result in personal injury death or severe property or environmental damage NXP Semiconductors and its suppliers accept no liability for inclusion and or use of NXP Semiconductors products in such e...

Page 67: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP OM15021 596 JN517X XK040 598 JN517X DK005 596 JN517X XK030 598...

Reviews: