517
x
JN517x
IEEE802.15.4 Wireless Microcontroller
Rev. 2.0 — 8 November 2016
Product data sheet
1. General description
The JN517x series is a range of ultra low power, high performance wireless
microcontrollers suitable for Thread and ZigBee applications to facilitate the development
of Smart Home and Smart Lighting applications. It features a high-performance and
low-power ARM Cortex-M3 processor with debug with programmable clock speeds. The
JN517x devices are available in JN5174, JN5178 and JN5179 variants, respectively
having 160 kB, 256 kB and 512 kB of embedded Flash memory as well as 32 kB of RAM
and 4 kB of EEPROM. The embedded Flash can support “Over-The-Air” code download
of software stacks. Radio transmit power is configurable up to +10 dBm output. The
very-low receive operating current (down to 12.7 mA and with a 0.6
A
sleep timer mode)
gives excellent battery life allowing operation direct from a coin cell. The JN517x also
includes a 2.4 GHz “IEEE802.15.4 compliant” transceiver and a comprehensive mix of
analog and digital peripherals.
The JN517x is ideal for battery-operated applications supported through the
comprehensive power-saving modes available in the device. The on-chip peripherals,
which include a fail-safe I
2
C-bus, SPI-bus ports (both master and slave), and a
six-channel analog-digital converter with internal temperature sensor support a wide
range of applications directly without extra hardware.
2. Features and benefits
2.1 Benefits
Very low current solution for long battery life: over 10 years
Very low receive current for low standby power of receiver always on nodes
Integrated power amplifier for long range and robust communication
Large embedded Flash memory to enable Over-The-Air (OTA) firmware updates
without external Flash memory
Single chip device to run communication stack and application
Supports multiple network stacks
Peripherals customized for lighting applications
System BOM is low in component count and cost
Flexible sensor interfacing
Package
6
6 mm HVQFN40, 0.5 mm pitch
lead-free and RoHS compliant
Temperature range:
40 C
to +125
C
JN
NXP Semiconductors
JN517x
IEEE802.15.4 Wireless Microcontroller
2.2 Radio features
2.4 GHz IEEE802.15.4 compliant
Ref. 1
Receive current 14.8 mA, in low-power receive mode 12.7 mA
Receiver sensitivity
96
dBm
Configurable transmit power, for reduced current consumption, for example:
10 dBm, 22.5 mA
8.5 dBm, 19.6 mA
3 dBm, 14 mA
Radio link budget 106 dB
Maximum input level of +10 dBm
Compensation for temperature drift of crystal oscillator frequency
2.0 V to 3.6 V battery operation
Antenna diversity (Auto RX)
Integrated ultra-low-power sleep oscillator (0.6
A)
100 nA deep sleep current with wake-up from external event
128-bit AES security processor
MAC accelerator with packet formatting, CRCs, address check, auto-acks, timers
2.3 Microcontroller features
ARM Cortex-M3 CPU with debug support
JN5174: 160 kB/32 kB/4 kB (Flash/RAM/EEPROM)
JN5178: 256 kB/32 kB/4 kB (Flash/RAM/EEPROM)
JN5179: 512 kB/32 kB/4 kB (Flash/RAM/EEPROM)
OTA firmware upgrade capability
32 MHz clock selectable down to 1 MHz for low-power operation
Dual PAN ID support
Fail-safe I
2
C-bus interface. operates as either master or slave
8 Timers (6
PWM and 2 timer/counters)
2 low-power sleep counters
2
UART, one with flow control
SPI-bus master and slave port, 2 simultaneous selects
Variable instruction width for high coding efficiency
Multi-stage instruction pipeline
Data EEPROM with guaranteed 100 k write operations
Supply voltage monitor with 8 programmable thresholds
Battery voltage and temperature sensors
6-input 10-bit ADC
Analog comparator
Digital monitor for ADC
Watchdog timer and POR
Low-power modes controller
Up to 18 Digital IO (DIO) and 2 digital outputs pins
JN517X
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
Product data sheet
Rev. 2.0 — 8 November 2016
2 of 100
NXP Semiconductors
JN517x
IEEE802.15.4 Wireless Microcontroller
3. Applications
Robust and secure low-power wireless applications
Thread
ZigBee 3.0
Commercial Building and Home Automation
Smart Lighting networks
Internet of Things (IoT)
Toys and gaming peripherals
Energy harvesting, for example self-powered light switch
4. Overview
The JN517x is an IEEE802.15.4 wireless microcontroller that provides a fully integrated
solution for applications using the IEEE802.15.4 standard in the 2.4 GHz to 2.5 GHz ISM
frequency band, including ZigBee PRO and Thread.
Applications that transfer data wirelessly tend to be more complex than wired ones.
Wireless protocols make stringent demands on frequencies, data formats, timing of data
transfers, security and other issues. Application development must consider the
requirements of the wireless network in addition to the product functionality and user
interfaces. To minimize this complexity, NXP provides a series of software libraries and
interfaces that control the transceiver and peripherals of the JN517x. These libraries and
interfaces remove the need for the developer to understand wireless protocols and greatly
simplifies the programming complexities of power modes, interrupts and hardware
functionality.
In view of the above, it is not necessary to provide the register details of the JN517x in the
data sheet.
The device includes a wireless transceiver, ARM Cortex-M3 CPU, “on-chip memory” and
an extensive range of peripherals.
4.1 Wireless transceiver
The wireless transceiver comprises a 2.45 GHz radio, a modem, a baseband controller
and a security coprocessor. In addition, the radio also provides an output to control
transmit-receive switching of external devices such as power amplifiers allowing
applications that require increased transmit power to be realized very easily.
Section 15.1
describes a complete reference design including Printed-Circuit Board (PCB) design and
Bill Of Materials (BOM).
The security coprocessor provides hardware-based 128-bit AES-CCM modes as
specified by the IEEE802.15.4 2006 standard. Specifically this includes encryption and
authentication covered by the MIC-32/-64/-128, ENC and ENC-MIC-32/-64/-128 modes of
operation.
The transceiver elements (radio, modem and baseband) work together to provide
IEEE802.15.4 (2006) MAC and PHY functionality under the control of a protocol stack.
The transmitter is equipped with a power amplifier with 3 options for transmit power (major
steps, fine steps and attenuator) see
Figure 51.
Applications incorporating IEEE802.15.4
JN517X
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
Product data sheet
Rev. 2.0 — 8 November 2016
3 of 100
NXP Semiconductors
JN517x
IEEE802.15.4 Wireless Microcontroller
functionality can be developed rapidly by combining user-developed application software
with a protocol stack library.
4.2 CPU and memory
An ARM Cortex-M3 CPU allows software to be run on-chip, its processing power being
shared between the IEEE802.15.4 MAC protocol, other higher layer protocols and the
user application. The JN517x has a unified memory architecture, where code memory,
data memory, peripheral devices and IO ports are organized within the same linear
address space. The device contains 160 kB or 256 kB or 512 kB of Flash and 32 kB of
RAM and 4 kB EEPROM.
4.3 Peripherals
The following peripherals are available on chip:
•
Master SPI-bus port with 2 simultaneous select outputs
•
Slave SPI-bus port
•
2 UARTs: one capable of hardware flow control (4-wire, includes RTS/CTS) and the
other a 2-wire (RX/TX).
•
2 programmable timer/counters which support Pulse Width Modulation (PWM) and
capture/compare, plus 6 PWM timers which support PWM and Timer modes only.
•
2 programmable sleep timers and a system tick timer
•
2-wire serial interface (compatible with SMbus and I
2
C-bus) supporting master and
slave operation. Fail-safe open-drain IOs for I
2
C-bus.
•
18 digital IO lines (multiplexed with peripherals such as timers, SPI-bus and UARTs)
•
2 digital outputs (multiplexed with SPI-bus port)
•
10-bit, Analog-to-Digital Converter with 6 input channels. Autonomous multi-channel
sampling.
•
•
•
•
•
•
•
•
•
Programmable analog comparator
Digital comparator/monitor linked to ADC
Internal temperature sensor and battery monitor
2 low-power pulse counters
Random number generator
Watchdog Timer and Supply Voltage Monitor (SVM)
Debug support using serial-wire or 4-pin JTAG interface
Debug trace port with up to 4 data lines.
Transmit and receive antenna diversity with automatic receive switching based on
received energy detection
User applications access the peripherals using the Integrated Peripherals API. For further
details, refer to the JN517x Integrated Peripherals API User Guide, JN-UG-3118 on the
Wireless Connectivity area of the NXP web site
Ref. 2.
This allows applications to use a
tested and easily understood view of the peripherals allowing rapid system development.
JN517X
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
Product data sheet
Rev. 2.0 — 8 November 2016
4 of 100
NXP Semiconductors
JN517x
IEEE802.15.4 Wireless Microcontroller
5. Ordering information
Table 1.
Ordering information
Package
Name
JN517x
[1]
HVQFN40
Description
Plastic thermal enhanced very thin quad flat package; no leads;
40 terminals; body 6
6
0.85 mm
Version
SOT618-8
Type number
[1]
x = 4: Flash = 160 kB.
x = 8: Flash = 256 kB.
x = 9: Flash = 512 kB.
For further details, refer to the Wireless Connectivity area of the NXP web site
Ref. 2.
6. Block diagram
WATCHDOG
TIMER
VOLTAGE
BROWNOUT
RAM
FLASH
SPI-BUS MASTER
AND SLAVE
I
2
C-BUS MASTER
AND SLAVE
ARM Cortex-M3
2.4 GHz
RADIO
XTAL
INCLUDING
DIVERSITY
IEEE802.15.4
MAC
ACCELERATOR
O-QPSK
MODEM
EEPROM
6 x PWM
PLUS TIMER
2 x UART
DIO
SLEEP COUNTER
6 CHAN
10 BIT ADC
POWER
MANAGEMENT
128-BIT AES
ENCRYPTION
ACCELERATOR
SUPPLY AND
TEMP SENSORS
aaa-015434
Fig 1.
Block diagram
JN517X
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
Product data sheet
Rev. 2.0 — 8 November 2016
5 of 100