Data Sheet: JN516x IEEE802.15.4 Wireless Microcontroller Features: Radio Overview 2.4GHz IEEE802.15.4 compliant The JN516x series is a range of ultra low power, high performance wireless 128-bit AES security processor microcontrollers supporting JenNet-IP, ZigBee PRO or RF4CE networking MAC accelerator with packet stacks to facilitate the development of Home Automation, Smart Energy, formatting, CRCs, address check, Light Link and Remote control applications. They feature an enhanced 32- auto-acks, timers bit RISC processor with embedded Flash and EEPROM memory, offering Integrated ultra low power sleep high coding efficiency through variable width instructions, a multi-stage oscillator 0.6A instruction pipeline and low power operation with programmable clock 2.0V to 3.6V battery operation speeds. They also include a 2.4GHz IEEE802.15.4 compliant transceiver and a comprehensive mix of analogue and digital peripherals. Three Deep sleep current 0.12A (Wake-up memory configurations are available to suit different applications. The best from IO) in class operating current of 15mA, with a 0.6uA sleep timer mode, gives < 0.15 external component cost excellent battery life allowing operation direct from a coin cell. RX current 17mA , TX 15mA The peripherals support a wide range of applications. They include a 2-wire Receiver sensitivity -95dBm 2 I C, and SPI ports which can operate as either master or slave, a four Transmit power 2.5dBm channel ADC with battery and a temperature sensor. It can support a large Time of Flight engine for ranging switch matrix of up to 100 elements, or alternatively a 20 key capacitive Antenna Diversity (Auto RX) touch pad. Features: Microcontroller Block Diagram 32-bit RISC CPU, 1 to 32MHz clock speed SPI WatchdogWatchdog RAM Flash Master & Slave Variable instruction width for high TimerTimer 8/32K 64/160/256K 2-Wire Serial coding efficiency (Master/Slave) Voltage Brownout 2.4GHz Multi-stage instruction pipeline Radio 32-bit 4xPWM + Timer RISC CPU JN5161: 64kB/8kB/4kB O-QPSK Including Diversity 2xUART Modem JN5164: 160kB/32kB/4kB 4kB 20 DIO JN5168: 256kB/32kB/4kB EEPROM IEEE 802.15.4 (Flash/RAM/EEPROM) Sleep Counter Baseband XTAL Data EEPROM with guaranteed 100k Processor 4-Channel write operations. 10-bit ADC 128-bit AES Power RF4CE, JenNet-IP, ZigBee SE and Hardware Battery and Management ZigBee Light Link stacks Encryption Temp Sensors 2-wire I2C compatible serial interface. Can operate as either master or slave 5xPWM (4x timer & 1 timer/counter) 2 low power sleep counters Benefits Applications 2x UART Single chip device to run Robust and secure low power SPI Master & Slave port, 3 selects stack and application wireless applications Supply voltage monitor with 8 Very low current solution for RF4CE Remote Controls programmable thresholds long battery life over 10 yrs JenNet-IP networks 4-input 10-bit ADC, comparator Supports multiple network ZigBee SE networks Battery and temperature sensors stacks ZigBee Light Link networks Watchdog & Brown Out Reset Highly featured 32-bit RISC Lighting & Home automation CPU for high performance Up to 20 Digital IO Pins (DIO) and low power Toys and gaming peripherals Infra-red remote control transmitter System BOM is low in Smart Energy component count and cost Temp range (-40C to +125C) Energy harvesting, for Flexible sensor interfacing example self powered light 6x6mm 40-lead options switch Lead-free and RoHS compliant NXP Laboratories UK 2013 JN-DS-JN516x v1.3 Production 1 Contents Benefits 1 Applications 1 1 Introduction 6 1.1 Wireless Transceiver 6 1.2 RISC CPU and Memory 6 1.3 Peripherals 7 1.4 Block Diagram JN516x 8 2 Pin Configurations 9 2.1 Pin Assignment 10 2.2 Pin Descriptions 12 2.2.1 Power Supplies 12 2.2.2 Reset 12 2.2.3 32MHz Oscillator 12 2.2.4 Radio 12 2.2.5 Analogue Peripherals 13 2.2.6 Digital Input/Output 13 3 CPU 15 4 Memory Organisation 16 4.1 FLASH 16 4.2 RAM 16 4.3 OTP Configuration Memory 16 4.4 EEPROM 17 4.5 External Memory 17 4.6 Peripherals 17 4.7 Unused Memory Addresses 17 5 System Clocks 18 5.1 High-Speed (32MHz) System Clock 18 5.1.1 32MHz Crystal Oscillator 18 5.1.2 High-Speed RC Oscillator 19 5.2 Low-speed (32kHz) System Clock 19 5.2.1 32kHz RC Oscillator 19 5.2.2 32kHz Crystal Oscillator 20 5.2.3 32kHz External Clock 20 6 Reset 21 6.1 Internal Power-On / Brown-out Reset (BOR) 21 6.2 External Reset 22 6.3 Software Reset 22 6.4 Supply Voltage Monitor (SVM) 22 6.5 Watchdog Timer 23 7 Interrupt System 24 7.1 System Calls 24 7.2 Processor Exceptions 24 7.2.1 Bus Error 24 2 JN-DS-JN516x v1.3 Production NXP Laboratories UK 2013