Professional Documents
Culture Documents
Applications
Computer peripherals and I/O devices Mouse Keyboard Multi-touch trackpad Interactive entertainment devices Remote control 3D Glasses Gaming controller Personal Area Networks Health/fitness sensor and monitor devices Medical devices Key-fobs + wrist watch Remote control toys
Copyright 2013 Nordic Semiconductor ASA. All rights reserved. Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder.
Liability disclaimer
Nordic Semiconductor ASA reserves the right to make changes without further notice to the product to improve reliability, function or design. Nordic Semiconductor ASA does not assume any liability arising out of the application or use of any product or circuits described herein.
Contact details
For your nearest distributor, please visit www.nordicsemi.com. Information regarding product updates, downloads, and technical support can be accessed through your My Page account on our home page.
Page 2 of 67
Datasheet Status
Status
Objective Product Specification (OPS) Preliminary Product Specification (PPS)
Description
This product specification contains target specifications for product development. This product specification contains preliminary data; supplementary data may be published from Nordic Semiconductor ASA later. This product specification contains final product specifications. Nordic Semiconductor ASA reserves the right to make changes at any time without notice in order to improve design and supply the best possible product.
Revision History
Date
April 2013
Version
1.2
Description
Added chip variant nRF51822-CEAA. Updated feature list on front page. Updated Section 3.2.1 on page 15, Section 3.2.2 on page 15, Chapter 6 on page 28, Section 10.4 on page 52, and Section 10.5.1 on page 53. Added Section 2.2.2 on page 10, Section 7.1 on page 29, Section 9.2 on page 50, and Section 11.3 on page 61. Removed PCB layouts in Chapter 11 on page 54. Added chip variant nRF51822-QFAB. Added 32 MHz crystal oscillator feature. Updated feature list on front page. Moved subsection Calculating current when the DC/DC converter is enabled from chapter 8 to the nRF51 Reference Manual. Updated Chapter 1 on page 6, Section 2.2 on page 8, Section 3.2 on page 14, Section 3.5 on page 18, Section 3.5.1 on page 19, Section 4.2 on page 23, Chapter 5 on page 26, Section 8.1 on page 30, Section 8.1.2 on page 31, Section 8.1.5 on page 33, Section 8.2 on page 35, Section 8.3 on page 37, Section 8.5.3 on page 39, Section 8.8 on page 43, Section 8.9 on page 44, Section 8.10 on page 45, Section 8.14 on page 46, Chapter 10 on page 51, Section 11.2.3 on page 59, Section 11.2.1 on page 55, and Section 11.2.2 on page 57. Added Section 3.5.4 on page 21, Section 8.1.3 on page 32, and Section 11.1 on page 54. Changed from PPS to PS. Updated feature list on front page. Updated Table 13 on page 28, Table 14 on page 29, Table 16 on page 31, Table 18 on page 33, Table 19 on page 33, Table 20 on page 34, Table 23 on page 36, Table 24 on page 37, Table 26 on page 38, Table 27 on page 38, Table 28 on page 39, Table 32 on page 42, Table 33 on page 43, Table 35 on page 44, Table 38 on page 45, Table 39 on page 46, Table 42 on page 47, Table 45 on page 48, Table 46 on page 48, Table 61 on page 53, and Figure 15 on page 59.
March 2013
1.1
November 2012
1.0
Page 3 of 67
Table of Contents
1 2 2.1 2.2 3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Introduction............................................................................................................................................... 6 Product overview...................................................................................................................................... 7 Block diagram .................................................................................................................................................. 7 Pin assignments and functions ................................................................................................................... 8 System blocks.......................................................................................................................................... 13 CPU ......................................................................................................................................................................13 Memory..............................................................................................................................................................14 Power management (POWER) ...................................................................................................................16 Programmable Peripheral Interconnect (PPI) ......................................................................................17 Clock management (CLOCK)......................................................................................................................18 GPIO.....................................................................................................................................................................21 Debugger support .........................................................................................................................................21
4 Peripheral blocks .................................................................................................................................... 22 4.1 2.4 GHz radio (RADIO) ...................................................................................................................................22 4.2 Timer/counters (TIMER)................................................................................................................................23 4.3 Real Time Counter (RTC) ..............................................................................................................................23 4.4 AES-ECB encryption (ECB) ...........................................................................................................................23 4.5 Random Number Generator (RNG) ..........................................................................................................23 4.6 Watchdog Timer (WDT)................................................................................................................................23 4.7 Temperature sensor ......................................................................................................................................24 4.8 SPI (SPI)...............................................................................................................................................................24 4.9 Two-wire interface (TWI)..............................................................................................................................24 4.10 UART (UART).....................................................................................................................................................24 4.11 Quadrature Decoder (QDEC)......................................................................................................................25 4.12 Analog to Digital Converter (ADC)...........................................................................................................25 4.13 GPIO Task Event blocks (GPIOTE)..............................................................................................................25 5 6 7 7.1 Instance table .......................................................................................................................................... 26 Absolute maximum ratings .................................................................................................................. 28 Operating conditions............................................................................................................................. 29 nRF51822 WLCSP Light sensitivity ...........................................................................................................29
8 Electrical specifications ......................................................................................................................... 30 8.1 Clock sources ...................................................................................................................................................30 8.2 Power management......................................................................................................................................35 8.3 Block resource requirements .....................................................................................................................37 8.4 CPU ......................................................................................................................................................................37 8.5 Radio transceiver ............................................................................................................................................38 8.6 RSSI specifications..........................................................................................................................................42 8.7 UART specifications .......................................................................................................................................42 8.8 SPI specifications ............................................................................................................................................43 8.9 TWI specifications...........................................................................................................................................44 8.10 GPIOTE specifications ...................................................................................................................................45 8.11 Analog-to-Digital Converter (ADC) specifications..............................................................................45 8.12 Timer specifications.......................................................................................................................................46 8.13 RTC .......................................................................................................................................................................46 8.14 Temperature sensor ......................................................................................................................................46
Page 4 of 67
Random Number Generator (RNG) specifications..............................................................................47 ECB/CCM/AAR specifications .....................................................................................................................47 Watch Dog Timer specifications ...............................................................................................................47 Quadrature Decoder specifications.........................................................................................................48 NVMC specifications......................................................................................................................................48 General purpose I/O (GPIO) specification..............................................................................................48 Mechanical specifications ..................................................................................................................... 49 QFN48 package ...............................................................................................................................................49 WLCSP package...............................................................................................................................................50
10 Ordering information ............................................................................................................................ 51 10.1 Package marking ............................................................................................................................................51 10.2 Order code ........................................................................................................................................................51 10.3 Abbreviations...................................................................................................................................................51 10.4 Code ranges and values...............................................................................................................................52 10.5 Product options ..............................................................................................................................................53 11 Reference circuitry.................................................................................................................................. 54 11.1 PCB guidelines.................................................................................................................................................54 11.2 QFN48 package ...............................................................................................................................................55 11.3 WLCSP package...............................................................................................................................................61 12 Glossary .................................................................................................................................................... 67
Page 5 of 67
Introduction
nRF51822 is an ultra-low power 2.4 GHz wireless System on Chip (SoC) integrating the nRF51 series 2.4 GHz transceiver, a 32 bit ARM Cortex-M0 CPU, flash memory, and analog and digital peripherals. nRF51822 can support Bluetooth low energy and a range of proprietary 2.4 GHz protocols, such as Gazell from Nordic Semiconductor. Fully qualified Bluetooth low energy stacks for nRF51822 are implemented in the S100 series of SoftDevices. The S100 series of SoftDevices are available for free and can be downloaded and installed on nRF51822 independent of your own application code. nRF51822 is available in different package and memory variants. When data in this product specification does not apply to all variants, those variants it does apply to will be clearly stated. An example of a variant name is nRF51822-QFAA. If no variant name is stated, or if just nRF51822 is used, the data will apply to all versions of nRF51822.
1.1 1.2
This product specification follows a set of typographic rules to ensure that the document is consistent and easy to read. The following writing conventions are used: Command, event names, and bit state conditions, are written in Lucida Console. Pin names and pin signal conditions are written in Consolas. File names and User Interface components are written in bold. Internal cross references are italicized and written in semi-bold. Placeholders for parameters are written in italic regular text font. For example, a syntax description of Connect will be written as: Connect(TimeOut, AdvInterval). Fixed parameters are written in regular text font. For example, a syntax description of Connect will be written as: Connect(0x00F0, Interval).
Page 6 of 67
2
2.1
Product overview
Block diagram
nRF51
CODE RAM FICR UICR
slave
slave
slave
P0 (P0.0 P0.31)
GPIO
slave
AHB-LITE BUS
master
DAP
BBB
NVIC
RESET
POWER
slave
NVMC ANT2
RADIO ANT1
SPI0
ECB
SPI1 RNG TIMER 0 TIMER 1 TIMER 2 TEMP ADC PPI RXD TXD CTS RTS AIN0 AIN7
TWI0
Page 7 of 67
slave
2.2
2.2.1
2.2.1.1
This section describes the pin assignment and the pin functions for the different packet types.
38
41
40
44
43
47
46
VDD DCC P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
48
45
42
37
39
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1
1 2 3 4 5 6 7 8 9 10 11 12
exposed die pad
36 35 34 33
32 31 30 29 28 27 26 25
AVDD AVDD VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
13
14
15
16
17
18
19
20
21
22
23
Figure 2 Pin assignment - nRF51822 QFN48 packet Note: VV = Variant code, HP = Build code, YYWWLL = Tracking code. For more information, see Section 10.4 on page 52.
VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK
Page 8 of 67
24
2.2.1.2
Pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 to 22 23 24 25 to 28 29 30 31 32 33, 34 35, 36 37 38 39
Pin functions
Pin name
VDD DCC P0.30 P0.00 AREF0 P0.01 AIN2 P0.02 AIN3 P0.03 AIN4 P0.04 AIN5 P0.05 AIN6 P0.06 AIN7 AREF1 P0.07 VDD VSS P0.08to P0.16 SWDIO/nRESET SWDCLK P0.17to P0.20 DEC2 VDD_PA ANT1 ANT2 VSS AVDD XC1 XC2 DEC1
Pin function
Power Power Digital I/O Digital I/O Analog input Digital I/O Analog input Digital I/O Analog input Digital I/O Analog input Digital I/O Analog input Digital I/O Analog input Digital I/O Analog input Analog input Digital I/O Power Power Digital I/O Digital I/O Digital input Digital I/O Power Power output RF RF Power Power Analog input Analog output Power
Description
Power supply DC/DC output voltage to external LC filter General purpose I/O pin General purpose I/O pin ADC Reference voltage General purpose I/O pin ADC input 2 General purpose I/O pin ADC input 3 General purpose I/O pin ADC input 4 General purpose I/O pin ADC input 5 General purpose I/O pin ADC input 6 General purpose I/O pin ADC input 7 ADC Reference voltage General purpose I/O pin Power supply Ground (0 V)1 General purpose I/O pin System reset (active low). Also HW debug and flash programming I/O HW debug and flash programming I/O General purpose I/O pin Power supply decoupling Power supply output (+1.6 V) for on-chip RF power amp Differential antenna connection (TX and RX) Differential antenna connection (TX and RX) Ground (0 V) Analog Power supply Connection for 16/32 MHz crystal or external 16 MHz clock reference Connection for 16/32 MHz crystal Power supply decoupling
Page 9 of 67
Pin
40 to 44 45
Pin name
P0.21to P0.25 P0.26 AIN0 XL2 P0.27 AIN1 XL1 P0.28and P0.29
Pin function
Digital I/O Digital I/O Analog input Analog output Digital I/O Analog input Analog input Digital I/O
Description
General purpose I/O pin General purpose I/O pin ADC input 0 Connection for 32.768 kHz crystal General purpose I/O pin ADC input 1 Connection for 32.768 kHz crystal or external 32.768 kHz clock reference General purpose I/O pin
46
47, 48
1. The exposed center pad of the QFN48 package must be connected to supply ground for proper device operation.
2.2.2
2.2.2.1
nRF51822 WLCSP
Ball assignment
1 A B C D E F G H J 2 3 4 5 6 7 8 9
Figure 3 Ball assignment nRF51822-CEAA packet (top side view) Note: HP = Buildcode, YYWWLL = Tracking code Solder balls not visible on the top side. Dot denotes A1 corner.
Page 10 of 67
2.2.2.2
Ball
A1 A2 A3 A4 A5 A6 A7
Ball functions
Name
AVDD XC1 XC2 DEC1 P0.21 P0.24 P0.26 AIN0 XL2 P0.27 AIN1 XL1 VSS VSS P0.22 P0.23 P0.28 VDD DCC ANT2 P0.25 N.C. P0.29 VSS P0.00 AREF0 ANT1 VSS P0.30 P0.02 AIN3 VDD_PA N.C. N.C. N.C. P0.31 P0.01 AIN2
Function
Power Analog input Analog output Power Digital I/O Digital I/O Digital I/O Analog input Analog output Digital I/O Analog input Analog input Power Power Digital I/O Digital I/O Digital I/O Power Power RF Digital I/O No Connection Digital I/O Power Digital I/O Analog input RF Power Digital I/O Digital I/O Analog input Power output No Connection No Connection No Connection Digital I/O Digital I/O Analog input
Description
Analog Power supply Crystal connection for 16/32 MHz crystal oscillator or external 16/32 MHz crystal reference Crystal connection for 16/32 MHz crystal Power supply decoupling General purpose I/O General purpose I/O General purpose I/O ADC input 0 Crystal connection for 32.768 kHz crystal oscillator General purpose I/O ADC input 1 Crystal connection for 32.768 kHz crystal oscillator or external 32.768 kHz crystal reference Ground (0 V) Ground (0 V) General purpose I/O General purpose I/O General purpose I/O Power supply DC/DC output voltage to external LC filter Differential antenna connection (TX and RX) General purpose I/O Must be soldered to PCB General purpose I/O Ground (0 V) General purpose I/O ADC Reference voltage Differential antenna connection (TX and RX) Ground (0 V) General purpose I/O General purpose I/O ADC input 3 Power supply output (+1.6 V) for on-chip RF power amp Must be soldered to PCB Must be soldered to PCB Must be soldered to PCB General purpose I/O General purpose I/O ADC input 2
A8
B1 B4 B5 B6 B7 B8 B9 C1 C5 C6 C7 C8 C9 D1 D7 D8 D9 E1 E2 E3 E7 E8 E9
Page 11 of 67
Ball
F1 F2 F3 F7 F8 F9 G1 G2 G3 G4 G5 G6 G7 G8 G9 H1 H2 H3 H4 H5 H6 H7 H8 H9 J2 J3 J4 J5 J6 J7 J8
Name
DEC2 P0.19 N.C. N.C. P0.04 AIN5 P0.03 AIN4 P0.20 P0.17 N.C. N.C. N.C. VSS N.C. P0.06 AIN7 AREF1 VSS P0.18 SWDCLK VSS P0.14 P0.13 P0.10 P0.07 VDD P0.05 AIN6 SWDIO/ nRESET P0.16 P0.15 P0.12 P0.11 P0.09 P0.08
Function
Power Digital I/O No Connection No Connection Digital I/O Analog input Digital I/O Analog input Digital I/O Digital I/O No Connection No Connection No Connection Power No Connection Digital I/O Analog input Analog input Power Digital I/O Digital input Power Digital I/O Digital I/O Digital I/O Digital I/O Power Digital I/O Analog input Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O Digital I/O
Description
Power supply decoupling General purpose I/O Must be soldered to PCB Must be soldered to PCB General purpose I/O ADC input 5 General purpose I/O ADC input 4 General purpose I/O General purpose I/O Must be soldered to PCB Must be soldered to PCB Must be soldered to PCB Ground (0 V) Must be soldered to PCB General purpose I/O ADC input 7 ADC Reference voltage Ground (0 V) General purpose I/O HW debug and flash programming I/O Ground (0 V) General purpose I/O General purpose I/O General purpose I/O General purpose I/O Power supply General purpose I/O ADC input 6 System reset (active low). Also HW debug and flash programming I/O General purpose I/O General purpose I/O General purpose I/O General purpose I/O General purpose I/O General purpose I/O
Page 12 of 67
System blocks
The nRF51822 contains system-level features common to all nRF51 series devices including clock control, power and reset, interrupt system, Programmable Peripheral Interconnect (PPI), watchdog, and GPIO. System blocks which have a register interface and/or interrupt vector assigned are instantiated in the device address space. The instances of system blocks, their associated ID (for those with interrupt vectors) and base address are found in Table 12 on page 26. Detailed functional descriptions, configuration options, and register interfaces can be found in the nRF51 Reference Manual.
3.1
CPU
The ARM Cortex-M0 CPU has a 16 bit instruction set with 32 bit extensions (Thumb-2 technology) that delivers high-density code with a small-memory-footprint. By using a single-cycle 32 bit multiplier, a 3-stage pipeline and a Nested Vector Interrupt Controller (NVIC), the ARM Cortex-M0 CPU makes program execution simple and highly efficient. The ARM Cortex Microcontroller Software Interface Standard (CMSIS) hardware abstraction layer for the ARM Cortex-M processor series is implemented and available for M0 CPU. Code is forward compatible with ARM Cortex M3 based devices.
Page 13 of 67
3.2
Memory
All memory and registers are found in the same address space as shown in the Device Memory Map, see Figure 4. Devices in the nRF51 series use flash based memory in the code, FICR, and UICR regions. The RAM region is SRAM.
reserved
reserved
0x20000000
RAM reserved
0x10001000
UICR reserved
0x10000000
0x00000000
Figure 4 Device Memory Map The embedded flash memory for program and static data can be programmed using In Application Programming (IAP) routines from RAM through the SWD interface, or in-system from a program executing from code area. The Non-Volatile Memory Controller (NVMC) is used for program/erase operations. It is also possible to set up the device to have readback protection on all or part of the code area by enabling readback protection in the UICR.
Page 14 of 67
3.2.1
Code organization
Chip variant
nRF51822-QFAA nRF51822-CEAA nRF51822-QFAB
Code size
256 kB 128 kB
Page size
1024 B 1024 B
No of pages
256 128
3.2.2
RAM organization
RAM is divided into blocks for separate power management as described in the nRF51 Series Reference Manual. The RAM power management is controlled by the POWER System Block.
Chip variant
nRF51822-QFAA nRF51822-QFAB nRF51822-CEAA 16 kB Block0 Block1 0x20000000 0x20002000 8 kB 8 kB
RAM size
Block
Start address
Size
Page 15 of 67
3.3
The power management system is highly flexible with functional blocks such as the CPU, Radio Transceiver, and peripherals having separate power state control in addition to the global System ON and OFF modes. In System OFF mode, RAM can be retained and the device state can be changed to System ON through reset or GPIO signal. When in System ON mode, all functional blocks will independently be in IDLE or RUN mode depending on needed functionality. Power management features: System ON/OFF modes Brownout reset Power fail comparator Pin wake-up from System OFF Functional block RUN/IDLE modes 2-region RAM retention in System OFF mode
Power supply features: Supervisor HW to manage power on reset, brownout, and power fail 1.8 to 3.6 V supply voltage range using internal LDO regulator 1.75 to 1.95 V Low voltage mode (external voltage regulator is required) 2.1 to 3.6 V supply voltage range using internal buck DC/DC converter
3.3.1
Devices can be used in Low voltage mode where a steady 1.8 V supply is available externally. To use the device in the Low voltage mode, the circuit must be modified as per the reference circuitry provided in Section 11.2.2 on page 57.
3.3.2
DC/DC converter
The nRF51 DC/DC buck converter transforms battery voltage to lower internal voltage with minimal power loss. The converted voltage is then available to the linear regulator input. The DC/DC converter can be disabled when the supply voltage drops to the lower limit of the voltage range so the LDO can be used for low supply voltages. When enabled, the DC/DC converter operation is automatically suspended when only the low current regulator is needed internally. This feature is particularly useful for applications using battery technologies with higher nominal cell voltages. The reduction in supply voltage level from a high voltage to a low voltage reduces the peak power drain from the battery. Used with a 3 V coin-cell battery, the peak current drawn from the battery is reduced by approximately 30%. Note: Three external passive components are required in order to use the DC/DC converter. See Section 11.2.3 on page 59 for details on the schematic differences.
Page 16 of 67
3.4
The Programmable Peripheral Interconnect (PPI) enables peripherals to interact autonomously with each other using tasks and events independent of the CPU. This feature allows precise synchronization between peripherals when application real-time constraints exist and eliminates the need for CPU activity to implement behavior which can be predefined using PPI.
Instance
PPI
Number of channels
16
Number of groups
4
Page 17 of 67
3.5
The advanced clock management system can source the system clocks from a range of internal or external high and low frequency oscillators and distribute them to modules based upon a modules individual requirements. This prevents large clock trees being active and drawing power when no system modules needing this clock reference are active. If an application enables a module that needs a clock reference without the corresponding oscillator running, the clock management system will automatically enable the RC oscillator option and provide the clock. When the module goes back to idle, the clock management will automatically set the oscillator to idle as well. To avoid delays involved in starting a given oscillator, or if a specific oscillator is required, the application can override the automatic oscillator management so it keeps oscillators active when no system modules require the clock reference. Clocks are only available in System ON mode and can be generated by the following sources:
Clock Source
External Crystal (XOSC) High Frequency Clock (HFCLK)1 External clock reference3 Internal RC Oscillator (RCOSC) External Crystal (XOSC) Low Frequency Clock (LFCLK) External clock reference3 Synthesized from HFCLK Internal RC Oscillator (RCOSC) 1. External Crystal must be used for Radio operation 2. The HFCLK will be 16 MHz for both the 16 and 32 MHz crystal option 3. See nRF51 reference manual for more details on external clock reference
Frequency options
16/32 MHz2 16 MHz 16 MHz 32.768 kHz 32.768 kHz 32.768 kHz 32.768 kHz
XL1
XL2
XC1
XC2
16 MHz RC oscillator
LFCLK
HFCLK
Page 18 of 67
3.5.1
The crystal oscillator can be controlled either by a 16 MHz or a 32 MHz external crystal. However, the system clock is always 16 MHz, see the nRF51 Reference Manual for more details. The crystal oscillator is designed for use with an AT-cut quartz crystal in parallel resonant mode. To achieve correct oscillation frequency, the load capacitance must match the specification in the crystal data sheet. Figure 6 shows how the crystal is connected to the 16/32 MHz crystal oscillator.
XC1
XC2
C2
The load capacitance (CL) is the total capacitance seen by the crystal across its terminals and is given by:
1. See Chapter 11 on page 54 for the capacitance value used for C_pcb1 and C_pcb2 in reference circuitry.
Page 19 of 67
3.5.2
The 32.768 kHz crystal oscillator is designed for use with a quartz crystal in parallel resonant mode. To achieve correct oscillation frequency, the load capacitance must match the specification in the crystal data sheet. Figure 7 shows how the crystal is connected to the 32.768 kHz crystal oscillator.
XL1
XL2
C2
The load capacitance (CL) is the total capacitance seen by the crystal across its terminals and is given by:
3.5.3
The 32.768 kHz RC low frequency oscillator may be used as an alternative to the 32.768 kHz crystal oscillator. It has a frequency accuracy of 250 ppm in a stable temperature environment or when calibration is periodically performed in changing temperature environments. The 32.768 kHz RC oscillator does not require external components.
2. See Chapter 11 on page 54 for the capacitance value used for C_pcb1 and C_pcb2 in reference circuitry.
Page 20 of 67
3.5.4
The low frequency clock can be synthesized from the high frequency clock. This saves the cost of a crystal but increases average power consumption as the high frequency clock source will have to be active.
3.6
GPIO
The Flexible general purpose I/O is organized as one port with up to 32 I/Os (dependant on package) enabling access and control of up to 32 pins through one port. Each GPIO can also be accessed individually and each has the following user configured features. Input/output direction Output drive strength Internal pull up and pull down resistors Wake-up from high or low level triggers on all pins Trigger interrupt on all pins All pins can be used by the PPI task/event system; the maximum number of pins that can be interfaced through the PPI at the same time is limited by the number of GPIOTE modules All pins can be individually configured to carry serial interface or quadrature demodulator signals
3.7
Debugger support
The 2-pin Serial Wire Debug (SWD) interface provided as a part of the Debug Access Port (DAP) in conjunction with the Nordic Trace Buffer (NTB) offers a flexible and powerful mechanism for non-intrusive debugging of program code. Breakpoints, single stepping, and instruction trace capture of code execution flow are part of this support.
Page 21 of 67
Peripheral blocks
Peripheral blocks which have a register interface and/or interrupt vector assigned are instantiated, one or more times, in the device address space. The instances, associated ID (for those with interrupt vectors), and base address of features are found in Table 12 on page 26. Detailed functional descriptions, configuration options, and register interfaces can be found in the nRF51 Reference Manual.
4.1
The nRF51 series 2.4 GHz RF transceiver is designed and optimized to operate in the worldwide ISM frequency band at 2.400 to 2.4835 GHz. Radio modulation modes and configurable packet structure make the transceiver interoperable with Bluetooth low energy (BLE), ANT, Enhanced ShockBurst, and other 2.4 GHz protocol implementations. The transceiver receives and transmits data directly to and from system memory for flexible and efficient packet data management. General modulation features GFSK modulation Data whitening 7 bit linear feedback shift register (programmable IV) On-air data rates 250 kbps 1 Mbps 2 Mbps Transmitter with programmable output power of +4 dBm to -20 dBm, in 4 dB steps Transmitter whisper mode: -30 dBm RSSI function (1 dB resolution, 6 dB accuracy) Receiver with integrated channel filters achieving maximum sensitivity -96 dBm @ 250 kbps -93 dBm @ 1 Mbps BLE -90 dBm @ 1 Mbps -85 dBm @ 2 Mbps RF Synthesizer 1 MHz frequency programming resolution 1 MHz non-overlapping channel spacing at 1 Mbps and 250 kbps 2 MHz non-overlapping channel spacing at 2 Mbps Works with low-cost 60 ppm 16 MHz crystal oscillators Baseband controller EasyDMA3 RX and TX packet transfer directly to and from RAM Dynamic payload length On-the-fly packet assembly/disassembly and AES CCM payload encryption 8 bit, 16 bit, and 24 bit CRC check (programmable polynomial and initial value)
3. EasyDMA - is an integrated DMA implementation requiring no configuration to take advantage of flexible data management and avoid copy operations to and from RAM.
Page 22 of 67
4.2
Timer/counters (TIMER)
The TIMER timer/counter runs on the high-frequency clock source (HFCLK) and includes a 4 bit (1/2X) prescaler that can divide the HFCLK. The extensive TIMER task/event and interrupt features make it possible to use the PPI system for timing/ count tasks to/from any system peripheral including any GPIO of the device. The PPI system also enables the TIMER task/event features to generate periodic output and PWM signals to any GPIO. The number of input/ outputs used at the same time is limited by the number of GPIOTE modules.
Instance
TIMER0 TIMER1 TIMER2
Bit-width
32 16 16
Capture/Compare registers
4 4 4
4.3
The Real Time Counter (RTC) module provides a generic, low power timer on the low-frequency clock source (LFCLK). The RTC features a 24 bit COUNTER, 12 bit (1/X) prescaler, capture/compare registers, and a tick event generator for low power, tickless RTOS implementation.
Instance
RTC0 RTC1
Capture/Compare registers
4 3
4.4
The ECB encryption block supports 128 bit AES encryption. It can be used for a range of cryptographic functions like hash generation, digital signatures, and keystream generation for data encryption/decryption. It operates with EasyDMA access to system RAM for in-place operations on cleartext and ciphertext during encryption.
4.5
The Random Number Generator (RNG) generates true non-deterministic random numbers based on internal thermal noise. These random numbers are suitable for cryptographic purposes. The RNG does not require a seed value.
4.6
A countdown watchdog timer using the low-frequency clock source (LFCLK) offers configurable and robust protection against application lock-up. The watchdog can be paused during long CPU sleep periods for low power applications and when the debugger has halted the CPU.
Page 23 of 67
4.7
Temperature sensor
The temperature sensor measures die temperature over the temperature range of the device with 0.25 C resolution.
4.8
SPI (SPI)
The SPI interface enables full duplex synchronous communication between devices. It supports a 3-wire (SCK, MISO, MOSI) bidirectional bus with fast data transfers to and from multiple slaves. Individual chip select signals will be necessary for each of the slave devices attached to a bus, but control of these is left to the application through use of GPIO signals. I/O data is double buffered. The GPIOs used for each SPI interface line can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pinout and enables efficient use of printed circuit board space and signal routing. The SPI peripheral supports SPI mode 0, 1, 2, and 3.
Instance
SPI0 SPI1
Master/Slave
Master Master
4.9
The Two-wire interface can interface a bi-directional wired-AND bus with two lines (SCL, SDA). The protocol makes it possible to interconnect up to 128 individually addressable devices. The interface is capable of clock stretching and data rates of 100 kbps and 400 kbps are supported. The GPIOs used for each Two-wire interface line can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pin-out and enables efficient use of board space and signal routing.
Instance
TWI0 TWI1
Master/Slave
Master Master
4.10
UART (UART)
The Universal Asynchronous Receiver/Transmitter offers fast, full-duplex, asynchronous serial communication with built-in flow control (CTS, RTS) support in HW up to 1 Mbps baud. Parity checking and generation for the 9th data bit are supported. The GPIOs used for each UART interface line can be chosen from any GPIO on the device and are independently configurable. This enables great flexibility in device pinout and enables efficient use of board space and signal routing.
Page 24 of 67
4.11
The quadrature decoder provides buffered decoding of quadrature-encoded sensor signals. It is suitable for mechanical and optical sensors with an optional LED output signal and input debounce filters. The sample period and accumulation are configurable to match application requirements.
4.12
The 10 bit incremental Analog to Digital Converter (ADC) enables sampling of up to 8 external signals through a front end multiplexer. The ADC has configurable input and reference prescaling, and sample resolution (8, 9, and 10 bit).
4.13
A GPIO TE block enables GPIOs on Port 0 to generate events on pin state change which can be used to carry out tasks through the PPI system. A GPIO can also be driven to change state on system events using the PPI system.
Instance
GPIOTE
Number of GPIOs
4
Page 25 of 67
5
ID
0 0 1 2 3 3 4 4 5 6 7 8 9 10 11 12 13 14 15 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 NA NA NA
Instance table
Base address
0x40000000 0x40000000 0x40001000 0x40002000 0x40003000 0x40003000 0x40004000 0x40004000 0x40006000 0x40007000 0x40008000 0x40009000 0x4000A000 0x4000B000 0x4000C000 0x4000D000 0x4000E000 0x4000F000 0x4000F000 0x40010000 0x40011000 0x40012000
Instance
POWER CLOCK RADIO UART0 SPIM0 TWI0 SPI1 TWI1 Port 0 Task and events ADC TIMER0 TIMER1 TIMER2 RTC0 TEMP RNG ECB CCM AAR WDT RTC1 QDEC
Description
Power Control Clock Control 2.4 GHz Radio Universal Asynchronous Receiver/ Transmitter SPI0 I2C compatible Two-Wire Interface 0 SPI1 I2C compatible Two-Wire Interface 1 Unused GPIO Tasks and events Analog-to-Digital Converter Timer/Counter 0 Timer/Counter 1 Timer/Counter 2 Real Time Counter 0 Temperature Sensor Random Number Generator Crypto AES ECB AES Crypto CCM Accelerated Address Resolver Watchdog Timer Real Time Counter 1 Quadrature Decoder Unused Reserved as software input Reserved as software input Reserved as software input Reserved as software input Reserved as software input Reserved as software input Unused Unused Unused Unused
Non-Volatile Memory Controller Programmable Peripheral Interconnect General Purpose Input and Output Factory Information Configuration Registers User Information Configuration Registers
Page 26 of 67
Note: Some peripherals will not be available when a SoftDevice is programmed. See the applicable SoftDevice specification for resource usage.
Page 27 of 67
Maximum ratings are the extreme limits to which nRF51822 can be exposed without permanently damaging it. Exposure to absolute maximum ratings for prolonged periods of time may affect the reliability of the nRF51822. Table 13 specifies the absolute maximum ratings for nRF51822.
Symbol
Supply voltages VDD DEC21 VSS I/O pin voltage VIO Environmental QFN48 package Storage temperature MSL ESD HBM ESD CDM Moisture Sensitivity Level Human Body Model Charged Device Model -40 +125 2 4 750 kV V C -0.3 VDD + 0.3 V -0.3 +3.6 2 0 V V V
Parameter
Min.
Max.
Unit
Environmental WLCSP package Storage temperature MSL ESD HBM ESD CDM Flash memory Endurance Retention Number of times an address can be written between erase cycles 1. Forced in Low voltage mode 20 000 10 years at 40 C 2 times write/erase cycles Moisture Sensitivity Level Human Body Model Charged Device Model -40 +125 1 4 500 kV V C
Page 28 of 67
Operating conditions
The operating conditions are the physical parameters that nRF51822 can operate within as defined in Table 14.
Symbol
VDD VDD
Parameter
Supply voltage, normal mode Supply voltage, normal mode, DC/DC converter output voltage 1.9 V Supply voltage, Low voltage mode Supply rise time (0 V to 1.8 V) Operating temperature
Notes
Min.
1.8 2.1
Typ.
3.0 3.0
Max.
3.6 3.6
Units
V V
VDD tR_VDD TA
1 2
1.75
1.8
1.95 60
V ms C
-25
25
75
1. DEC2 shall be connected to VDD in this mode. 2. The on-chip power-on reset circuitry may not function properly for rise times outside the specified interval.
Table 14 Operating conditions Nominal operating conditions (NOC) conditions under which nRF51822 is operated and tested are the typical (Typ.) values in Table 14. Extreme operating conditions (EOC) conditions under which nRF51822 is operated and tested are the minimum (Min.) and maximum (Max.) values in Table 14.
7.1
The nRF51822 WLCSP package variant is sensitive to visible and near infrared light which means a final product design must shield the chip properly. The marking side is covered with a light absorbing film, while the side edges of the chip and the ball side must be protected by coating or other means.
Page 29 of 67
Electrical specifications
This chapter contains electrical specifications for device interfaces and peripherals including radio parameters and current consumption. The test levels referenced are defined in Table 15.
Test level
1 2 3 4
Description
Simulated, calculated, by design (specification limit) or prototype samples tested at NOC Parameters have been verified at Test level 1 and in addition: Prototype samples tested at EOC Parameters have been verified at Test level 2 and in addition: Production samples tested at EOC in accordance with JEDEC47 Parameters have been verified at Test level 3 and in addition: Production devices are limit tested at NOC
8.1
8.1.1
Clock sources
16/32 MHz crystal startup
ISTART,XOSC
Enable XOSC XOSC Ready
tSTART,XOSC tSTART,X16M/tSTART,X32M
Figure 8 Current drawn at oscillator startup This figure shows the current drawn by the crystal oscillator (XOSC) at startup. The tSTART,XOSC period is the time needed for the oscillator to start clocking. The length of tSTART,XOSC is depending on the crystal specifications. The period following tSTART,XOSC to the end of tSTART,X16M /tSTART,X32M is fixed. This is the debounce period where the clock stabilizes before it is made available to rest of the system.
Page 30 of 67
8.1.2
Symbol
fNOM,X16M fTOL,X16M
Note
Min.
Typ.
16
Max.
Units
MHz
Test level
N/A N/A N/A N/A N/A N/A N/A 1 1 1 3 2 1
ppm ppm W pF A A mA s s
fTOL,X16M,BLE
1. The Frequency tolerance relates to the amount of time the radio can be in transmit mode. See Table 28 on page 39. 2. Includes initial tolerance of the crystal, drift over temperature, aging and frequency pulling due to incorrect load capacitance. 3. This number includes the current used by the automated power and clock management system. 4. Standby current is the current drawn by the oscillator when there are no resources requesting the 16M, meaning there is no clock management active (see Table 24 on page 37). This value will depend on type of crystal. 5. Crystals with other specification than SMD 2520 may have much longer startup times. 6. This is the time from when the crystal oscillator is powered up until its output becomes available to the system. It includes both the crystal startup time and the debounce period.
Page 31 of 67
8.1.3
Symbol
fNOM,X32M fTOL,X32M
Note
Min.
Typ.
32
Max.
Units
MHz
Test level
N/A N/A N/A N/A N/A N/A N/A 1 1 1 3 1 1
ppm ppm W pF A A mA s s
fTOL,X32M,BLE
1. The Frequency tolerance relates to the amount of time the radio can be in transmit mode. See Table 28 on page 39. 2. Includes initial tolerance of the crystal, drift over temperature, aging and frequency pulling due to incorrect load capacitance. 3. This number includes the current used by the automated power and clock management system. 4. Standby current is the current drawn by the oscillator when there are no resources requesting the 32M, meaning there is no clock management active (see Table 24 on page 37). This value will depend on type of crystal. 5. Crystals with other specification than SMD 2520 may have much longer startup times. 6. This is the time from when the crystal oscillator is powered up until its output becomes available to the system. It includes both the crystal startup time and the debounce period.
Page 32 of 67
8.1.4
Symbol
Min.
Typ.
16 1 750
1
Max.
Units
MHz
Test level
N/A 3 1 1 1
% A
2.5 400
3.5
s A
1. This number includes the current used by the automated power and clock management system.
8.1.5
Symbol
fNOM,X32k fTOL,X32k CL,X32k C0,X32k RS,X32k PD,X32k Cpin IX32k
Min.
Typ.
32.768
Max.
Units
kHz
Test level
N/A N/A N/A N/A N/A N/A 1 1 1 2
250 12.5 2 80 1
ppm pF pF k W pF A A s
ISTART,X32k tSTART,X32k
Page 33 of 67
8.1.6
Symbol
Note
Min.
Typ.
32.768 2
Max.
Units
kHz %
Test level
N/A 3
fNOM,RC32k fTOL,RC32k
fTOL,CAL,RC32k
250
ppm
IRC32k tSTART,RC32k
1.1
A s
1 1
8.1.7
Symbol
Note
Min.
Typ.
32.768 fTOL,XO16M 8 40 100
Max.
Units
kHz ppm A s
Test level
1 1 1 1
Page 34 of 67
8.2
Power management
Symbol Description
Nominal power level warning thresholds (falling supply voltage) Threshold voltage tolerance 2.1 V 2.3 V 2.5 V 2.7 V 46 62 79 100
Note
Accuracy as defined by VTOL
Min.
Typ.
2.1 2.3 2.5 2.7
Max.
Units
Test level
VPOF
N/A
VTOL
VHYST
mV
Note
Min.
Typ.
Max.
Units
Test level
1
tPOR, 1s
0.2
2.7
ms
tPOR, 50 ms IOFF IOFF, 8 k IOFF, 16 k IOFF2ON tOFF2ON ION I1V2 t1V2 I1V7 t1V7
6.5
29
ms
0.4 0.6 0.8 400 9.6 2.3 290 2.3 90 2 3.6 10.6
A A A A s A A s A s
1 1 1 1 1 2 2 1 2 1
I1V2RC16
See Table 24
8301
Page 35 of 67
Symbol
Description
Current drawn by 1V2 regulator and 16 MHz XOSC when both are on at the same time Current drawn by DC/DC converter DC/DC converter current conversion factor DC/DC converter startup time
Note
Min.
Typ.
Max.
Units
Test level
I1V2XO16
See Table 24
7401
1 1
1. This number includes the current used by the automated power and clock management system. 2. FDCDC and tSTART,DCDC will vary depending on VDD and device internal current consumption (IDD). The range of values stated in this specification is for VDD between 2.1 V and 3.6 V, and IDD between 4 mA and 20 mA. Please refer to the nRF51 Series Reference Manual, v1.1 or later, for a method to calculate these numbers based on VDD and IDD.
Page 36 of 67
8.3
ID 1V2+16M
1 2 3, 4 3, 4 6 7 8, 9, 10 11, 17 12 13 14 16 18 x x x x x x x x x x x x x x x x
16M will only be requested if the 32.768 kHz clock is synthesized from the 16 MHz clock Requires 16M XOSC
8.4
CPU
Symbol
ICPU, Flash ICPU, RAM ISTART, CPU tSTART, CPU
Description
Run current at 16 MHz, Executing code from flash memory Run current at 16 MHz, Executing code from RAM CPU startup current IDLE to CPU execute
Min.
Typ.
4.41 2.42 600
Max.
Units
mA mA A s
Test level
2 1 1 1
1. Includes CPU, flash, 1V2, 1V7, RC16M 2. Includes CPU, RAM, 1V2, RC16M 3. t1V2 if 1V2 regulator is not running already
Page 37 of 67
8.5
8.5.1
Radio transceiver
General radio characteristics
Description Note
1 MHz channel spacing
Symbol
Min.
Typ.
Max.
Units
Test level
N/A N/A 2 2 2 4 N/A
fOP PLLres
Operating frequencies PLL programming resolution Frequency deviation @ 250 kbps Frequency deviation @ 1 Mbps Frequency deviation @ 2 Mbps Frequency deviation @ BLE On-air data rate
2483
275 2000
kHz kbps
8.5.2
Symbol
ITX,+4dBm ITX,0dBm ITX,-4dBm ITX,-8dBm ITX,-12dBm ITX,-16dBm ITX,-20dBm ITX,-30dBm ISTART,TX IRX,250 IRX,1M IRX,2M ISTART,RX
Note
1 1 1 1 1 1 1 1 2
Min.
Typ.
16 10.5 8 7 6.5 6 5.5 5.5 7 12.6 13 13.4 8.7
Max.
Units
mA mA mA mA mA mA mA mA mA mA mA mA mA
Test level
4 4 2 2 2 2 2 2 1 1 4 1 1
1. Valid for data rates 250 kbps, 1 Mbps, and 2 Mbps 2. Average current consumption (at 0 dBm TX output power) for TX startup (130 s), and when changing mode from RX to TX (130 s). 3. Average current consumption for RX startup (130 s), and when changing mode from TX to RX (130 s).
Page 38 of 67
8.5.3
Symbol
PRF PRFC PRFCR PWHISP PBW2 PBW1 PBW250 PRF1.2 PRF2.2 PRF1.1 PRF2.1 PRF1.250 PRF2.250 tTX,30 tTX,60
Transmitter specification
Description
Maximum output power RF power control range RF power accuracy RF power whisper mode 20 dB bandwidth for modulated carrier (2 Mbps) 20 dB bandwidth for modulated carrier (1 Mbps) 20 dB bandwidth for modulated carrier (250 kbps) 1st Adjacent Channel Transmit Power 2 MHz (2 Mbps) 2nd Adjacent Channel Transmit Power 4 MHz (2 Mbps) 1st Adjacent Channel Transmit Power 1 MHz (1 Mbps) 2nd Adjacent Channel Transmit Power 2 MHz (1 Mbps) 1st Adjacent Channel Transmit Power 1 MHz (250 kbps) 2nd Adjacent Channel Transmit Power 2 MHz (250 kbps) Maximum consecutive transmission time, fTOL < 30 ppm Maximum consecutive transmission time, fTOL < 60 ppm -30 1800 950 700 2000 1100 800 -20 -45 -20 -40 -25 -40 16 4 20
Min.
Typ.
4 24
Max.
Units
dBm dB
Test level
4 2 1 2 2 2 2 2 2 2 2 2 2 1 1
dB dBm kHz kHz kHz dBc dBc dBc dBc dBc dBc ms ms
Page 39 of 67
8.5.4
Symbol
Receiver specification
Description Min. Typ. Max. Units Test level
Receiver operation
PRXMAX PRXSENS,2M PRXSENS,1M PRXSENS,250k PSENS IT 1 Mbps BLE PSENS DT 1 Mbps BLE Maximum received signal strength at < 0.1% PER Sensitivity (0.1% BER) @ 2 Mbps Sensitivity (0.1% BER) @ 1 Mbps Sensitivity (0.1% BER) @ 250 kbps Receiver sensitivity: Ideal transmitter Receiver sensitivity: Dirty transmitter 0 -85 -90 -96 -93 -91 dBm dBm dBm dBm dBm dBm 1 2 2 2 2 2
1 Mbps
C/ICO C/I1ST C/I2ND C/I3RD C/I6th C/I12th C/INth C/I co-channel (1 Mbps) 1st ACS, C/I 1 MHz 2nd ACS, C/I 2 MHz 3rd ACS, C/I 3 MHz 6th ACS, C/I 6 MHz 12th ACS, C/I 12 MHz Nth ACS, C/I fi > 25 MHz 12 4 -24 -30 -40 -50 -53 dB dB dB dB dB dB dB 2 2 2 2 2 2 2
Page 40 of 67
Symbol
Description
Min.
Typ.
Max.
Units
Test level
250 kbps
C/ICO C/I1ST C/I2ND C/I3RD C/I6th C/I12th C/INth C/I co-channel 1st ACS, C/I 1 MHz 2nd ACS, C/I 2 MHz 3rd ACS, C/I 3 MHz 6 ACS, C/I fi > 6 MHz 12th ACS, C/I 12 MHz Nth ACS, C/I fi > 25 MHz
th
dB dB dB dB dB dB dB
2 2 2 2 2 2 2
RX intermodulation2
P_IMD2Mbps P_IMD1Mbps P_IMD250kbps P_IMDBLE IMD performance, 2 Mbps, 3rd, 4th and 5th offset channel IMD performance, 1 Mbps, 3rd, 4th and 5th offset channel IMD performance, 250 kbps, 3rd, 4th and 5th offset channel IMD performance, 1 Mbps BLE, 3rd, 4th and 5th offset channel -41 -40 -36 -39 dBm dBm dBm dBm 2 2 2 2
1. Wanted signal level at PIN = -67 dBm. One interferer is used, having equal modulation as the wanted signal. The input power of the interferer where the sensitivity equals BER = 0.1% is presented. 2. Wanted signal level at PIN = -64 dBm. Two interferers with equal input power are used. The interferer closest in frequency is unmodulated, the other interferer is modulated equal with the wanted signal. The input power of interferers where the sensitivity equals BER = 0.1% is presented.
Page 41 of 67
8.5.5
Symbol
tTXEN tTXDISABLE tRXEN tRXDISABLE tTXCHAIN tRXCHAIN
250 k
132 10 130 0 5 12
1M
132 4 130 0 1 2
2M
132 3 130 0 0.5 2.5
BLE
140 4 138 0 1 3
Jitter
0 1 0 1 0 0
Units
s s s s s s
8.6
RSSI specifications
Symbol Description Note
Valid between: -50 dBm and -80 dBm 1 8.8 250
Min.
Typ.
Max.
Units
Test level
2 1 1 1
RSSI accuracy RSSI resolution Sample period Current consumption in addition to IRX
dB dB s A
8.7
UART specifications
Symbol
IUART1M IUART115k IUART1k2 fUART
Description
Run current @ max baud rate Run current @ 115200 bps Run current @ 1200 bps Baud rate for UART
Note
Min.
Typ.
230 220 210
Max.
Units
A A A
Test level
1 1 1 N/A
1.2
921.6
kbps
Page 42 of 67
8.8
SPI specifications
Symbol
ISPI125K ISPI8M fSPI
Description
Run current for SPI master @ 125 kbps Run current for SPI master @ 8 Mbps Bit rates for SPI
Min.
Typ.
180 200
Max.
Units
A A
Test level
1 1 N/A
0.125
Mbps
tCL
tDC
MISO
tDH
b7 b6 b0
tCD
MOSI
b7 b0
Description
Data to SCK setup SCK to Data hold
Note
Min.
10 10
Max.
Units
ns ns
Test level
1 1
tCD
60 66 68 78
ns
SCK Low time SCK High time SCK Frequency SCK Rise and Fall time
ns ns 8 100 MHz ns
1 1 1 1
Page 43 of 67
8.9
TWI specifications
Symbol
I2W100K I2W400K f2W
Description
Run current for TWI @ 100 kbps Run current for TWI @ 400 kbps Bit rates for TWI
Min.
Typ.
380 400
Max.
Units
A A
Test level
1 1 N/A
100
400
kbps
tSU_DAT tHD_SDA
SDA
tHD_DAT
tSU_STO tBUF
Description
SCL clock frequency Hold time for START and repeated START condition Data setup time before positive edge on SCL Data hold time after negative edge on SCL Setup time from SCL goes high to STOP condition Bus free time between STOP and START conditions
Units
kHz ns ns ns ns ns
Test level
1 1 1 1 1 1
Page 44 of 67
8.10
GPIOTE specifications
Description
Run current with GPIOTE active in Input mode Run current with GPIOTE active in Output mode
Symbol
IGPIOTE,IN IGPIOTE,OUT
Min.
Typ.
100 0.1
Max.
Units
A A
Test level
1 1
Table 37 GPIOTE specifications Note: Setting up one or more GPIO DETECT signals to generate PORT EVENT, that again could be used either as a wakeup source or to give an interrupt, will not lead to an increase of the current consumption.
8.11
Symbol
DNL10b INL10b VOS eG VREF_INT TCREF_INT VREF_EXT tADC10b tADC9b tADC8b IADC ADC_ERR_1V8 ADC_ERR_2V2 ADC_ERR_2V6 ADC_ERR_3V0 ADC_ERR_3V4
Note
Min.
Typ.
<1 2
Max.
Units
LSB LSB
Test level
2 2 2 2 2 2 1 1 1 1 1 2 2 2 2 2
Page 45 of 67
8.12
Timer specifications
Description
Timer @16 MHz run current Time from START task is given until timer start counting
Symbol
ITIMER0/1/2,16M
Note
24 bit 16 bit
Min.
Typ.
258 178 0.25
Max.
Units
A A s
Test level
1 1 1
tTIMER,START
8.13
RTC
Description
Timer (LFCLK source)
Symbol
IRTC
Min.
Typ.
0.2
Max.
Units
A
Test level
1
Table 40 RTC
8.14
Temperature sensor
Description
Run current for Temperature sensor Time required for temperature measurement Temperature sensor range Temperature sensor accuracy Temperature sensor resolution -25 -4 0.25
Symbol
ITEMP tTEMP TRANGE TACC TRES
Min.
Typ.
185 35
Max.
Units
A s
Test level
1 1 N/A N/A 1
75 +4
C C C
Page 46 of 67
8.15
Symbol
IRNG
Note
Min.
Typ.
300
Max.
Units
A
Test level
1
tRNG,RAW
167
tRNG,UNI
677
8.16
ECB/CCM/AAR specifications
Description
Run current for Crypto in all modes Run time per 16 byte block in all modes
Symbol
ICRYPTO tCRYPTO
Min.
Typ.
400 8.5
Max.
Units
A s
Test level
1 1
8.17
Symbol
IWDT tWDT
Min.
Typ.
1
Max.
Units
A
Test level
1 1
36 hrs
Page 47 of 67
8.18
Symbol
IQDEC tSAMPLE tLED
Max.
Units
A s
Test level
1 N/A
511
N/A
8.19
NVMC specifications
Description
Erase flash memory Erase page in flash memory Write one word to flash memory
Symbol
tEREASEALL tPAGEERASE tWRITE1
Note
Min.
Typ.
21 21 22
Max.
Units
ms ms
Test level
1 1 1
43
1. Nominal value applies when writing 32 words or more. Maximum value applies when writing a single word.
Note: The CPU will be halted for the duration of NVMC operations. Table 46 NVMC specifications
8.20
VIH VIL VOH VOH VOL VOL RPU RPD
Symbol
Note
Min.
0.7 VDD VSS VDD-0.3 VDD-0.3 VSS VSS 11 11
Typ.
Max.
VDD 0.3 VDD VDD VDD 0.3 0.3
Units
V V V V V V k k
13 13
16 16
Page 48 of 67
9
9.1
Mechanical specifications
QFN48 package
D
48 1 37
D2 L
36
E2
2 12 13 24 25 1 48
K e
TOP VIEW
A A1
SIDE VIEW
A3
BOTTOM VIEW
Package
QFN48 (6 x 6)
A
0.80 0.85 0.90
A1
0.00 0.02 0.05
A3
0.2
b
0.15 0.20 0.25
D, E
6.0
D2, E2
4.50 4.60 4.70
e
0.4
K
0.20
L
0.35 0.40 0.45 Min. Nom. Max.
Page 49 of 67
9.2
1 A B
WLCSP package
2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 A B
C D
F G H J
E2
E F G H
e D2
TOP VIEW
BOTTOM VIEW
A3 A1
SIDE VIEW
Package
WLCSP
A
0.50 0.55
A1
0.12 0.15 0.18
A3
0.31 0.33 0.35
b
0.16 0.20 0.24
D
3.45 3.50 3.55
E
3.78 3.83 3.88
D2
3.20
E2
3.20
e
0.4
K
1.66
L
1.61 Min. Nom. Max.
Page 50 of 67
10
10.1
Ordering information
Package marking
N <P <Y 5 P> Y> 1 <V <W 8 V> W> 2 <H> <L 2 <P> L>
10.2
n
Order code
R F 5 1 8 2 2 <P P> <V V> <C C>
10.3
Abbreviations
Abbreviation
N51/nRF51 822 <PP> <VV> <H><P>
<YY><WW><LL>
<CC>
Table 52 Abbreviations
Page 51 of 67
10.4
Packet
QFN WLCSP
Size (mm)
6x6 3.50 x 3.83
Pin/Ball Count
48 62
Pitch (mm)
0.4 0.4
Flash (kB)
256 128
RAM (kB)
16 16
DC/DC Bond-out
YES YES
Description
Hardware version/revision identifier (incremental)
Description
Production device identifier (incremental) Engineering device identifier (incremental)
Description
Production year: 2012 to 2099
Description
Week of production
Description
Wafer production lot identifier
Page 52 of 67
<CC>
R7 R T
Description
7 Reel 13 Reel Tray
10.5
10.5.1
Product options
nRF ICs
Order code
nRF51822-QFAA-R7 nRF51822-QFAB-R7 nRF51822-QFAA-R nRF51822-QFAB-R nRF51822-CEAA-R nRF51822-QFAA-T nRF51822-QFAB-T 1. Minimum Order Quantity
MOQ1
1000
3000
490
10.5.2
Development tools
Order code
nRF51822-DK1 nRF51822-EK1 nRF6700
Description
nRF51822 Development Kit2 nRF51822 Evaluation Kit nRFgo Starter Kit
1. Uses the nRF51822-QFAA version of the chip 2. Requires nRF6700 nRFgo Starter Kit
Page 53 of 67
11
Reference circuitry
For the following reference layouts, C_pcb, between X1 and XC1/XC2, is estimated to 0.5 pF each. The exposed center pad of the QFN48 package must be connected to supply ground for proper device operation.
11.1
PCB guidelines
A well designed PCB is necessary to achieve good RF performance. A poor layout can lead to loss in performance or functionality. A qualified RF-layout for the IC and its surrounding components, including matching networks, can be downloaded from www.nordicsemi.com. A PCB with a minimum of two layers including a ground plane is recommended for optimal performance. On PCBs with more than two layers, put a keep-out area on the inner layers directly below the antenna matching circuitry (components between device pins ANT1,ANT2,VDD_PA, and the antenna) to reduce the stray capacitances that influence RF performance. The DC supply voltage should be decoupled as close as possible to the VDD pins with high performance RF capacitors. See the schematics for recommended decoupling capacitor values. The supply voltage for the chip should be filtered and routed separately from the supply voltages of any digital circuitry. Long power supply lines on the PCB should be avoided. All device grounds, VDD connections, and VDD bypass capacitors must be connected as close as possible to the IC. For a PCB with a topside RF ground plane, the VSS pins should be connected directly to the ground plane. For a PCB with a bottom ground plane, the best technique is to have Via holes as close as possible to the VSS pads. A minimum of one Via hole should be used for each VSS pin. Full-swing digital data or control signals should not be routed close to the crystal or the power supply lines. Capacitive loading of full-swing digital output lines should be minimized in order to avoid radio interference.
Page 54 of 67
11.2
QFN48 package
Documentation for the QFN48 package reference circuit, including Altium Designer files, PCB layout files, and PCB production files can be downloaded from the nRF51822 product page on www.nordicsemi.com.
11.2.1
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21
48 47 46 45 44 43 42 41 40 39 38 37
VCC_nRF P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 1 2 3 4 5 6 7 8 9 10 11 12 VDD DCC P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
C7 100nF
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD AVDD VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK
nRF51822
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWCLK
13 14 15 16 17 18 19 20 21 22 23 24
U1
R1 12k
GND
GND
Page 55 of 67
11.2.1.1
Bill of Materials
Value
12 pF 2.2 nF 1.0 pF 2.2 pF 1.5 pF 100 nF 1.0 nF 47 nF 4.7 nH 10 nH 3.3 nH 12 k nRF51822-QFAA nRF51822-QFAB 16 MHz
Designator
C1, C2 C3 C4 C5 C6 C7, C8, C11 C9 C10 L1 L2 L3 R1 U1 X1
Description
Capacitor, NP0, 2% Capacitor, X7R, 10% Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% High frequency chip inductor 5% High frequency chip inductor 5% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 QFN40P600X600X90-48N 2.5 x 2.0 mm
Page 56 of 67
11.2.2
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21
48 47 46 45 44 43 42 41 40 39 38 37
VCC_1V8 P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 1 2 3 4 5 6 7 8 9 10 11 12 VDD DCC P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
C7 100nF
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD AVDD VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
L1 4.7nH P0.20 P0.19 P0.18 P0.17 L2 10nH VCC_1V8 C3 2.2nF C10 47nF
VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK
nRF51822
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWCLK
13 14 15 16 17 18 19 20 21 22 23 24
U1
R1 12k
GND
GND
Page 57 of 67
11.2.2.1
Bill of Materials
Value
12 pF 2.2 nF 1.0 pF 2.2 pF 1.5 pF 100 nF 1.0 nF 47 nF 4.7 nH 10 nH 3.3 nH 12 k nRF51822-QFAA nRF51822-QFAB 16 MHz
Designator
C1, C2 C3 C4 C5 C6 C7, C8, C11 C9 C10 L1 L2 L3 R1 U1 X1
Description
Capacitor, NP0, 2% Capacitor, X7R, 10% Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% High frequency chip inductor 5% High frequency chip inductor 5% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 0402 QFN40P600X600X90-48N 2.5 x 2.0 mm
Page 58 of 67
11.2.3
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21
48 47 46 45 44 43 42 41 40 39 38 37
VCC_nRF AVDD L5 15nH C12 1.0F L4 10H P0.30 P0.00 C7 P0.01 4.7F P0.02 P0.03 P0.04 P0.05 P0.06 VCC_nRF P0.07 1 2 3 4 5 6 7 8 9 10 11 12 VDD DCC P0.30 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD AVDD VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
C11 100nF
VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK
nRF51822
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWCLK
13 14 15 16 17 18 19 20 21 22 23 24
U1
R1 12k
GND
GND
Page 59 of 67
11.2.3.1
Bill of Materials
Value
12 pF 2.2 nF 1.0 pF 2.2 pF 1.5 pF 4.7 F 100 nF 1.0 nF 47 nF 1.0 F 4.7 nH 10 nH 3.3 nH 10 H 15 nH 12 k nRF51822-QFAA nRF51822-QFAB 16 MHz
Designator
C1, C2 C3 C4 C5 C6 C7 C8, C11 C9 C10 C12 L1 L2 L3 L4 L5 R1 U1 X1
Description
Capacitor, NP0, 2% Capacitor, X7R 10% Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, NP0, 0.1 pF Capacitor, X5R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% High frequency chip inductor 5% High frequency chip inductor 5% Chip inductor, IDC,min = 50 mA, 20% High frequency chip inductor 10% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
0402 0402 0402 0402 0402 0603 0402 0402 0402 0603 0402 0402 0402 0603 0402 0402 QFN40P600X600X90-48N 2.5 x 2.0 mm
Page 60 of 67
11.3
WLCSP package
Documentation for the WLCSP package reference circuit, including Altium Designer files, PCB layout files, and PCB production files, can be downloaded from the nRF51822 product page on www.nordicsemi.com. Note: These are preliminary reference circuits. Updated reference circuits will be available during Q2 2013 and will include a balun that replaces all components in the matching network.
11.3.1
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 VCC_nRF C9 1.0nF A1 G6 G9 D7 C1 D1 E1 F1 G1 F2 H1 G2
C7 100nF
VSS VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK VSS
P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07
B8 B9 D8 E8 C9 E9 D9 F9 F8 H9 G8 H7 H8
VDD DCC P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD VSS VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
VCC_nRF
C7 B7 A8 A7 C5 A6 B6 B5 A5 A4 A3 A2
1.2nH 1.2nH
nRF51822
C3 2.2nF
U1 nRF51822-CEAA
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWDCLK
B1 B4 J8 J7 H6 J6 J5 H5 H4 J4 J3 J2 H2 C8
R1 12k
Page 61 of 67
11.3.1.1
Bill of Materials
Value
BAL-NRF01D3 12 pF 2.2 nF 1.0 pF 100 nF 1.0 nF 47 nF 1.2 nH 12 k nRF51822-CEAA 16 MHz
Description
50 ohm balun transformer for 2.45 GHz ISM Capacitor, NP0, 2% Capacitor, X7R 10% Capacitor, NP0, 0.1 pF Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
BAL-NRF01D3 0402 0402 0402 0402 0402 0402 0201 0402 BGA62C40P9X9_383X350X55 2.5 x 2.0 mm
Page 62 of 67
11.3.2
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 VCC_1V8 C9 1.0nF A1 G6 G9 D7 C1 D1 E1 F1 G1 F2 H1 G2
C7 100nF
VSS VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK VSS
P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07
B8 B9 D8 E8 C9 E9 D9 F9 F8 H9 G8 H7 H8
VDD DCC P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD VSS VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
VCC_1V8
C7 B7 A8 A7 C5 A6 B6 B5 A5 A4 A3 A2
1.2nH 1.2nH
nRF51822
U1 nRF51822-CEAA
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWDCLK
B1 B4 J8 J7 H6 J6 J5 H5 H4 J4 J3 J2 H2 C8
R1 12k
Page 63 of 67
11.3.2.1
Bill of Materials
Value
BAL-NRF01D3 12 pF 2.2 nF 1.0 pF 100 nF 1.0 nF 47 nF 1.2 nH 12 k nRF51822-CEAA 16 MHz
Description
50 ohm balun transformer for 2.45 GHz ISM Capacitor, NP0, 2% Capacitor, X7R 10% Capacitor, NP0, 0.1 pF Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
BAL-NRF01D3 0402 0402 0402 0402 0402 0402 0201 0402 BGA62C40P9X9_383X350X55 2.5 x 2.0 mm
Page 64 of 67
11.3.3
C8 100nF P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 AVDD C9 1.0nF A1 G6 G9 D7 C1 D1 E1 F1 G1 F2 H1 G2
AVDD
L5
L4 10H C7 4.7F P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07
VSS VSS P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO/nRESET SWDCLK VSS
B8 B9 D8 E8 C9 E9 D9 F9 F8 H9 G8 H7 H8
VDD DCC P0.30 P0.31 P0.00 P0.01 P0.02 P0.03 P0.04 P0.05 P0.06 P0.07 VDD
P0.29 P0.28 P0.27 P0.26 P0.25 P0.24 P0.23 P0.22 P0.21 DEC1 XC2 XC1 AVDD VSS VSS VSS ANT2 ANT1 VDD_PA DEC2 P0.20 P0.19 P0.18 P0.17
VCC_nRF
C7 B7 A8 A7 C5 A6 B6 B5 A5 A4 A3 A2
1.2nH 1.2nH
nRF51822
C3 2.2nF
U1 nRF51822-CEAA
P0.08 P0.09 P0.10 P0.11 P0.12 P0.13 P0.14 P0.15 P0.16 SWDIO SWDCLK
B1 B4 J8 J7 H6 J6 J5 H5 H4 J4 J3 J2 H2 C8
R1 12k
Page 65 of 67
11.3.3.1
Bill of Materials
Value
BAL-NRF01D3 12 pF 2.2 nF 1.0 pF 4.7 F 100 nF 1.0 nF 47 nF 1.0 F 1.2 nH 10 H 15 nH 12 k nRF51822-CEAA 16 MHz
Description
50 ohm balun transformer for 2.45 GHz ISM Capacitor, NP0, 2% Capacitor, X7R 10% Capacitor, NP0, 0.1 pF Capacitor, X5R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% Capacitor, X7R, 10% High frequency chip inductor 5% Chip inductor, IDC,min = 50 mA, 20% High frequency chip inductor 10% Resistor, 5%, 0.063 W RF SoC Crystal SMD 2520, 16 MHz, 8 pF, 40 ppm
Footprint
BAL-NRF01D3 0402 0402 0402 0603 0402 0402 0402 0603 0201 0603 0402 0402 BGA62C40P9X9_383X350X55 2.5 x 2.0 mm
Page 66 of 67
12
Glossary
Term
EOC GFSK GPIO ISM MOQ NOC NVMC QDEC RF RoHS RSSI SPI TWI UART WLCSP
Description
Extreme Operating Conditions Gaussian Frequency-Shift Keying General Purpose Input Output Industrial Scientific Medical Minimum Order Quantity Nominal Operating Conditions Non-Volatile Memory Controller Quadrature Decoder Radio Frequency Restriction of Hazardous Substances Radio Signal Strength Indicator Serial Peripheral Interface Two-Wire Interface Universal Asynchronous Receiver Transmitter Wafer Level Chip Scale Packet
Table 69 Glossary
Page 67 of 67