nRF52840 PS v1.9
nRF52840 PS v1.9
Product Specification
v1.9
• -95 dBm sensitivity in 1 Mbps Bluetooth low energy mode • 1.7 V to 5.5 V supply voltage range
• -103 dBm sensitivity in 125 kbps Bluetooth low energy mode (long range) • On-chip DC/DC and LDO regulators with automated low
• On-air compatible with nRF52, nRF51, nRF24L, and nRF24AP Series devices • 1.8 V to 3.3 V regulated supply for external components
• 4.6 mA peak current in RX • USB 2.0 full speed (12 Mbps) controller
•
® ®
Arm Cortex -M4 32-bit processor with FPU, 64 MHz • High-speed 32 MHz SPI
• ECC support for most used curves, including P-256 (secp256r1) and • Four 4 channel pulse width modulator (PWM) units with EasyDMA
Ed25519/Curve25519 • Audio peripherals – I2S, digital microphone interface (PDM)
• Application key management using derived key model • Five 32-bit timers with counter mode
• Secure boot ready • Up to four SPI masters/three SPI slaves with EasyDMA
• Flash access control list (ACL) • Up to two I2C compatible two-wire master/slave
• Package variants
™
• aQFN73 package, 7 x 7 mm
• QFN48 package, 6 x 6 mm
4413_417 v1.9 ii
Feature list
Applications:
• Advanced computer peripherals and I/O devices • Internet of things (IoT)
1 Revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Core components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1 CPU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1.1 Floating point interrupt. . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1.2 CPU and support module configuration. . . . . . . . . . . . . . . . . . . . . 20
4.1.3 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2 Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2.1 RAM - Random access memory. . . . . . . . . . . . . . . . . . . . . . . . 22
4.2.2 Flash - Non-volatile memory. . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2.3 Memory map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2.4 Instantiation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.3 NVMC — Non-volatile memory controller. . . . . . . . . . . . . . . . . . . . . . 25
4.3.1 Writing to flash. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.2 Erasing a page in flash. . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.3.3 Writing to user information configuration registers (UICR). . . . . . . . . . . . . . 26
4.3.4 Erasing user information configuration registers (UICR). . . . . . . . . . . . . . . 26
4.3.5 Erase all. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.3.6 Access port protection behavior. . . . . . . . . . . . . . . . . . . . . . . . 26
4.3.7 Partial erase of a page in flash. . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3.8 Cache. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3.9 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3.10 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4 FICR — Factory information configuration registers. . . . . . . . . . . . . . . . . . 32
4.4.1 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.5 UICR — User information configuration registers. . . . . . . . . . . . . . . . . . . 46
4.5.1 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
4.6.1 EasyDMA error handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.6.2 EasyDMA array list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.7 AHB multilayer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4.8 Debug and trace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.8.1 DAP - Debug access port. . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.8.2 Access port protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.8.3 CTRL-AP - Control access port. . . . . . . . . . . . . . . . . . . . . . . . . 70
4.8.4 Debug Interface mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4413_417 v1.9 iv
4.8.5 Real-time debug. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.8.6 Trace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6 Peripherals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
6.1 Peripheral interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
6.1.1 Peripheral ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
6.1.2 Peripherals with shared ID. . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.1.3 Peripheral registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.1.4 Bit set and clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.1.5 Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.1.6 Events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.1.7 Shortcuts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
6.1.8 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
6.2 AAR — Accelerated address resolver. . . . . . . . . . . . . . . . . . . . . . . . 175
6.2.1 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
6.2.2 Resolving a resolvable address. . . . . . . . . . . . . . . . . . . . . . . . 175
6.2.3 Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
6.2.4 IRK data structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
6.2.5 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
6.2.6 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
6.3 ACL — Access control lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
6.3.1 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
6.4 CCM — AES CCM mode encryption. . . . . . . . . . . . . . . . . . . . . . . . 191
6.4.1 Keystream generation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
6.4.2 Encryption. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
6.4.3 Decryption. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
6.4.4 AES CCM and RADIO concurrent operation. . . . . . . . . . . . . . . . . . . 194
6.4.5 Encrypting packets on-the-fly in radio transmit mode. . . . . . . . . . . . . . . 194
6.4.6 Decrypting packets on-the-fly in RADIO receive mode. . . . . . . . . . . . . . . 195
6.4.7 CCM data structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6.4.8 EasyDMA and ERROR event. . . . . . . . . . . . . . . . . . . . . . . . . . 197
6.4.9 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
6.4.10 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 204
6.5 COMP — Comparator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
4413_417 v1.9 v
6.5.1 Differential mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
6.5.2 Single-ended mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
6.5.3 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
6.5.4 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
6.6 CRYPTOCELL — Arm TrustZone CryptoCell 310. . . . . . . . . . . . . . . . . . . . 216
6.6.1 Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
6.6.2 Always-on (AO) power domain. . . . . . . . . . . . . . . . . . . . . . . . 217
6.6.3 Life cycle state (LCS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
6.6.4 Cryptographic key selection. . . . . . . . . . . . . . . . . . . . . . . . . . 218
6.6.5 Direct memory access (DMA). . . . . . . . . . . . . . . . . . . . . . . . . 218
6.6.6 Standards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
6.6.7 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
6.6.8 Host interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
6.7 ECB — AES electronic codebook mode encryption. . . . . . . . . . . . . . . . . . 223
6.7.1 Shared resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
6.7.2 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
6.7.3 ECB data structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
6.7.4 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
6.7.5 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
6.8 EGU — Event generator unit. . . . . . . . . . . . . . . . . . . . . . . . . . . 227
6.8.1 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
6.8.2 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
6.9 GPIO — General purpose input/output. . . . . . . . . . . . . . . . . . . . . . . 240
6.9.1 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
6.9.2 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
6.9.3 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
6.10 GPIOTE — GPIO tasks and events. . . . . . . . . . . . . . . . . . . . . . . . 290
6.10.1 Pin events and tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
6.10.2 Port event. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
6.10.3 Tasks and events pin configuration. . . . . . . . . . . . . . . . . . . . . . 291
6.10.4 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
6.11 I2S — Inter-IC sound interface. . . . . . . . . . . . . . . . . . . . . . . . . . 310
6.11.1 Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
6.11.2 Transmitting and receiving. . . . . . . . . . . . . . . . . . . . . . . . . . 310
6.11.3 Left right clock (LRCK). . . . . . . . . . . . . . . . . . . . . . . . . . . 311
6.11.4 Serial clock (SCK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
6.11.5 Master clock (MCK). . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
6.11.6 Width, alignment and format. . . . . . . . . . . . . . . . . . . . . . . . 313
6.11.7 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
6.11.8 Module operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
6.11.9 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
6.11.10 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
6.11.11 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 328
6.12 LPCOMP — Low-power comparator. . . . . . . . . . . . . . . . . . . . . . . 329
6.12.1 Shared resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
6.12.2 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
6.12.3 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
6.12.4 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 337
6.13 MWU — Memory watch unit. . . . . . . . . . . . . . . . . . . . . . . . . . 337
6.13.1 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
6.14 NFCT — Near field communication tag. . . . . . . . . . . . . . . . . . . . . . 370
6.14.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
6.14.2 Operating states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
6.14.3 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
4413_417 v1.9 vi
6.14.4 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
6.14.5 Frame assembler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
6.14.6 Frame disassembler. . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
6.14.7 Frame timing controller. . . . . . . . . . . . . . . . . . . . . . . . . . . 377
6.14.8 Collision resolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
6.14.9 Antenna interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
6.14.10 NFCT antenna recommendations. . . . . . . . . . . . . . . . . . . . . . 379
6.14.11 Battery protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
6.14.12 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
6.14.13 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
6.14.14 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 398
6.15 PDM — Pulse density modulation interface. . . . . . . . . . . . . . . . . . . . 399
6.15.1 Master clock generator. . . . . . . . . . . . . . . . . . . . . . . . . . . 400
6.15.2 Module operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
6.15.3 Decimation filter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
6.15.4 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
6.15.5 Hardware example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
6.15.6 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
6.15.7 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
6.15.8 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 409
6.16 PPI — Programmable peripheral interconnect. . . . . . . . . . . . . . . . . . . 410
6.16.1 Pre-programmed channels. . . . . . . . . . . . . . . . . . . . . . . . . . 411
6.16.2 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
6.17 PWM — Pulse width modulation. . . . . . . . . . . . . . . . . . . . . . . . . 460
6.17.1 Wave counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
6.17.2 Decoder with EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . 464
6.17.3 Limitations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
6.17.4 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
6.17.5 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
6.18 QDEC — Quadrature decoder. . . . . . . . . . . . . . . . . . . . . . . . . . 484
6.18.1 Sampling and decoding. . . . . . . . . . . . . . . . . . . . . . . . . . . 485
6.18.2 LED output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
6.18.3 Debounce filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
6.18.4 Accumulators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
6.18.5 Output/input pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
6.18.6 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
6.18.7 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
6.18.8 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 498
6.19 QSPI — Quad serial peripheral interface. . . . . . . . . . . . . . . . . . . . . . 498
6.19.1 Configuring peripheral. . . . . . . . . . . . . . . . . . . . . . . . . . . 498
6.19.2 Write operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
6.19.3 Read operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
6.19.4 Erase operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
6.19.5 Execute in place. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
6.19.6 Sending custom instructions. . . . . . . . . . . . . . . . . . . . . . . . . 500
6.19.7 Deep power-down mode. . . . . . . . . . . . . . . . . . . . . . . . . . 501
6.19.8 Instruction set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
6.19.9 Interface description. . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
6.19.10 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
6.19.11 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 518
6.20 RADIO — 2.4 GHz radio. . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
6.20.1 Packet configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
6.20.2 Address configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
6.20.3 Data whitening. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
4413_417 v1.9 ix
6.33.11 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 750
6.34 UARTE — Universal asynchronous receiver/transmitter with EasyDMA. . . . . . . . . 750
6.34.1 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
6.34.2 Transmission. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751
6.34.3 Reception. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752
6.34.4 Error conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754
6.34.5 Using the UARTE without flow control. . . . . . . . . . . . . . . . . . . . . 754
6.34.6 Parity and stop bit configuration. . . . . . . . . . . . . . . . . . . . . . . 754
6.34.7 Low power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754
6.34.8 Pin configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
6.34.9 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
6.34.10 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 768
6.35 USBD — Universal serial bus device. . . . . . . . . . . . . . . . . . . . . . . 768
6.35.1 USB device states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769
6.35.2 USB terminology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
6.35.3 USB pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
6.35.4 USBD power-up sequence. . . . . . . . . . . . . . . . . . . . . . . . . . 771
6.35.5 USB pull-up. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
6.35.6 USB reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
6.35.7 USB suspend and resume. . . . . . . . . . . . . . . . . . . . . . . . . . 773
6.35.8 EasyDMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
6.35.9 Control transfers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
6.35.10 Bulk and interrupt transactions. . . . . . . . . . . . . . . . . . . . . . . 778
6.35.11 Isochronous transactions. . . . . . . . . . . . . . . . . . . . . . . . . . 780
6.35.12 USB register access limitations. . . . . . . . . . . . . . . . . . . . . . . 783
6.35.13 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
6.35.14 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 837
6.36 WDT — Watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . 837
6.36.1 Reload criteria. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
6.36.2 Temporarily pausing the watchdog. . . . . . . . . . . . . . . . . . . . . . 838
6.36.3 Watchdog reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
6.36.4 Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
6.36.5 Electrical specification. . . . . . . . . . . . . . . . . . . . . . . . . . . 844
4413_417 v1.9 x
7.3.11 Circuit configuration no. 3 for CKAA WLCSP. . . . . . . . . . . . . . . . . . . 878
7.3.12 Circuit configuration no. 4 for CKAA WLCSP. . . . . . . . . . . . . . . . . . . 880
7.3.13 Circuit configuration no. 5 for CKAA WLCSP. . . . . . . . . . . . . . . . . . . 882
7.3.14 Circuit configuration no. 6 for CKAA WLCSP. . . . . . . . . . . . . . . . . . . 884
7.3.15 PCB guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
7.3.16 PCB layout example. . . . . . . . . . . . . . . . . . . . . . . . . . . . 887
7.3.17 PMIC support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
7.4 Package thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 889
7.5 Package Variation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
7.5.1 QFN48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
4413_417 v1.9 xi
1 Revision history
Date Version Description
February 2024 1.9 The following content has been added or updated:
• Added content in the following chapters:
• Pin assignments – Recommended usage for pin
P0.18 as QSPI CSN for WLCSP package
• RADIO – Parameters PACP,R, IEEE 802.15.4 and PACP,A, IEEE
802.15.4
• SAADC – Sections Shared Resources, and Operation
Modes
• SPI, TWI, and UART – RXD register description
• Updated content in the following chapters:
• FICR – INFO.VARIANTS and INFO.PART
• NVMC – Removed deprecated registers ERASEPCR1
and ERASEPCR0
• Ordering information – MOQ for the nRF52840-
QFAA-F-R7 device
• PWM – Example and images in Wave Counter
section
• SAADC – Removed tACQ parameters
• SPIS – Electrical parameters tSPIS,VSO, tSPIS,HSO,
tSPIS,SUSI, and tSPIS,HSI. Removed deprecated registers
• About this document – Permissions table
• Reference circuitry – Circuit configuration no. 1 for
QFAA QFN48 package
• Editorial changes
November 2021 1.7 The following content has been added or updated:
• Absolute maximum ratings – Updated aQFN73 ESD
CDM maximum value according to PCN162
November 2021 1.6 The following content has been added or updated:
• Ordering information – Build codes Dxx not
recommended for new designs
• Editorial changes
September 2021 1.5 The following content has been added or updated:
• Mechanical specifications – Updated aQFN73
mechanical specification according to PCN148
June 2021 1.4 The following content has been added or updated:
4413_417 v1.9 12
Revision history
April 2021 1.3 The following content has been added or updated:
• UICR – Added value HwDisabled to APPROTECT register.
• Debug and trace – Added description of APPROTECT
functionality for devices where APPROTECT is
controlled by hardware and software. Added peripheral
APPROTECT with necessary registers to control
APPROTECT for devices where APPROTECT is controlled
by hardware and software.
• GPIO – Added missing NFC parameters CPAD_NFC and
INFC_LEAK.
• Pin assignments – Added note that DEC5 is not
connected for aQFN73, and WLCSP build codes Fxx and
later.
• Mechanical specifications – Corrected min/max values
of WLCSP D and E dimensions.
• Reference circuitry – Updated aQFN73 and WLCSP
reference circuitry with note on DEC5.
• Ordering information – Updated box labels. Added new
product options.
January 2021 1.2 The following content has been added or updated:
• Updated minimum valid value for EasyDMA MAXCNT
and AMOUNT registers in SPIM, SPIS, TWIM, TWIS, and
UARTE.
• FICR – Added nRF52820 value to INFO.PART register.
Added size of packages to package description. Updated
INFO.VARIANT device variants. Removed reset value
for register TRNG90B.STARTUP and all TEMP module
calibration registers.
• UICR – Updated reference to the VEXTDIF parameter in
the REGOUT0 register.
• NVMC – Updated reset value of register READYNEXT.
Updated registers ERASEPAGE, ERASEALL, ERASEUICR,
ERASEPARTIAL, IHIT, and IMISS.
• POWER – Added Wake from System OFF reset source
for the WDT. Added parameter RSOURCE,VBUSVDDH.
4413_417 v1.9 13
Revision history
February 2019 1.1 The following content has been added or updated:
• Added information for the WLCSP package variant in
Pin assignments, Mechanical specifications, Reference
circuitry, FICR, Absolute maximum ratings, and Ordering
information.
• Reference circuitry – Updated RF-Match in aQFN73
reference circuitry for all configurations. Added optional
4.7 Ω resistor to USB supply.
• UICR – Removed NRFFW[13] and NRFFW[14] registers.
• CPU on page 20 – Corrected value of parameter
CMFLASH/mA.
4413_417 v1.9 14
Revision history
4413_417 v1.9 15
2 About this document
This document is organized into chapters that are based on the modules and peripherals available in the
IC.
4413_417 v1.9 16
About this document
2.3.2 Permissions
Different fields in a register might have different access permissions enforced by hardware.
The access permission for each register field is documented in the Access column in the following ways:
4413_417 v1.9 17
About this document
2.4 Registers
Register overview
2.4.1 DUMMY
Address offset: 0x514
Example of a register controlling a dummy feature
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D D D C C C B A A
Reset 0x00050002 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW FIELD0 Example of a read-write field with several enumerated values
Disabled 0 The example feature is disabled
NormalMode 1 The example feature is enabled in normal mode
ExtendedMode 2 The example feature is enabled along with extra functionality
B RW FIELD1 Example of a deprecated read-write field
4413_417 v1.9 18
3 Block diagram
This block diagram illustrates the overall system. Arrows with white heads indicate signals that share
physical pins with other signals.
nRF52840
P0.0 – P0.31
RAM0 RAM1 RAM2 RAM3 RAM4 RAM5 RAM6 RAM7 RAM8 GPIO
P1.0 – P1.15
slave
slave
slave
slave
slave
slave
slave
slave
slave
slave
TP TPIU
SWCLK
SW-DP
SWDIO
slave
slave
master
slave
slave
slave
AHB-AP ETM I-Cache
RNG
nRESET POWER
RTC [0..2]
TIMER [0..4]
WDT TEMP
PPI ECB
XC1 master EasyDMA
XC2
CLOCK P0.0 – P0.31 CCM
XL1
P1.0 – P1.15
XL2 master EasyDMA
NFC2 SCK
APB0
NFCT
NFC1 SPIM [0..3] MOSI
EasyDMA master MISO
P0.0 – P0.31 master EasyDMA
P1.0 – P1.15 GPIOTE
COMP SCL
TWIS [0..1]
SDA
LPCOMP master EasyDMA
MCK RTS
LRCK CTS
UARTE [0..1]
SCL I2S TXD
SDOUT RXD
SDIN master EasyDMA
EasyDMA master
CSN
CLK MISO
PDM SPIS [0..2]
DIN MOSI
SCK
EasyDMA master
master EasyDMA
4413_417 v1.9 19
4 Core components
4.1 CPU
The Arm Cortex-M4 processor with floating-point unit (FPU) has a 32-bit instruction set (Thumb®-2
technology) that implements a superset of 16- and 32-bit instructions to maximize code density and
performance.
This processor implements the following features that enable energy-efficient arithmetic and high-
performance signal processing.
• Digital signal processing (DSP) instructions
• Single-cycle multiply and accumulate (MAC) instructions
• Hardware divide
• 8- and 16-bit single instruction multiple data (SIMD) instructions
• Single-precision floating-point unit (FPU)
The Arm Cortex Microcontroller Software Interface Standard (CMSIS) hardware abstraction layer for the
Arm Cortex processor series is implemented and available for the M4 CPU.
Real-time execution is highly deterministic in thread mode, to and from sleep modes, and when handling
events at configurable priority levels via the nested vectored interrupt controller (NVIC).
Executing code from flash memory will have a wait state penalty on the nRF52 Series. An instruction cache
can be enabled to minimize flash wait states when fetching instructions. For more information on cache,
see Cache on page 27. The Electrical specification on page 21 shows CPU performance parameters
including wait states in different modes, CPU current and efficiency, and processing power and efficiency
based on the CoreMark benchmark.
The Arm system timer (SysTick) is present on nRF52840. The SysTick's clock will only tick when the CPU is
running or when the system is in debug interface mode.
4413_417 v1.9 20
Core components
4.2 Memory
The nRF52840 contains 1024 kB of flash memory and 256 kB of RAM that can be used for code and data
storage.
The CPU and peripherals with EasyDMA can access memory via the AHB multilayer interconnect. In
additon, peripherals are accessed by the CPU via the AHB multilayer interconnect, as shown in the
following figure.
4413_417 v1.9 21
Core components
System bus
RAM5 0x2000 B000 0x0080 B000
DCODE
ICODE
AHB slave Section 0 0x2000 A000 0x0080 A000
DMA bus
DMA bus
RAM4 Section 1 0x2000 9000 0x0080 9000
AHB slave Section 0 0x2000 8000 0x0080 8000
RAM3 Section 1
0x2000 7000 0x0080 7000
AHB slave Section 0 0x2000 6000 0x0080 6000
RAM2 Section 1 0x2000 5000 0x0080 5000
AHB slave Section 0 0x2000 4000 0x0080 4000
RAM1 Section 1 0x2000 3000 0x0080 3000
AHB slave Section 0 0x2000 2000 0x0080 2000
RAM0 Section 1 0x2000 1000 0x0080 1000
AHB slave Section 0 0x2000 0000 0x0080 0000
Flash
ICODE/DCODE
Page 255
0x000F F000
I-Cache
slave
AHB
ICODE Page 3..254
NVMC
0x0000 3000
AHB Page 2
DCODE 0x0000 2000
slave
AHB
Page 1 0x0000 1000
AHB multilayer interconnect Page 0 0x0000 0000
See AHB multilayer on page 65 and EasyDMA on page 62 for more information about the AHB
multilayer interconnect and EasyDMA.
The same physical RAM is mapped to both the Data RAM region and the Code RAM region. It is up to the
application to partition the RAM within these regions so that one does not corrupt the other.
4413_417 v1.9 22
Core components
Device
Private peripheral bus
0xE0000000 0xE0000000
Device
0xC0000000
Device
0xA0000000
RAM
0x80000000
RAM
0x60000000
AHB peripherals
Peripheral 0x50000000
APB peripherals
0x40000000 0x40000000
SRAM
Data RAM
0x20000000 0x20000000
XIP 0x19FFFFFF
Code 0x12000000
UICR 0x10001000
FICR 0x10000000
0x00000000
Code RAM 0x00800000
Flash 0x00000000
4413_417 v1.9 23
Core components
4.2.4 Instantiation
4413_417 v1.9 24
Core components
4413_417 v1.9 25
Core components
The NVMC is only able to write 0 to bits in flash memory that are erased (set to 1). It cannot rewrite a bit
back to 1. Only full 32-bit words can be written to flash memory using the NVMC interface. To write less
than 32 bits, write the data as a full 32-bit word and set all the bits that should remain unchanged in the
word to 1. The restriction on the number of writes (nWRITE) still applies in this case.
Only word-aligned writes are allowed. Byte or half-word-aligned writes will result in a hard fault.
The time it takes to write a word to flash is specified by tWRITE. The CPU is halted if the CPU executes code
from the flash while the NVMC is writing to the flash.
NVM writing time can be reduced by using READYNEXT. If this status bit is set to 1, code can perform
the next data write to the flash. This write will be buffered and will be taken into account as soon as the
ongoing write operation is completed.
4413_417 v1.9 26
Core components
CTRL-AP ERASEALL NVMC ERASEPAGE NVMC ERASEPAGE NVMC ERASEALL NVMC ERASEUICR
PARTIAL
APPROTECT
Disabled Allowed Allowed Allowed Allowed Allowed
Enabled Allowed Allowed Allowed Allowed Blocked
4.3.8 Cache
An instruction cache (I-Cache) can be enabled for the ICODE bus in the NVMC.
A cache hit is an instruction fetch from the cache, and it has a 0 wait-state delay. The number of wait-
states for a cache miss, where the instruction is not available in the cache and needs to be fetched from
flash, is shown in CPU on page 20.
Enabling the cache can increase CPU performance and reduce power consumption by reducing the
number of wait cycles and the number of flash accesses. This will depend on the cache hit rate. Cache will
use some current when enabled. If the reduction in average current due to reduced flash accesses is larger
than the cache power requirement, the average current to execute the program code will decrease.
When disabled, the cache does not use current and does not retain its content.
It is possible to enable cache profiling to analyze the performance of the cache for your program using
the ICACHECNF register. When profiling is enabled, the IHIT and IMISS registers are incremented for every
instruction cache hit or miss, respectively. The hit and miss profiling registers do not wrap around after
reaching the maximum value. If the maximum value is reached, consider profiling for a shorter duration to
get correct numbers.
4.3.9 Registers
Instances
4413_417 v1.9 27
Core components
Register overview
4.3.9.1 READY
Address offset: 0x400
Ready flag
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A R READY NVMC is ready or busy
Busy 0 NVMC is busy (on-going write or erase operation)
Ready 1 NVMC is ready
4.3.9.2 READYNEXT
Address offset: 0x408
Ready flag
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A R READYNEXT NVMC can accept a new write operation
Busy 0 NVMC cannot accept any write operation
Ready 1 NVMC is ready
4.3.9.3 CONFIG
Address offset: 0x504
Configuration register
4413_417 v1.9 28
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WEN Program memory access mode. It is strongly recommended to only activate
erase and write modes when they are actively used.
Enabling write or erase will invalidate the cache and keep it invalidated.
Ren 0 Read only access
Wen 1 Write enabled
Een 2 Erase enabled
4.3.9.4 ERASEPAGE
Address offset: 0x508
Register for erasing a page in code area
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W ERASEPAGE Register for starting erase of a page in code area
The value is the address to the page to be erased. (Addresses of first word
in page). The erase must be enabled using CONFIG.WEN before the page
can be erased. Attempts to erase pages that are outside the code area may
result in undesirable behavior, e.g. the wrong page may be erased.
4.3.9.5 ERASEALL
Address offset: 0x50C
Register for erasing all non-volatile user memory
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W ERASEALL Erase all non-volatile memory including UICR registers. The erase must be
enabled using CONFIG.WEN before the non-volatile memory can be erased.
NoOperation 0 No operation
Erase 1 Start chip erase
4.3.9.6 ERASEUICR
Address offset: 0x514
Register for erasing user information configuration registers
4413_417 v1.9 29
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W ERASEUICR Register starting erase of all user information configuration registers. The
erase must be enabled using CONFIG.WEN before the UICR can be erased.
NoOperation 0 No operation
Erase 1 Start erase of UICR
4.3.9.7 ERASEPAGEPARTIAL
Address offset: 0x518
Register for partial erase of a page in code area
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W ERASEPAGEPARTIAL Register for starting partial erase of a page in code area
The value is the address to the page to be partially erased (address of the
first word in page). The erase must be enabled using CONFIG.WEN before
every erase page partial and disabled using CONFIG.WEN after every erase
page partial. Attempts to erase pages that are outside the code area may
result in undesirable behavior, e.g. the wrong page may be erased.
4.3.9.8 ERASEPAGEPARTIALCFG
Address offset: 0x51C
Register for partial erase configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x0000000A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0
ID R/W Field Value ID Value Description
A RW DURATION Duration of the partial erase in milliseconds
The user must ensure that the total erase time is long enough for a
complete erase of the flash page.
4.3.9.9 ICACHECNF
Address offset: 0x540
I-code cache configuration register
4413_417 v1.9 30
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CACHEEN Cache enable
Disabled 0 Disable cache. Invalidates all cache entries.
Enabled 1 Enable cache
B RW CACHEPROFEN Cache profiling enable
Disabled 0 Disable cache profiling
Enabled 1 Enable cache profiling
4.3.9.10 IHIT
Address offset: 0x548
I-code cache hit counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HITS Number of cache hits.
4.3.9.11 IMISS
Address offset: 0x54C
I-code cache miss counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MISSES Number of cache misses.
tERASEPAGEPARTIAL,acc Accuracy of the partial page erase duration. Total execution time for one 1.051
partial page erase is defined as ERASEPAGEPARTIALCFG * tERASEPAGEPARTIAL,acc.
1
Applies when HFXO is used. Timing varies according to HFINT accuracy when HFINT is used.
4413_417 v1.9 31
Core components
4.4.1 Registers
Instances
Register overview
4413_417 v1.9 32
Core components
4.4.1.1 CODEPAGESIZE
Address offset: 0x010
Code memory page size
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R CODEPAGESIZE Code memory page size
4.4.1.2 CODESIZE
Address offset: 0x014
Code memory size
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R CODESIZE Code memory size in number of pages
4413_417 v1.9 33
Core components
4.4.1.3 DEVICEID[0]
Address offset: 0x060
Device identifier
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R DEVICEID 64 bit unique device identifier
4.4.1.4 DEVICEID[1]
Address offset: 0x064
Device identifier
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R DEVICEID 64 bit unique device identifier
4.4.1.5 ER[0]
Address offset: 0x080
Encryption root, word 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ER Encryption root, word 0
4.4.1.6 ER[1]
Address offset: 0x084
Encryption root, word 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ER Encryption root, word 1
4.4.1.7 ER[2]
Address offset: 0x088
4413_417 v1.9 34
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ER Encryption root, word 2
4.4.1.8 ER[3]
Address offset: 0x08C
Encryption root, word 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ER Encryption root, word 3
4.4.1.9 IR[0]
Address offset: 0x090
Identity Root, word 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R IR Identity Root, word 0
4.4.1.10 IR[1]
Address offset: 0x094
Identity Root, word 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R IR Identity Root, word 1
4.4.1.11 IR[2]
Address offset: 0x098
Identity Root, word 2
4413_417 v1.9 35
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R IR Identity Root, word 2
4.4.1.12 IR[3]
Address offset: 0x09C
Identity Root, word 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R IR Identity Root, word 3
4.4.1.13 DEVICEADDRTYPE
Address offset: 0x0A0
Device address type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R DEVICEADDRTYPE Device address type
Public 0 Public address
Random 1 Random address
4.4.1.14 DEVICEADDR[0]
Address offset: 0x0A4
Device address 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R DEVICEADDR 48 bit device address
4.4.1.15 DEVICEADDR[1]
Address offset: 0x0A8
Device address 1
4413_417 v1.9 36
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R DEVICEADDR 48 bit device address
4.4.1.16 INFO
Device info
4.4.1.16.1 INFO.PART
Address offset: 0x100
Part code
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00052840 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R PART Part code
N52840 0x52840 nRF52840
Unspecified 0xFFFFFFFF Unspecified
4.4.1.16.2 INFO.VARIANT
Address offset: 0x104
Build code, last two letters of Package Variant and first two characters of Build Code, encoded in ASCII.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R VARIANT For valid values see SoC revisions and variants.
4.4.1.16.3 INFO.PACKAGE
Address offset: 0x108
Package option
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R PACKAGE Package option
QI 0x2004 QIxx - 7x7 73-pin aQFN
QF 0x2000 QFxx - 6x6 48-pin QFN
CK 0x2005 CKxx - 3.544 x 3.607 WLCSP
Unspecified 0xFFFFFFFF Unspecified
4413_417 v1.9 37
Core components
4.4.1.16.4 INFO.RAM
Address offset: 0x10C
RAM variant
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R RAM RAM variant
K16 0x10 16 kB RAM
K32 0x20 32 kB RAM
K64 0x40 64 kB RAM
K128 0x80 128 kB RAM
K256 0x100 256 kB RAM
Unspecified 0xFFFFFFFF Unspecified
4.4.1.16.5 INFO.FLASH
Address offset: 0x110
Flash variant
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R FLASH Flash variant
K128 0x80 128 kB FLASH
K256 0x100 256 kB FLASH
K512 0x200 512 kB FLASH
K1024 0x400 1 MB FLASH
K2048 0x800 2 MB FLASH
Unspecified 0xFFFFFFFF Unspecified
4.4.1.17 PRODTEST[0]
Address offset: 0x350
Production test signature 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R PRODTEST Production test signature 0
Done 0xBB42319F Production tests done
NotDone 0xFFFFFFFF Production tests not done
4.4.1.18 PRODTEST[1]
Address offset: 0x354
Production test signature 1
4413_417 v1.9 38
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R PRODTEST Production test signature 1
Done 0xBB42319F Production tests done
NotDone 0xFFFFFFFF Production tests not done
4.4.1.19 PRODTEST[2]
Address offset: 0x358
Production test signature 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R PRODTEST Production test signature 2
Done 0xBB42319F Production tests done
NotDone 0xFFFFFFFF Production tests not done
4.4.1.20 TEMP
Registers storing factory TEMP module linearization coefficients
4.4.1.20.1 TEMP.A0
Address offset: 0x404
Slope definition A0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.2 TEMP.A1
Address offset: 0x408
Slope definition A1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.3 TEMP.A2
Address offset: 0x40C
Slope definition A2
4413_417 v1.9 39
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.4 TEMP.A3
Address offset: 0x410
Slope definition A3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.5 TEMP.A4
Address offset: 0x414
Slope definition A4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.6 TEMP.A5
Address offset: 0x418
Slope definition A5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R A A (slope definition) register.
4.4.1.20.7 TEMP.B0
Address offset: 0x41C
Y-intercept B0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4413_417 v1.9 40
Core components
4.4.1.20.8 TEMP.B1
Address offset: 0x420
Y-intercept B1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4.4.1.20.9 TEMP.B2
Address offset: 0x424
Y-intercept B2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4.4.1.20.10 TEMP.B3
Address offset: 0x428
Y-intercept B3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4.4.1.20.11 TEMP.B4
Address offset: 0x42C
Y-intercept B4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4.4.1.20.12 TEMP.B5
Address offset: 0x430
Y-intercept B5
4413_417 v1.9 41
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R B B (y-intercept)
4.4.1.20.13 TEMP.T0
Address offset: 0x434
Segment end T0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R T T (segment end) register
4.4.1.20.14 TEMP.T1
Address offset: 0x438
Segment end T1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R T T (segment end) register
4.4.1.20.15 TEMP.T2
Address offset: 0x43C
Segment end T2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R T T (segment end) register
4.4.1.20.16 TEMP.T3
Address offset: 0x440
Segment end T3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R T T (segment end) register
4413_417 v1.9 42
Core components
4.4.1.20.17 TEMP.T4
Address offset: 0x444
Segment end T4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R T T (segment end) register
4.4.1.21 NFC.TAGHEADER0
Address offset: 0x450
Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST,
NFCID1_2ND_LAST, and NFCID1_LAST.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0xFFFFFF5F 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1
ID R/W Field Value ID Value Description
A R MFGID Default Manufacturer ID: Nordic Semiconductor ASA has ICM 0x5F
B R UD1 Unique identifier byte 1
C R UD2 Unique identifier byte 2
D R UD3 Unique identifier byte 3
4.4.1.22 NFC.TAGHEADER1
Address offset: 0x454
Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST,
NFCID1_2ND_LAST, and NFCID1_LAST.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R UD4 Unique identifier byte 4
B R UD5 Unique identifier byte 5
C R UD6 Unique identifier byte 6
D R UD7 Unique identifier byte 7
4.4.1.23 NFC.TAGHEADER2
Address offset: 0x458
Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST,
NFCID1_2ND_LAST, and NFCID1_LAST.
4413_417 v1.9 43
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R UD8 Unique identifier byte 8
B R UD9 Unique identifier byte 9
C R UD10 Unique identifier byte 10
D R UD11 Unique identifier byte 11
4.4.1.24 NFC.TAGHEADER3
Address offset: 0x45C
Default header for NFC tag. Software can read these values to populate NFCID1_3RD_LAST,
NFCID1_2ND_LAST, and NFCID1_LAST.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R UD12 Unique identifier byte 12
B R UD13 Unique identifier byte 13
C R UD14 Unique identifier byte 14
D R UD15 Unique identifier byte 15
4.4.1.25 TRNG90B
NIST800-90B RNG calibration data
4.4.1.25.1 TRNG90B.BYTES
Address offset: 0xC00
Amount of bytes for the required entropy bits
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R BYTES Amount of bytes for the required entropy bits
4.4.1.25.2 TRNG90B.RCCUTOFF
Address offset: 0xC04
Repetition counter cutoff
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R RCCUTOFF Repetition counter cutoff
4.4.1.25.3 TRNG90B.APCUTOFF
Address offset: 0xC08
4413_417 v1.9 44
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R APCUTOFF Adaptive proportion cutoff
4.4.1.25.4 TRNG90B.STARTUP
Address offset: 0xC0C
Amount of bytes for the startup tests
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R STARTUP Amount of bytes for the startup tests
4.4.1.25.5 TRNG90B.ROSC1
Address offset: 0xC10
Sample count for ring oscillator 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ROSC1 Sample count for ring oscillator 1
4.4.1.25.6 TRNG90B.ROSC2
Address offset: 0xC14
Sample count for ring oscillator 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ROSC2 Sample count for ring oscillator 2
4.4.1.25.7 TRNG90B.ROSC3
Address offset: 0xC18
Sample count for ring oscillator 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ROSC3 Sample count for ring oscillator 3
4413_417 v1.9 45
Core components
4.4.1.25.8 TRNG90B.ROSC4
Address offset: 0xC1C
Sample count for ring oscillator 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A R ROSC4 Sample count for ring oscillator 4
4.5.1 Registers
Instances
Register overview
4413_417 v1.9 46
Core components
4.5.1.1 NRFFW[0]
Address offset: 0x014
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4413_417 v1.9 47
Core components
4.5.1.2 NRFFW[1]
Address offset: 0x018
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.3 NRFFW[2]
Address offset: 0x01C
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.4 NRFFW[3]
Address offset: 0x020
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.5 NRFFW[4]
Address offset: 0x024
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.6 NRFFW[5]
Address offset: 0x028
Reserved for Nordic firmware design
4413_417 v1.9 48
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.7 NRFFW[6]
Address offset: 0x02C
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.8 NRFFW[7]
Address offset: 0x030
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.9 NRFFW[8]
Address offset: 0x034
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.10 NRFFW[9]
Address offset: 0x038
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4413_417 v1.9 49
Core components
4.5.1.11 NRFFW[10]
Address offset: 0x03C
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.12 NRFFW[11]
Address offset: 0x040
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.13 NRFFW[12]
Address offset: 0x044
Reserved for Nordic firmware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFFW Reserved for Nordic firmware design
4.5.1.14 NRFHW[0]
Address offset: 0x050
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.15 NRFHW[1]
Address offset: 0x054
Reserved for Nordic hardware design
4413_417 v1.9 50
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.16 NRFHW[2]
Address offset: 0x058
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.17 NRFHW[3]
Address offset: 0x05C
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.18 NRFHW[4]
Address offset: 0x060
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.19 NRFHW[5]
Address offset: 0x064
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4413_417 v1.9 51
Core components
4.5.1.20 NRFHW[6]
Address offset: 0x068
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.21 NRFHW[7]
Address offset: 0x06C
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.22 NRFHW[8]
Address offset: 0x070
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.23 NRFHW[9]
Address offset: 0x074
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.24 NRFHW[10]
Address offset: 0x078
Reserved for Nordic hardware design
4413_417 v1.9 52
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.25 NRFHW[11]
Address offset: 0x07C
Reserved for Nordic hardware design
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW NRFHW Reserved for Nordic hardware design
4.5.1.26 CUSTOMER[0]
Address offset: 0x080
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.27 CUSTOMER[1]
Address offset: 0x084
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.28 CUSTOMER[2]
Address offset: 0x088
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4413_417 v1.9 53
Core components
4.5.1.29 CUSTOMER[3]
Address offset: 0x08C
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.30 CUSTOMER[4]
Address offset: 0x090
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.31 CUSTOMER[5]
Address offset: 0x094
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.32 CUSTOMER[6]
Address offset: 0x098
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.33 CUSTOMER[7]
Address offset: 0x09C
Reserved for customer
4413_417 v1.9 54
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.34 CUSTOMER[8]
Address offset: 0x0A0
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.35 CUSTOMER[9]
Address offset: 0x0A4
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.36 CUSTOMER[10]
Address offset: 0x0A8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.37 CUSTOMER[11]
Address offset: 0x0AC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4413_417 v1.9 55
Core components
4.5.1.38 CUSTOMER[12]
Address offset: 0x0B0
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.39 CUSTOMER[13]
Address offset: 0x0B4
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.40 CUSTOMER[14]
Address offset: 0x0B8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.41 CUSTOMER[15]
Address offset: 0x0BC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.42 CUSTOMER[16]
Address offset: 0x0C0
Reserved for customer
4413_417 v1.9 56
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.43 CUSTOMER[17]
Address offset: 0x0C4
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.44 CUSTOMER[18]
Address offset: 0x0C8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.45 CUSTOMER[19]
Address offset: 0x0CC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.46 CUSTOMER[20]
Address offset: 0x0D0
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4413_417 v1.9 57
Core components
4.5.1.47 CUSTOMER[21]
Address offset: 0x0D4
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.48 CUSTOMER[22]
Address offset: 0x0D8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.49 CUSTOMER[23]
Address offset: 0x0DC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.50 CUSTOMER[24]
Address offset: 0x0E0
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.51 CUSTOMER[25]
Address offset: 0x0E4
Reserved for customer
4413_417 v1.9 58
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.52 CUSTOMER[26]
Address offset: 0x0E8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.53 CUSTOMER[27]
Address offset: 0x0EC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.54 CUSTOMER[28]
Address offset: 0x0F0
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.55 CUSTOMER[29]
Address offset: 0x0F4
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4413_417 v1.9 59
Core components
4.5.1.56 CUSTOMER[30]
Address offset: 0x0F8
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.57 CUSTOMER[31]
Address offset: 0x0FC
Reserved for customer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CUSTOMER Reserved for customer
4.5.1.58 PSELRESET[0]
Address offset: 0x200
Mapping of the nRESET function (see POWER chapter for details)
Note: All PSELRESET registers have to contain the same value for a pin mapping to be valid. If
values are not the same, there will be no nRESET function exposed on a GPIO. As a result, the
device will always start independently of the levels present on any of the GPIOs.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN 18 GPIO pin number onto which nRESET is exposed
B RW PORT 0 Port number onto which nRESET is exposed
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
4.5.1.59 PSELRESET[1]
Address offset: 0x204
Mapping of the nRESET function (see POWER chapter for details)
Note: All PSELRESET registers have to contain the same value for a pin mapping to be valid. If
values are not the same, there will be no nRESET function exposed on a GPIO. As a result, the
device will always start independently of the levels present on any of the GPIOs.
4413_417 v1.9 60
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN 18 GPIO pin number onto which nRESET is exposed
B RW PORT 0 Port number onto which nRESET is exposed
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
4.5.1.60 APPROTECT
Address offset: 0x208
Access port protection
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PALL Enable or disable access port protection.
4.5.1.61 NFCPINS
Address offset: 0x20C
Setting of pins dedicated to NFC functionality: NFC antenna or GPIO
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PROTECT Setting of pins dedicated to NFC functionality
Disabled 0 Operation as GPIO pins. Same protection as normal GPIO pins.
NFC 1 Operation as NFC antenna pins. Configures the protection for NFC
operation.
4.5.1.62 DEBUGCTRL
Address offset: 0x210
Processor debug control
4413_417 v1.9 61
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CPUNIDEN Configure CPU non-intrusive debug features
Enabled 0xFF Enable CPU ITM and ETM functionality (default behavior)
Disabled 0x00 Disable CPU ITM and ETM functionality
B RW CPUFPBEN Configure CPU flash patch and breakpoint (FPB) unit behavior
Enabled 0xFF Enable CPU FPB unit (default behavior)
Disabled 0x00 Disable CPU FPB unit. Writes into the FPB registers will be ignored.
4.5.1.63 REGOUT0
Address offset: 0x304
Output voltage from REG0 regulator stage. The maximum output voltage from this stage is given as VDDH -
V_VDDH-VDD.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW VOUT Output voltage from REG0 regulator stage.
1V8 0 1.8 V
2V1 1 2.1 V
2V4 2 2.4 V
2V7 3 2.7 V
3V0 4 3.0 V
3V3 5 3.3 V
DEFAULT 7 Default voltage: 1.8 V
4.6 EasyDMA
EasyDMA is a module implemented by some peripherals to gain direct access to Data RAM.
EasyDMA is an AHB bus master similar to CPU and is connected to the AHB multilayer interconnect for
direct access to Data RAM. EasyDMA is not able to access flash.
A peripheral can implement multiple EasyDMA instances to provide dedicated channels. For example,
for reading and writing of data between the peripheral and RAM. This concept is illustrated in EasyDMA
example on page 63.
4413_417 v1.9 62
Core components
READER
AHB
RAM EasyDMA
Peripheral
core
WRITER
RAM
AHB
EasyDMA
An EasyDMA channel is implemented in the following way, but some variations may occur:
READERBUFFER_SIZE 5
WRITERBUFFER_SIZE 6
This example shows a peripheral called MYPERIPHERAL that implements two EasyDMA channels - one for
reading called READER, and one for writing called WRITER. When the peripheral is started, it is assumed
that the peripheral will perform the following tasks:
• Read 5 bytes from the readerBuffer located in RAM at address 0x20000000
• Process the data
• Write no more than 6 bytes back to the writerBuffer located in RAM at address 0x20000005
The memory layout of these buffers is illustrated in EasyDMA memory layout on page 63.
The WRITER.MAXCNT register should not be specified larger than the actual size of the buffer
(writerBuffer). Otherwise, the channel would overflow the writerBuffer.
4413_417 v1.9 63
Core components
Once an EasyDMA transfer is completed, the AMOUNT register can be read by the CPU to see how many
bytes were transferred. For example, CPU can read MYPERIPHERAL->WRITER.AMOUNT register to see how
many bytes WRITER wrote to RAM.
Note: The PTR register of a READER or WRITER must point to a valid memory region before use.
The reset value of a PTR register is not guaranteed to point to valid memory. See Memory on page
21 for more information about the different memory regions and EasyDMA connectivity.
#define BUFFER_SIZE 4
MYPERIPHERAL->READER.MAXCNT = BUFFER_SIZE;
MYPERIPHERAL->READER.PTR = &ReaderList;
MYPERIPHERAL->READER.LIST = MYPERIPHERAL_READER_LIST_ArrayList;
The data structure only includes a buffer with size equal to the size of READER.MAXCNT register. EasyDMA
uses the READER.MAXCNT register to determine when the buffer is full.
4413_417 v1.9 64
Core components
READER.PTR = &ReaderList
4413_417 v1.9 65
Core components
Defined bus masters are the CPU and peripherals with implemented EasyDMA. The available slaves are
RAM AHB slaves. How the bus masters and slaves are connected using the interconnection matrix is
illustrated in Memory on page 21.
DAP
SWDCLK
CTRL-AP
NVMC
External
SW-DP
debugger Access Port Protection Enable UICR
SWDIO &
DAP bus
interconnect
APPROTECT
AHB-AP
TRACECLK
APB/AHB
Trace Peripherals
TRACEDATA[0] / SWO ETM
TRACEDATA[1]
TPIU
TRACEDATA[2]
TRACEDATA[3] Trace
ITM
The main features of the debug and trace system are the following:
• Two-pin serial wire debug (SWD) interface
4413_417 v1.9 66
Core components
• Flash patch and breakpoint (FPB) unit that supports the following comparators:
• Two literal comparators
• Six instruction comparators
• Data watchpoint and trace (DWT) unit with four comparators
• Instrumentation trace macrocell (ITM)
• Embedded trace macrocell (ETM)
• Trace port interface unit (TPIU)
• 4-bit parallel trace of ITM and ETM trace data
• Serial wire output (SWO) trace of ITM data
Note:
• The SWDIO line has an internal pull-up resistor.
• The SWDCLK line has an internal pull-down resistor.
4413_417 v1.9 67
Core components
• Pin reset
• Power or brownout reset
• Watchdog reset if not in Debug Interface Mode, see Debug Interface mode on page 72
• Wake from System OFF if not in Emulated System OFF
To keep access port protection disabled, the following actions must be performed:
• Program UICR.APPROTECT to HwDisabled. This disables the hardware part of the access port
protection scheme after the first reset of any type. The hardware part of the access port protection will
stay disabled as long as UICR.APPROTECT is not overwritten.
• Firmware must write APPROTECT.DISABLE to SwDisable. This disables the software part of the
access port protection scheme.
Note: Register APPROTECT.DISABLE is reset after pin reset, power or brownout reset, watchdog
reset, or wake from System OFF as mentioned above.
The following figure is an example on how a device with access port protection enabled can be erased,
programmed, and configured to allow debugging. Operations sent from debugger as well as registers
written by firmware will affect the access port state.
Debugger
W PRO isab
AP w D
rit TE le
Pr mw
CT ASE
Pi
e
og ar
ER
RL AL
fir
n
UI CT
ra e
-A L
re
CR =
m
se
P
t
d
Write APPROTECT.DISABLE =
SwDisable
Firmware
Access port protection is enabled when the disabling conditions are not present. For additional security,
it is recommended to write Enabled to UICR.APPROTECT, and have firmware write Force to
APPROTECT.FORCEPROTECT. This is illustrated in the following figure.
4413_417 v1.9 68
Core components
Debugger
W PRO ble
AP En
rit TE d
Pr mw
C T A SE
Pi
e
og ar
ER
RL AL
fir
n
UI CT
ra e
-A L
re
CR =
m
se
P
t
Closed Open Closed Access port state
Write APPROTECT.FORCEPROTECT =
Force
Firmware
4.8.2.1 Registers
Instances
Register overview
4.8.2.1.1 FORCEPROTECT
Address offset: 0x550
Software force enable APPROTECT mechanism until next reset.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW1 FORCEPROTECT Write 0x0 to force enable APPROTECT mechanism
Force 0x0 Software force enable APPROTECT mechanism
4.8.2.1.2 DISABLE
Address offset: 0x558
Software disable APPROTECT mechanism
4413_417 v1.9 69
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DISABLE Software disable APPROTECT mechanism
SwDisable 0x5A Software disable APPROTECT mechanism
4.8.3.1 Registers
Register overview
4.8.3.1.1 RESET
Address offset: 0x000
Soft reset triggered through CTRL-AP
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESET Soft reset triggered through CTRL-AP. See Reset behavior in POWER chapter
for more details.
NoReset 0 Reset is not active
Reset 1 Reset is active. Device is held in reset.
4.8.3.1.2 ERASEALL
Address offset: 0x004
Erase all
4413_417 v1.9 70
Core components
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W ERASEALL Erase all flash and RAM
NoOperation 0 No operation
Erase 1 Erase all flash and RAM
4.8.3.1.3 ERASEALLSTATUS
Address offset: 0x008
Status register for the ERASEALL operation
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ERASEALLSTATUS Status register for the ERASEALL operation
Ready 0 ERASEALL is ready
Busy 1 ERASEALL is busy (on-going)
4.8.3.1.4 APPROTECTSTATUS
Address offset: 0x00C
Status register for access port protection
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R APPROTECTSTATUS Status register for access port protection
Enabled 0 Access port protection enabled
Disabled 1 Access port protection not enabled
4.8.3.1.5 IDR
Address offset: 0x0FC
CTRL-AP identification register, IDR
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E E E D D D D C C C C C C C B B B B A A A A A A A A
Reset 0x02880000 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R APID AP identification
B R CLASS Access port (AP) class
NotDefined 0x0 No defined class
MEMAP 0x8 Memory access port
C R JEP106ID JEDEC JEP106 identity code
D R JEP106CONT JEDEC JEP106 continuation code
E R REVISION Revision
4413_417 v1.9 71
Core components
4.8.6 Trace
The device supports ETM and ITM trace.
Trace data from the ETM and the ITM is sent to an external debugger via a 4-bit wide parallel trace
port interface unit (TPIU), see TRACEDATA[0] through TRACEDATA[3] and TRACECLK in Debug and trace
overview on page 66.
In addition to parallel trace, the TPIU supports serial trace via the serial wire output (SWO) trace protocol.
Parallel and serial trace cannot be used at the same time. ETM trace is only supported in Parallel Trace
mode, while ITM trace is supported in both Parallel and Serial Trace modes.
For details on how to use the trace capabilities, read the debug documentation of your IDE.
TPIU's trace pins are multiplexed with GPIOs. SWO and TRACEDATA[0] use the same GPIO. See Pin
assignments on page 845 for more information.
Trace speed is configured in register TRACECONFIG on page 169. The speed of the trace pins depends
on the DRIVE setting of the GPIOs that the trace pins are multiplexed with. Only S0S1 and H0H1 drives are
suitable for debugging. S0S1 is the default DRIVE setting at reset. If parallel or serial trace port signals are
not fast enough with the default settings, all GPIOs in use for tracing should be set to high drive (H0H1).
The DRIVE setting for these GPIOs should not be overwritten by firmware during the debugging session.
4413_417 v1.9 72
Core components
4.8.6.1 Registers
4.8.6.2 Electrical specification
4.8.6.2.1 Trace port
4413_417 v1.9 73
5 Power and clock management
CPU
External Internal
power sources voltage
regulators
PMU
Memory
External Internal
crystals oscillators Peripheral
The PMU automatically detects which power and clock resources are required by the different system
components at any given time. The PMU will then automatically start/stop and choose operation modes in
supply regulators and clock sources, to achieve the lowest power consumption possible.
4413_417 v1.9 74
Power and clock management
Condition Value
Supply 3 V on VDD/VDDH (Normal voltage mode)
Temperature 25°C
CPU WFI (wait for interrupt)/WFE (wait for event) sleep
Peripherals All idle
Clock Not running
Regulator LDO
RAM In System ON, full 256 kB powered. In System OFF, full 256 kB retention.
Compiler GCC v4.9.3 20150529 (arm-none-eabi-gcc).
• Compiler flags: -O0 -falign-functions=16 -fno-strict-
aliasing -mcpu=cortex-m4 -mfloat-abi=soft -msoft-
float -mthumb.
2
Applies only when CPU is running from flash memory
3
Applies only when HFXO is running
4413_417 v1.9 75
Power and clock management
3.5
3
Current consumption [µA]
2.5
1.5
0.5
0
-40 -20 0 20 40 60 80 100
1.7 V 3V 3.6 V
Figure 11: System OFF, no RAM retention, wake on reset (typical values)
12
10
Current consumption [µA]
0
-40 -20 0 20 40 60 80 100
1.7 V 3V 3.6 V
Figure 12: System ON, no RAM retention, wake on any event (typical values)
4413_417 v1.9 76
Power and clock management
4
This current does not apply when in NFC field
4413_417 v1.9 77
Power and clock management
28
26
24
Current consumption [mA]
22
20
18
16
14
12
1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
-40 ºC 25 ºC 85 ºC
10
9.5
8.5
Current consumption [mA]
7.5
6.5
5.5
5
1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
-40 ºC 25 ºC 85 ºC
4413_417 v1.9 78
Power and clock management
4413_417 v1.9 79
Power and clock management
5.2.1.12 Compounded
Note: VDD and VDDH are shortcircuited inside the QFN48 package. Therefore the QFN48 device is
only usable in Normal Voltage supply mode, and not High Voltage supply mode.
The system enters Normal Voltage mode when the supply voltage is connected to both the VDD and VDDH
pins (pin VDD shorted to pin VDDH). For the supply voltage range to connect to both VDD and VDDH pins,
see parameter VDD.
The system enters High Voltage mode when the supply voltage is only connected to the VDDH pin and the
VDD pin is not connected to any voltage supply. For the supply voltage range to connect to the VDDH pin,
see parameter VDDH.
The register MAINREGSTATUS on page 98 can be used to read the current supply voltage mode.
4413_417 v1.9 80
Power and clock management
Note: In High Voltage mode, the configured output voltage for REG0 (REGOUT0 on page 62) must
not be greater than REG0 input voltage minus the voltage drop in REG0 (VDDH - VVDDH-VDD).
By default, the LDO regulators are enabled and the DC/DC regulators are disabled. Registers DCDCEN0
on page 98 and DCDCEN on page 97 are used to enable the DC/DC regulators for REG0 and REG1
stages respectively.
When a DC/DC converter is enabled, the corresponding LDO regulator is disabled. External LC filters must
be connected for each of the DC/DC regulators if they are being used. The advantage of using a DC/DC
regulator is that the overall power consumption is normally reduced as the efficiency of such a regulator
is higher than that of a LDO. The efficiency gained by using a DC/DC regulator is best seen when the
regulator voltage drop (difference between input and output voltage) is high. The efficiency of internal
regulators vary with the supply voltage and the current drawn from the regulators.
Note: Do not enable the DC/DC regulator without an external LC filter being connected as this will
inhibit device operation, including debug access, until an LC filter is connected.
Note: The maximum allowed current drawn by external circuitry is dependent on the total internal
current draw. The maximum current that can be drawn externally from REG0 is defined in Regulator
specifications, REG0 stage on page 154).
4413_417 v1.9 81
Power and clock management
Main supply
REG0 REG1
Supply
LDO LDO
VDDH 1.3V System power
DC/DC DC/DC
Main supply
REG0 REG1
Supply
LDO LDO
VDDH 1.3V System power
DC/DC DC/DC
4413_417 v1.9 82
Power and clock management
Main supply
REG0 REG1
DC/DC DC/DC
REGOUT0
Main supply
REG0 REG1
DC/DC DC/DC
REGOUT0
Figure 18: High Voltage mode, DC/DC for REG0 and REG1 enabled
4413_417 v1.9 83
Power and clock management
VBOR
Power-on reset
POFCON.POF
POFCON.THRESHOLDVDDH
(VDDH>VDD)
4.2 V VDDH
...........
MUX VPOFH
2.8 V
2.7 V
POFWARN
2.8 V VDD
...........
VPOF
MUX
1.8 V
1.7 V
POFCON.THRESHOLD POFCON.POF
4413_417 v1.9 84
Power and clock management
If the power failure warning is enabled, and the supply voltage is below the threshold, the power-fail
comparator will prevent the NVMC from performing write operations to the flash.
The comparator features a hysteresis of VHYST, as illustrated in the following figure.
VPOF+VHYST
VPOF
1.7V
t
POFWARN
POFWARN
MCU
BOR
To save power, the power-fail comparator is not active in System OFF or System ON when HFCLK is not
running.
4413_417 v1.9 85
Power and clock management
USB supply
5 V USB
supply
DECUSB
To ensure stability, the input and output of the USB regulator need to be decoupled with a suitable
decoupling capacitor. See Reference circuitry on page 856 for the recommended values.
4413_417 v1.9 86
Power and clock management
4413_417 v1.9 87
Power and clock management
On On x Yes Yes
The advantage of not retaining RAM contents is that the overall current consumption is reduced.
See Memory on page 21 for more information on RAM sections.
5.3.6 Reset
Several sources may trigger a reset.
After a reset has occurred, register RESETREAS can be read to determine which source triggered the reset.
5
Not useful. RAM section power off gives negligible reduction in current consumption when retention
is on.
4413_417 v1.9 88
Power and clock management
CPU lockup 7 x x x
Soft reset x x x
Wakeup from System OFF x x x8 x9 x
mode reset
Watchdog reset 10 x x x x x x x
Pin reset x x x x x x x
Brownout reset x x x x x x x x x
Power-on reset x x x x x x x x x
Note: The RAM is never reset, but depending on a reset source the content of RAM may be
corrupted.
5.3.7 Registers
Instances
Register overview
6
All debug components excluding SWJ-DP. See Debug and trace on page 66 for more information
about the different debug components.
7
Reset from CPU lockup is disabled if the device is in Debug Interface mode. CPU lockup is not
possible in System OFF.
8
The debug components will not be reset if the device is in Debug Interface mode.
9
RAM is not reset on wakeup from System OFF mode. RAM, or certain parts of RAM, may not be
retained after the device has entered System OFF mode, depending on the settings in the RAM
registers.
10
Watchdog reset is not available in System OFF.
4413_417 v1.9 89
Power and clock management
5.3.7.1 TASKS_CONSTLAT
Address offset: 0x78
Enable Constant Latency mode
4413_417 v1.9 90
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CONSTLAT Enable Constant Latency mode
Trigger 1 Trigger task
5.3.7.2 TASKS_LOWPWR
Address offset: 0x7C
Enable Low-power mode (variable latency)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_LOWPWR Enable Low-power mode (variable latency)
Trigger 1 Trigger task
5.3.7.3 EVENTS_POFWARN
Address offset: 0x108
Power failure warning
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_POFWARN Power failure warning
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.4 EVENTS_SLEEPENTER
Address offset: 0x114
CPU entered WFI/WFE sleep
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SLEEPENTER CPU entered WFI/WFE sleep
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.5 EVENTS_SLEEPEXIT
Address offset: 0x118
CPU exited WFI/WFE sleep
4413_417 v1.9 91
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SLEEPEXIT CPU exited WFI/WFE sleep
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.6 EVENTS_USBDETECTED
Address offset: 0x11C
Voltage supply detected on VBUS
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_USBDETECTED Voltage supply detected on VBUS
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.7 EVENTS_USBREMOVED
Address offset: 0x120
Voltage supply removed from VBUS
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_USBREMOVED Voltage supply removed from VBUS
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.8 EVENTS_USBPWRRDY
Address offset: 0x124
USB 3.3 V supply ready
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_USBPWRRDY USB 3.3 V supply ready
NotGenerated 0 Event not generated
Generated 1 Event generated
5.3.7.9 INTENSET
Address offset: 0x304
Enable interrupt
4413_417 v1.9 92
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW POFWARN Write '1' to enable interrupt for event POFWARN
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW SLEEPENTER Write '1' to enable interrupt for event SLEEPENTER
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW SLEEPEXIT Write '1' to enable interrupt for event SLEEPEXIT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW USBDETECTED Write '1' to enable interrupt for event USBDETECTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW USBREMOVED Write '1' to enable interrupt for event USBREMOVED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW USBPWRRDY Write '1' to enable interrupt for event USBPWRRDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
5.3.7.10 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW POFWARN Write '1' to disable interrupt for event POFWARN
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW SLEEPENTER Write '1' to disable interrupt for event SLEEPENTER
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW SLEEPEXIT Write '1' to disable interrupt for event SLEEPEXIT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW USBDETECTED Write '1' to disable interrupt for event USBDETECTED
Clear 1 Disable
Disabled 0 Read: Disabled
4413_417 v1.9 93
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
E RW USBREMOVED Write '1' to disable interrupt for event USBREMOVED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW USBPWRRDY Write '1' to disable interrupt for event USBPWRRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
5.3.7.11 RESETREAS
Address offset: 0x400
Reset reason
Note: Unless cleared, the RESETREAS register will be cumulative. A field is cleared by writing '1' to
it. If none of the reset sources are flagged, this indicates that the chip was reset from the on-chip
reset generator, which will indicate a power-on-reset or a brownout reset.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESETPIN Reset from pin-reset detected
NotDetected 0 Not detected
Detected 1 Detected
B RW DOG Reset from watchdog detected
NotDetected 0 Not detected
Detected 1 Detected
C RW SREQ Reset from soft reset detected
NotDetected 0 Not detected
Detected 1 Detected
D RW LOCKUP Reset from CPU lock-up detected
NotDetected 0 Not detected
Detected 1 Detected
E RW OFF Reset due to wake up from System OFF mode when wakeup is triggered
from DETECT signal from GPIO
NotDetected 0 Not detected
Detected 1 Detected
F RW LPCOMP Reset due to wake up from System OFF mode when wakeup is triggered
from ANADETECT signal from LPCOMP
NotDetected 0 Not detected
Detected 1 Detected
G RW DIF Reset due to wake up from System OFF mode when wakeup is triggered
from entering into debug interface mode
NotDetected 0 Not detected
Detected 1 Detected
H RW NFC Reset due to wake up from System OFF mode by NFC field detect
NotDetected 0 Not detected
4413_417 v1.9 94
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Detected 1 Detected
I RW VBUS Reset due to wake up from System OFF mode by VBUS rising into valid range
NotDetected 0 Not detected
Detected 1 Detected
Note: Since this register is deprecated the following substitutions have been made: RAM block 0
is equivalent to a block comprising RAM0.S0 and RAM1.S0. RAM block 1 is equivalent to a block
comprising RAM2.S0 and RAM3.S0. RAM block 2 is equivalent to a block comprising RAM4.S0 and
RAM5.S0. RAM block 3 is equivalent to a block comprising RAM6.S0 and RAM7.S0. A RAM block
field will indicate ON as long as any of the RAM sections associated with a block are on.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RAMBLOCK0 RAM block 0 is on or off/powering up
Off 0 Off
On 1 On
B R RAMBLOCK1 RAM block 1 is on or off/powering up
Off 0 Off
On 1 On
C R RAMBLOCK2 RAM block 2 is on or off/powering up
Off 0 Off
On 1 On
D R RAMBLOCK3 RAM block 3 is on or off/powering up
Off 0 Off
On 1 On
5.3.7.13 USBREGSTATUS
Address offset: 0x438
USB supply status
Note:
4413_417 v1.9 95
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R VBUSDETECT VBUS input detection status (USBDETECTED and USBREMOVED events are
derived from this information)
NoVbus 0 VBUS voltage below valid threshold
VbusPresent 1 VBUS voltage above valid threshold
B R OUTPUTRDY USB supply output settling time elapsed
NotReady 0 USBREG output settling time not elapsed
Ready 1 USBREG output settling time elapsed (same information as USBPWRRDY
event)
5.3.7.14 SYSTEMOFF
Address offset: 0x500
System OFF register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W SYSTEMOFF Enable System OFF mode
Enter 1 Enable System OFF mode
5.3.7.15 POFCON
Address offset: 0x510
Power-fail comparator configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C C C B B B B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW POF Enable or disable power failure warning
Disabled 0 Disable
Enabled 1 Enable
B RW THRESHOLD Power-fail comparator threshold setting. This setting applies both for
normal voltage mode (supply connected to both VDD and VDDH) and high
voltage mode (supply connected to VDDH only). Values 0-3 set threshold
below 1.7 V and should not be used as brown out detection will be activated
before power failure warning on such low voltages.
V17 4 Set threshold to 1.7 V
V18 5 Set threshold to 1.8 V
V19 6 Set threshold to 1.9 V
V20 7 Set threshold to 2.0 V
V21 8 Set threshold to 2.1 V
V22 9 Set threshold to 2.2 V
V23 10 Set threshold to 2.3 V
V24 11 Set threshold to 2.4 V
V25 12 Set threshold to 2.5 V
V26 13 Set threshold to 2.6 V
V27 14 Set threshold to 2.7 V
4413_417 v1.9 96
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C C C B B B B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
V28 15 Set threshold to 2.8 V
C RW THRESHOLDVDDH Power-fail comparator threshold setting for high voltage mode (supply
connected to VDDH only). This setting does not apply for normal voltage
mode (supply connected to both VDD and VDDH).
V27 0 Set threshold to 2.7 V
V28 1 Set threshold to 2.8 V
V29 2 Set threshold to 2.9 V
V30 3 Set threshold to 3.0 V
V31 4 Set threshold to 3.1 V
V32 5 Set threshold to 3.2 V
V33 6 Set threshold to 3.3 V
V34 7 Set threshold to 3.4 V
V35 8 Set threshold to 3.5 V
V36 9 Set threshold to 3.6 V
V37 10 Set threshold to 3.7 V
V38 11 Set threshold to 3.8 V
V39 12 Set threshold to 3.9 V
V40 13 Set threshold to 4.0 V
V41 14 Set threshold to 4.1 V
V42 15 Set threshold to 4.2 V
5.3.7.16 GPREGRET
Address offset: 0x51C
General purpose retention register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW GPREGRET General purpose retention register
5.3.7.17 GPREGRET2
Address offset: 0x520
General purpose retention register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW GPREGRET General purpose retention register
5.3.7.18 DCDCEN
Address offset: 0x578
4413_417 v1.9 97
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DCDCEN Enable DC/DC converter for REG1 stage.
Disabled 0 Disable
Enabled 1 Enable
5.3.7.19 DCDCEN0
Address offset: 0x580
Enable DC/DC converter for REG0 stage
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DCDCEN Enable DC/DC converter for REG0 stage.
Disabled 0 Disable
Enabled 1 Enable
5.3.7.20 MAINREGSTATUS
Address offset: 0x640
Main supply status
Note:
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R MAINREGSTATUS Main supply status
Normal 0 Normal voltage mode. Voltage supplied on VDD.
High 1 High voltage mode. Voltage supplied on VDDH.
5.3.7.21 RAM[0].POWER
Address offset: 0x900
RAM0 power control register
4413_417 v1.9 98
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
4413_417 v1.9 99
Power and clock management
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.22 RAM[0].POWERSET
Address offset: 0x904
RAM0 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM0 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM0 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM0 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM0 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM0 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM0 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM0 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM0 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM0 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM0 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM0 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM0 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM0 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM0 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM0 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM0 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.23 RAM[0].POWERCLR
Address offset: 0x908
RAM0 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM0 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM0 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM0 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM0 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM0 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM0 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM0 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM0 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM0 on or off in System ON mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM0 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM0 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM0 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM0 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM0 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM0 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM0 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.24 RAM[1].POWER
Address offset: 0x910
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.25 RAM[1].POWERSET
Address offset: 0x914
RAM1 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM1 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM1 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM1 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM1 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM1 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM1 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM1 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM1 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM1 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM1 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM1 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM1 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM1 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM1 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM1 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM1 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.26 RAM[1].POWERCLR
Address offset: 0x918
RAM1 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM1 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM1 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM1 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM1 on or off in System ON mode
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
E W S4POWER Keep RAM section S4 of RAM1 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM1 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM1 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM1 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM1 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM1 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM1 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM1 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM1 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM1 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM1 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM1 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.27 RAM[2].POWER
Address offset: 0x920
RAM2 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.28 RAM[2].POWERSET
Address offset: 0x924
RAM2 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM2 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM2 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM2 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM2 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM2 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM2 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM2 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM2 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM2 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM2 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM2 on or off in System ON mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
L W S11POWER Keep RAM section S11 of RAM2 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM2 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM2 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM2 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM2 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.29 RAM[2].POWERCLR
Address offset: 0x928
RAM2 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM2 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM2 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM2 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM2 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM2 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM2 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM2 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM2 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM2 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM2 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM2 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM2 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM2 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM2 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM2 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM2 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.30 RAM[3].POWER
Address offset: 0x930
RAM3 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.31 RAM[3].POWERSET
Address offset: 0x934
RAM3 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM3 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM3 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM3 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM3 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM3 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM3 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM3 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM3 on or off in System ON mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
I W S8POWER Keep RAM section S8 of RAM3 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM3 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM3 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM3 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM3 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM3 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM3 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM3 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.32 RAM[3].POWERCLR
Address offset: 0x938
RAM3 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM3 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM3 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM3 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM3 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM3 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM3 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM3 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM3 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM3 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM3 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM3 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM3 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM3 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM3 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM3 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM3 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.33 RAM[4].POWER
Address offset: 0x940
RAM4 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.34 RAM[4].POWERSET
Address offset: 0x944
RAM4 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM4 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM4 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM4 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM4 on or off in System ON mode
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
E W S4POWER Keep RAM section S4 of RAM4 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM4 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM4 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM4 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM4 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM4 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM4 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM4 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM4 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM4 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM4 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM4 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.35 RAM[4].POWERCLR
Address offset: 0x948
RAM4 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM4 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM4 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM4 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM4 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM4 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM4 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM4 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM4 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM4 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM4 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM4 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM4 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM4 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM4 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM4 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM4 on or off in System ON mode
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.36 RAM[5].POWER
Address offset: 0x950
RAM5 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.37 RAM[5].POWERSET
Address offset: 0x954
RAM5 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM5 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM5 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM5 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM5 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM5 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM5 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM5 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM5 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM5 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM5 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM5 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM5 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM5 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM5 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM5 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM5 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.38 RAM[5].POWERCLR
Address offset: 0x958
RAM5 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM5 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM5 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM5 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM5 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM5 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM5 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM5 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM5 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM5 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM5 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM5 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM5 on or off in System ON mode
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
M W S12POWER Keep RAM section S12 of RAM5 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM5 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM5 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM5 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.39 RAM[6].POWER
Address offset: 0x960
RAM6 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.40 RAM[6].POWERSET
Address offset: 0x964
RAM6 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM6 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM6 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM6 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM6 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM6 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM6 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM6 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM6 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM6 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM6 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM6 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM6 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM6 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM6 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM6 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM6 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.41 RAM[6].POWERCLR
Address offset: 0x968
RAM6 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM6 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM6 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM6 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM6 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM6 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM6 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM6 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM6 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM6 on or off in System ON mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM6 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM6 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM6 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM6 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM6 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM6 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM6 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.42 RAM[7].POWER
Address offset: 0x970
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.43 RAM[7].POWERSET
Address offset: 0x974
RAM7 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM7 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM7 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM7 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM7 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM7 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM7 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM7 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM7 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM7 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM7 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM7 on or off in System ON mode
On 1 On
L W S11POWER Keep RAM section S11 of RAM7 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM7 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM7 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM7 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM7 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.44 RAM[7].POWERCLR
Address offset: 0x978
RAM7 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM7 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM7 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM7 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM7 on or off in System ON mode
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
E W S4POWER Keep RAM section S4 of RAM7 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM7 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM7 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM7 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM7 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM7 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM7 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM7 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM7 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM7 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM7 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM7 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
5.3.7.45 RAM[8].POWER
Address offset: 0x980
RAM8 power control register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW S0POWER Keep RAM section S0 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S0RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
B RW S1POWER Keep RAM section S1 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S1RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
C RW S2POWER Keep RAM section S2 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S2RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
D RW S3POWER Keep RAM section S3 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S3RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
E RW S4POWER Keep RAM section S4 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S4RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
F RW S5POWER Keep RAM section S5 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S5RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
G RW S6POWER Keep RAM section S6 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S6RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
H RW S7POWER Keep RAM section S7 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S7RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
I RW S8POWER Keep RAM section S8 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S8RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
J RW S9POWER Keep RAM section S9 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S9RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
K RW S10POWER Keep RAM section S10 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S10RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
L RW S11POWER Keep RAM section S11 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S11RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
M RW S12POWER Keep RAM section S12 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S12RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
N RW S13POWER Keep RAM section S13 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S13RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
O RW S14POWER Keep RAM section S14 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S14RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
P RW S15POWER Keep RAM section S15 on or off in System ON mode.
RAM sections are always retained when on, but can also be retained when
off depending on the settings in S15RETENTION. All RAM sections will be off
in System OFF mode.
Off 0 Off
On 1 On
Q RW S0RETENTION Keep retention on RAM section S0 when RAM section is off
Off 0 Off
On 1 On
R RW S1RETENTION Keep retention on RAM section S1 when RAM section is off
Off 0 Off
On 1 On
S RW S2RETENTION Keep retention on RAM section S2 when RAM section is off
Off 0 Off
On 1 On
T RW S3RETENTION Keep retention on RAM section S3 when RAM section is off
Off 0 Off
On 1 On
U RW S4RETENTION Keep retention on RAM section S4 when RAM section is off
Off 0 Off
On 1 On
V RW S5RETENTION Keep retention on RAM section S5 when RAM section is off
Off 0 Off
On 1 On
W RW S6RETENTION Keep retention on RAM section S6 when RAM section is off
Off 0 Off
On 1 On
X RW S7RETENTION Keep retention on RAM section S7 when RAM section is off
Off 0 Off
On 1 On
Y RW S8RETENTION Keep retention on RAM section S8 when RAM section is off
Off 0 Off
On 1 On
Z RW S9RETENTION Keep retention on RAM section S9 when RAM section is off
Off 0 Off
On 1 On
a RW S10RETENTION Keep retention on RAM section S10 when RAM section is off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Off 0 Off
On 1 On
b RW S11RETENTION Keep retention on RAM section S11 when RAM section is off
Off 0 Off
On 1 On
c RW S12RETENTION Keep retention on RAM section S12 when RAM section is off
Off 0 Off
On 1 On
d RW S13RETENTION Keep retention on RAM section S13 when RAM section is off
Off 0 Off
On 1 On
e RW S14RETENTION Keep retention on RAM section S14 when RAM section is off
Off 0 Off
On 1 On
f RW S15RETENTION Keep retention on RAM section S15 when RAM section is off
Off 0 Off
On 1 On
5.3.7.46 RAM[8].POWERSET
Address offset: 0x984
RAM8 power control set register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM8 on or off in System ON mode
On 1 On
B W S1POWER Keep RAM section S1 of RAM8 on or off in System ON mode
On 1 On
C W S2POWER Keep RAM section S2 of RAM8 on or off in System ON mode
On 1 On
D W S3POWER Keep RAM section S3 of RAM8 on or off in System ON mode
On 1 On
E W S4POWER Keep RAM section S4 of RAM8 on or off in System ON mode
On 1 On
F W S5POWER Keep RAM section S5 of RAM8 on or off in System ON mode
On 1 On
G W S6POWER Keep RAM section S6 of RAM8 on or off in System ON mode
On 1 On
H W S7POWER Keep RAM section S7 of RAM8 on or off in System ON mode
On 1 On
I W S8POWER Keep RAM section S8 of RAM8 on or off in System ON mode
On 1 On
J W S9POWER Keep RAM section S9 of RAM8 on or off in System ON mode
On 1 On
K W S10POWER Keep RAM section S10 of RAM8 on or off in System ON mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
On 1 On
L W S11POWER Keep RAM section S11 of RAM8 on or off in System ON mode
On 1 On
M W S12POWER Keep RAM section S12 of RAM8 on or off in System ON mode
On 1 On
N W S13POWER Keep RAM section S13 of RAM8 on or off in System ON mode
On 1 On
O W S14POWER Keep RAM section S14 of RAM8 on or off in System ON mode
On 1 On
P W S15POWER Keep RAM section S15 of RAM8 on or off in System ON mode
On 1 On
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
On 1 On
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
On 1 On
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
On 1 On
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
On 1 On
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
On 1 On
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
On 1 On
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
On 1 On
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
On 1 On
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
On 1 On
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
On 1 On
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
On 1 On
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
On 1 On
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
On 1 On
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
On 1 On
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
On 1 On
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
On 1 On
5.3.7.47 RAM[8].POWERCLR
Address offset: 0x988
RAM8 power control clear register
When read, this register will return the value of the POWER register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A W S0POWER Keep RAM section S0 of RAM8 on or off in System ON mode
Off 1 Off
B W S1POWER Keep RAM section S1 of RAM8 on or off in System ON mode
Off 1 Off
C W S2POWER Keep RAM section S2 of RAM8 on or off in System ON mode
Off 1 Off
D W S3POWER Keep RAM section S3 of RAM8 on or off in System ON mode
Off 1 Off
E W S4POWER Keep RAM section S4 of RAM8 on or off in System ON mode
Off 1 Off
F W S5POWER Keep RAM section S5 of RAM8 on or off in System ON mode
Off 1 Off
G W S6POWER Keep RAM section S6 of RAM8 on or off in System ON mode
Off 1 Off
H W S7POWER Keep RAM section S7 of RAM8 on or off in System ON mode
Off 1 Off
I W S8POWER Keep RAM section S8 of RAM8 on or off in System ON mode
Off 1 Off
J W S9POWER Keep RAM section S9 of RAM8 on or off in System ON mode
Off 1 Off
K W S10POWER Keep RAM section S10 of RAM8 on or off in System ON mode
Off 1 Off
L W S11POWER Keep RAM section S11 of RAM8 on or off in System ON mode
Off 1 Off
M W S12POWER Keep RAM section S12 of RAM8 on or off in System ON mode
Off 1 Off
N W S13POWER Keep RAM section S13 of RAM8 on or off in System ON mode
Off 1 Off
O W S14POWER Keep RAM section S14 of RAM8 on or off in System ON mode
Off 1 Off
P W S15POWER Keep RAM section S15 of RAM8 on or off in System ON mode
Off 1 Off
Q W S0RETENTION Keep retention on RAM section S0 when RAM section is switched off
Off 1 Off
R W S1RETENTION Keep retention on RAM section S1 when RAM section is switched off
Off 1 Off
S W S2RETENTION Keep retention on RAM section S2 when RAM section is switched off
Off 1 Off
T W S3RETENTION Keep retention on RAM section S3 when RAM section is switched off
Off 1 Off
U W S4RETENTION Keep retention on RAM section S4 when RAM section is switched off
Off 1 Off
V W S5RETENTION Keep retention on RAM section S5 when RAM section is switched off
Off 1 Off
W W S6RETENTION Keep retention on RAM section S6 when RAM section is switched off
Off 1 Off
X W S7RETENTION Keep retention on RAM section S7 when RAM section is switched off
Off 1 Off
Y W S8RETENTION Keep retention on RAM section S8 when RAM section is switched off
Off 1 Off
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x0000FFFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
Z W S9RETENTION Keep retention on RAM section S9 when RAM section is switched off
Off 1 Off
a W S10RETENTION Keep retention on RAM section S10 when RAM section is switched off
Off 1 Off
b W S11RETENTION Keep retention on RAM section S11 when RAM section is switched off
Off 1 Off
c W S12RETENTION Keep retention on RAM section S12 when RAM section is switched off
Off 1 Off
d W S13RETENTION Keep retention on RAM section S13 when RAM section is switched off
Off 1 Off
e W S14RETENTION Keep retention on RAM section S14 when RAM section is switched off
Off 1 Off
f W S15RETENTION Keep retention on RAM section S15 when RAM section is switched off
Off 1 Off
11
External current draw is defined as the sum of all GPIO currents and the current being drawn from
VDD.
tRISE,REG0OUT REG0 output (VDD) rise time after VDDH reaches minimum VDDH supply
voltage12
tRISE,REG0OUT,10µs VDDH rise time 10 µs12 0.22 1.55 ms
tPINR Reset time when using pin reset, depending on pin capacitance
tPINR,500nF 500 nF capacitance at reset pin 32.5 ms
tPINR,10µF 10 µF capacitance at reset pin 650 ms
tR2ON Time from power-on reset to System ON
tR2ON,NOTCONF If reset pin not configured tPOR ms
tR2ON,CONF If reset pin configured tPOR + ms
tPINR
tOFF2ON Time from OFF to CPU execute 16.5 µs
tIDLE2CPU Time from IDLE to CPU execute 3.0 µs
tEVTSET,CL1 Time from HW event to PPI event in Constant Latency System ON mode 0.0625 µs
tEVTSET,CL0 Time from HW event to PPI event in Low Power System ON mode 0.0625 µs
12
See Recommended operating conditions on page 890 for more information.
CLOCK
HFINT
Internal oscillator
PCLK1M
PCLK16M
XC1 HFCLK PCLK32M
Clock control
HFXO
32 MHz
Crystal oscillator
HCLK64M
XC2
LFRC
CAL SYNT
RC oscillator
XL1
LFXO LFCLK
32.768 kHz PCLK32KI
Crystal oscillator Clock control
XL2
HFCLKSTARTED LFCLKSTARTED
XC1 XC2
C1 C2
32 MHz
crystal
The load capacitance (CL) is the total capacitance seen by the crystal across its terminals and is given by:
C1 and C2 are ceramic SMD capacitors connected between each crystal terminal and ground. For more
information, see Reference circuitry on page 856. Cpcb1 and Cpcb2 are stray capacitances on the PCB. Cpin
is the pin input capacitance on the XC1 and XC2 pins. See table 64 MHz crystal oscillator (HFXO) on page
170. The load capacitors C1 and C2 should have the same value.
For reliable operation, the crystal load capacitance, shunt capacitance, equivalent series resistance, and
drive level must comply with the specifications in table 64 MHz crystal oscillator (HFXO) on page 170. It
is recommended to use a crystal with lower than maximum load capacitance and/or shunt capacitance. A
low load capacitance will reduce both start up time and current consumption.
The LFCLK clock is started by first selecting the preferred clock source in register LFCLKSRC on page 168
and then triggering the LFCLKSTART task. If the LFXO is selected as the clock source, the LFCLK will initially
start running from the 32.768 kHz LFRC while the LFXO is starting up and automatically switch to using the
LFXO once this oscillator is running. The LFCLKSTARTED event will be generated when the LFXO has been
started.
The LFCLK clock is stopped by triggering the LFCLKSTOP task.
Register LFCLKSRC on page 168 controls the clock source, and its allowed swing. The truth table for
various situations is as follows:
It is not allowed to write to register LFCLKSRC on page 168 when the LFCLK is running.
A LFCLKSTOP task will stop the LFCLK oscillator. However, the LFCLKSTOP task can only be triggered after
the STATE field in register LFCLKSTAT on page 167 indicates LFCLK running state.
The synthesized 32.768 kHz clock depends on the HFCLK to run. If high accuracy is required for the LFCLK
running off the synthesized 32.768 kHz clock, the HFCLK must running from the HFXO source.
168 and generate a CTTO event when it reaches 0. The calibration timer will automatically stop when it
reaches 0.
CTSTART
CTSTARTED
Calibration
CTSTOP CTIV
CTSTOPPED timer
CTTO
After a CTSTART task has been triggered, the calibration timer will ignore further tasks until it has returned
the CTSTARTED event. Likewise, after a CTSTOP task has been triggered, the calibration timer will ignore
further tasks until it has returned a CTSTOPPED event. Triggering CTSTART while the calibration timer
is running will immediately return a CTSTARTED event. Triggering CTSTOP when the calibration timer is
stopped will immediately return a CTSTOPPED event.
XL1 XL2
C1 C2
32.768 kHz
crystal
The load capacitance (CL) is the total capacitance seen by the crystal across its terminals and is given by:
C1 and C2 are ceramic SMD capacitors connected between each crystal terminal and ground. Cpcb1 and
Cpcb2 are stray capacitances on the PCB. Cpin is the pin input capacitance on the XC1 and XC2 pins (see Low
frequency crystal oscillator (LFXO) on page 170). The load capacitors C1 and C2 should have the same
value.
5.4.3 Registers
Instances
Register overview
5.4.3.1 TASKS_HFCLKSTART
Address offset: 0x000
Start HFXO crystal oscillator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_HFCLKSTART Start HFXO crystal oscillator
Trigger 1 Trigger task
5.4.3.2 TASKS_HFCLKSTOP
Address offset: 0x004
Stop HFXO crystal oscillator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_HFCLKSTOP Stop HFXO crystal oscillator
Trigger 1 Trigger task
5.4.3.3 TASKS_LFCLKSTART
Address offset: 0x008
Start LFCLK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_LFCLKSTART Start LFCLK
Trigger 1 Trigger task
5.4.3.4 TASKS_LFCLKSTOP
Address offset: 0x00C
Stop LFCLK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_LFCLKSTOP Stop LFCLK
Trigger 1 Trigger task
5.4.3.5 TASKS_CAL
Address offset: 0x010
Start calibration of LFRC
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAL Start calibration of LFRC
Trigger 1 Trigger task
5.4.3.6 TASKS_CTSTART
Address offset: 0x014
Start calibration timer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CTSTART Start calibration timer
Trigger 1 Trigger task
5.4.3.7 TASKS_CTSTOP
Address offset: 0x018
Stop calibration timer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CTSTOP Stop calibration timer
Trigger 1 Trigger task
5.4.3.8 EVENTS_HFCLKSTARTED
Address offset: 0x100
HFXO crystal oscillator started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_HFCLKSTARTED HFXO crystal oscillator started
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.9 EVENTS_LFCLKSTARTED
Address offset: 0x104
LFCLK started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_LFCLKSTARTED LFCLK started
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.10 EVENTS_DONE
Address offset: 0x10C
Calibration of LFRC completed
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DONE Calibration of LFRC completed
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.11 EVENTS_CTTO
Address offset: 0x110
Calibration timer timeout
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CTTO Calibration timer timeout
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.12 EVENTS_CTSTARTED
Address offset: 0x128
Calibration timer has been started and is ready to process new tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CTSTARTED Calibration timer has been started and is ready to process new tasks
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.13 EVENTS_CTSTOPPED
Address offset: 0x12C
Calibration timer has been stopped and is ready to process new tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CTSTOPPED Calibration timer has been stopped and is ready to process new tasks
NotGenerated 0 Event not generated
Generated 1 Event generated
5.4.3.14 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HFCLKSTARTED Write '1' to enable interrupt for event HFCLKSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW LFCLKSTARTED Write '1' to enable interrupt for event LFCLKSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW DONE Write '1' to enable interrupt for event DONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW CTTO Write '1' to enable interrupt for event CTTO
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW CTSTARTED Write '1' to enable interrupt for event CTSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW CTSTOPPED Write '1' to enable interrupt for event CTSTOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
5.4.3.15 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HFCLKSTARTED Write '1' to disable interrupt for event HFCLKSTARTED
Clear 1 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW LFCLKSTARTED Write '1' to disable interrupt for event LFCLKSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW DONE Write '1' to disable interrupt for event DONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW CTTO Write '1' to disable interrupt for event CTTO
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW CTSTARTED Write '1' to disable interrupt for event CTSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW CTSTOPPED Write '1' to disable interrupt for event CTSTOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
5.4.3.16 HFCLKRUN
Address offset: 0x408
Status indicating that HFCLKSTART task has been triggered
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R STATUS HFCLKSTART task triggered or not
NotTriggered 0 Task not triggered
Triggered 1 Task triggered
5.4.3.17 HFCLKSTAT
Address offset: 0x40C
HFCLK status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SRC Source of HFCLK
RC 0 64 MHz internal oscillator (HFINT)
Xtal 1 64 MHz crystal oscillator (HFXO)
B R STATE HFCLK state
NotRunning 0 HFCLK not running
Running 1 HFCLK running
5.4.3.18 LFCLKRUN
Address offset: 0x414
Status indicating that LFCLKSTART task has been triggered
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R STATUS LFCLKSTART task triggered or not
NotTriggered 0 Task not triggered
Triggered 1 Task triggered
5.4.3.19 LFCLKSTAT
Address offset: 0x418
LFCLK status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SRC Source of LFCLK
RC 0 32.768 kHz RC oscillator (LFRC)
Xtal 1 32.768 kHz crystal oscillator (LFXO)
Synth 2 32.768 kHz synthesized from HFCLK (LFSYNT)
B R STATE LFCLK state
NotRunning 0 LFCLK not running
Running 1 LFCLK running
5.4.3.20 LFCLKSRCCOPY
Address offset: 0x41C
Copy of LFCLKSRC register, set when LFCLKSTART task was triggered
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SRC Clock source
RC 0 32.768 kHz RC oscillator (LFRC)
Xtal 1 32.768 kHz crystal oscillator (LFXO)
Synth 2 32.768 kHz synthesized from HFCLK (LFSYNT)
5.4.3.21 LFCLKSRC
Address offset: 0x518
Clock source for the LFCLK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SRC Clock source
RC 0 32.768 kHz RC oscillator (LFRC)
Xtal 1 32.768 kHz crystal oscillator (LFXO)
Synth 2 32.768 kHz synthesized from HFCLK (LFSYNT)
B RW BYPASS Enable or disable bypass of LFCLK crystal oscillator with external clock
source
Disabled 0 Disable (use with Xtal or low-swing external source)
Enabled 1 Enable (use with rail-to-rail external source)
C RW EXTERNAL Enable or disable external source for LFCLK
Disabled 0 Disable external source (use with Xtal)
Enabled 1 Enable use of external source instead of Xtal (SRC needs to be set to Xtal)
5.4.3.22 HFXODEBOUNCE
Address offset: 0x528
HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task.
The EVENTS_HFCLKSTARTED event is generated after the HFXO power up time + the HFXO debounce time
has elapsed. It is not allowed to change the value of this register while the HFXO is starting.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000010 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
ID R/W Field Value ID Value Description
A RW HFXODEBOUNCE 0x01..0xFF HFXO debounce time. Debounce time = HFXODEBOUNCE * 16 µs.
Db256us 0x10 256 µs debounce time. Recommended for TSX-3225, FA-20H and FA-128
crystals.
Db1024us 0x40 1024 µs debounce time. Recommended for NX1612AA and NX1210AB
crystals.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTIV Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds
to 31.75 seconds.
5.4.3.24 TRACECONFIG
Address offset: 0x55C
Clocking options for the trace port debug interface
This register is a retained register. Reset behavior is the same as debug components.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TRACEPORTSPEED Speed of trace port clock. Note that the TRACECLK pin will output this clock
divided by two.
32MHz 0 32 MHz trace port clock (TRACECLK = 16 MHz)
16MHz 1 16 MHz trace port clock (TRACECLK = 8 MHz)
8MHz 2 8 MHz trace port clock (TRACECLK = 4 MHz)
4MHz 3 4 MHz trace port clock (TRACECLK = 2 MHz)
B RW TRACEMUX Pin multiplexing of trace signals. See pin assignment chapter for more
details.
GPIO 0 No trace signals routed to pins. All pins can be used as regular GPIOs.
Serial 1 SWO trace signal routed to pin. Remaining pins can be used as regular
GPIOs.
Parallel 2 All trace signals (TRACECLK and TRACEDATA[n]) routed to pins.
5.4.3.25 LFRCMODE
Address offset: 0x5B4
LFRC mode configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Set LFRC mode
Normal 0 Normal mode
ULP 1 Ultra-low power mode (ULP)
B RW STATUS Active LFRC mode. This field is read only.
Normal 0 Normal mode
ULP 1 Ultra-low power mode (ULP)
13
Constant temperature within ±0.5 °C, calibration performed at least every 8 seconds, averaging
interval > 7.5 ms, defined as 3 sigma
14
Constant temperature within ±0.5 °C, calibration performed at least every 8 seconds, averaging
interval > 125 ms, defined as 3 sigma
Peripheral
write
TASK
k SHORTS
OR
task
Peripheral
core
event
INTEN m
EVENT m
IRQ signal to NVIC
6.1.1 Peripheral ID
Every peripheral is assigned a fixed block of 0x1000 bytes of address space, which is equal to 1024 x 32 bit
registers.
See Instantiation on page 24 for more information about which peripherals are available and where they
are located in the address map.
There is a direct relationship between peripheral ID and base address. For example, a peripheral with base
address 0x40000000 is assigned ID=0, a peripheral with base address 0x40001000 is assigned ID=1, and a
peripheral with base address 0x4001F000 is assigned ID=31.
Peripherals may share the same ID, which may impose one or more of the following limitations:
• Some peripherals share some registers or other common resources.
• Operation is mutually exclusive. Only one of the peripherals can be used at a time.
• Switching from one peripheral to another must follow a specific pattern (disable the first, then enable
the second peripheral).
Note: The main register may not be visible and hence not directly accessible in all cases.
6.1.5 Tasks
Tasks are used to trigger actions in a peripheral, for example to start a particular behavior. A peripheral can
implement multiple tasks with each task having a separate register in that peripheral's task register group.
A task is triggered when firmware writes 1 to the task register, or when the peripheral itself or another
peripheral toggles the corresponding task signal. See Tasks, events, shortcuts, and interrupts on page
172.
6.1.6 Events
Events are used to notify peripherals and the CPU about events that have happened, for example a state
change in a peripheral. A peripheral may generate multiple events with each event having a separate
register in that peripheral’s event register group.
An event is generated when the peripheral itself toggles the corresponding event signal, and the event
register is updated to reflect that the event has been generated. See Tasks, events, shortcuts, and
interrupts on page 172. An event register is only cleared when firmware writes 0 to it.
Events can be generated by the peripheral even when the event register is set to 1.
6.1.7 Shortcuts
A shortcut is a direct connection between an event and a task within the same peripheral. If a shortcut is
enabled, the associated task is automatically triggered when its associated event is generated.
Using a shortcut is the equivalent to making the same connection outside the peripheral and through the
PPI. However, the propagation delay through the shortcut is usually shorter than the propagation delay
through the PPI.
Shortcuts are predefined, which means their connections cannot be configured by firmware. Each shortcut
can be individually enabled or disabled through the shortcut register, one bit per shortcut, giving a
maximum of 32 shortcuts for each peripheral.
6.1.8 Interrupts
All peripherals support interrupts. Interrupts are generated by events.
A peripheral only occupies one interrupt, and the interrupt number follows the peripheral ID. For example,
the peripheral with ID=4 is connected to interrupt number 4 in the nested vectored interrupt controller
(NVIC).
Using the INTEN, INTENSET, and INTENCLR registers, every event generated by a peripheral can be
configured to generate that peripheral's interrupt. Multiple events can be enabled to generate interrupts
simultaneously. To resolve the correct interrupt source, the event registers in the event group of
peripheral registers will indicate the source.
Some peripherals implement only INTENSET and INTENCLR registers, and the INTEN register is not
available on those peripherals. See the individual peripheral chapters for details. In all cases, reading back
the INTENSET or INTENCLR register returns the same information as in INTEN.
Each event implemented in the peripheral is associated with a specific bit position in the INTEN, INTENSET,
and INTENCLR registers.
The relationship between tasks, events, shortcuts, and interrupts is shown in Tasks, events, shortcuts, and
interrupts on page 172.
Interrupt clearing
Clearing an interrupt by writing 0 to an event register, or disabling an interrupt using the INTENCLR
register, can take up to four CPU clock cycles to take effect. This means that an interrupt may reoccur
immediately, even if a new event has not come, if the program exits an interrupt handler after the
interrupt is cleared or disabled but before four clock cycles have passed.
Note: To avoid an interrupt reoccurring before a new event has come, the program should perform
a read from one of the peripheral registers. For example, the event register that has been cleared,
or the INTENCLR register that has been used to disable the interrupt. This will cause a one to three-
cycle delay and ensure the interrupt is cleared before exiting the interrupt handler.
Care should be taken to ensure the compiler does not remove the read operation as an optimization. If the
program can guarantee a four-cycle delay after an event is cleared or an interrupt is disabled, then a read
of a register is not required.
6.2.1 EasyDMA
AAR implements EasyDMA for reading and writing to RAM. EasyDMA will have finished accessing RAM
when the END, RESOLVED, and NOTRESOLVED events are generated.
If the IRKPTR on page 180, ADDRPTR on page 180, and the SCRATCHPTR on page 180 is not
pointing to the Data RAM region, an EasyDMA transfer may result in a HardFault or RAM corruption. See
Memory on page 21 for more information about the different memory regions.
random 10
hash prand
(24-bit) (24-bit)
To resolve an address, the register ADDRPTR on page 180 must point to the start of the packet. The
resolver is started by triggering the START task. A RESOLVED event is generated when AAR manages to
resolve the address using one of the Identity Resolving Keys (IRK) found in the IRK data structure. AAR will
use the IRK specified in the register IRK0 to IRK15 starting from IRK0. The register NIRK on page 180
specifies how many IRKs should be used. The AAR module will generate a NOTRESOLVED event if it is not
able to resolve the address using the specified list of IRKs.
AAR will go through the list of available IRKs in the IRK data structure and for each IRK try to resolve the
address according to the Resolvable Private Address Resolution Procedure described in the Bluetooth
Core specification v4.0 [Vol 3] chapter 10.8.2.3. The time it takes to resolve an address varies due to the
location in the list of the resolvable address. The resolution time will also be affected by RAM accesses
performed by other peripherals and the CPU. See the Electrical specifications for more information about
resolution time.
AAR only compares the received address to those programmed in the module without checking the
address type.
AAR will stop as soon as it has managed to resolve the address, or after trying to resolve the address using
NIRK number of IRKs from the IRK data structure. AAR will generate an END event after it has stopped.
SCRATCHPTR
IRK data
S0 L S1 ADDR
structure
IRKPTR
6.2.3 Example
The following example shows how to chain RADIO packet reception with address resolution using AAR.
AAR may be started as soon as the 6 bytes required by AAR have been received by RADIO and stored in
RAM. The ADDRPTR pointer must point to the start of packet.
SCRATCHPTR
IRK data
S0 L S1 ADDR
structure
IRKPTR
From remote
transmitter
RADIO
RXEN
Figure 29: Address resolution with packet loaded into RAM by RADIO
6.2.5 Registers
Instances
Register overview
6.2.5.1 TASKS_START
Address offset: 0x000
Start resolving addresses based on IRKs specified in the IRK data structure
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start resolving addresses based on IRKs specified in the IRK data structure
Trigger 1 Trigger task
6.2.5.2 TASKS_STOP
Address offset: 0x008
Stop resolving addresses
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop resolving addresses
Trigger 1 Trigger task
6.2.5.3 EVENTS_END
Address offset: 0x100
Address resolution procedure complete
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END Address resolution procedure complete
NotGenerated 0 Event not generated
Generated 1 Event generated
6.2.5.4 EVENTS_RESOLVED
Address offset: 0x104
Address resolved
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RESOLVED Address resolved
NotGenerated 0 Event not generated
Generated 1 Event generated
6.2.5.5 EVENTS_NOTRESOLVED
Address offset: 0x108
Address not resolved
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_NOTRESOLVED Address not resolved
NotGenerated 0 Event not generated
Generated 1 Event generated
6.2.5.6 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW RESOLVED Write '1' to enable interrupt for event RESOLVED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW NOTRESOLVED Write '1' to enable interrupt for event NOTRESOLVED
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.2.5.7 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW RESOLVED Write '1' to disable interrupt for event RESOLVED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW NOTRESOLVED Write '1' to disable interrupt for event NOTRESOLVED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.2.5.8 STATUS
Address offset: 0x400
Resolution status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R STATUS [0..15] The IRK that was used last time an address was resolved
6.2.5.9 ENABLE
Address offset: 0x500
Enable AAR
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable AAR
Disabled 0 Disable
Enabled 3 Enable
6.2.5.10 NIRK
Address offset: 0x504
Number of IRKs
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW NIRK [1..16] Number of Identity Root Keys available in the IRK data structure
6.2.5.11 IRKPTR
Address offset: 0x508
Pointer to IRK data structure
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW IRKPTR Pointer to the IRK data structure
6.2.5.12 ADDRPTR
Address offset: 0x510
Pointer to the resolvable address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDRPTR Pointer to the resolvable address (6-bytes)
6.2.5.13 SCRATCHPTR
Address offset: 0x514
Pointer to data area used for temporary storage
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SCRATCHPTR Pointer to a scratch data area used for temporary storage during resolution.
A space of minimum 3 bytes must be reserved.
Note: The size of the region is restricted to a multiple of the flash page size, measured in bytes.
The maximum region is limited to half the flash size. See Memory on page 21 for more information.
l
...
Page N+1 Write
31 ACL[7].ADDR 0
protect
Page N
l 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
31 ACL[7].SIZE 0
l 0 1
31 ACL[7].PERM 0
...
l Page 3
Read/
31 ACL[0].ADDR 0 Page 2 Write
protect
Page 1
l0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 Page 0
31 ACL[0].SIZE 0
l 1 1
31 ACL[0].PERM 0
There are four defined ACL permission schemes, each with different combinations of read/write
permissions, as shown in the following table.
Note: If a permission violation to a protected region is detected by the ACL peripheral, the request
is blocked and a Bus Fault exception is triggered.
Access control to a configured region is enforced by the hardware. This goes into effect two CPU clock
cycles after the ADDR, SIZE, and PERM registers for an ACL instance are written successfully. There are two
dependencies for protection to be enforced. First, a valid start address for the flash page boundary must
be written to the ADDR register. Second, the SIZE and PERM registers cannot be zero.
The ADDR, SIZE, and PERM registers can only be written once. All ACL configuration registers are cleared
on reset by resetting the device from a reset source. This is the only way of clearing the configuration
registers. To ensure that the ACL peripheral always enforces the desired permission schemes, the device
boot sequence must perform the necessary configuration.
Debugger read access to a read-protected region will be Read-As-Zero (RAZ), while debugger write access
to a write-protected region will be Write-Ignored (WI).
6.3.1 Registers
Instances
Register overview
6.3.1.1 ACL[0].ADDR
Address offset: 0x800
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 0. The start address must point to a flash page
boundary.
6.3.1.2 ACL[0].SIZE
Address offset: 0x804
Size of region to protect counting from address ACL[0].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 0 in bytes. Must be a multiple of the flash page size.
6.3.1.3 ACL[0].PERM
Address offset: 0x808
Access permissions for region 0 as defined by start address ACL[0].ADDR and size ACL[0].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 0. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 0.
Disable 1 Block write and erase instructions to region 0.
B RW1 READ Configure read permissions for region 0. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 0.
Disable 1 Block read instructions to region 0.
6.3.1.4 ACL[1].ADDR
Address offset: 0x810
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 1. The start address must point to a flash page
boundary.
6.3.1.5 ACL[1].SIZE
Address offset: 0x814
Size of region to protect counting from address ACL[1].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 1 in bytes. Must be a multiple of the flash page size.
6.3.1.6 ACL[1].PERM
Address offset: 0x818
Access permissions for region 1 as defined by start address ACL[1].ADDR and size ACL[1].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 1. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 1.
Disable 1 Block write and erase instructions to region 1.
B RW1 READ Configure read permissions for region 1. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 1.
Disable 1 Block read instructions to region 1.
6.3.1.7 ACL[2].ADDR
Address offset: 0x820
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 2. The start address must point to a flash page
boundary.
6.3.1.8 ACL[2].SIZE
Address offset: 0x824
Size of region to protect counting from address ACL[2].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 2 in bytes. Must be a multiple of the flash page size.
6.3.1.9 ACL[2].PERM
Address offset: 0x828
Access permissions for region 2 as defined by start address ACL[2].ADDR and size ACL[2].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 2. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 2.
Disable 1 Block write and erase instructions to region 2.
B RW1 READ Configure read permissions for region 2. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 2.
Disable 1 Block read instructions to region 2.
6.3.1.10 ACL[3].ADDR
Address offset: 0x830
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 3. The start address must point to a flash page
boundary.
6.3.1.11 ACL[3].SIZE
Address offset: 0x834
Size of region to protect counting from address ACL[3].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 3 in bytes. Must be a multiple of the flash page size.
6.3.1.12 ACL[3].PERM
Address offset: 0x838
Access permissions for region 3 as defined by start address ACL[3].ADDR and size ACL[3].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 3. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 3.
Disable 1 Block write and erase instructions to region 3.
B RW1 READ Configure read permissions for region 3. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 3.
Disable 1 Block read instructions to region 3.
6.3.1.13 ACL[4].ADDR
Address offset: 0x840
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 4. The start address must point to a flash page
boundary.
6.3.1.14 ACL[4].SIZE
Address offset: 0x844
Size of region to protect counting from address ACL[4].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 4 in bytes. Must be a multiple of the flash page size.
6.3.1.15 ACL[4].PERM
Address offset: 0x848
Access permissions for region 4 as defined by start address ACL[4].ADDR and size ACL[4].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 4. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 4.
Disable 1 Block write and erase instructions to region 4.
B RW1 READ Configure read permissions for region 4. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 4.
Disable 1 Block read instructions to region 4.
6.3.1.16 ACL[5].ADDR
Address offset: 0x850
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 5. The start address must point to a flash page
boundary.
6.3.1.17 ACL[5].SIZE
Address offset: 0x854
Size of region to protect counting from address ACL[5].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 5 in bytes. Must be a multiple of the flash page size.
6.3.1.18 ACL[5].PERM
Address offset: 0x858
Access permissions for region 5 as defined by start address ACL[5].ADDR and size ACL[5].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 5. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 5.
Disable 1 Block write and erase instructions to region 5.
B RW1 READ Configure read permissions for region 5. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 5.
Disable 1 Block read instructions to region 5.
6.3.1.19 ACL[6].ADDR
Address offset: 0x860
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 6. The start address must point to a flash page
boundary.
6.3.1.20 ACL[6].SIZE
Address offset: 0x864
Size of region to protect counting from address ACL[6].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 6 in bytes. Must be a multiple of the flash page size.
6.3.1.21 ACL[6].PERM
Address offset: 0x868
Access permissions for region 6 as defined by start address ACL[6].ADDR and size ACL[6].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 6. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 6.
Disable 1 Block write and erase instructions to region 6.
B RW1 READ Configure read permissions for region 6. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 6.
Disable 1 Block read instructions to region 6.
6.3.1.22 ACL[7].ADDR
Address offset: 0x870
Start address of region to protect. The start address must be word-aligned.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 ADDR Start address of flash region 7. The start address must point to a flash page
boundary.
6.3.1.23 ACL[7].SIZE
Address offset: 0x874
Size of region to protect counting from address ACL[7].ADDR. Writing a '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 SIZE Size of flash region 7 in bytes. Must be a multiple of the flash page size.
6.3.1.24 ACL[7].PERM
Address offset: 0x878
Access permissions for region 7 as defined by start address ACL[7].ADDR and size ACL[7].SIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW1 WRITE Configure write and erase permissions for region 7. Writing a '0' has no
effect.
Enable 0 Allow write and erase instructions to region 7.
Disable 1 Block write and erase instructions to region 7.
B RW1 READ Configure read permissions for region 7. Writing a '0' has no effect.
Enable 0 Allow read instructions to region 7.
Disable 1 Block read instructions to region 7.
implemented according to Bluetooth requirements and the algorithm as defined in IETF RFC3610, and
depends on the AES-128 block cipher. A description of the CCM algorithm can also be found in NIST
Special Publication 800-38C. The Bluetooth specification describes the configuration of counter mode
blocks and encryption blocks to implement compliant encryption for Bluetooth Low Energy.
The CCM block uses EasyDMA to load key counter mode blocks (including the nonce required), and to
read/write plain text and cipher text.
The AES CCM peripheral supports three operations: keystream generation, packet encryption, and packet
decryption. These operations are performed in compliance with the Bluetooth AES CCM 128 bit block
encryption, see Bluetooth Core specification Version 4.0.
The following figure illustrates keystream generation followed by encryption or decryption. The shortcut is
optional.
keystream
encryption / decryption
generation
SHORTCUT
6.4.2 Encryption
The AES CCM periheral is able to read an unencrypted packet, encrypt it, and append a four byte MIC field
to the packet.
During packet encryption, the AES CCM peripheral performs the following:
• Reads the unencrypted packet located in RAM address specified in the INPTR pointer
• Encrypts the packet
• Appends a four byte long Message Integrity Check (MIC) field to the packet
Encryption is started by triggering the CRYPT task with register MODE on page 201 set to ENCRYPTION.
An ENDCRYPT event is generated when packet encryption is completed.
The AES CCM peripheral will also modify the length field of the packet to adjust for the appended MIC
field. It adds four bytes to the length and stores the resulting packet in RAM at the address specified in
pointer OUTPTR on page 202, see Encryption on page 193.
Empty packets (length field is set to 0) will not be encrypted but instead moved unmodified through the
AES CCM peripheral.
AES CCM supports different widths of the LENGTH field in the data structure for encrypted packets. This is
configured in register MODE on page 201.
SCRATCHPTR
INPTR
Unencrypted packet
H: Header (S0)
L: Length
H L RFU PL Scratch area
RFU: reserved for future use (S1)
OUTPTR PL: unencrypted payload
Encrypted packet MODE = ENCRYPTION AES CCM EPL: encrypted payload
CCM data
H L+4 RFU EPL MIC
structure
CNFPTR
6.4.3 Decryption
The AES CCM peripheral is able to read an encrypted packet, decrypt it, authenticate the MIC field, and
generate an appropriate MIC status.
During packet decryption, the AES CCM peripheral performs the following:
• Reads the encrypted packet located in RAM at the address specified in the INPTR pointer
• Decrypts the packet
• Authenticates the packet's MIC field
• Generates the appropriate MIC status
The packet header (S0) and payload are included in the MIC authentication.
Decryption is started by triggering the CRYPT task with register MODE on page 201 set to DECRYPTION.
An ENDCRYPT event is generated when packet decryption is completed.
The AES CCM peripheral modifies the length field of the packet to adjust for the MIC field. It subtracts
four bytes from the length and stores the decrypted packet in RAM at the address specified in the pointer
OUTPTR, see Decryption on page 194.
CCM is only able to decrypt packet payloads that are at least five bytes long (one byte or more encrypted
payload (EPL) and four bytes of MIC). CCM will therefore generate a MIC error for packets where the
length field is set to 1, 2, 3, or 4.
Empty packets (length field is set to 0) will not be decrypted but instead moved unmodified through the
AES CCM peripheral. These packets will always pass the MIC check.
CCM supports different widths of the LENGTH field in the data structure for decrypted packets. This is
configured in register MODE on page 201.
SCRATCHPTR
OUTPTR
Unencrypted packet
H: Header (S0)
L: Length
H L RFU PL Scratch area
RFU: reserved for future use (S1)
INPTR PL: unencrypted payload
Encrypted packet MODE = DECRYPTION AES CCM EPL: encrypted payload
CCM data
H L+4 RFU EPL MIC
structure
CNFPTR
Unencrypted packet
H: Header (S0)
L: Length
OUTPTR H L RFU PL Scratch area
RFU: reserved for future use (S1)
& PL: unencrypted payload
PACKETPTR MODE = ENCRYPTION AES CCM EPL: encrypted payload
Encrypted packet
CCM data
H L+4 RFU EPL MIC
structure
CNFPTR
To remote
receiver
RADIO
TXEN
In order to match RADIO’s timing, the KSGEN task must be triggered early enough to allow the keystream
generation to complete before packet encryption begins.
For short packets (MODE.LENGTH = Default), the KSGEN task must be triggered before or at the same
time as the START task in RADIO is triggered. In addition, the shortcut between the ENDKSGEN event and
the CRYPT task must be enabled. This use-case is illustrated in On-the-fly encryption of short packets
(MODE.LENGTH = Default) using a PPI connection on page 195. It uses a PPI connection between the
READY event in RADIO and the KSGEN task in the AES CCM peripheral.
For long packets (MODE.LENGTH = Extended), the keystream generation needs to start earlier, such as
when the TXEN task in RADIO is triggered.
Refer to Timing specification on page 204 for information about the time needed for generating a
keystream.
SHORTCUT
ENDKSGEN CRYPT
keystream
AES CCM encryption
generation
KSGEN ENDCRYPT
PPI
READY
TXEN END
READY START
Figure 35: On-the-fly encryption of short packets (MODE.LENGTH = Default) using a PPI connection
Unencrypted packet
H: Header (S0)
L: Length
INPTR H L RFU PL Scratch area
RFU: reserved for future use (S1)
& PL: unencrypted payload
PACKETPTR MODE = DECRYPTION AES CCM EPL: encrypted payload
Encrypted packet
CCM data
H L+4 RFU EPL MIC
structure
CNFPTR
From remote
transmitter
RADIO
RXEN
In order to match RADIO’s timing, the KSGEN task must be triggered early enough to allow the keystream
generation to complete before the decryption of the packet shall start.
For short packets (MODE.LENGTH = Default) the KSGEN task must be triggered no later than when the
START task in RADIO is triggered. In addition, the CRYPT task must be triggered no earlier than when the
ADDRESS event is generated by RADIO.
If the CRYPT task is triggered exactly at the same time as the ADDRESS event is generated by RADIO, the
AES CCM peripheral will guarantee that the decryption is completed no later than when the END event in
RADIO is generated.
This use-case is illustrated in On-the-fly decryption of short packets (MODE.LENGTH = Default) using a PPI
connection on page 196 using a PPI connection between the ADDRESS event in RADIO and the CRYPT
task in the AES CCM peripheral. The KSGEN task is triggered from the READY event in RADIO through a PPI
connection.
For long packets (MODE.LENGTH = Extended) the keystream generation will need to start even earlier,
such as when the RXEN task in RADIO is triggered.
Refer to Timing specification on page 204 for information about the time needed for generating a
keystream.
keystream
AES CCM decryption
generation
PPI PPI
READY ADDRESS
RXEN END
READY START
SHORTCUT
RU: Ramp-up of RADIO H: Header (S0) EPL: encrypted payload
P: Preamble L: Length : RADIO receiving noise
A: Address RFU: reserved for future use (S1)
Figure 37: On-the-fly decryption of short packets (MODE.LENGTH = Default) using a PPI connection
The NONCE vector (as specified by the Bluetooth Core Specification) will be generated by hardware based
on the information specified in the CCM data structure from CCM data structure overview on page 196 .
LENGTH will be 0 for empty packets since the MIC is not added to empty packets
RFU 2 Reserved Future Use
PAYLOAD 3 Encrypted payload
MIC 3 + payload length ENCRYPT: 4 bytes encrypted MIC
6.4.9 Registers
Instances
Register overview
6.4.9.1 TASKS_KSGEN
Address offset: 0x000
Start generation of keystream. This operation will stop by itself when completed.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_KSGEN Start generation of keystream. This operation will stop by itself when
completed.
Trigger 1 Trigger task
6.4.9.2 TASKS_CRYPT
Address offset: 0x004
Start encryption/decryption. This operation will stop by itself when completed.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CRYPT Start encryption/decryption. This operation will stop by itself when
completed.
Trigger 1 Trigger task
6.4.9.3 TASKS_STOP
Address offset: 0x008
Stop encryption/decryption
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop encryption/decryption
Trigger 1 Trigger task
6.4.9.4 TASKS_RATEOVERRIDE
Address offset: 0x00C
Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any
ongoing encryption/decryption
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RATEOVERRIDE Override DATARATE setting in MODE register with the contents of the
RATEOVERRIDE register for any ongoing encryption/decryption
Trigger 1 Trigger task
6.4.9.5 EVENTS_ENDKSGEN
Address offset: 0x100
Keystream generation complete
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDKSGEN Keystream generation complete
NotGenerated 0 Event not generated
Generated 1 Event generated
6.4.9.6 EVENTS_ENDCRYPT
Address offset: 0x104
Encrypt/decrypt complete
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDCRYPT Encrypt/decrypt complete
NotGenerated 0 Event not generated
Generated 1 Event generated
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR CCM error event
6.4.9.8 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENDKSGEN_CRYPT Shortcut between event ENDKSGEN and task CRYPT
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.4.9.9 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENDKSGEN Write '1' to enable interrupt for event ENDKSGEN
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDCRYPT Write '1' to enable interrupt for event ENDCRYPT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ERROR Write '1' to enable interrupt for event ERROR
6.4.9.10 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENDKSGEN Write '1' to disable interrupt for event ENDKSGEN
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDCRYPT Write '1' to disable interrupt for event ENDCRYPT
Clear 1 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ERROR Write '1' to disable interrupt for event ERROR
6.4.9.11 MICSTATUS
Address offset: 0x400
MIC check result
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R MICSTATUS The result of the MIC check performed during the previous decryption
operation
CheckFailed 0 MIC check failed
CheckPassed 1 MIC check passed
6.4.9.12 ENABLE
Address offset: 0x500
Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable CCM
Disabled 0 Disable
Enabled 2 Enable
6.4.9.13 MODE
Address offset: 0x504
Operation mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A- RW MODE The mode of operation to be used. Settings in this register apply whenever
either the KSGEN task or the CRYPT task is triggered.
Encryption 0 AES CCM packet encryption mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
Decryption 1 AES CCM packet decryption mode
B RW DATARATE Radio data rate that the CCM shall run synchronous with
1Mbit 0 1 Mbps
2Mbit 1 2 Mbps
125Kbps 2 125 kbps
500Kbps 3 500 kbps
C RW LENGTH Packet length configuration
Default 0 Default length. Effective length of LENGTH field in encrypted/decrypted
packet is 5 bits. A keystream for packet payloads up to 27 bytes will be
generated.
Extended 1 Extended length. Effective length of LENGTH field in encrypted/decrypted
packet is 8 bits. A keystream for packet payloads up to MAXPACKETSIZE
bytes will be generated.
6.4.9.14 CNFPTR
Address offset: 0x508
Pointer to data structure holding the AES key and the NONCE vector
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNFPTR Pointer to the data structure holding the AES key and the CCM NONCE
vector (see table CCM data structure overview)
6.4.9.15 INPTR
Address offset: 0x50C
Input pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW INPTR Input pointer
6.4.9.16 OUTPTR
Address offset: 0x510
Output pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OUTPTR Output pointer
6.4.9.17 SCRATCHPTR
Address offset: 0x514
Pointer to data area used for temporary storage
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SCRATCHPTR Pointer to a scratch data area used for temporary storage during keystream
generation, MIC generation and encryption/decryption.
The scratch area is used for temporary storage of data during keystream
generation and encryption.
6.4.9.18 MAXPACKETSIZE
Address offset: 0x518
Length of keystream generated when MODE.LENGTH = Extended
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x000000FB 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 1 1
ID R/W Field Value ID Value Description
A RW MAXPACKETSIZE [0x001B..0x00FB] Length of keystream generated when MODE.LENGTH = Extended. This value
must be greater than or equal to the subsequent packet payload to be
encrypted/decrypted.
6.4.9.19 RATEOVERRIDE
Address offset: 0x51C
Data rate override setting.
Override value to be used instead of the setting of MODE.DATARATE. This override value applies when the
RATEOVERRIDE task is triggered.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RATEOVERRIDE Data rate override setting
1Mbit 0 1 Mbps
2Mbit 1 2 Mbps
125Kbps 2 125 kbps
500Kbps 3 500 kbps
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
MUX PSEL
SAMPLE
START
STOP
VIN+ VIN-
+ -
Comparator
MODE
core HYST
RESULT Output
0 = BELOW (VIN+ < VIN-)
1 = ABOVE (VIN+ > VIN-)
READY
DOWN
CROSS
UP
Once enabled (using the ENABLE register), the comparator is started by triggering the START task and
stopped by triggering the STOP task. The comparator will generate a READY event to indicate when it is
ready for use and the output is correct. The delay between START and READY is tINT_REF,START if an internal
reference is selected, or t COMP,START if an external reference is used. When the COMP module is started,
events will be generated every time VIN+ crosses VIN-.
Operation modes
The comparator can be configured to operate in two main operation modes: differential mode and single-
ended mode. See the MODE register for more information. In both operation modes, the comparator can
operate in different speed and power consumption modes (low-power, normal and high-speed). High-
speed mode will consume more power compared to low-power mode, and low-power mode will result in
slower response time compared to high-speed mode.
Use the PSEL register to select any of the AIN0-AIN7 pins as VIN+ input, regardless of the operation mode
selected for the comparator. The source of VIN- depends on which of the following operation mode are
used:
• Differential mode - Derived directly from AIN0 to AIN7
• Single-ended mode - Derived from VREF. VREF can be derived from VDD, AIN0-AIN7 or internal 1.2 V,
1.8 V and 2.4 V references.
The selected analog pins will be acquired by the comparator once it is enabled.
An optional hysteresis on VIN+ and VIN- can be enabled when the module is used in differential mode
through the HYST register. In single-ended mode, VUP and VDOWN thresholds can be set to implement
a hysteresis using the reference ladder (see Comparator in single-ended mode on page 207). This
hysteresis is in the order of magnitude of VDIFFHYST, and shall prevent noise on the signal to create
unwanted events. See Hysteresis example where VIN+ starts below VUP on page 208 for an illustration
of the effect of an active hysteresis on a noisy input signal.
An upward crossing will generate an UP event and a downward crossing will generate a DOWN event. The
CROSS event will be generated every time there is a crossing, independent of direction.
The immediate value of the comparator can be sampled to RESULT register by triggering the SAMPLE task.
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
AIN7
MUX PSEL EXTREFSEL MUX
SAMPLE
START
STOP
VIN+
VIN-
+ -
Comparator
MODE
core
RESULT
Output
0 = BELOW (VIN+ < VIN-)
1 = ABOVE (VIN+ > VIN-)
READY
DOWN
CROSS
UP
Note: Depending on the device, not all the analog inputs may be available for each MUX. See
definitions for PSEL and EXTREFSEL for more information about which analog pins are available on a
particular device.
When the HYST register is turned on during this mode, the output of the comparator and associated
events do the following:
• Change from ABOVE to BELOW when VIN+ drops below VIN- - (VDIFFHYST/2)
• Change from BELOW to ABOVE when VIN+ raises above VIN- + (VDIFFHYST/2)
This behavior is illustrated in the following figure.
VIN+
VIN- + (VDIFFHYST / 2)
VIN- - (VDIFFHYST / 2)
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
MUX PSEL TH REFSEL EXTREFSEL MUX
SAMPLE
START
STOP
VDD
VUP
VIN+ 0
VIN- AREF
+ - MUX
VDOWN
Comparator 1 Reference VREF 1V2
MODE MUX
core HYST ladder
1V8
RESULT 2V4
Output
0 = BELOW (VIN+ < VIN-)
1 = ABOVE (VIN+ > VIN-)
READY
DOWN
CROSS
UP
Note: Depending on the device, not all the analog inputs may be available for each MUX. See
definitions for PSEL and EXTREFSEL for more information about which analog pins are available on a
particular device.
When the comparator core detects that VIN+ > VIN-, i.e. ABOVE as per the RESULT register, VIN- will switch
to VDOWN. When VIN+ falls below VIN- again, VIN- will be switched back to VUP. By specifying VUP larger
than VDOWN, a hysteresis can be generated as illustrated in the following figures.
Writing to HYST has no effect in single-ended mode, and the content of this register is ignored.
VIN+
VUP
VDOWN
t
Output
BELOW ABOVE
READY
DOWN
UP
1 2 3
CPU
SAMPLE
SAMPLE
START
VIN+
VUP
VDOWN
t
Output
ABOVE (VIN+ > VIN-) BELOW ( VIN+ < VIN-) ABOVE (VIN+ > VIN-) BELOW
VIN-
DOWN
DOWN
UP
1 2 3
CPU
SAMPLE
SAMPLE
START
6.5.3 Registers
Instances
Register overview
6.5.3.1 TASKS_START
Address offset: 0x000
Start comparator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start comparator
Trigger 1 Trigger task
6.5.3.2 TASKS_STOP
Address offset: 0x004
Stop comparator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop comparator
Trigger 1 Trigger task
6.5.3.3 TASKS_SAMPLE
Address offset: 0x008
Sample comparator value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SAMPLE Sample comparator value
Trigger 1 Trigger task
6.5.3.4 EVENTS_READY
Address offset: 0x100
COMP is ready and output is valid
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY COMP is ready and output is valid
NotGenerated 0 Event not generated
Generated 1 Event generated
6.5.3.5 EVENTS_DOWN
Address offset: 0x104
Downward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DOWN Downward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.5.3.6 EVENTS_UP
Address offset: 0x108
Upward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_UP Upward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.5.3.7 EVENTS_CROSS
Address offset: 0x10C
Downward or upward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CROSS Downward or upward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.5.3.8 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY_SAMPLE Shortcut between event READY and task SAMPLE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW READY_STOP Shortcut between event READY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW DOWN_STOP Shortcut between event DOWN and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW UP_STOP Shortcut between event UP and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW CROSS_STOP Shortcut between event CROSS and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.5.3.9 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Enable or disable interrupt for event READY
Disabled 0 Disable
Enabled 1 Enable
B RW DOWN Enable or disable interrupt for event DOWN
Disabled 0 Disable
Enabled 1 Enable
C RW UP Enable or disable interrupt for event UP
Disabled 0 Disable
Enabled 1 Enable
D RW CROSS Enable or disable interrupt for event CROSS
Disabled 0 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable
6.5.3.10 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW DOWN Write '1' to enable interrupt for event DOWN
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW UP Write '1' to enable interrupt for event UP
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW CROSS Write '1' to enable interrupt for event CROSS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.5.3.11 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW DOWN Write '1' to disable interrupt for event DOWN
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW UP Write '1' to disable interrupt for event UP
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
D RW CROSS Write '1' to disable interrupt for event CROSS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.5.3.12 RESULT
Address offset: 0x400
Compare result
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RESULT Result of last compare. Decision point SAMPLE task.
Below 0 Input voltage is below the threshold (VIN+ < VIN-)
Above 1 Input voltage is above the threshold (VIN+ > VIN-)
6.5.3.13 ENABLE
Address offset: 0x500
COMP enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable COMP
Disabled 0 Disable
Enabled 2 Enable
6.5.3.14 PSEL
Address offset: 0x504
Pin select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSEL Analog pin select
AnalogInput0 0 AIN0 selected as analog input
AnalogInput1 1 AIN1 selected as analog input
AnalogInput2 2 AIN2 selected as analog input
AnalogInput3 3 AIN3 selected as analog input
AnalogInput4 4 AIN4 selected as analog input
AnalogInput5 5 AIN5 selected as analog input
AnalogInput6 6 AIN6 selected as analog input
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
AnalogInput7 7 AIN7 selected as analog input
6.5.3.15 REFSEL
Address offset: 0x508
Reference source select for single-ended mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
ID R/W Field Value ID Value Description
A RW REFSEL Reference select
Int1V2 0 VREF = internal 1.2 V reference (VDD >= 1.7 V)
Int1V8 1 VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)
Int2V4 2 VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)
VDD 4 VREF = VDD
ARef 5 VREF = AREF
6.5.3.16 EXTREFSEL
Address offset: 0x50C
External reference select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EXTREFSEL External analog reference select
AnalogReference0 0 Use AIN0 as external analog reference
AnalogReference1 1 Use AIN1 as external analog reference
AnalogReference2 2 Use AIN2 as external analog reference
AnalogReference3 3 Use AIN3 as external analog reference
AnalogReference4 4 Use AIN4 as external analog reference
AnalogReference5 5 Use AIN5 as external analog reference
AnalogReference6 6 Use AIN6 as external analog reference
AnalogReference7 7 Use AIN7 as external analog reference
6.5.3.17 TH
Address offset: 0x530
Threshold configuration for hysteresis unit
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW THDOWN [63:0] VDOWN = (THDOWN+1)/64*VREF
B RW THUP [63:0] VUP = (THUP+1)/64*VREF
6.5.3.18 MODE
Address offset: 0x534
Mode configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SP Speed and power modes
Low 0 Low-power mode
Normal 1 Normal mode
High 2 High-speed mode
B RW MAIN Main operation modes
SE 0 Single-ended mode
Diff 1 Differential mode
6.5.3.19 HYST
Address offset: 0x538
Comparator hysteresis enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HYST Comparator hysteresis
NoHyst 0 Comparator hysteresis disabled
Hyst50mV 1 Comparator hysteresis enabled
15
Propagation delay is with 10 mV overdrive.
AHB multilayer
Public key
DMA
Engine control logic
SRAM accelerator
engine
CRYPTOCELL
APB
Feature Description
True random number generator (TRNG) NIST 800-90B, AIS-31, and FIPS 140-2 compliant
Pseudorandom number generator (PRNG) AES engine compliant with NIST 800-90A
RSA public key cryptography Up to 2048-bit key size
PKCS#1 v2.1/v1.5
• SEC 2 recommended curves using pseudorandom parameters, up to 521 bits: Prime field -
secp160r1, secp192r1, secp224r1, secp256r1, secp384r1, secp521r1
• Koblitz curves using fixed parameters, up to 256 bits: Prime field - secp160k1, secp192k1,
secp224k1, secp256k1
• ECDH/ECDSA
Secure remote password protocol (SRP) Up to 3072-bit operations
Hashing functions SHA-1, SHA-2 up to 256 bits
Supported encryption modes: ECB, CBC, CMAC/CBC-MAC, CTR, CCM/CCM* (CCM* is a minor
variation of CCM)
ChaCha20/Poly1305 symmetric encryption Supported key size: 128 bits and 256 bits
6.6.1 Usage
The CRYPTOCELL peripheral is enabled by a register interface. Access to CRYPTOCELL cryptographic
functions are available in a software library found in the device's SDK. These are not available through a
register interface.
To enable CRYPTOCELL, use register ENABLE on page 220.
Note: The device is prevented from entering the System ON, All Idle state when CRYPTOCELL is
enabled.
The CRYPTOCELL life cycle state (LCS) is controlled through register HOST_IOT_LCS on page 223.
Configure LCS by writing either Debug or Secure to the LCS field of this register. To validate that
the register is configured correctly, read back the read-only field LCS_IS_VALID from the register
HOST_IOT_LCS on page 223. The LCS_IS_VALID field will change from Invalid to Valid once a valid
LCS value is written.
Data stored in memory that is not accessible by the DMA engine must be copied to SRAM before it can be
processed by CRYPTOCELL. Maximum DMA transaction size is limited to 216-1 bytes.
6.6.6 Standards
CRYPTOCELL supports several cryptography standards.
6.6.7 Registers
Instances
Register overview
6.6.7.1 ENABLE
Address offset: 0x500
Enable CRYPTOCELL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable CRYPTOCELL
Disabled 0 CRYPTOCELL disabled
Enabled 1 CRYPTOCELL enabled
The CRYPTOCELL firmware API is available for initialization and control when
CRYPTOCELL is enabled
6.6.8.1.1 Registers
Instances
Register overview
6.6.8.1.1.1 HOST_CRYPTOKEY_SEL
Address offset: 0x1A38
AES hardware key select
Note: If the HOST_IOT_KPRTL_LOCK register is set, and the HOST_CRYPTOKEY_SEL register set to 1,
then the HW key that is connected to the AES engine is zero
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HOST_CRYPTOKEY_SEL Select the source of the HW key that is used by the AES engine
K_DR 0 Use device root key K_DR from CRYPTOCELL AO power domain
K_PRTL 1 Use hard-coded RTL key K_PRTL
Session 2 Use provided session key
6.6.8.1.1.2 HOST_IOT_KPRTL_LOCK
Address offset: 0x1A4C
This write-once register is the K_PRTL lock register. When this register is set, K_PRTL cannot be used and a
zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HOST_IOT_KPRTL_LOCK This register is the K_PRTL lock register. When this register is set, K_PRTL
cannot be used and a zeroed key will be used instead. The value of this
register is saved in the CRYPTOCELL AO power domain.
Disabled 0 K_PRTL can be selected for use from register HOST_CRYPTOKEY_SEL
Enabled 1 K_PRTL has been locked until next power-on reset (POR). If K_PRTL is
selected anyway, a zeroed key will be used instead.
6.6.8.1.1.3 HOST_IOT_KDR0
Address offset: 0x1A50
This register holds bits 31:0 of K_DR. The value of this register is saved in the CRYPTOCELL AO power
domain. Reading from this address returns the K_DR valid status indicating if K_DR is successfully retained.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HOST_IOT_KDR0 Write: K_DR bits 31:0.
Read: 0x00000000 when 128-bit K_DR key value is not yet retained in the
CRYPTOCELL AO power domain.
6.6.8.1.1.4 HOST_IOT_KDR1
Address offset: 0x1A54
This register holds bits 63:32 of K_DR. The value of this register is saved in the CRYPTOCELL AO power
domain.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W HOST_IOT_KDR1 K_DR bits 63:32
6.6.8.1.1.5 HOST_IOT_KDR2
Address offset: 0x1A58
This register holds bits 95:64 of K_DR. The value of this register is saved in the CRYPTOCELL AO power
domain.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W HOST_IOT_KDR2 K_DR bits 95:64
6.6.8.1.1.6 HOST_IOT_KDR3
Address offset: 0x1A5C
This register holds bits 127:96 of K_DR. The value of this register is saved in the CRYPTOCELL AO power
domain.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W HOST_IOT_KDR3 K_DR bits 127:96
6.6.8.1.1.7 HOST_IOT_LCS
Address offset: 0x1A60
Controls lifecycle state (LCS) for CRYPTOCELL subsystem
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW LCS Lifecycle state value. This field is write-once per reset.
Debug 0 CC310 operates in debug mode
Secure 2 CC310 operates in secure mode
B RW LCS_IS_VALID Read-only field. Indicates if CRYPTOCELL LCS has been successfully
configured since last reset.
Invalid 0 Valid LCS not yet retained in the CRYPTOCELL AO power domain
Valid 1 Valid LCS successfully retained in the CRYPTOCELL AO power domain
6.7.2 EasyDMA
The ECB implements an EasyDMA mechanism for reading and writing to the Data RAM. This DMA cannot
access the program memory or any other parts of the memory area except RAM.
If the ECBDATAPTR is not pointing to the Data RAM region, an EasyDMA transfer may result in a HardFault
or RAM corruption. See Memory on page 21 for more information about the different memory regions.
The EasyDMA will have finished accessing the Data RAM when the ENDECB or ERRORECB is generated.
6.7.4 Registers
Instances
Register overview
6.7.4.1 TASKS_STARTECB
Address offset: 0x000
Start ECB block encrypt
If a crypto operation is already running in the AES core, the STARTECB task will not start a new encryption
and an ERRORECB event will be triggered.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTECB Start ECB block encrypt
If a crypto operation is already running in the AES core, the STARTECB task
will not start a new encryption and an ERRORECB event will be triggered.
Trigger 1 Trigger task
6.7.4.2 TASKS_STOPECB
Address offset: 0x004
Abort a possible executing ECB operation
If a running ECB operation is aborted by STOPECB, the ERRORECB event is triggered.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOPECB Abort a possible executing ECB operation
6.7.4.3 EVENTS_ENDECB
Address offset: 0x100
ECB block encrypt complete
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDECB ECB block encrypt complete
NotGenerated 0 Event not generated
Generated 1 Event generated
6.7.4.4 EVENTS_ERRORECB
Address offset: 0x104
ECB block encrypt aborted because of a STOPECB task or due to an error
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERRORECB ECB block encrypt aborted because of a STOPECB task or due to an error
NotGenerated 0 Event not generated
Generated 1 Event generated
6.7.4.5 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENDECB Write '1' to enable interrupt for event ENDECB
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ERRORECB Write '1' to enable interrupt for event ERRORECB
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.7.4.6 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENDECB Write '1' to disable interrupt for event ENDECB
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ERRORECB Write '1' to disable interrupt for event ERRORECB
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.7.4.7 ECBDATAPTR
Address offset: 0x504
ECB block encrypt memory pointers
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ECBDATAPTR Pointer to the ECB data structure (see Table 1 ECB data structure overview)
6.8.1 Registers
Instances
Register overview
6.8.1.1 TASKS_TRIGGER[0]
Address offset: 0x000
Trigger 0 for triggering the corresponding TRIGGERED[0] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 0 for triggering the corresponding TRIGGERED[0] event
Trigger 1 Trigger task
6.8.1.2 TASKS_TRIGGER[1]
Address offset: 0x004
Trigger 1 for triggering the corresponding TRIGGERED[1] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 1 for triggering the corresponding TRIGGERED[1] event
Trigger 1 Trigger task
6.8.1.3 TASKS_TRIGGER[2]
Address offset: 0x008
Trigger 2 for triggering the corresponding TRIGGERED[2] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 2 for triggering the corresponding TRIGGERED[2] event
Trigger 1 Trigger task
6.8.1.4 TASKS_TRIGGER[3]
Address offset: 0x00C
Trigger 3 for triggering the corresponding TRIGGERED[3] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 3 for triggering the corresponding TRIGGERED[3] event
Trigger 1 Trigger task
6.8.1.5 TASKS_TRIGGER[4]
Address offset: 0x010
Trigger 4 for triggering the corresponding TRIGGERED[4] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 4 for triggering the corresponding TRIGGERED[4] event
Trigger 1 Trigger task
6.8.1.6 TASKS_TRIGGER[5]
Address offset: 0x014
Trigger 5 for triggering the corresponding TRIGGERED[5] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 5 for triggering the corresponding TRIGGERED[5] event
Trigger 1 Trigger task
6.8.1.7 TASKS_TRIGGER[6]
Address offset: 0x018
Trigger 6 for triggering the corresponding TRIGGERED[6] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 6 for triggering the corresponding TRIGGERED[6] event
Trigger 1 Trigger task
6.8.1.8 TASKS_TRIGGER[7]
Address offset: 0x01C
Trigger 7 for triggering the corresponding TRIGGERED[7] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 7 for triggering the corresponding TRIGGERED[7] event
Trigger 1 Trigger task
6.8.1.9 TASKS_TRIGGER[8]
Address offset: 0x020
Trigger 8 for triggering the corresponding TRIGGERED[8] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 8 for triggering the corresponding TRIGGERED[8] event
Trigger 1 Trigger task
6.8.1.10 TASKS_TRIGGER[9]
Address offset: 0x024
Trigger 9 for triggering the corresponding TRIGGERED[9] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 9 for triggering the corresponding TRIGGERED[9] event
Trigger 1 Trigger task
6.8.1.11 TASKS_TRIGGER[10]
Address offset: 0x028
Trigger 10 for triggering the corresponding TRIGGERED[10] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 10 for triggering the corresponding TRIGGERED[10] event
Trigger 1 Trigger task
6.8.1.12 TASKS_TRIGGER[11]
Address offset: 0x02C
Trigger 11 for triggering the corresponding TRIGGERED[11] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 11 for triggering the corresponding TRIGGERED[11] event
Trigger 1 Trigger task
6.8.1.13 TASKS_TRIGGER[12]
Address offset: 0x030
Trigger 12 for triggering the corresponding TRIGGERED[12] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 12 for triggering the corresponding TRIGGERED[12] event
Trigger 1 Trigger task
6.8.1.14 TASKS_TRIGGER[13]
Address offset: 0x034
Trigger 13 for triggering the corresponding TRIGGERED[13] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 13 for triggering the corresponding TRIGGERED[13] event
Trigger 1 Trigger task
6.8.1.15 TASKS_TRIGGER[14]
Address offset: 0x038
Trigger 14 for triggering the corresponding TRIGGERED[14] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 14 for triggering the corresponding TRIGGERED[14] event
Trigger 1 Trigger task
6.8.1.16 TASKS_TRIGGER[15]
Address offset: 0x03C
Trigger 15 for triggering the corresponding TRIGGERED[15] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGGER Trigger 15 for triggering the corresponding TRIGGERED[15] event
Trigger 1 Trigger task
6.8.1.17 EVENTS_TRIGGERED[0]
Address offset: 0x100
Event number 0 generated by triggering the corresponding TRIGGER[0] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 0 generated by triggering the corresponding TRIGGER[0] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.18 EVENTS_TRIGGERED[1]
Address offset: 0x104
Event number 1 generated by triggering the corresponding TRIGGER[1] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 1 generated by triggering the corresponding TRIGGER[1] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.19 EVENTS_TRIGGERED[2]
Address offset: 0x108
Event number 2 generated by triggering the corresponding TRIGGER[2] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 2 generated by triggering the corresponding TRIGGER[2] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.20 EVENTS_TRIGGERED[3]
Address offset: 0x10C
Event number 3 generated by triggering the corresponding TRIGGER[3] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 3 generated by triggering the corresponding TRIGGER[3] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.21 EVENTS_TRIGGERED[4]
Address offset: 0x110
Event number 4 generated by triggering the corresponding TRIGGER[4] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 4 generated by triggering the corresponding TRIGGER[4] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.22 EVENTS_TRIGGERED[5]
Address offset: 0x114
Event number 5 generated by triggering the corresponding TRIGGER[5] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 5 generated by triggering the corresponding TRIGGER[5] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.23 EVENTS_TRIGGERED[6]
Address offset: 0x118
Event number 6 generated by triggering the corresponding TRIGGER[6] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 6 generated by triggering the corresponding TRIGGER[6] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.24 EVENTS_TRIGGERED[7]
Address offset: 0x11C
Event number 7 generated by triggering the corresponding TRIGGER[7] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 7 generated by triggering the corresponding TRIGGER[7] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.25 EVENTS_TRIGGERED[8]
Address offset: 0x120
Event number 8 generated by triggering the corresponding TRIGGER[8] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 8 generated by triggering the corresponding TRIGGER[8] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.26 EVENTS_TRIGGERED[9]
Address offset: 0x124
Event number 9 generated by triggering the corresponding TRIGGER[9] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 9 generated by triggering the corresponding TRIGGER[9] task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.27 EVENTS_TRIGGERED[10]
Address offset: 0x128
Event number 10 generated by triggering the corresponding TRIGGER[10] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 10 generated by triggering the corresponding TRIGGER[10]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.28 EVENTS_TRIGGERED[11]
Address offset: 0x12C
Event number 11 generated by triggering the corresponding TRIGGER[11] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 11 generated by triggering the corresponding TRIGGER[11]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.29 EVENTS_TRIGGERED[12]
Address offset: 0x130
Event number 12 generated by triggering the corresponding TRIGGER[12] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 12 generated by triggering the corresponding TRIGGER[12]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.30 EVENTS_TRIGGERED[13]
Address offset: 0x134
Event number 13 generated by triggering the corresponding TRIGGER[13] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 13 generated by triggering the corresponding TRIGGER[13]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.31 EVENTS_TRIGGERED[14]
Address offset: 0x138
Event number 14 generated by triggering the corresponding TRIGGER[14] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 14 generated by triggering the corresponding TRIGGER[14]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.32 EVENTS_TRIGGERED[15]
Address offset: 0x13C
Event number 15 generated by triggering the corresponding TRIGGER[15] task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TRIGGERED Event number 15 generated by triggering the corresponding TRIGGER[15]
task
NotGenerated 0 Event not generated
Generated 1 Event generated
6.8.1.33 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TRIGGERED[0] Enable or disable interrupt for event TRIGGERED[0]
Disabled 0 Disable
Enabled 1 Enable
B RW TRIGGERED[1] Enable or disable interrupt for event TRIGGERED[1]
Disabled 0 Disable
Enabled 1 Enable
C RW TRIGGERED[2] Enable or disable interrupt for event TRIGGERED[2]
Disabled 0 Disable
Enabled 1 Enable
D RW TRIGGERED[3] Enable or disable interrupt for event TRIGGERED[3]
Disabled 0 Disable
Enabled 1 Enable
E RW TRIGGERED[4] Enable or disable interrupt for event TRIGGERED[4]
Disabled 0 Disable
Enabled 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
F RW TRIGGERED[5] Enable or disable interrupt for event TRIGGERED[5]
Disabled 0 Disable
Enabled 1 Enable
G RW TRIGGERED[6] Enable or disable interrupt for event TRIGGERED[6]
Disabled 0 Disable
Enabled 1 Enable
H RW TRIGGERED[7] Enable or disable interrupt for event TRIGGERED[7]
Disabled 0 Disable
Enabled 1 Enable
I RW TRIGGERED[8] Enable or disable interrupt for event TRIGGERED[8]
Disabled 0 Disable
Enabled 1 Enable
J RW TRIGGERED[9] Enable or disable interrupt for event TRIGGERED[9]
Disabled 0 Disable
Enabled 1 Enable
K RW TRIGGERED[10] Enable or disable interrupt for event TRIGGERED[10]
Disabled 0 Disable
Enabled 1 Enable
L RW TRIGGERED[11] Enable or disable interrupt for event TRIGGERED[11]
Disabled 0 Disable
Enabled 1 Enable
M RW TRIGGERED[12] Enable or disable interrupt for event TRIGGERED[12]
Disabled 0 Disable
Enabled 1 Enable
N RW TRIGGERED[13] Enable or disable interrupt for event TRIGGERED[13]
Disabled 0 Disable
Enabled 1 Enable
O RW TRIGGERED[14] Enable or disable interrupt for event TRIGGERED[14]
Disabled 0 Disable
Enabled 1 Enable
P RW TRIGGERED[15] Enable or disable interrupt for event TRIGGERED[15]
Disabled 0 Disable
Enabled 1 Enable
6.8.1.34 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TRIGGERED[0] Write '1' to enable interrupt for event TRIGGERED[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW TRIGGERED[1] Write '1' to enable interrupt for event TRIGGERED[1]
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW TRIGGERED[2] Write '1' to enable interrupt for event TRIGGERED[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TRIGGERED[3] Write '1' to enable interrupt for event TRIGGERED[3]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TRIGGERED[4] Write '1' to enable interrupt for event TRIGGERED[4]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TRIGGERED[5] Write '1' to enable interrupt for event TRIGGERED[5]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW TRIGGERED[6] Write '1' to enable interrupt for event TRIGGERED[6]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW TRIGGERED[7] Write '1' to enable interrupt for event TRIGGERED[7]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW TRIGGERED[8] Write '1' to enable interrupt for event TRIGGERED[8]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW TRIGGERED[9] Write '1' to enable interrupt for event TRIGGERED[9]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW TRIGGERED[10] Write '1' to enable interrupt for event TRIGGERED[10]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW TRIGGERED[11] Write '1' to enable interrupt for event TRIGGERED[11]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW TRIGGERED[12] Write '1' to enable interrupt for event TRIGGERED[12]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW TRIGGERED[13] Write '1' to enable interrupt for event TRIGGERED[13]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
O RW TRIGGERED[14] Write '1' to enable interrupt for event TRIGGERED[14]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW TRIGGERED[15] Write '1' to enable interrupt for event TRIGGERED[15]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.8.1.35 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TRIGGERED[0] Write '1' to disable interrupt for event TRIGGERED[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW TRIGGERED[1] Write '1' to disable interrupt for event TRIGGERED[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW TRIGGERED[2] Write '1' to disable interrupt for event TRIGGERED[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TRIGGERED[3] Write '1' to disable interrupt for event TRIGGERED[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TRIGGERED[4] Write '1' to disable interrupt for event TRIGGERED[4]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TRIGGERED[5] Write '1' to disable interrupt for event TRIGGERED[5]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW TRIGGERED[6] Write '1' to disable interrupt for event TRIGGERED[6]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW TRIGGERED[7] Write '1' to disable interrupt for event TRIGGERED[7]
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
I RW TRIGGERED[8] Write '1' to disable interrupt for event TRIGGERED[8]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW TRIGGERED[9] Write '1' to disable interrupt for event TRIGGERED[9]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW TRIGGERED[10] Write '1' to disable interrupt for event TRIGGERED[10]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW TRIGGERED[11] Write '1' to disable interrupt for event TRIGGERED[11]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW TRIGGERED[12] Write '1' to disable interrupt for event TRIGGERED[12]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW TRIGGERED[13] Write '1' to disable interrupt for event TRIGGERED[13]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
O RW TRIGGERED[14] Write '1' to disable interrupt for event TRIGGERED[14]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW TRIGGERED[15] Write '1' to disable interrupt for event TRIGGERED[15]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
The number of ports and GPIOs per port varies with product variant and package. Refer to Registers on
page 243 and Pin assignments on page 845 for more information about the number of GPIOs that are
supported.
GPIO has the following user-configurable features:
• Up to 32 GPIO pins per GPIO port
• Output drive strength
• Internal pull-up and pull-down resistors
• Wake-up from high or low level triggers on all pins
• Trigger interrupt on state changes on any pin
• All pins can be used by the PPI task/event system
• One or more GPIO outputs can be controlled through the PPI and GPIOTE channels
• Any pin can be mapped to a peripheral for layout flexibility
• GPIO state changes captured on the SENSE signal can be stored by the LATCH register
The GPIO port peripheral implements up to 32 pins, PIN0 through PIN31. Each of these pins can be
individually configured in the PIN_CNF[n] registers (n=0..31).
The following parameters can be configured through these registers:
• Direction
• Drive strength
• Enabling of pull-up and pull-down resistors
• Pin sensing
• Input buffer disconnect
• Analog input (for selected pins)
The PIN_CNF registers are retained registers. See POWER — Power supply on page 80 for more
information about retained registers.
LDETECT
PIN0
ANAEN
GPIO port
DIR_OVERRIDE
DETECTMODE PIN[0].CNF.DRIVE
OUT_OVERRIDE
PIN0 PIN0
DETECT LATCH OUT
PIN[0].OUT
O
PIN[0].IN
PIN[0].OUT PIN[0].CNF
PIN[0].CNF.DIR
PIN0.DETECT
Sense
PIN1.DETECT ..
PIN[0].CNF.SENSE PIN[0].CNF.PULL
PIN[0].CNF.INPUT
PIN31.DETECT
PIN[0].IN I
PIN31 PIN31
IN PIN[31].OUT
PIN[31].IN
PIN[31].CNF
INPUT_OVERRIDE
ANAIN
Pins should be in a level that cannot trigger the sense mechanism before being enabled. If the SENSE
condition configured in the PIN_CNF registers is met when the sense mechanism is enabled, the DETECT
signal will immediately go high. A PORT event is triggered if the DETECT signal was low before enabling the
sense mechanism. See GPIOTE — GPIO tasks and events on page 290.
See the following peripherals for more information about how the DETECT signal is used:
• POWER — Power supply on page 80 - uses the DETECT signal to exit from System OFF mode.
• GPIOTE — GPIO tasks and events on page 290 - uses the DETECT signal to generate the PORT event.
When a pin's PINx.DETECT signal goes high, a flag is set in the LATCH register. For example, when the
PIN0.DETECT signal goes high, bit 0 in the LATCH register is set to 1. If the CPU performs a clear operation
on a bit in the LATCH register when the associated PINx.DETECT signal is high, the bit in the LATCH register
will not be cleared. The LATCH register will only be cleared if the CPU explicitly clears it by writing a 1 to
the bit that shall be cleared, i.e. the LATCH register will not be affected by a PINx.DETECT signal being set
low.
The LDETECT signal will be set high when one or more bits in the LATCH register are 1. The LDETECT signal
will be set low when all bits in the LATCH register are successfully cleared to 0.
If one or more bits in the LATCH register are 1 after the CPU has performed a clear operation on the LATCH
register, a rising edge will be generated on the LDETECT signal. This is illustrated in DETECT signal behavior
on page 243.
Note: The CPU can read the LATCH register at any time to check if a SENSE condition has been
met on any of the GPIO pins. This is still valid if that condition is no longer met at the time the CPU
queries the LATCH register. This mechanism will work even if the LDETECT signal is not used as the
DETECT signal.
The LDETECT signal is by default not connected to the GPIO port's DETECT signal, but via the DETECTMODE
register. It is possible to change from default behavior to the DETECT signal that is derived directly from
the LDETECT signal. See GPIO port and the GPIO pin details on page 242. The following figure illustrates
the DETECT signal behavior for these two alternatives.
PIN31.DETECT
PIN1.DETECT
PIN0.DETECT
DETECT
(Default mode)
LATCH.31
LATCH.1
LATCH.0
DETECT
(LDETECT mode)
CPU
1 2 3 4
LATCH = (1<<1)
LATCH = (1<<1)
Figure 46: DETECT signal behavior
A GPIO pin input buffer can be disconnected from the pin to enable power savings when the pin is not
used as an input, see GPIO port and the GPIO pin details on page 242. Input buffers must be connected
to get a valid input value in the IN register, and for the sense mechanism to get access to the pin.
Other peripherals in the system can connect to GPIO pins and override their output value and
configuration, or read their analog or digital input value. See GPIO port and the GPIO pin details on page
242.
Selected pins also support analog input signals, see ANAIN in GPIO port and the GPIO pin details on page
242. The assignment of the analog pins can be found in Pin assignments on page 845.
Note: When a pin is configured as digital input, increased current consumption occurs when the
input voltage is between VIL and VIH. It is good practice to ensure that the external circuitry does
not drive that pin to levels between VIL and VIH for a long period of time.
6.9.2 Registers
Instances
Configuration
Instance Configuration
GPIO
P0 P0.00 to P0.31 implemented
P1 P1.00 to P1.15 implemented
Register overview
6.9.2.1 OUT
Address offset: 0x504
Write GPIO port
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Pin 0
Low 0 Pin driver is low
High 1 Pin driver is high
B RW PIN1 Pin 1
Low 0 Pin driver is low
High 1 Pin driver is high
C RW PIN2 Pin 2
Low 0 Pin driver is low
High 1 Pin driver is high
D RW PIN3 Pin 3
Low 0 Pin driver is low
High 1 Pin driver is high
E RW PIN4 Pin 4
Low 0 Pin driver is low
High 1 Pin driver is high
F RW PIN5 Pin 5
Low 0 Pin driver is low
High 1 Pin driver is high
G RW PIN6 Pin 6
Low 0 Pin driver is low
High 1 Pin driver is high
H RW PIN7 Pin 7
Low 0 Pin driver is low
High 1 Pin driver is high
I RW PIN8 Pin 8
Low 0 Pin driver is low
High 1 Pin driver is high
J RW PIN9 Pin 9
Low 0 Pin driver is low
High 1 Pin driver is high
K RW PIN10 Pin 10
Low 0 Pin driver is low
High 1 Pin driver is high
L RW PIN11 Pin 11
Low 0 Pin driver is low
High 1 Pin driver is high
M RW PIN12 Pin 12
Low 0 Pin driver is low
High 1 Pin driver is high
N RW PIN13 Pin 13
Low 0 Pin driver is low
High 1 Pin driver is high
O RW PIN14 Pin 14
Low 0 Pin driver is low
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
High 1 Pin driver is high
P RW PIN15 Pin 15
Low 0 Pin driver is low
High 1 Pin driver is high
Q RW PIN16 Pin 16
Low 0 Pin driver is low
High 1 Pin driver is high
R RW PIN17 Pin 17
Low 0 Pin driver is low
High 1 Pin driver is high
S RW PIN18 Pin 18
Low 0 Pin driver is low
High 1 Pin driver is high
T RW PIN19 Pin 19
Low 0 Pin driver is low
High 1 Pin driver is high
U RW PIN20 Pin 20
Low 0 Pin driver is low
High 1 Pin driver is high
V RW PIN21 Pin 21
Low 0 Pin driver is low
High 1 Pin driver is high
W RW PIN22 Pin 22
Low 0 Pin driver is low
High 1 Pin driver is high
X RW PIN23 Pin 23
Low 0 Pin driver is low
High 1 Pin driver is high
Y RW PIN24 Pin 24
Low 0 Pin driver is low
High 1 Pin driver is high
Z RW PIN25 Pin 25
Low 0 Pin driver is low
High 1 Pin driver is high
a RW PIN26 Pin 26
Low 0 Pin driver is low
High 1 Pin driver is high
b RW PIN27 Pin 27
Low 0 Pin driver is low
High 1 Pin driver is high
c RW PIN28 Pin 28
Low 0 Pin driver is low
High 1 Pin driver is high
d RW PIN29 Pin 29
Low 0 Pin driver is low
High 1 Pin driver is high
e RW PIN30 Pin 30
Low 0 Pin driver is low
High 1 Pin driver is high
f RW PIN31 Pin 31
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Low 0 Pin driver is low
High 1 Pin driver is high
6.9.2.2 OUTSET
Address offset: 0x508
Set individual bits in GPIO port
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Pin 0
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
B RW PIN1 Pin 1
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
C RW PIN2 Pin 2
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
D RW PIN3 Pin 3
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
E RW PIN4 Pin 4
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
F RW PIN5 Pin 5
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
G RW PIN6 Pin 6
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
H RW PIN7 Pin 7
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
I RW PIN8 Pin 8
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
J RW PIN9 Pin 9
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
K RW PIN10 Pin 10
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
L RW PIN11 Pin 11
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
M RW PIN12 Pin 12
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
N RW PIN13 Pin 13
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
O RW PIN14 Pin 14
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
P RW PIN15 Pin 15
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Q RW PIN16 Pin 16
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
R RW PIN17 Pin 17
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
S RW PIN18 Pin 18
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
T RW PIN19 Pin 19
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
U RW PIN20 Pin 20
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
V RW PIN21 Pin 21
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
W RW PIN22 Pin 22
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
X RW PIN23 Pin 23
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Y RW PIN24 Pin 24
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Z RW PIN25 Pin 25
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
a RW PIN26 Pin 26
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
b RW PIN27 Pin 27
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
c RW PIN28 Pin 28
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
d RW PIN29 Pin 29
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
e RW PIN30 Pin 30
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
f RW PIN31 Pin 31
W1S
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Set 1 Write: a '1' sets the pin high; a '0' has no effect
6.9.2.3 OUTCLR
Address offset: 0x50C
Clear individual bits in GPIO port
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Pin 0
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
B RW PIN1 Pin 1
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
C RW PIN2 Pin 2
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
D RW PIN3 Pin 3
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
E RW PIN4 Pin 4
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
F RW PIN5 Pin 5
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
G RW PIN6 Pin 6
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
H RW PIN7 Pin 7
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
I RW PIN8 Pin 8
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
J RW PIN9 Pin 9
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
K RW PIN10 Pin 10
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
L RW PIN11 Pin 11
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
M RW PIN12 Pin 12
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
N RW PIN13 Pin 13
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
O RW PIN14 Pin 14
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
P RW PIN15 Pin 15
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
Q RW PIN16 Pin 16
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
R RW PIN17 Pin 17
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
S RW PIN18 Pin 18
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
T RW PIN19 Pin 19
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
U RW PIN20 Pin 20
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
V RW PIN21 Pin 21
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
W RW PIN22 Pin 22
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
X RW PIN23 Pin 23
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
Y RW PIN24 Pin 24
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
Z RW PIN25 Pin 25
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
a RW PIN26 Pin 26
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
b RW PIN27 Pin 27
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
c RW PIN28 Pin 28
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
d RW PIN29 Pin 29
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
e RW PIN30 Pin 30
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
f RW PIN31 Pin 31
W1C
Low 0 Read: pin driver is low
High 1 Read: pin driver is high
Clear 1 Write: a '1' sets the pin low; a '0' has no effect
6.9.2.4 IN
Address offset: 0x510
Read GPIO port
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R PIN0 Pin 0
Low 0 Pin input is low
High 1 Pin input is high
B R PIN1 Pin 1
Low 0 Pin input is low
High 1 Pin input is high
C R PIN2 Pin 2
Low 0 Pin input is low
High 1 Pin input is high
D R PIN3 Pin 3
Low 0 Pin input is low
High 1 Pin input is high
E R PIN4 Pin 4
Low 0 Pin input is low
High 1 Pin input is high
F R PIN5 Pin 5
Low 0 Pin input is low
High 1 Pin input is high
G R PIN6 Pin 6
Low 0 Pin input is low
High 1 Pin input is high
H R PIN7 Pin 7
Low 0 Pin input is low
High 1 Pin input is high
I R PIN8 Pin 8
Low 0 Pin input is low
High 1 Pin input is high
J R PIN9 Pin 9
Low 0 Pin input is low
High 1 Pin input is high
K R PIN10 Pin 10
Low 0 Pin input is low
High 1 Pin input is high
L R PIN11 Pin 11
Low 0 Pin input is low
High 1 Pin input is high
M R PIN12 Pin 12
Low 0 Pin input is low
High 1 Pin input is high
N R PIN13 Pin 13
Low 0 Pin input is low
High 1 Pin input is high
O R PIN14 Pin 14
Low 0 Pin input is low
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
High 1 Pin input is high
P R PIN15 Pin 15
Low 0 Pin input is low
High 1 Pin input is high
Q R PIN16 Pin 16
Low 0 Pin input is low
High 1 Pin input is high
R R PIN17 Pin 17
Low 0 Pin input is low
High 1 Pin input is high
S R PIN18 Pin 18
Low 0 Pin input is low
High 1 Pin input is high
T R PIN19 Pin 19
Low 0 Pin input is low
High 1 Pin input is high
U R PIN20 Pin 20
Low 0 Pin input is low
High 1 Pin input is high
V R PIN21 Pin 21
Low 0 Pin input is low
High 1 Pin input is high
W R PIN22 Pin 22
Low 0 Pin input is low
High 1 Pin input is high
X R PIN23 Pin 23
Low 0 Pin input is low
High 1 Pin input is high
Y R PIN24 Pin 24
Low 0 Pin input is low
High 1 Pin input is high
Z R PIN25 Pin 25
Low 0 Pin input is low
High 1 Pin input is high
a R PIN26 Pin 26
Low 0 Pin input is low
High 1 Pin input is high
b R PIN27 Pin 27
Low 0 Pin input is low
High 1 Pin input is high
c R PIN28 Pin 28
Low 0 Pin input is low
High 1 Pin input is high
d R PIN29 Pin 29
Low 0 Pin input is low
High 1 Pin input is high
e R PIN30 Pin 30
Low 0 Pin input is low
High 1 Pin input is high
f R PIN31 Pin 31
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Low 0 Pin input is low
High 1 Pin input is high
6.9.2.5 DIR
Address offset: 0x514
Direction of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Pin 0
Input 0 Pin set as input
Output 1 Pin set as output
B RW PIN1 Pin 1
Input 0 Pin set as input
Output 1 Pin set as output
C RW PIN2 Pin 2
Input 0 Pin set as input
Output 1 Pin set as output
D RW PIN3 Pin 3
Input 0 Pin set as input
Output 1 Pin set as output
E RW PIN4 Pin 4
Input 0 Pin set as input
Output 1 Pin set as output
F RW PIN5 Pin 5
Input 0 Pin set as input
Output 1 Pin set as output
G RW PIN6 Pin 6
Input 0 Pin set as input
Output 1 Pin set as output
H RW PIN7 Pin 7
Input 0 Pin set as input
Output 1 Pin set as output
I RW PIN8 Pin 8
Input 0 Pin set as input
Output 1 Pin set as output
J RW PIN9 Pin 9
Input 0 Pin set as input
Output 1 Pin set as output
K RW PIN10 Pin 10
Input 0 Pin set as input
Output 1 Pin set as output
L RW PIN11 Pin 11
Input 0 Pin set as input
Output 1 Pin set as output
M RW PIN12 Pin 12
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Input 0 Pin set as input
Output 1 Pin set as output
N RW PIN13 Pin 13
Input 0 Pin set as input
Output 1 Pin set as output
O RW PIN14 Pin 14
Input 0 Pin set as input
Output 1 Pin set as output
P RW PIN15 Pin 15
Input 0 Pin set as input
Output 1 Pin set as output
Q RW PIN16 Pin 16
Input 0 Pin set as input
Output 1 Pin set as output
R RW PIN17 Pin 17
Input 0 Pin set as input
Output 1 Pin set as output
S RW PIN18 Pin 18
Input 0 Pin set as input
Output 1 Pin set as output
T RW PIN19 Pin 19
Input 0 Pin set as input
Output 1 Pin set as output
U RW PIN20 Pin 20
Input 0 Pin set as input
Output 1 Pin set as output
V RW PIN21 Pin 21
Input 0 Pin set as input
Output 1 Pin set as output
W RW PIN22 Pin 22
Input 0 Pin set as input
Output 1 Pin set as output
X RW PIN23 Pin 23
Input 0 Pin set as input
Output 1 Pin set as output
Y RW PIN24 Pin 24
Input 0 Pin set as input
Output 1 Pin set as output
Z RW PIN25 Pin 25
Input 0 Pin set as input
Output 1 Pin set as output
a RW PIN26 Pin 26
Input 0 Pin set as input
Output 1 Pin set as output
b RW PIN27 Pin 27
Input 0 Pin set as input
Output 1 Pin set as output
c RW PIN28 Pin 28
Input 0 Pin set as input
Output 1 Pin set as output
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
d RW PIN29 Pin 29
Input 0 Pin set as input
Output 1 Pin set as output
e RW PIN30 Pin 30
Input 0 Pin set as input
Output 1 Pin set as output
f RW PIN31 Pin 31
Input 0 Pin set as input
Output 1 Pin set as output
6.9.2.6 DIRSET
Address offset: 0x518
DIR set register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Set as output pin 0
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
B RW PIN1 Set as output pin 1
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
C RW PIN2 Set as output pin 2
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
D RW PIN3 Set as output pin 3
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
E RW PIN4 Set as output pin 4
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
F RW PIN5 Set as output pin 5
W1S
Input 0 Read: pin set as input
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
G RW PIN6 Set as output pin 6
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
H RW PIN7 Set as output pin 7
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
I RW PIN8 Set as output pin 8
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
J RW PIN9 Set as output pin 9
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
K RW PIN10 Set as output pin 10
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
L RW PIN11 Set as output pin 11
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
M RW PIN12 Set as output pin 12
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
N RW PIN13 Set as output pin 13
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
O RW PIN14 Set as output pin 14
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
P RW PIN15 Set as output pin 15
W1S
Input 0 Read: pin set as input
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
Q RW PIN16 Set as output pin 16
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
R RW PIN17 Set as output pin 17
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
S RW PIN18 Set as output pin 18
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
T RW PIN19 Set as output pin 19
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
U RW PIN20 Set as output pin 20
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
V RW PIN21 Set as output pin 21
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
W RW PIN22 Set as output pin 22
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
X RW PIN23 Set as output pin 23
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
Y RW PIN24 Set as output pin 24
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
Z RW PIN25 Set as output pin 25
W1S
Input 0 Read: pin set as input
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
a RW PIN26 Set as output pin 26
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
b RW PIN27 Set as output pin 27
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
c RW PIN28 Set as output pin 28
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
d RW PIN29 Set as output pin 29
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
e RW PIN30 Set as output pin 30
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
f RW PIN31 Set as output pin 31
W1S
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Set 1 Write: a '1' sets pin to output; a '0' has no effect
6.9.2.7 DIRCLR
Address offset: 0x51C
DIR clear register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Set as input pin 0
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW PIN1 Set as input pin 1
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
C RW PIN2 Set as input pin 2
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
D RW PIN3 Set as input pin 3
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
E RW PIN4 Set as input pin 4
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
F RW PIN5 Set as input pin 5
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
G RW PIN6 Set as input pin 6
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
H RW PIN7 Set as input pin 7
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
I RW PIN8 Set as input pin 8
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
J RW PIN9 Set as input pin 9
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
K RW PIN10 Set as input pin 10
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
L RW PIN11 Set as input pin 11
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
M RW PIN12 Set as input pin 12
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
N RW PIN13 Set as input pin 13
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
O RW PIN14 Set as input pin 14
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
P RW PIN15 Set as input pin 15
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Q RW PIN16 Set as input pin 16
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
R RW PIN17 Set as input pin 17
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
S RW PIN18 Set as input pin 18
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
T RW PIN19 Set as input pin 19
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
U RW PIN20 Set as input pin 20
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
V RW PIN21 Set as input pin 21
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
W RW PIN22 Set as input pin 22
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
X RW PIN23 Set as input pin 23
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Y RW PIN24 Set as input pin 24
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Z RW PIN25 Set as input pin 25
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
a RW PIN26 Set as input pin 26
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
b RW PIN27 Set as input pin 27
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
c RW PIN28 Set as input pin 28
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
d RW PIN29 Set as input pin 29
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
e RW PIN30 Set as input pin 30
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
f RW PIN31 Set as input pin 31
W1C
Input 0 Read: pin set as input
Output 1 Read: pin set as output
Clear 1 Write: a '1' sets pin to input; a '0' has no effect
6.9.2.8 LATCH
Address offset: 0x520
Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PIN0 Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
B RW PIN1 Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
C RW PIN2 Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
D RW PIN3 Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
E RW PIN4 Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
F RW PIN5 Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
G RW PIN6 Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
H RW PIN7 Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
I RW PIN8 Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register.
Write '1' to clear.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
J RW PIN9 Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
K RW PIN10 Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
L RW PIN11 Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
M RW PIN12 Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
N RW PIN13 Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
O RW PIN14 Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
P RW PIN15 Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
Q RW PIN16 Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
R RW PIN17 Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
S RW PIN18 Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
T RW PIN19 Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
U RW PIN20 Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
V RW PIN21 Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
W RW PIN22 Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
X RW PIN23 Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
Y RW PIN24 Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
Z RW PIN25 Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
a RW PIN26 Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
b RW PIN27 Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
c RW PIN28 Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
d RW PIN29 Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
e RW PIN30 Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
f RW PIN31 Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register.
Write '1' to clear.
NotLatched 0 Criteria has not been met
Latched 1 Criteria has been met
6.9.2.9 DETECTMODE
Address offset: 0x524
Select between default DETECT signal behavior and LDETECT mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DETECTMODE Select between default DETECT signal behavior and LDETECT mode
Default 0 DETECT directly connected to PIN DETECT signals
LDETECT 1 Use the latched LDETECT behavior
6.9.2.10 PIN_CNF[0]
Address offset: 0x700
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.11 PIN_CNF[1]
Address offset: 0x704
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.12 PIN_CNF[2]
Address offset: 0x708
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.13 PIN_CNF[3]
Address offset: 0x70C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.14 PIN_CNF[4]
Address offset: 0x710
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.15 PIN_CNF[5]
Address offset: 0x714
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.16 PIN_CNF[6]
Address offset: 0x718
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.17 PIN_CNF[7]
Address offset: 0x71C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.18 PIN_CNF[8]
Address offset: 0x720
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.19 PIN_CNF[9]
Address offset: 0x724
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.20 PIN_CNF[10]
Address offset: 0x728
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.21 PIN_CNF[11]
Address offset: 0x72C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.22 PIN_CNF[12]
Address offset: 0x730
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.23 PIN_CNF[13]
Address offset: 0x734
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.24 PIN_CNF[14]
Address offset: 0x738
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.25 PIN_CNF[15]
Address offset: 0x73C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.26 PIN_CNF[16]
Address offset: 0x740
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.27 PIN_CNF[17]
Address offset: 0x744
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.28 PIN_CNF[18]
Address offset: 0x748
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.29 PIN_CNF[19]
Address offset: 0x74C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.30 PIN_CNF[20]
Address offset: 0x750
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.31 PIN_CNF[21]
Address offset: 0x754
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.32 PIN_CNF[22]
Address offset: 0x758
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.33 PIN_CNF[23]
Address offset: 0x75C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.34 PIN_CNF[24]
Address offset: 0x760
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.35 PIN_CNF[25]
Address offset: 0x764
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.36 PIN_CNF[26]
Address offset: 0x768
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.37 PIN_CNF[27]
Address offset: 0x76C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.38 PIN_CNF[28]
Address offset: 0x770
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.39 PIN_CNF[29]
Address offset: 0x774
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.40 PIN_CNF[30]
Address offset: 0x778
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
6.9.2.41 PIN_CNF[31]
Address offset: 0x77C
Configuration of GPIO pins
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E D D D C C B A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW DIR Pin direction. Same physical register as DIR register
Input 0 Configure pin as an input pin
Output 1 Configure pin as an output pin
B RW INPUT Connect or disconnect input buffer
Connect 0 Connect input buffer
Disconnect 1 Disconnect input buffer
C RW PULL Pull configuration
Disabled 0 No pull
Pulldown 1 Pull down on pin
Pullup 3 Pull up on pin
D RW DRIVE Drive configuration
S0S1 0 Standard '0', standard '1'
H0S1 1 High drive '0', standard '1'
S0H1 2 Standard '0', high drive '1'
H0H1 3 High drive '0', high 'drive '1''
D0S1 4 Disconnect '0' standard '1' (normally used for wired-or connections)
D0H1 5 Disconnect '0', high drive '1' (normally used for wired-or connections)
S0D1 6 Standard '0'. disconnect '1' (normally used for wired-and connections)
H0D1 7 High drive '0', disconnect '1' (normally used for wired-and connections)
E RW SENSE Pin sensing mechanism
Disabled 0 Disabled
High 2 Sense for high level
Low 3 Sense for low level
16
Rise and fall times based on simulations
tHRF,50pF 16
Rise/Fall time, high drive mode, 10-90%, 50 pF load 8 ns
Up to three tasks can be used in each GPIOTE channel for performing write operations to a pin. Two tasks
are fixed (SET and CLR), and one (OUT) is configurable to perform following operations:
• Set
• Clear
• Toggle
An event can be generated in each GPIOTE channel from one of the following input conditions:
• Rising edge
• Falling edge
• Any change
Tasks and events are configured using the CONFIG[n] registers. One CONFIG[n] register is associated with a
set of SET[n], CLR[n], and OUT[n] tasks and IN[n] events.
As long as a SET[n], CLR[n], and OUT[n] task or an IN[n] event is configured to control pin n, the pin's
output value will only be updated by the GPIOTE module. The pin's output value, as specified in the GPIO,
will be ignored as long as the pin is controlled by GPIOTE. Attempting to write to the pin as a normal GPIO
pin will have no effect. When the GPIOTE is disconnected from a pin, the associated pin gets the output
and configuration values specified in the GPIO module, see MODE field in CONFIG[n] register.
When conflicting tasks are triggered simultaneously (i.e. during the same clock cycle) in one channel, the
priority of the tasks is as described in the following table.
Priority Task
1 OUT
2 CLR
3 SET
When setting the CONFIG[n] registers, MODE=Disabled does not have the same effect as MODE=Task and
POLARITY=None. In the latter case, a CLR or SET task occurring at the exact same time as OUT will end up
with no change on the pin, based on the priorities described in the table above.
When a GPIOTE channel is configured to operate on a pin as a task, the initial value of that pin is
configured in the OUTINIT field of CONFIG[n].
the pin specified by CONFIG.PSEL will be configured as an output overriding the DIR setting and OUT
value in GPIO. When Disabled is selected in CONFIG.MODE, the pin specified by CONFIG.PSEL will use its
configuration from the PIN[n].CNF registers in GPIO.
Note: A pin can only be assigned to one GPIOTE channel at a time. Failing to do so may result in
unpredictable behavior.
6.10.4 Registers
Instances
Register overview
6.10.4.1 TASKS_OUT[0]
Address offset: 0x000
Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is configured in CONFIG[0].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is
configured in CONFIG[0].POLARITY.
Trigger 1 Trigger task
6.10.4.2 TASKS_OUT[1]
Address offset: 0x004
Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is configured in CONFIG[1].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is
configured in CONFIG[1].POLARITY.
Trigger 1 Trigger task
6.10.4.3 TASKS_OUT[2]
Address offset: 0x008
Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is configured in CONFIG[2].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is
configured in CONFIG[2].POLARITY.
Trigger 1 Trigger task
6.10.4.4 TASKS_OUT[3]
Address offset: 0x00C
Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is configured in CONFIG[3].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is
configured in CONFIG[3].POLARITY.
Trigger 1 Trigger task
6.10.4.5 TASKS_OUT[4]
Address offset: 0x010
Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is configured in CONFIG[4].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is
configured in CONFIG[4].POLARITY.
Trigger 1 Trigger task
6.10.4.6 TASKS_OUT[5]
Address offset: 0x014
Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is configured in CONFIG[5].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is
configured in CONFIG[5].POLARITY.
Trigger 1 Trigger task
6.10.4.7 TASKS_OUT[6]
Address offset: 0x018
Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is configured in CONFIG[6].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is
configured in CONFIG[6].POLARITY.
Trigger 1 Trigger task
6.10.4.8 TASKS_OUT[7]
Address offset: 0x01C
Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is configured in CONFIG[7].POLARITY.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_OUT Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is
configured in CONFIG[7].POLARITY.
Trigger 1 Trigger task
6.10.4.9 TASKS_SET[0]
Address offset: 0x030
Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.10 TASKS_SET[1]
Address offset: 0x034
Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.11 TASKS_SET[2]
Address offset: 0x038
Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.12 TASKS_SET[3]
Address offset: 0x03C
Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.13 TASKS_SET[4]
Address offset: 0x040
Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.14 TASKS_SET[5]
Address offset: 0x044
Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.15 TASKS_SET[6]
Address offset: 0x048
Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.16 TASKS_SET[7]
Address offset: 0x04C
Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is to set it high.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SET Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is to set it
high.
Trigger 1 Trigger task
6.10.4.17 TASKS_CLR[0]
Address offset: 0x060
Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.18 TASKS_CLR[1]
Address offset: 0x064
Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[1].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.19 TASKS_CLR[2]
Address offset: 0x068
Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[2].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.20 TASKS_CLR[3]
Address offset: 0x06C
Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[3].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.21 TASKS_CLR[4]
Address offset: 0x070
Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[4].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.22 TASKS_CLR[5]
Address offset: 0x074
Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[5].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.23 TASKS_CLR[6]
Address offset: 0x078
Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[6].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.24 TASKS_CLR[7]
Address offset: 0x07C
Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is to set it low.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLR Task for writing to pin specified in CONFIG[7].PSEL. Action on pin is to set it
low.
Trigger 1 Trigger task
6.10.4.25 EVENTS_IN[0]
Address offset: 0x100
Event generated from pin specified in CONFIG[0].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[0].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.26 EVENTS_IN[1]
Address offset: 0x104
Event generated from pin specified in CONFIG[1].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[1].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.27 EVENTS_IN[2]
Address offset: 0x108
Event generated from pin specified in CONFIG[2].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[2].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.28 EVENTS_IN[3]
Address offset: 0x10C
Event generated from pin specified in CONFIG[3].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[3].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.29 EVENTS_IN[4]
Address offset: 0x110
Event generated from pin specified in CONFIG[4].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[4].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.30 EVENTS_IN[5]
Address offset: 0x114
Event generated from pin specified in CONFIG[5].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[5].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.31 EVENTS_IN[6]
Address offset: 0x118
Event generated from pin specified in CONFIG[6].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[6].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.32 EVENTS_IN[7]
Address offset: 0x11C
Event generated from pin specified in CONFIG[7].PSEL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_IN Event generated from pin specified in CONFIG[7].PSEL
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.33 EVENTS_PORT
Address offset: 0x17C
Event generated from multiple input GPIO pins with SENSE mechanism enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_PORT Event generated from multiple input GPIO pins with SENSE mechanism
enabled
NotGenerated 0 Event not generated
Generated 1 Event generated
6.10.4.34 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW IN[0] Write '1' to enable interrupt for event IN[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW IN[1] Write '1' to enable interrupt for event IN[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
C RW IN[2] Write '1' to enable interrupt for event IN[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW IN[3] Write '1' to enable interrupt for event IN[3]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW IN[4] Write '1' to enable interrupt for event IN[4]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW IN[5] Write '1' to enable interrupt for event IN[5]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW IN[6] Write '1' to enable interrupt for event IN[6]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW IN[7] Write '1' to enable interrupt for event IN[7]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PORT Write '1' to enable interrupt for event PORT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.10.4.35 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW IN[0] Write '1' to disable interrupt for event IN[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW IN[1] Write '1' to disable interrupt for event IN[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW IN[2] Write '1' to disable interrupt for event IN[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
D RW IN[3] Write '1' to disable interrupt for event IN[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW IN[4] Write '1' to disable interrupt for event IN[4]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW IN[5] Write '1' to disable interrupt for event IN[5]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW IN[6] Write '1' to disable interrupt for event IN[6]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW IN[7] Write '1' to disable interrupt for event IN[7]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PORT Write '1' to disable interrupt for event PORT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.10.4.36 CONFIG[0]
Address offset: 0x510
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
D RW POLARITY When In task mode: Operation to be performed on output when OUT[n]
task is triggered. When In event mode: Operation on input that shall trigger
IN[n] event.
None 0 Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event
generated on pin activity.
LoToHi 1 Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event
when rising edge on pin.
HiToLo 2 Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event
when falling edge on pin.
Toggle 3 Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any
change on pin.
E RW OUTINIT When in task mode: Initial value of the output when the GPIOTE channel is
configured. When in event mode: No effect.
Low 0 Task mode: Initial value of pin before task triggering is low
High 1 Task mode: Initial value of pin before task triggering is high
6.10.4.37 CONFIG[1]
Address offset: 0x514
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Toggle 3 Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any
change on pin.
E RW OUTINIT When in task mode: Initial value of the output when the GPIOTE channel is
configured. When in event mode: No effect.
Low 0 Task mode: Initial value of pin before task triggering is low
High 1 Task mode: Initial value of pin before task triggering is high
6.10.4.38 CONFIG[2]
Address offset: 0x518
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
6.10.4.39 CONFIG[3]
Address offset: 0x51C
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
6.10.4.40 CONFIG[4]
Address offset: 0x520
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Task 3 Task mode
6.10.4.41 CONFIG[5]
Address offset: 0x524
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
D RW POLARITY When In task mode: Operation to be performed on output when OUT[n]
task is triggered. When In event mode: Operation on input that shall trigger
IN[n] event.
None 0 Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event
generated on pin activity.
LoToHi 1 Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event
when rising edge on pin.
HiToLo 2 Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event
when falling edge on pin.
Toggle 3 Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any
change on pin.
E RW OUTINIT When in task mode: Initial value of the output when the GPIOTE channel is
configured. When in event mode: No effect.
Low 0 Task mode: Initial value of pin before task triggering is low
High 1 Task mode: Initial value of pin before task triggering is high
6.10.4.42 CONFIG[6]
Address offset: 0x528
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Toggle 3 Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any
change on pin.
E RW OUTINIT When in task mode: Initial value of the output when the GPIOTE channel is
configured. When in event mode: No effect.
Low 0 Task mode: Initial value of pin before task triggering is low
High 1 Task mode: Initial value of pin before task triggering is high
6.10.4.43 CONFIG[7]
Address offset: 0x52C
Configuration for OUT[n], SET[n], and CLR[n] tasks and IN[n] event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C B B B B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Mode
Disabled 0 Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.
Event 1 Event mode
The pin specified by PSEL will be configured as an input and the IN[n] event
will be generated if operation specified in POLARITY occurs on the pin.
Task 3 Task mode
I2S
CONFIG.MCKEN
Master clock MCK
generator
CONFIG.MCKFREQ
CONFIG.MODE
SDOUT
SDIN
LRCK
SCK
TXD.PTR
RXD.PTR EasyDMA
RXTXD.MAXCNT
RAM
6.11.1 Mode
The I2S protocol specification defines two modes of operation, Master and Slave.
The I2S mode decides which of the two sides (Master or Slave) shall provide the clock signals LRCK and
SCK, and these signals are always supplied by the Master to the Slave.
TX and RX are available in both Master and Slave modes and can be enabled/disabled independently in
the CONFIG.TXEN on page 323 and CONFIG.RXEN on page 323.
Transmission and/or reception is started by triggering the START task. When started and transmission
is enabled (in CONFIG.TXEN on page 323), the TXPTRUPD event will be generated for every
RXTXD.MAXCNT on page 326 number of transmitted data words (containing one or more samples).
Similarly, when started and reception is enabled (in CONFIG.RXEN on page 323), the RXPTRUPD event
will be generated for every RXTXD.MAXCNT on page 326 received data words.
RXTXD.MAXCNT RXTXD.MAXCNT
A A A A C C C C E
SDIN
B B B B D D D D F
SCK
LRCK
RXPTRUPD
RXPTRUPD
RXPTRUPD
TXPTRUPD
TXPTRUPD
TXPTRUPD
CPU
RXD.PTR = D
TXD.PTR = E
RXD.PTR = F
TXD.PTR = G
RXD.PTR = H
TXD.PTR = C
TXD.PTR = A
RXD.PTR = B
START
LRCK always toggles around the falling edge of the serial clock SCK.
When operating in Master mode the SCK is generated from the MCK, and the frequency of SCK is then
given as:
The falling edge of the SCK falls on the toggling edge of LRCK.
When operating in Slave mode SCK is provided by the external I2S master.
2. The MCK/LRCK ratio shall be a multiple of 2 * CONFIG.SWIDTH, which can be formulated as:
The MCK signal can be routed to an output pin (specified in PSEL.MCK) to supply external I2S devices that
require the MCK to be supplied from the outside.
When operating in Slave mode, the I2S module does not use the MCK and the MCK generator does not
need to be enabled.
MCK
MCK
RATIO =
LRCK
LRCK
SWIDTH
SCK
• For data received on SDIN, all bits before the MSB of the sample value will be discarded.
• For data sent on SDOUT, all bits after the LSB of the sample value will be 0 (same behavior as for left-
alignment).
In the case where we use right-alignment and the number of SCK pulses per frame is lower than the
sample width, the following will apply:
• Data received on SDIN will be sign-extended to "sample width" number of bits before being written to
memory.
• Data sent on SDOUT will be truncated with the LSBs being removed first (same behavior as for left-
alignment).
frame
LRCK left right left
SCK
SDIN or SDOUT
frame
LRCK left right left
SCK
SDATA
6.11.7 EasyDMA
The I2S module implements EasyDMA for accessing internal Data RAM without CPU intervention.
The source and destination pointers for the TX and RX data are configured in TXD.PTR on page 326 and
RXD.PTR on page 326. The memory pointed to by these pointers will only be read or written when TX or
RX are enabled in CONFIG.TXEN on page 323 and CONFIG.RXEN on page 323.
The addresses written to the pointer registers TXD.PTR on page 326 and RXD.PTR on page 326 are
double-buffered in hardware, and these double buffers are updated for every RXTXD.MAXCNT on page
326 words (containing one or more samples) read/written from/to memory. The events TXPTRUPD and
RXPTRUPD are generated whenever the TXD.PTR and RXD.PTR are transferred to these double buffers.
If TXD.PTR on page 326 is not pointing to the Data RAM region when transmission is enabled, or
RXD.PTR on page 326 is not pointing to the Data RAM region when reception is enabled, an EasyDMA
transfer may result in a HardFault and/or memory corruption. See Memory on page 21 for more
information about the different memory regions.
Due to the nature of I2S, where the number of transmitted samples always equals the number of received
samples (at least when both TX and RX are enabled), one common register RXTXD.MAXCNT on page
326 is used for specifying the sizes of these two memory buffers. The size of the buffers is specified in
a number of 32-bit words. Such a 32-bit memory word can either contain four 8-bit samples, two 16-bit
samples or one right-aligned 24-bit sample sign extended to 32 bit.
In stereo mode (CONFIG.CHANNELS=Stereo), the samples are stored as "left and right sample pairs" in
memory. Figure Memory mapping for 8 bit stereo. CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Stereo.
on page 315, Memory mapping for 16 bit stereo. CONFIG.SWIDTH = 16Bit, CONFIG.CHANNELS = Stereo.
on page 315 and Memory mapping for 24 bit stereo. CONFIG.SWIDTH = 24Bit, CONFIG.CHANNELS =
Stereo. on page 316 show how the samples are mapped to memory in this mode. The mapping is valid
for both RX and TX.
In mono mode (CONFIG.CHANNELS=Left or Right), RX sample from only one channel in the frame is
stored in memory, the other channel sample is ignored. Illustrations Memory mapping for 8 bit mono.
CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Left. on page 315, Memory mapping for 16 bit mono, left
channel only. CONFIG.SWIDTH = 16Bit, CONFIG.CHANNELS = Left. on page 315 and Memory mapping
for 24 bit mono, left channel only. CONFIG.SWIDTH = 24Bit, CONFIG.CHANNELS = Left. on page 316
show how RX samples are mapped to memory in this mode.
For TX, the same outgoing sample read from memory is transmitted on both left and right in a frame,
resulting in a mono output stream.
31 24 23 16 15 8 7 0
Figure 52: Memory mapping for 8 bit stereo. CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Stereo.
31 24 23 16 15 8 7 0
Figure 53: Memory mapping for 8 bit mono. CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Left.
31 16 15 0
Figure 54: Memory mapping for 16 bit stereo. CONFIG.SWIDTH = 16Bit, CONFIG.CHANNELS = Stereo.
31 16 15 0
31 23 0
Figure 56: Memory mapping for 24 bit stereo. CONFIG.SWIDTH = 24Bit, CONFIG.CHANNELS = Stereo.
31 23 0
// Enable reception
NRF_I2S->CONFIG.RXEN = (I2S_CONFIG_RXEN_RXEN_Enabled <<
I2S_CONFIG_RXEN_RXEN_Pos);
// Enable transmission
NRF_I2S->CONFIG.TXEN = (I2S_CONFIG_TXEN_TXEN_Enabled <<
I2S_CONFIG_TXEN_TXEN_Pos);
// Enable MCK generator
NRF_I2S->CONFIG.MCKEN = (I2S_CONFIG_MCKEN_MCKEN_Enabled <<
I2S_CONFIG_MCKEN_MCKEN_Pos);
// MCKFREQ = 4 MHz
NRF_I2S->CONFIG.MCKFREQ = I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV8 <<
I2S_CONFIG_MCKFREQ_MCKFREQ_Pos;
// Ratio = 256
NRF_I2S->CONFIG.RATIO = I2S_CONFIG_RATIO_RATIO_256X <<
I2S_CONFIG_RATIO_RATIO_Pos;
// MCKFREQ = 4 MHz and Ratio = 256 gives sample rate = 15.625 ks/s
// Sample width = 16 bit
NRF_I2S->CONFIG.SWIDTH = I2S_CONFIG_SWIDTH_SWIDTH_16Bit <<
I2S_CONFIG_SWIDTH_SWIDTH_Pos;
// Alignment = Left
NRF_I2S->CONFIG.ALIGN = I2S_CONFIG_ALIGN_ALIGN_Left <<
I2S_CONFIG_ALIGN_ALIGN_Pos;
// Format = I2S
NRF_I2S->CONFIG.FORMAT = I2S_CONFIG_FORMAT_FORMAT_I2S <<
I2S_CONFIG_FORMAT_FORMAT_Pos;
// Use stereo
NRF_I2S->CONFIG.CHANNELS = I2S_CONFIG_CHANNELS_CHANNELS_Stereo <<
I2S_CONFIG_CHANNELS_CHANNELS_Pos;
3. Configure TX and RX data pointers using the TXD, RXD and RXTXD registers
NRF_I2S->TXD.PTR = my_tx_buf;
NRF_I2S->RXD.PTR = my_rx_buf;
NRF_I2S->TXD.MAXCNT = MY_BUF_SIZE;
NRF_I2S->ENABLE = 1;
NRF_I2S->TASKS_START = 1;
6. Handle received and transmitted data when receiving the TXPTRUPD and RXPTRUPD events
if(NRF_I2S->EVENTS_TXPTRUPD != 0)
{
NRF_I2S->TXD.PTR = my_next_tx_buf;
NRF_I2S->EVENTS_TXPTRUPD = 0;
}
if(NRF_I2S->EVENTS_RXPTRUPD != 0)
{
NRF_I2S->RXD.PTR = my_next_rx_buf;
NRF_I2S->EVENTS_RXPTRUPD = 0;
}
6.11.10 Registers
Instances
Register overview
6.11.10.1 TASKS_START
Address offset: 0x000
Starts continuous I2S transfer. Also starts MCK generator when this is enabled.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Starts continuous I2S transfer. Also starts MCK generator when this is
enabled.
Trigger 1 Trigger task
6.11.10.2 TASKS_STOP
Address offset: 0x004
Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be
generated.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stops I2S transfer. Also stops MCK generator. Triggering this task will cause
the STOPPED event to be generated.
Trigger 1 Trigger task
6.11.10.3 EVENTS_RXPTRUPD
Address offset: 0x104
The RXD.PTR register has been copied to internal double-buffers. When the I2S module is started and RX is
enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXPTRUPD The RXD.PTR register has been copied to internal double-buffers. When the
I2S module is started and RX is enabled, this event will be generated for
every RXTXD.MAXCNT words that are received on the SDIN pin.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.11.10.4 EVENTS_STOPPED
Address offset: 0x108
I2S transfer stopped.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED I2S transfer stopped.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.11.10.5 EVENTS_TXPTRUPD
Address offset: 0x114
The TDX.PTR register has been copied to internal double-buffers. When the I2S module is started and TX is
enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXPTRUPD The TDX.PTR register has been copied to internal double-buffers. When the
I2S module is started and TX is enabled, this event will be generated for
every RXTXD.MAXCNT words that are sent on the SDOUT pin.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.11.10.6 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RXPTRUPD Enable or disable interrupt for event RXPTRUPD
Disabled 0 Disable
Enabled 1 Enable
C RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
F RW TXPTRUPD Enable or disable interrupt for event TXPTRUPD
Disabled 0 Disable
Enabled 1 Enable
6.11.10.7 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RXPTRUPD Write '1' to enable interrupt for event RXPTRUPD
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TXPTRUPD Write '1' to enable interrupt for event TXPTRUPD
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.11.10.8 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RXPTRUPD Write '1' to disable interrupt for event RXPTRUPD
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TXPTRUPD Write '1' to disable interrupt for event TXPTRUPD
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.11.10.9 ENABLE
Address offset: 0x500
Enable I2S module.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable I2S module.
Disabled 0 Disable
Enabled 1 Enable
6.11.10.10 CONFIG.MODE
Address offset: 0x504
I2S mode.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE I2S mode.
Master 0 Master mode. SCK and LRCK generated from internal master clcok (MCK)
and output on pins defined by PSEL.xxx.
Slave 1 Slave mode. SCK and LRCK generated by external master and received on
pins defined by PSEL.xxx
6.11.10.11 CONFIG.RXEN
Address offset: 0x508
Reception (RX) enable.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RXEN Reception (RX) enable.
Disabled 0 Reception disabled and now data will be written to the RXD.PTR address.
Enabled 1 Reception enabled.
6.11.10.12 CONFIG.TXEN
Address offset: 0x50C
Transmission (TX) enable.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW TXEN Transmission (TX) enable.
Disabled 0 Transmission disabled and now data will be read from the RXD.TXD address.
Enabled 1 Transmission enabled.
6.11.10.13 CONFIG.MCKEN
Address offset: 0x510
Master clock generator enable.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW MCKEN Master clock generator enable.
Disabled 0 Master clock generator disabled and PSEL.MCK not connected(available as
GPIO).
Enabled 1 Master clock generator running and MCK output on PSEL.MCK.
6.11.10.14 CONFIG.MCKFREQ
Address offset: 0x514
Master clock generator frequency.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x20000000 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MCKFREQ Master clock generator frequency.
32MDIV8 0x20000000 32 MHz / 8 = 4.0 MHz
32MDIV10 0x18000000 32 MHz / 10 = 3.2 MHz
32MDIV11 0x16000000 32 MHz / 11 = 2.9090909 MHz
32MDIV15 0x11000000 32 MHz / 15 = 2.1333333 MHz
32MDIV16 0x10000000 32 MHz / 16 = 2.0 MHz
32MDIV21 0x0C000000 32 MHz / 21 = 1.5238095
32MDIV23 0x0B000000 32 MHz / 23 = 1.3913043 MHz
32MDIV30 0x08800000 32 MHz / 30 = 1.0666667 MHz
32MDIV31 0x08400000 32 MHz / 31 = 1.0322581 MHz
32MDIV32 0x08000000 32 MHz / 32 = 1.0 MHz
32MDIV42 0x06000000 32 MHz / 42 = 0.7619048 MHz
32MDIV63 0x04100000 32 MHz / 63 = 0.5079365 MHz
32MDIV125 0x020C0000 32 MHz / 125 = 0.256 MHz
6.11.10.15 CONFIG.RATIO
Address offset: 0x518
MCK / LRCK ratio.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000006 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0
ID R/W Field Value ID Value Description
A RW RATIO MCK / LRCK ratio.
32X 0 LRCK = MCK / 32
48X 1 LRCK = MCK / 48
64X 2 LRCK = MCK / 64
96X 3 LRCK = MCK / 96
128X 4 LRCK = MCK / 128
192X 5 LRCK = MCK / 192
256X 6 LRCK = MCK / 256
384X 7 LRCK = MCK / 384
512X 8 LRCK = MCK / 512
6.11.10.16 CONFIG.SWIDTH
Address offset: 0x51C
Sample width.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW SWIDTH Sample width.
8Bit 0 8 bit.
16Bit 1 16 bit.
24Bit 2 24 bit.
6.11.10.17 CONFIG.ALIGN
Address offset: 0x520
Alignment of sample within a frame.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ALIGN Alignment of sample within a frame.
Left 0 Left-aligned.
Right 1 Right-aligned.
6.11.10.18 CONFIG.FORMAT
Address offset: 0x524
Frame format.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FORMAT Frame format.
I2S 0 Original I2S format.
Aligned 1 Alternate (left- or right-aligned) format.
6.11.10.19 CONFIG.CHANNELS
Address offset: 0x528
Enable channels.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CHANNELS Enable channels.
Stereo 0 Stereo.
Left 1 Left only.
Right 2 Right only.
6.11.10.20 RXD.PTR
Address offset: 0x538
Receive buffer RAM start address.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Receive buffer Data RAM start address. When receiving, words containing
samples will be written to this address. This address is a word aligned Data
RAM address.
6.11.10.21 TXD.PTR
Address offset: 0x540
Transmit buffer RAM start address.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Transmit buffer Data RAM start address. When transmitting, words
containing samples will be fetched from this address. This address is a word
aligned Data RAM address.
6.11.10.22 RXTXD.MAXCNT
Address offset: 0x550
Size of RXD and TXD buffers.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT Size of RXD and TXD buffers in number of 32 bit words.
6.11.10.23 PSEL.MCK
Address offset: 0x560
Pin select for MCK signal.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.11.10.24 PSEL.SCK
Address offset: 0x564
Pin select for SCK signal.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.11.10.25 PSEL.LRCK
Address offset: 0x568
Pin select for LRCK signal.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.11.10.26 PSEL.SDIN
Address offset: 0x56C
Pin select for SDIN signal.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.11.10.27 PSEL.SDOUT
Address offset: 0x570
Pin select for SDOUT signal.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
tSCK_LRCK
LRCK
SCK
tS_SDIN tH_SDIN
SDIN
tS_SDOUT
tH_SDOUT
SDOUT
Note: LPCOMP cannot be used (STARTed) at the same time as COMP. Only one comparator can be
used at a time.
tasks
EXTREFSEL REFSEL PSEL HYST RESULT
START
STOP
SAMPLE
AIN0 AREF
MUX AIN0
AIN1 AIN1
VDD*1/16 AIN2
AIN3 VIN+
VDD*1/8 MUX +
VDD*3/16 AIN4
VDD*2/8 AIN5
AIN6 Comparator
VDD*5/16 ANADETECT
AIN7 core
VDD*3/8 (signal to POWER module)
VDD*7/16 MUX VIN-
VDD*4/8 -
VDD*9/16
VDD*5/8
VDD*11/16
UP
CROSS
DOWN
READY
VDD*6/8
VDD*13/16
VDD*7/8
VDD*15/16 events
The wakeup comparator (LPCOMP) compares an input voltage (VIN+), which comes from an analog input
pin selected via the PSEL register, against a reference voltage (VIN-) selected via registers REFSEL on page
335 and EXTREFSEL.
The PSEL, REFSEL, and EXTREFSEL registers must be configured before the LPCOMP is enabled through the
ENABLE register.
The HYST register allows enabling an optional hysteresis in the comparator core. This hysteresis shall
prevent noise on the signal to create unwanted events. Figure below illustrates the effect of an active
hysteresis on a noisy input signal. It is disabled by default, and shall be configured before enabling
LPCOMP as well.
VIN+
VIN- + VHYST/2
VIN- - VHYST/2
The LPCOMP is started by triggering the START task. After a startup time of tLPCOMP,STARTUP, the LPCOMP
will generate a READY event to indicate that the comparator is ready to use and the output of the LPCOMP
is correct. The LPCOMP will generate events every time VIN+ crosses VIN-. More specifically, every time
VIN+ rises above VIN- (upward crossing) an UP event is generated along with a CROSS event. Every time
VIN+ falls below VIN- (downward crossing), a DOWN event is generated along with a CROSS event. When
hysteresis is enabled, the upward crossing level becomes (VIN- + VHYST/2), and the downward crossing
level becomes (VIN- - VHYST/2).
The LPCOMP is stopped by triggering the STOP task.
LPCOMP will be operational in both System ON and System OFF mode when it is enabled through the
ENABLE register. See POWER — Power supply on page 80 for more information about power modes. Note
that it is not allowed to go to System OFF when a READY event is pending to be generated.
All LPCOMP registers, including ENABLE, are classified as retained registers when the LPCOMP is enabled.
However, when the device wakes up from System OFF, all LPCOMP registers will be reset.
The LPCOMP can wake up the system from System OFF by asserting the ANADETECT signal. The
ANADETECT signal can be derived from any of the event sources that generate the UP, DOWN and CROSS
events. In case of wakeup from System OFF, no events will be generated, only the ANADETECT signal.
See the ANADETECT register (ANADETECT on page 336) for more information on how to configure the
ANADETECT signal.
The immediate value of the LPCOMP can be sampled to RESULT on page 334 by triggering the SAMPLE
task.
See RESETREAS on page 94 for more information on how to detect a wakeup from LPCOMP.
as input for AREF in case AREF is selected in EXTREFSEL on page 336. The selected analog pins will be
acquired by the LPCOMP when it is enabled through ENABLE on page 335.
6.12.3 Registers
Instances
Register overview
6.12.3.1 TASKS_START
Address offset: 0x000
Start comparator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start comparator
Trigger 1 Trigger task
6.12.3.2 TASKS_STOP
Address offset: 0x004
Stop comparator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop comparator
Trigger 1 Trigger task
6.12.3.3 TASKS_SAMPLE
Address offset: 0x008
Sample comparator value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SAMPLE Sample comparator value
Trigger 1 Trigger task
6.12.3.4 EVENTS_READY
Address offset: 0x100
LPCOMP is ready and output is valid
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY LPCOMP is ready and output is valid
NotGenerated 0 Event not generated
Generated 1 Event generated
6.12.3.5 EVENTS_DOWN
Address offset: 0x104
Downward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DOWN Downward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.12.3.6 EVENTS_UP
Address offset: 0x108
Upward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_UP Upward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.12.3.7 EVENTS_CROSS
Address offset: 0x10C
Downward or upward crossing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CROSS Downward or upward crossing
NotGenerated 0 Event not generated
Generated 1 Event generated
6.12.3.8 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY_SAMPLE Shortcut between event READY and task SAMPLE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW READY_STOP Shortcut between event READY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW DOWN_STOP Shortcut between event DOWN and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW UP_STOP Shortcut between event UP and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW CROSS_STOP Shortcut between event CROSS and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.12.3.9 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW DOWN Write '1' to enable interrupt for event DOWN
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW UP Write '1' to enable interrupt for event UP
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW CROSS Write '1' to enable interrupt for event CROSS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.12.3.10 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW DOWN Write '1' to disable interrupt for event DOWN
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW UP Write '1' to disable interrupt for event UP
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW CROSS Write '1' to disable interrupt for event CROSS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.12.3.11 RESULT
Address offset: 0x400
Compare result
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RESULT Result of last compare. Decision point SAMPLE task.
Below 0 Input voltage is below the reference threshold (VIN+ < VIN-)
Above 1 Input voltage is above the reference threshold (VIN+ > VIN-)
6.12.3.12 ENABLE
Address offset: 0x500
Enable LPCOMP
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable LPCOMP
Disabled 0 Disable
Enabled 1 Enable
6.12.3.13 PSEL
Address offset: 0x504
Input pin select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSEL Analog pin select
AnalogInput0 0 AIN0 selected as analog input
AnalogInput1 1 AIN1 selected as analog input
AnalogInput2 2 AIN2 selected as analog input
AnalogInput3 3 AIN3 selected as analog input
AnalogInput4 4 AIN4 selected as analog input
AnalogInput5 5 AIN5 selected as analog input
AnalogInput6 6 AIN6 selected as analog input
AnalogInput7 7 AIN7 selected as analog input
6.12.3.14 REFSEL
Address offset: 0x508
Reference select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
ID R/W Field Value ID Value Description
A RW REFSEL Reference select
Ref1_8Vdd 0 VDD * 1/8 selected as reference
Ref2_8Vdd 1 VDD * 2/8 selected as reference
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
ID R/W Field Value ID Value Description
Ref3_8Vdd 2 VDD * 3/8 selected as reference
Ref4_8Vdd 3 VDD * 4/8 selected as reference
Ref5_8Vdd 4 VDD * 5/8 selected as reference
Ref6_8Vdd 5 VDD * 6/8 selected as reference
Ref7_8Vdd 6 VDD * 7/8 selected as reference
ARef 7 External analog reference selected
Ref1_16Vdd 8 VDD * 1/16 selected as reference
Ref3_16Vdd 9 VDD * 3/16 selected as reference
Ref5_16Vdd 10 VDD * 5/16 selected as reference
Ref7_16Vdd 11 VDD * 7/16 selected as reference
Ref9_16Vdd 12 VDD * 9/16 selected as reference
Ref11_16Vdd 13 VDD * 11/16 selected as reference
Ref13_16Vdd 14 VDD * 13/16 selected as reference
Ref15_16Vdd 15 VDD * 15/16 selected as reference
6.12.3.15 EXTREFSEL
Address offset: 0x50C
External reference select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW EXTREFSEL External analog reference select
AnalogReference0 0 Use AIN0 as external analog reference
AnalogReference1 1 Use AIN1 as external analog reference
6.12.3.16 ANADETECT
Address offset: 0x520
Analog detect configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ANADETECT Analog detect configuration
Cross 0 Generate ANADETECT on crossing, both upward crossing and downward
crossing
Up 1 Generate ANADETECT on upward crossing only
Down 2 Generate ANADETECT on downward crossing only
6.12.3.17 HYST
Address offset: 0x538
Comparator hysteresis enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HYST Comparator hysteresis enable
Disabled 0 Comparator hysteresis disabled
Enabled 1 Comparator hysteresis enabled
Each MWU region is defined by a start address and an end address, configured by the START and END
registers respectively. These addresses are byte aligned and inclusive. The END register value has to be
greater or equal to the START register value. Each region is associated with a pair of events that indicate
that either a write access or a read access from the CPU has been detected inside the region.
For regions containing subregions (see below), a set of status registers PERREGION[0..1].SUBSTATWA
and PERREGION[0..1].SUBSTATRA indicate which subregion(s) caused the EVENT_PREGION[0..1].WA and
EVENT_PREGION[0..1].RA respectively.
The MWU is only able to detect memory accesses in the Data RAM and Peripheral memory segments from
the CPU, see Memory on page 21 for more information about the different memory segments. EasyDMA
accesses are not monitored by the MWU. The MWU requires two HCLK cycles to detect and generate the
event.
The peripheral regions, PREGION[0...1], are divided into 32 equally sized subregions, SR[0...31]. All
subregions are excluded in the main region by default, and any can be included by specifying them in the
SUBS register. When a subregion is excluded from the main region, the memory watch mechanism will not
trigger any events when that subregion is accessed.
Subregions in PREGION[0..1] cannot be individually configured for read or write access watch. Watch
configuration is only possible for a region as a whole. The PRGNiRA and PRGNiWA (i=0..1) fields in the
REGIONEN register control watching read and write access.
REGION[0..3] can be individually enabled for read and/or write access watching through their respective
RGNiRA and RGNiWA (i=0..3) fields in the REGIONEN register.
REGIONENSET and REGIONENCLR allow respectively enabling and disabling one or multiple REGIONs or
PREGIONs watching in a single write access.
6.13.1 Registers
Instances
Register overview
6.13.1.1 EVENTS_REGION[0]
Peripheral events.
6.13.1.1.1 EVENTS_REGION[0].WA
Address offset: 0x100
Write access to region 0 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to region 0 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.1.2 EVENTS_REGION[0].RA
Address offset: 0x104
Read access to region 0 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to region 0 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.2 EVENTS_REGION[1]
Peripheral events.
6.13.1.2.1 EVENTS_REGION[1].WA
Address offset: 0x108
Write access to region 1 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to region 1 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.2.2 EVENTS_REGION[1].RA
Address offset: 0x10C
Read access to region 1 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to region 1 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.3 EVENTS_REGION[2]
Peripheral events.
6.13.1.3.1 EVENTS_REGION[2].WA
Address offset: 0x110
Write access to region 2 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to region 2 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.3.2 EVENTS_REGION[2].RA
Address offset: 0x114
Read access to region 2 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to region 2 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.4 EVENTS_REGION[3]
Peripheral events.
6.13.1.4.1 EVENTS_REGION[3].WA
Address offset: 0x118
Write access to region 3 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to region 3 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.4.2 EVENTS_REGION[3].RA
Address offset: 0x11C
Read access to region 3 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to region 3 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.5 EVENTS_PREGION[0]
Peripheral events.
6.13.1.5.1 EVENTS_PREGION[0].WA
Address offset: 0x160
Write access to peripheral region 0 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to peripheral region 0 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.5.2 EVENTS_PREGION[0].RA
Address offset: 0x164
Read access to peripheral region 0 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to peripheral region 0 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.6 EVENTS_PREGION[1]
Peripheral events.
6.13.1.6.1 EVENTS_PREGION[1].WA
Address offset: 0x168
Write access to peripheral region 1 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WA Write access to peripheral region 1 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.6.2 EVENTS_PREGION[1].RA
Address offset: 0x16C
Read access to peripheral region 1 detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RA Read access to peripheral region 1 detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.13.1.7 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Enable or disable interrupt for event REGION0WA
Disabled 0 Disable
Enabled 1 Enable
B RW REGION0RA Enable or disable interrupt for event REGION0RA
Disabled 0 Disable
Enabled 1 Enable
C RW REGION1WA Enable or disable interrupt for event REGION1WA
Disabled 0 Disable
Enabled 1 Enable
D RW REGION1RA Enable or disable interrupt for event REGION1RA
Disabled 0 Disable
Enabled 1 Enable
E RW REGION2WA Enable or disable interrupt for event REGION2WA
Disabled 0 Disable
Enabled 1 Enable
F RW REGION2RA Enable or disable interrupt for event REGION2RA
Disabled 0 Disable
Enabled 1 Enable
G RW REGION3WA Enable or disable interrupt for event REGION3WA
Disabled 0 Disable
Enabled 1 Enable
H RW REGION3RA Enable or disable interrupt for event REGION3RA
Disabled 0 Disable
Enabled 1 Enable
I RW PREGION0WA Enable or disable interrupt for event PREGION0WA
Disabled 0 Disable
Enabled 1 Enable
J RW PREGION0RA Enable or disable interrupt for event PREGION0RA
Disabled 0 Disable
Enabled 1 Enable
K RW PREGION1WA Enable or disable interrupt for event PREGION1WA
Disabled 0 Disable
Enabled 1 Enable
L RW PREGION1RA Enable or disable interrupt for event PREGION1RA
Disabled 0 Disable
Enabled 1 Enable
6.13.1.8 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Write '1' to enable interrupt for event REGION0WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REGION0RA Write '1' to enable interrupt for event REGION0RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW REGION1WA Write '1' to enable interrupt for event REGION1WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW REGION1RA Write '1' to enable interrupt for event REGION1RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW REGION2WA Write '1' to enable interrupt for event REGION2WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW REGION2RA Write '1' to enable interrupt for event REGION2RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW REGION3WA Write '1' to enable interrupt for event REGION3WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW REGION3RA Write '1' to enable interrupt for event REGION3RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PREGION0WA Write '1' to enable interrupt for event PREGION0WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW PREGION0RA Write '1' to enable interrupt for event PREGION0RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW PREGION1WA Write '1' to enable interrupt for event PREGION1WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW PREGION1RA Write '1' to enable interrupt for event PREGION1RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.13.1.9 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Write '1' to disable interrupt for event REGION0WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REGION0RA Write '1' to disable interrupt for event REGION0RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW REGION1WA Write '1' to disable interrupt for event REGION1WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW REGION1RA Write '1' to disable interrupt for event REGION1RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW REGION2WA Write '1' to disable interrupt for event REGION2WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW REGION2RA Write '1' to disable interrupt for event REGION2RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW REGION3WA Write '1' to disable interrupt for event REGION3WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW REGION3RA Write '1' to disable interrupt for event REGION3RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PREGION0WA Write '1' to disable interrupt for event PREGION0WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW PREGION0RA Write '1' to disable interrupt for event PREGION0RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW PREGION1WA Write '1' to disable interrupt for event PREGION1WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
L RW PREGION1RA Write '1' to disable interrupt for event PREGION1RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.13.1.10 NMIEN
Address offset: 0x320
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Enable or disable interrupt for event REGION0WA
Disabled 0 Disable
Enabled 1 Enable
B RW REGION0RA Enable or disable interrupt for event REGION0RA
Disabled 0 Disable
Enabled 1 Enable
C RW REGION1WA Enable or disable interrupt for event REGION1WA
Disabled 0 Disable
Enabled 1 Enable
D RW REGION1RA Enable or disable interrupt for event REGION1RA
Disabled 0 Disable
Enabled 1 Enable
E RW REGION2WA Enable or disable interrupt for event REGION2WA
Disabled 0 Disable
Enabled 1 Enable
F RW REGION2RA Enable or disable interrupt for event REGION2RA
Disabled 0 Disable
Enabled 1 Enable
G RW REGION3WA Enable or disable interrupt for event REGION3WA
Disabled 0 Disable
Enabled 1 Enable
H RW REGION3RA Enable or disable interrupt for event REGION3RA
Disabled 0 Disable
Enabled 1 Enable
I RW PREGION0WA Enable or disable interrupt for event PREGION0WA
Disabled 0 Disable
Enabled 1 Enable
J RW PREGION0RA Enable or disable interrupt for event PREGION0RA
Disabled 0 Disable
Enabled 1 Enable
K RW PREGION1WA Enable or disable interrupt for event PREGION1WA
Disabled 0 Disable
Enabled 1 Enable
L RW PREGION1RA Enable or disable interrupt for event PREGION1RA
Disabled 0 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable
6.13.1.11 NMIENSET
Address offset: 0x324
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Write '1' to enable interrupt for event REGION0WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REGION0RA Write '1' to enable interrupt for event REGION0RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW REGION1WA Write '1' to enable interrupt for event REGION1WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW REGION1RA Write '1' to enable interrupt for event REGION1RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW REGION2WA Write '1' to enable interrupt for event REGION2WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW REGION2RA Write '1' to enable interrupt for event REGION2RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW REGION3WA Write '1' to enable interrupt for event REGION3WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW REGION3RA Write '1' to enable interrupt for event REGION3RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PREGION0WA Write '1' to enable interrupt for event PREGION0WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW PREGION0RA Write '1' to enable interrupt for event PREGION0RA
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW PREGION1WA Write '1' to enable interrupt for event PREGION1WA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW PREGION1RA Write '1' to enable interrupt for event PREGION1RA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.13.1.12 NMIENCLR
Address offset: 0x328
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REGION0WA Write '1' to disable interrupt for event REGION0WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REGION0RA Write '1' to disable interrupt for event REGION0RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW REGION1WA Write '1' to disable interrupt for event REGION1WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW REGION1RA Write '1' to disable interrupt for event REGION1RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW REGION2WA Write '1' to disable interrupt for event REGION2WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW REGION2RA Write '1' to disable interrupt for event REGION2RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW REGION3WA Write '1' to disable interrupt for event REGION3WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW REGION3RA Write '1' to disable interrupt for event REGION3RA
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW PREGION0WA Write '1' to disable interrupt for event PREGION0WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW PREGION0RA Write '1' to disable interrupt for event PREGION0RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW PREGION1WA Write '1' to disable interrupt for event PREGION1WA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW PREGION1RA Write '1' to disable interrupt for event PREGION1RA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.13.1.13 PERREGION[0].SUBSTATWA
Address offset: 0x400
Source of event/interrupt in region 0, write access detected while corresponding subregion was enabled
for watching
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Subregion 0 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
B RW SR1 Subregion 1 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
C RW SR2 Subregion 2 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
D RW SR3 Subregion 3 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
E RW SR4 Subregion 4 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Access 1 Write access(es) occurred in this subregion
F RW SR5 Subregion 5 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
G RW SR6 Subregion 6 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
H RW SR7 Subregion 7 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
I RW SR8 Subregion 8 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
J RW SR9 Subregion 9 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
K RW SR10 Subregion 10 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
L RW SR11 Subregion 11 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
M RW SR12 Subregion 12 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
N RW SR13 Subregion 13 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
O RW SR14 Subregion 14 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
P RW SR15 Subregion 15 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Q RW SR16 Subregion 16 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
R RW SR17 Subregion 17 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
S RW SR18 Subregion 18 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
T RW SR19 Subregion 19 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
U RW SR20 Subregion 20 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
V RW SR21 Subregion 21 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
W RW SR22 Subregion 22 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
X RW SR23 Subregion 23 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Y RW SR24 Subregion 24 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Z RW SR25 Subregion 25 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
a RW SR26 Subregion 26 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
b RW SR27 Subregion 27 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
c RW SR28 Subregion 28 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
d RW SR29 Subregion 29 in region 0 (write '1' to clear)
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
e RW SR30 Subregion 30 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
f RW SR31 Subregion 31 in region 0 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
6.13.1.14 PERREGION[0].SUBSTATRA
Address offset: 0x404
Source of event/interrupt in region 0, read access detected while corresponding subregion was enabled
for watching
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Subregion 0 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
B RW SR1 Subregion 1 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
C RW SR2 Subregion 2 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
D RW SR3 Subregion 3 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
E RW SR4 Subregion 4 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
F RW SR5 Subregion 5 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
G RW SR6 Subregion 6 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
H RW SR7 Subregion 7 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
I RW SR8 Subregion 8 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
J RW SR9 Subregion 9 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
K RW SR10 Subregion 10 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
L RW SR11 Subregion 11 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
M RW SR12 Subregion 12 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
N RW SR13 Subregion 13 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
O RW SR14 Subregion 14 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
P RW SR15 Subregion 15 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Q RW SR16 Subregion 16 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
R RW SR17 Subregion 17 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
S RW SR18 Subregion 18 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
T RW SR19 Subregion 19 in region 0 (write '1' to clear)
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
U RW SR20 Subregion 20 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
V RW SR21 Subregion 21 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
W RW SR22 Subregion 22 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
X RW SR23 Subregion 23 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Y RW SR24 Subregion 24 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Z RW SR25 Subregion 25 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
a RW SR26 Subregion 26 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
b RW SR27 Subregion 27 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
c RW SR28 Subregion 28 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
d RW SR29 Subregion 29 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
e RW SR30 Subregion 30 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
f RW SR31 Subregion 31 in region 0 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
6.13.1.15 PERREGION[1].SUBSTATWA
Address offset: 0x408
Source of event/interrupt in region 1, write access detected while corresponding subregion was enabled
for watching
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Subregion 0 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
B RW SR1 Subregion 1 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
C RW SR2 Subregion 2 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
D RW SR3 Subregion 3 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
E RW SR4 Subregion 4 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
F RW SR5 Subregion 5 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
G RW SR6 Subregion 6 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
H RW SR7 Subregion 7 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
I RW SR8 Subregion 8 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
J RW SR9 Subregion 9 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
K RW SR10 Subregion 10 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Access 1 Write access(es) occurred in this subregion
L RW SR11 Subregion 11 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
M RW SR12 Subregion 12 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
N RW SR13 Subregion 13 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
O RW SR14 Subregion 14 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
P RW SR15 Subregion 15 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Q RW SR16 Subregion 16 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
R RW SR17 Subregion 17 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
S RW SR18 Subregion 18 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
T RW SR19 Subregion 19 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
U RW SR20 Subregion 20 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
V RW SR21 Subregion 21 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
W RW SR22 Subregion 22 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
X RW SR23 Subregion 23 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Y RW SR24 Subregion 24 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
Z RW SR25 Subregion 25 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
a RW SR26 Subregion 26 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
b RW SR27 Subregion 27 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
c RW SR28 Subregion 28 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
d RW SR29 Subregion 29 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
e RW SR30 Subregion 30 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
f RW SR31 Subregion 31 in region 1 (write '1' to clear)
W1C
NoAccess 0 No write access occurred in this subregion
Access 1 Write access(es) occurred in this subregion
6.13.1.16 PERREGION[1].SUBSTATRA
Address offset: 0x40C
Source of event/interrupt in region 1, read access detected while corresponding subregion was enabled
for watching
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Subregion 0 in region 1 (write '1' to clear)
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
B RW SR1 Subregion 1 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
C RW SR2 Subregion 2 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
D RW SR3 Subregion 3 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
E RW SR4 Subregion 4 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
F RW SR5 Subregion 5 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
G RW SR6 Subregion 6 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
H RW SR7 Subregion 7 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
I RW SR8 Subregion 8 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
J RW SR9 Subregion 9 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
K RW SR10 Subregion 10 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
L RW SR11 Subregion 11 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
M RW SR12 Subregion 12 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
N RW SR13 Subregion 13 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
O RW SR14 Subregion 14 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
P RW SR15 Subregion 15 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Q RW SR16 Subregion 16 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
R RW SR17 Subregion 17 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
S RW SR18 Subregion 18 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
T RW SR19 Subregion 19 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
U RW SR20 Subregion 20 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
V RW SR21 Subregion 21 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
W RW SR22 Subregion 22 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
X RW SR23 Subregion 23 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Y RW SR24 Subregion 24 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
Z RW SR25 Subregion 25 in region 1 (write '1' to clear)
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
a RW SR26 Subregion 26 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
b RW SR27 Subregion 27 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
c RW SR28 Subregion 28 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
d RW SR29 Subregion 29 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
e RW SR30 Subregion 30 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
f RW SR31 Subregion 31 in region 1 (write '1' to clear)
W1C
NoAccess 0 No read access occurred in this subregion
Access 1 Read access(es) occurred in this subregion
6.13.1.17 REGIONEN
Address offset: 0x510
Enable/disable regions watch
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RGN0WA Enable/disable write access watch in region[0]
Disable 0 Disable write access watch in this region
Enable 1 Enable write access watch in this region
B RW RGN0RA Enable/disable read access watch in region[0]
Disable 0 Disable read access watch in this region
Enable 1 Enable read access watch in this region
C RW RGN1WA Enable/disable write access watch in region[1]
Disable 0 Disable write access watch in this region
Enable 1 Enable write access watch in this region
D RW RGN1RA Enable/disable read access watch in region[1]
Disable 0 Disable read access watch in this region
Enable 1 Enable read access watch in this region
E RW RGN2WA Enable/disable write access watch in region[2]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disable 0 Disable write access watch in this region
Enable 1 Enable write access watch in this region
F RW RGN2RA Enable/disable read access watch in region[2]
Disable 0 Disable read access watch in this region
Enable 1 Enable read access watch in this region
G RW RGN3WA Enable/disable write access watch in region[3]
Disable 0 Disable write access watch in this region
Enable 1 Enable write access watch in this region
H RW RGN3RA Enable/disable read access watch in region[3]
Disable 0 Disable read access watch in this region
Enable 1 Enable read access watch in this region
I RW PRGN0WA Enable/disable write access watch in PREGION[0]
Disable 0 Disable write access watch in this PREGION
Enable 1 Enable write access watch in this PREGION
J RW PRGN0RA Enable/disable read access watch in PREGION[0]
Disable 0 Disable read access watch in this PREGION
Enable 1 Enable read access watch in this PREGION
K RW PRGN1WA Enable/disable write access watch in PREGION[1]
Disable 0 Disable write access watch in this PREGION
Enable 1 Enable write access watch in this PREGION
L RW PRGN1RA Enable/disable read access watch in PREGION[1]
Disable 0 Disable read access watch in this PREGION
Enable 1 Enable read access watch in this PREGION
6.13.1.18 REGIONENSET
Address offset: 0x514
Enable regions watch
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RGN0WA Enable write access watch in region[0]
Set 1 Enable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
B RW RGN0RA Enable read access watch in region[0]
Set 1 Enable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
C RW RGN1WA Enable write access watch in region[1]
Set 1 Enable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
D RW RGN1RA Enable read access watch in region[1]
Set 1 Enable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
E RW RGN2WA Enable write access watch in region[2]
Set 1 Enable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
F RW RGN2RA Enable read access watch in region[2]
Set 1 Enable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
G RW RGN3WA Enable write access watch in region[3]
Set 1 Enable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
H RW RGN3RA Enable read access watch in region[3]
Set 1 Enable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
I RW PRGN0WA Enable write access watch in PREGION[0]
Set 1 Enable write access watch in this PREGION
Disabled 0 Write access watch in this PREGION is disabled
Enabled 1 Write access watch in this PREGION is enabled
J RW PRGN0RA Enable read access watch in PREGION[0]
Set 1 Enable read access watch in this PREGION
Disabled 0 Read access watch in this PREGION is disabled
Enabled 1 Read access watch in this PREGION is enabled
K RW PRGN1WA Enable write access watch in PREGION[1]
Set 1 Enable write access watch in this PREGION
Disabled 0 Write access watch in this PREGION is disabled
Enabled 1 Write access watch in this PREGION is enabled
L RW PRGN1RA Enable read access watch in PREGION[1]
Set 1 Enable read access watch in this PREGION
Disabled 0 Read access watch in this PREGION is disabled
Enabled 1 Read access watch in this PREGION is enabled
6.13.1.19 REGIONENCLR
Address offset: 0x518
Disable regions watch
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RGN0WA Disable write access watch in region[0]
Clear 1 Disable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
B RW RGN0RA Disable read access watch in region[0]
Clear 1 Disable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read access watch in this region is enabled
C RW RGN1WA Disable write access watch in region[1]
Clear 1 Disable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
D RW RGN1RA Disable read access watch in region[1]
Clear 1 Disable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
E RW RGN2WA Disable write access watch in region[2]
Clear 1 Disable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
F RW RGN2RA Disable read access watch in region[2]
Clear 1 Disable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
G RW RGN3WA Disable write access watch in region[3]
Clear 1 Disable write access watch in this region
Disabled 0 Write access watch in this region is disabled
Enabled 1 Write access watch in this region is enabled
H RW RGN3RA Disable read access watch in region[3]
Clear 1 Disable read access watch in this region
Disabled 0 Read access watch in this region is disabled
Enabled 1 Read access watch in this region is enabled
I RW PRGN0WA Disable write access watch in PREGION[0]
Clear 1 Disable write access watch in this PREGION
Disabled 0 Write access watch in this PREGION is disabled
Enabled 1 Write access watch in this PREGION is enabled
J RW PRGN0RA Disable read access watch in PREGION[0]
Clear 1 Disable read access watch in this PREGION
Disabled 0 Read access watch in this PREGION is disabled
Enabled 1 Read access watch in this PREGION is enabled
K RW PRGN1WA Disable write access watch in PREGION[1]
Clear 1 Disable write access watch in this PREGION
Disabled 0 Write access watch in this PREGION is disabled
Enabled 1 Write access watch in this PREGION is enabled
L RW PRGN1RA Disable read access watch in PREGION[1]
Clear 1 Disable read access watch in this PREGION
Disabled 0 Read access watch in this PREGION is disabled
Enabled 1 Read access watch in this PREGION is enabled
6.13.1.20 REGION[0].START
Address offset: 0x600
Start address for region 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW START Start address for region
6.13.1.21 REGION[0].END
Address offset: 0x604
End address of region 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END End address of region.
6.13.1.22 REGION[1].START
Address offset: 0x610
Start address for region 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW START Start address for region
6.13.1.23 REGION[1].END
Address offset: 0x614
End address of region 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END End address of region.
6.13.1.24 REGION[2].START
Address offset: 0x620
Start address for region 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW START Start address for region
6.13.1.25 REGION[2].END
Address offset: 0x624
End address of region 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END End address of region.
6.13.1.26 REGION[3].START
Address offset: 0x630
Start address for region 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW START Start address for region
6.13.1.27 REGION[3].END
Address offset: 0x634
End address of region 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END End address of region.
6.13.1.28 PREGION[0].START
Address offset: 0x6C0
Reserved for future use
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R START Reserved for future use
6.13.1.29 PREGION[0].END
Address offset: 0x6C4
Reserved for future use
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R END Reserved for future use
6.13.1.30 PREGION[0].SUBS
Address offset: 0x6C8
Subregions of region 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Include or exclude subregion 0 in region
Exclude 0 Exclude
Include 1 Include
B RW SR1 Include or exclude subregion 1 in region
Exclude 0 Exclude
Include 1 Include
C RW SR2 Include or exclude subregion 2 in region
Exclude 0 Exclude
Include 1 Include
D RW SR3 Include or exclude subregion 3 in region
Exclude 0 Exclude
Include 1 Include
E RW SR4 Include or exclude subregion 4 in region
Exclude 0 Exclude
Include 1 Include
F RW SR5 Include or exclude subregion 5 in region
Exclude 0 Exclude
Include 1 Include
G RW SR6 Include or exclude subregion 6 in region
Exclude 0 Exclude
Include 1 Include
H RW SR7 Include or exclude subregion 7 in region
Exclude 0 Exclude
Include 1 Include
I RW SR8 Include or exclude subregion 8 in region
Exclude 0 Exclude
Include 1 Include
J RW SR9 Include or exclude subregion 9 in region
Exclude 0 Exclude
Include 1 Include
K RW SR10 Include or exclude subregion 10 in region
Exclude 0 Exclude
Include 1 Include
L RW SR11 Include or exclude subregion 11 in region
Exclude 0 Exclude
Include 1 Include
M RW SR12 Include or exclude subregion 12 in region
Exclude 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Include 1 Include
N RW SR13 Include or exclude subregion 13 in region
Exclude 0 Exclude
Include 1 Include
O RW SR14 Include or exclude subregion 14 in region
Exclude 0 Exclude
Include 1 Include
P RW SR15 Include or exclude subregion 15 in region
Exclude 0 Exclude
Include 1 Include
Q RW SR16 Include or exclude subregion 16 in region
Exclude 0 Exclude
Include 1 Include
R RW SR17 Include or exclude subregion 17 in region
Exclude 0 Exclude
Include 1 Include
S RW SR18 Include or exclude subregion 18 in region
Exclude 0 Exclude
Include 1 Include
T RW SR19 Include or exclude subregion 19 in region
Exclude 0 Exclude
Include 1 Include
U RW SR20 Include or exclude subregion 20 in region
Exclude 0 Exclude
Include 1 Include
V RW SR21 Include or exclude subregion 21 in region
Exclude 0 Exclude
Include 1 Include
W RW SR22 Include or exclude subregion 22 in region
Exclude 0 Exclude
Include 1 Include
X RW SR23 Include or exclude subregion 23 in region
Exclude 0 Exclude
Include 1 Include
Y RW SR24 Include or exclude subregion 24 in region
Exclude 0 Exclude
Include 1 Include
Z RW SR25 Include or exclude subregion 25 in region
Exclude 0 Exclude
Include 1 Include
a RW SR26 Include or exclude subregion 26 in region
Exclude 0 Exclude
Include 1 Include
b RW SR27 Include or exclude subregion 27 in region
Exclude 0 Exclude
Include 1 Include
c RW SR28 Include or exclude subregion 28 in region
Exclude 0 Exclude
Include 1 Include
d RW SR29 Include or exclude subregion 29 in region
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Exclude 0 Exclude
Include 1 Include
e RW SR30 Include or exclude subregion 30 in region
Exclude 0 Exclude
Include 1 Include
f RW SR31 Include or exclude subregion 31 in region
Exclude 0 Exclude
Include 1 Include
6.13.1.31 PREGION[1].START
Address offset: 0x6D0
Reserved for future use
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R START Reserved for future use
6.13.1.32 PREGION[1].END
Address offset: 0x6D4
Reserved for future use
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R END Reserved for future use
6.13.1.33 PREGION[1].SUBS
Address offset: 0x6D8
Subregions of region 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SR0 Include or exclude subregion 0 in region
Exclude 0 Exclude
Include 1 Include
B RW SR1 Include or exclude subregion 1 in region
Exclude 0 Exclude
Include 1 Include
C RW SR2 Include or exclude subregion 2 in region
Exclude 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Include 1 Include
D RW SR3 Include or exclude subregion 3 in region
Exclude 0 Exclude
Include 1 Include
E RW SR4 Include or exclude subregion 4 in region
Exclude 0 Exclude
Include 1 Include
F RW SR5 Include or exclude subregion 5 in region
Exclude 0 Exclude
Include 1 Include
G RW SR6 Include or exclude subregion 6 in region
Exclude 0 Exclude
Include 1 Include
H RW SR7 Include or exclude subregion 7 in region
Exclude 0 Exclude
Include 1 Include
I RW SR8 Include or exclude subregion 8 in region
Exclude 0 Exclude
Include 1 Include
J RW SR9 Include or exclude subregion 9 in region
Exclude 0 Exclude
Include 1 Include
K RW SR10 Include or exclude subregion 10 in region
Exclude 0 Exclude
Include 1 Include
L RW SR11 Include or exclude subregion 11 in region
Exclude 0 Exclude
Include 1 Include
M RW SR12 Include or exclude subregion 12 in region
Exclude 0 Exclude
Include 1 Include
N RW SR13 Include or exclude subregion 13 in region
Exclude 0 Exclude
Include 1 Include
O RW SR14 Include or exclude subregion 14 in region
Exclude 0 Exclude
Include 1 Include
P RW SR15 Include or exclude subregion 15 in region
Exclude 0 Exclude
Include 1 Include
Q RW SR16 Include or exclude subregion 16 in region
Exclude 0 Exclude
Include 1 Include
R RW SR17 Include or exclude subregion 17 in region
Exclude 0 Exclude
Include 1 Include
S RW SR18 Include or exclude subregion 18 in region
Exclude 0 Exclude
Include 1 Include
T RW SR19 Include or exclude subregion 19 in region
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Exclude 0 Exclude
Include 1 Include
U RW SR20 Include or exclude subregion 20 in region
Exclude 0 Exclude
Include 1 Include
V RW SR21 Include or exclude subregion 21 in region
Exclude 0 Exclude
Include 1 Include
W RW SR22 Include or exclude subregion 22 in region
Exclude 0 Exclude
Include 1 Include
X RW SR23 Include or exclude subregion 23 in region
Exclude 0 Exclude
Include 1 Include
Y RW SR24 Include or exclude subregion 24 in region
Exclude 0 Exclude
Include 1 Include
Z RW SR25 Include or exclude subregion 25 in region
Exclude 0 Exclude
Include 1 Include
a RW SR26 Include or exclude subregion 26 in region
Exclude 0 Exclude
Include 1 Include
b RW SR27 Include or exclude subregion 27 in region
Exclude 0 Exclude
Include 1 Include
c RW SR28 Include or exclude subregion 28 in region
Exclude 0 Exclude
Include 1 Include
d RW SR29 Include or exclude subregion 29 in region
Exclude 0 Exclude
Include 1 Include
e RW SR30 Include or exclude subregion 30 in region
Exclude 0 Exclude
Include 1 Include
f RW SR31 Include or exclude subregion 31 in region
Exclude 0 Exclude
Include 1 Include
ACTIVATE
DISABLE
SENSE
STARTTX
ENABLERXDATA
GOIDLE
GOSLEEP
NFCT
Frame
Modulator/ NFC1
EasyDMA assemble/
receiver NFC2
disassemble
EVENTS_
READY
FIELDDETECTED
FIELDLOST
TXFRAMESTART
TXFRAMEEND
RXFRAMESTART
RXFRAMEEND
ERROR
RXERROR
ENDRX
ENDTX
AUTOCOLRESSTARTED
COLLISION
SELECTED
STARTED
6.14.1 Overview
The NFCT peripheral contains a 13.56 MHz AM receiver and a 13.56 MHz load modulator with 106 kbps
data rate as defined by the NFC Forum.
NFCT
PACKETPTR TXD.FRAMECONFIG
MAXLEN
STARTTX
Collision ENABLERXDATA Frame timing
EasyDMA Clock recovery
resolution FRAMEDELAYxxx controller
NFC1
NFC2
Frame disassemble On-the-air 13.56 MHz NFC-A
SoF/EoF/parity/CRC symbol decoder receiver
NFCID1_xxx
SENSRES FRAMESTATUS.RX
SELRES Field detector
RXD.FRAMECONFIG
When transmitting, the frame data will be transferred directly from RAM and transmitted with
configurable frame type and delay timing. The system will be notified by an event whenever a complete
frame is received or sent. The received frames will be automatically disassembled and the data part of the
frame transferred to RAM.
The NFCT peripheral also supports the collision detection and resolution ("anticollision") as defined by the
NFC Forum.
Wake-on-field is supported in SENSE mode while the device is either in System OFF or System ON mode.
When the antenna enters an NFC field, an event will be triggered notifying the system to activate the NFCT
functionality for incoming frames. In System ON, if the energy detected at the antenna increases beyond
a threshold value, the module will generate a FIELDDETECTED event. When the strength of the field no
longer supports NFC communication, the module will generate a FIELDLOST event. For the Low Power
Field Detect threshold values, refer to NFCT Electrical Specification on page 398.
In System OFF, the NFCT Low Power Field Detect function can wake the system up through a reset. See
RESETREAS on page 94 for more information on how to detect a wakeup from NFCT.
If the system is put into System OFF mode while a field is already present, the NFCT Low Power Field
Detect function will wake the system up right away and generate a reset.
Important: As a consequence of a reset, NFCT is disabled, and therefore the reset handler will have
to activate NFCT again and set it up properly.
The HFXO must be running before the NFCT peripheral goes into ACTIVATED state. Note that the NFCT
peripheral calibration is automatically done on ACTIVATE task. The HFXO can be turned off when the NFCT
peripheral goes into SENSE mode. The shortcut FIELDDETECTED_ACTIVATE can be used when the HFXO is
already running while in SENSE mode.
Outgoing data will be collected from RAM with the EasyDMA function and assembled according to
theTXD.FRAMECONFIG on page 395 register. Incoming data will be disassembled according to the
RXD.FRAMECONFIG register and the data section in the frame will be written to RAM via the EasyDMA
function.
The NFCT peripheral includes a frame timing controller that can be used to accurately control the inter-
frame delay between the incoming frame and a corresponding outgoing frame. It also includes optional
CRC functionality.
DISABLE
NFC (ALL_REQ)
DISABLE / AUTOCOLRESSTARTED
/ READY / SELECTED
ACTIVATE IDLERU IDLE READY_A
NFC (SENS_REQ)
/ AUTOCOLRESSTARTED
NFC (OTHER)
/ COLLISION
GOSLEEP / SELECTED
SLEEP_A READY_A*
DISABLE SENSE NFC (ALL_REQ)
NFC (SLP_REQ)
/ AUTOCOLRESSTARTED
ACTIVE_A
ENABLERXDATA STARTTX
SENSE
SENSE_FIELD
STARTTX / TXFRAMEEND
RECEIVE TRANSMIT
Activated
DISABLE
DISABLE
ACTIVATE IDLERU
/ READY
DISABLE SENSE
ACTIVE_A
ENABLERXDATA STARTTX
SENSE
SENSE_FIELD
STARTTX /TXFRAMEEND
RECEIVE TRANSMIT
ACTIVATE / RXERROR
/RXFRAMEEND
Important:
• FIELDLOST event is not generated in SENSE mode.
• Sending SENSE task while field is still present does not generate FIELDDETECTED event.
• If the FIELDDETECTED event is cleared before sending the ACTIVATE task, then the
FIELDDETECTED event shows up again after sending the ACTIVATE task. The shortcut
FIELDDETECTED_ACTIVATE can be used to avoid this condition.
6.14.4 EasyDMA
The NFCT peripheral implements EasyDMA for reading and writing of data packets from and to the Data
RAM.
The NFCT EasyDMA utilizes a pointer called PACKETPTR on page 394 for receiving and transmitting
packets.
The NFCT peripheral uses EasyDMA to read or write RAM, but not both at the same time. The event
RXFRAMESTART indicates that the EasyDMA has started writing to the RAM for a receive frame and the
event RXFRAMEND indicates that the EasyDMA has completed writing to the RAM. Similarly, the event
TXFRAMESTART indicates that the EasyDMA has started reading from the RAM for a transmit frame and
the event TXFRAMEND indicates that the EasyDMA has completed reading from the RAM. If a transmit
and a receive operation is issued at the same time, the transmit operation would be prioritized.
Starting a transmit operation while the EasyDMA is writing a receive frame to the RAM will result in
unpredictable behavior. Starting an EasyDMA operation when there is an ongoing EasyDMA operation may
result in unpredictable behavior. It is recommended to wait for the TXFRAMEEND or RXFRAMEEND event
for the ongoing transmit or receive before starting a new receive or transmit operation.
The MAXLEN on page 394 register determines the maximum number of bytes that can be read from
or written to the RAM. This feature can be used to ensure that the NFCT peripheral does not overwrite,
or read beyond, the RAM assigned to a packet. Note that if the RXD.AMOUNT or TXD.AMOUNT register
indicates longer data packets than set in MAXLEN, the frames sent to or received from the physical layer
will be incomplete. In that situation, in RX, the OVERRUN bit in the FRAMESTATUS.RX register will be set
and an RXERROR event will be triggered.
Important: The RXD.AMOUNT and TXD.AMOUNT define a frame length in bytes and bits excluding
start of frame (SoF), end of frame (EoF), and parity, but including CRC for RXD.AMOUNT only. Make
sure to take potential additional bits into account when setting MAXLEN.
Only sending task ENABLERXDATA ensures that a new value in PACKETPTR pointing to the RX buffer in Data
RAM is taken into account.
If PACKETPTR is not pointing to the Data RAM region, an EasyDMA transfer may result in a hard fault or
RAM corruption. For more information about the different memory regions, see Chapter Memory on page
21.
The NFCT peripherals normally do alternative receive and transmit frames. Therefore, to prepare for the
next frame, the PACKETPTR, MAXLEN, TXD.FRAMECONFIG and TXD.AMOUNT can be updated while the
receive is in progress, and, similarly, the PACKETPTR, MAXLEN and RXD.FRAMECONFIG can be updated
while the transmit is in progress. They can be updated and prepared for the next NFC frame immediately
after the STARTED event of the current frame has been received. Updating the TXD.FRAMECONFIG and
TXD.AMOUNT during the current transmit frame or updating RXD.FRAMECONFIG during current receive
frame may cause unpredictable behaviour.
In accordance with NFC Forum, NFC Digital Protocol Technical Specification, the least significant bit (LSB)
from the least significant byte (LSByte) is sent on air first. The bytes are stored in increasing order, starting
at the lowest address in the EasyDMA buffer in RAM.
Important: Some NFC Forum documents, such as NFC Forum, NFC Digital Protocol Technical
Specification, define bit numbering in a byte from b1 (LSB) to b8 (most significant bit (MSB)),
while most other technical documents from the NFC Forum, and also the Nordic Semiconductor
documentation, traditionally number them from b0 to b7. The present document uses the b0–
b7 numbering scheme. Be aware of this when comparing the NFC Forum, NFC Digital Protocol
Technical Specification to others.
The frame assembler can be configured in TXD.FRAMECONFIG to add SoF symbol, calculate and add parity
bits, and calculate and add CRC to the data read from RAM when assembling the frame. The total frame
will then be longer than what is defined by TXD.AMOUNT.TXDATABYTES. TXDATABITS. DISCARDMODE will
select if the first bits in the first byte read from RAM or the last bits in the last byte read from RAM will
be discarded if TXD.AMOUNT.TXDATABITS are not equal to zero. Note that if TXD.FRAMECONFIG.PARITY
= Parity and TXD.FRAMECONFIG.DISCARDMODE=DiscardStart, a parity bit will be included after the non-
complete first byte. No parity will be added after a non-complete last byte.
The frame assemble operation is illustrated in Frame assemble illustration on page 376 for different
settings in TXD.FRAMECONFIG. All shaded bit fields are added by the frame assembler. Some of these bits
are optional and appearances are configured in TXD.FRAMECONFIG. Note that the frames illustrated do
not necessarily comply with the NFC specification. The figure is only to illustrate the behavior of the NFCT
peripheral.
Data from RAM
Byte 1: PACKETPTR + 0 Byte 2: PACKETPTR + 1 Byte (TXDATABYTES) Byte (TXDATABYTES + 1)
b0 .. b7 b0 .. b7 b0 .. b7 b0 .. b7
(only if TXDATABITS > 0)
Frame on air
PARITY = Parity
TXDATABITS = 0
CRCMODETX = CRC16TX
PARITY = Parity
TXDATABITS = 4
CRCMODETX = NoCRCTX
DISCARDMODE = DiscardStart
PARITY = Parity
TXDATABITS = 0
CRCMODETX = NoCRCTX
The accurate timing for transmitting the frame on air is set using the frame timing controller settings.
end of frame (EoF) symbols on the fly based on RXD.FRAMECONFIG register configuration. It will, however,
verify and transfer the CRC bytes into RAM, if the CRC is enabled through RXD.FRAMECONFIG.
When an EoF symbol is detected, the NFCT peripheral will assert the RXFRAMEEND event and write the
RXD.AMOUNT register to indicate numbers of received bytes and bits in the data packet. The module does
not interpret the content of the data received from the remote NFC device, except for SoF, EoF, parity, and
CRC checking, as described above. The frame disassemble operation is illustrated below.
Frame on air
PARITY = Parity
RXDATABITS = 0
CRCMODERX = CRC16RX
PARITY = Parity
CRCMODERX = NoCRCTR
RXDATABITS = 4
PARITY = NoParity
CRCMODERX = NoCRCRX
RXDATABITS = 0
Data to RAM
Byte 1: PACKETPTR + 0 Byte 2: PACKETPTR + 1 Byte (RXDATABYTES) Byte (RXDATABYTES + 1)
b0 .. b7 b0 .. b7 b0 .. b7 b0 .. b7
(only if RXDATABITS > 0)
Per NFC specification, the time between EoF to the next SoF can be as short as 86 μs, and thefore care
must be taken that PACKETPTR and MAXLEN are ready and ENABLERXDATA is issued on time after the end
of previous frame. The use of a PPI shortcut from TXFRAMEEND to ENABLERXDATA is recommended.
Receive Transmit
Last data bit EoF
SoF
Subcarrier modulation
SoF
Subcarrier modulation
Subcarrier modulation
ERROR event
NFCID1_Q nfcid10
NFCID1_R nfcid11
NFCID1_S nfcid12
NFCID1_T nfcid10 nfcid13
NFCID1_U nfcid11 nfcid14
NFCID1_V nfcid12 nfcid15
NFCID1_W nfcid10 nfcid13 nfcid16
NFCID1_X nfcid11 nfcid14 nfcid17
NFCID1_Y nfcid12 nfcid15 nfcid18
NFCID1_Z nfcid13 nfcid16 nfcid19
The hardware implementation can handle the states from IDLE to ACTIVE_A automatically as defined
in the NFC Forum, NFC Activity Technical Specification, and the other states are to be handled by
software. The software keeps track of the state through events. The collision resolution will trigger
an AUTOCOLRESSTARTED event when it has started. Reaching the ACTIVE_A state is indicated by the
SELECTED event.
If collision resolution fails, a COLLISION event is triggered. Note that errors occurring during automatic
collision resolution may also cause ERROR and/or RXERROR events to be generated. Other events may also
get generated. It is recommended that the software ignores any event except COLLISION, SELECTED and
FIELDLOST during automatic collision resolution. Software shall also make sure that any unwanted SHORT
or PPI shortcut is disabled during automatic collision resolution.
The automatic collision resolution will be restarted, if the packets are received with CRC or parity errors
while in ACTIVE_A state. The automatic collision resolution feature can be disabled while in ACTIVE_A
state to avoid this.
The SLP_REQ is automatically handled by the NFCT peripheral when the automatic collision resolution is
enabled. However, this results in an ERROR event (with FRAMEDELAYTIMEOUT cause in ERRORSTATUS)
since the SLP_REQ has no response. This error must be ignored until the SELECTED event is triggered and
this error should be cleared by the software when the SELECTED event is triggered.
NFC1
NFC2
An antenna inductance of Lant = 2 μH will give tuning capacitors in the range of 130 pF on each pin. The
total capacitance on NFC1 and NFC2 must be matched.
6.14.12 References
NFC Forum, NFC Analog Specification version 1.0, www.nfc-forum.org
NFC Forum, NFC Digital Protocol Technical Specification version 1.1, www.nfc-forum.org
NFC Forum, NFC Activity Technical Specification version 1.1, www.nfc-forum.org
6.14.13 Registers
Instances
Register overview
6.14.13.1 TASKS_ACTIVATE
Address offset: 0x000
Activate NFCT peripheral for incoming and outgoing frames, change state to activated
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_ACTIVATE Activate NFCT peripheral for incoming and outgoing frames, change state to
activated
Trigger 1 Trigger task
6.14.13.2 TASKS_DISABLE
Address offset: 0x004
Disable NFCT peripheral
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_DISABLE Disable NFCT peripheral
Trigger 1 Trigger task
6.14.13.3 TASKS_SENSE
Address offset: 0x008
Enable NFC sense field mode, change state to sense mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SENSE Enable NFC sense field mode, change state to sense mode
Trigger 1 Trigger task
6.14.13.4 TASKS_STARTTX
Address offset: 0x00C
Start transmission of an outgoing frame, change state to transmit
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTTX Start transmission of an outgoing frame, change state to transmit
Trigger 1 Trigger task
6.14.13.5 TASKS_ENABLERXDATA
Address offset: 0x01C
Initializes the EasyDMA for receive.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_ENABLERXDATA Initializes the EasyDMA for receive.
Trigger 1 Trigger task
6.14.13.6 TASKS_GOIDLE
Address offset: 0x024
Force state machine to IDLE state
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_GOIDLE Force state machine to IDLE state
Trigger 1 Trigger task
6.14.13.7 TASKS_GOSLEEP
Address offset: 0x028
Force state machine to SLEEP_A state
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_GOSLEEP Force state machine to SLEEP_A state
Trigger 1 Trigger task
6.14.13.8 EVENTS_READY
Address offset: 0x100
The NFCT peripheral is ready to receive and send frames
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY The NFCT peripheral is ready to receive and send frames
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.9 EVENTS_FIELDDETECTED
Address offset: 0x104
Remote NFC field detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_FIELDDETECTED Remote NFC field detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.10 EVENTS_FIELDLOST
Address offset: 0x108
Remote NFC field lost
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_FIELDLOST Remote NFC field lost
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.11 EVENTS_TXFRAMESTART
Address offset: 0x10C
Marks the start of the first symbol of a transmitted frame
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXFRAMESTART Marks the start of the first symbol of a transmitted frame
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.12 EVENTS_TXFRAMEEND
Address offset: 0x110
Marks the end of the last transmitted on-air symbol of a frame
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXFRAMEEND Marks the end of the last transmitted on-air symbol of a frame
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.13 EVENTS_RXFRAMESTART
Address offset: 0x114
Marks the end of the first symbol of a received frame
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXFRAMESTART Marks the end of the first symbol of a received frame
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.14 EVENTS_RXFRAMEEND
Address offset: 0x118
Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing
the RX buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXFRAMEEND Received data has been checked (CRC, parity) and transferred to RAM, and
EasyDMA has ended accessing the RX buffer
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.15 EVENTS_ERROR
Address offset: 0x11C
NFC error reported. The ERRORSTATUS register contains details on the source of the error.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR NFC error reported. The ERRORSTATUS register contains details on the
source of the error.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.16 EVENTS_RXERROR
Address offset: 0x128
NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXERROR NFC RX frame error reported. The FRAMESTATUS.RX register contains details
on the source of the error.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.17 EVENTS_ENDRX
Address offset: 0x12C
RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDRX RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.18 EVENTS_ENDTX
Address offset: 0x130
Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDTX Transmission of data in RAM has ended, and EasyDMA has ended accessing
the TX buffer
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.19 EVENTS_AUTOCOLRESSTARTED
Address offset: 0x138
Auto collision resolution process has started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_AUTOCOLRESSTARTED Auto collision resolution process has started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.20 EVENTS_COLLISION
Address offset: 0x148
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COLLISION NFC auto collision resolution error reported.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.21 EVENTS_SELECTED
Address offset: 0x14C
NFC auto collision resolution successfully completed
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SELECTED NFC auto collision resolution successfully completed
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.22 EVENTS_STARTED
Address offset: 0x150
EasyDMA is ready to receive or send frames.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STARTED EasyDMA is ready to receive or send frames.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.14.13.23 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FIELDDETECTED_ACTIVATE Shortcut between event FIELDDETECTED and task ACTIVATE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW FIELDLOST_SENSE Shortcut between event FIELDLOST and task SENSE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
F RW TXFRAMEEND_ENABLERXDATA Shortcut between event TXFRAMEEND and task ENABLERXDATA
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.14.13.24 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Enable or disable interrupt for event READY
Disabled 0 Disable
Enabled 1 Enable
B RW FIELDDETECTED Enable or disable interrupt for event FIELDDETECTED
Disabled 0 Disable
Enabled 1 Enable
C RW FIELDLOST Enable or disable interrupt for event FIELDLOST
Disabled 0 Disable
Enabled 1 Enable
D RW TXFRAMESTART Enable or disable interrupt for event TXFRAMESTART
Disabled 0 Disable
Enabled 1 Enable
E RW TXFRAMEEND Enable or disable interrupt for event TXFRAMEEND
Disabled 0 Disable
Enabled 1 Enable
F RW RXFRAMESTART Enable or disable interrupt for event RXFRAMESTART
Disabled 0 Disable
Enabled 1 Enable
G RW RXFRAMEEND Enable or disable interrupt for event RXFRAMEEND
Disabled 0 Disable
Enabled 1 Enable
H RW ERROR Enable or disable interrupt for event ERROR
Disabled 0 Disable
Enabled 1 Enable
K RW RXERROR Enable or disable interrupt for event RXERROR
Disabled 0 Disable
Enabled 1 Enable
L RW ENDRX Enable or disable interrupt for event ENDRX
Disabled 0 Disable
Enabled 1 Enable
M RW ENDTX Enable or disable interrupt for event ENDTX
Disabled 0 Disable
Enabled 1 Enable
N RW AUTOCOLRESSTARTED Enable or disable interrupt for event AUTOCOLRESSTARTED
Disabled 0 Disable
Enabled 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
R RW COLLISION Enable or disable interrupt for event COLLISION
Disabled 0 Disable
Enabled 1 Enable
S RW SELECTED Enable or disable interrupt for event SELECTED
Disabled 0 Disable
Enabled 1 Enable
T RW STARTED Enable or disable interrupt for event STARTED
Disabled 0 Disable
Enabled 1 Enable
6.14.13.25 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW FIELDDETECTED Write '1' to enable interrupt for event FIELDDETECTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW FIELDLOST Write '1' to enable interrupt for event FIELDLOST
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TXFRAMESTART Write '1' to enable interrupt for event TXFRAMESTART
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TXFRAMEEND Write '1' to enable interrupt for event TXFRAMEEND
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW RXFRAMESTART Write '1' to enable interrupt for event RXFRAMESTART
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW RXFRAMEEND Write '1' to enable interrupt for event RXFRAMEEND
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW RXERROR Write '1' to enable interrupt for event RXERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW ENDRX Write '1' to enable interrupt for event ENDRX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW ENDTX Write '1' to enable interrupt for event ENDTX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW AUTOCOLRESSTARTED Write '1' to enable interrupt for event AUTOCOLRESSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW COLLISION Write '1' to enable interrupt for event COLLISION
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW SELECTED Write '1' to enable interrupt for event SELECTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW STARTED Write '1' to enable interrupt for event STARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.14.13.26 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW FIELDDETECTED Write '1' to disable interrupt for event FIELDDETECTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW FIELDLOST Write '1' to disable interrupt for event FIELDLOST
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TXFRAMESTART Write '1' to disable interrupt for event TXFRAMESTART
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TXFRAMEEND Write '1' to disable interrupt for event TXFRAMEEND
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW RXFRAMESTART Write '1' to disable interrupt for event RXFRAMESTART
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW RXFRAMEEND Write '1' to disable interrupt for event RXFRAMEEND
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW RXERROR Write '1' to disable interrupt for event RXERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW ENDRX Write '1' to disable interrupt for event ENDRX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW ENDTX Write '1' to disable interrupt for event ENDTX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW AUTOCOLRESSTARTED Write '1' to disable interrupt for event AUTOCOLRESSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW COLLISION Write '1' to disable interrupt for event COLLISION
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW SELECTED Write '1' to disable interrupt for event SELECTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW STARTED Write '1' to disable interrupt for event STARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID T S R N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
6.14.13.27 ERRORSTATUS
Address offset: 0x404
NFC Error Status register
Note: Write a bit to '1' to clear it. Writing '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FRAMEDELAYTIMEOUT No STARTTX task triggered before expiration of the time set in
W1C FRAMEDELAYMAX
6.14.13.28 FRAMESTATUS.RX
Address offset: 0x40C
Result of last incoming frame
Note: Write a bit to '1' to clear it. Writing '0' has no effect.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CRCERROR No valid end of frame (EoF) detected
W1C
CRCCorrect 0 Valid CRC detected
CRCError 1 CRC received does not match local check
B RW PARITYSTATUS Parity status of received frame
W1C
ParityOK 0 Frame received with parity OK
ParityError 1 Frame received with parity error
C RW OVERRUN Overrun detected
W1C
NoOverrun 0 No overrun detected
Overrun 1 Overrun error
6.14.13.29 NFCTAGSTATE
Address offset: 0x410
NfcTag state register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R NFCTAGSTATE NfcTag state
Disabled 0 Disabled or sense
RampUp 2 RampUp
Idle 3 Idle
Receive 4 Receive
FrameDelay 5 FrameDelay
Transmit 6 Transmit
6.14.13.30 SLEEPSTATE
Address offset: 0x420
Sleep state during automatic collision resolution
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SLEEPSTATE Reflects the sleep state during automatic collision resolution. Set to IDLE by
a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or
by a GOSLEEP task.
Idle 0 State is IDLE.
SleepA 1 State is SLEEP_A.
6.14.13.31 FIELDPRESENT
Address offset: 0x43C
Indicates the presence or not of a valid field
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R FIELDPRESENT Indicates if a valid field is present. Available only in the activated state.
NoField 0 No valid field detected
FieldPresent 1 Valid field detected
B R LOCKDETECT Indicates if the low level has locked to the field
NotLocked 0 Not locked to field
Locked 1 Locked to field
6.14.13.32 FRAMEDELAYMIN
Address offset: 0x504
Minimum frame delay
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000480 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FRAMEDELAYMIN Minimum frame delay in number of 13.56 MHz clocks
6.14.13.33 FRAMEDELAYMAX
Address offset: 0x508
Maximum frame delay
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A
Reset 0x00001000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FRAMEDELAYMAX Maximum frame delay in number of 13.56 MHz clocks
6.14.13.34 FRAMEDELAYMODE
Address offset: 0x50C
Configuration register for the Frame Delay Timer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW FRAMEDELAYMODE Configuration register for the Frame Delay Timer
FreeRun 0 Transmission is independent of frame timer and will start when the STARTTX
task is triggered. No timeout.
Window 1 Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX
ExactVal 2 Frame is transmitted exactly at FRAMEDELAYMAX
WindowGrid 3 Frame is transmitted on a bit grid between FRAMEDELAYMIN and
FRAMEDELAYMAX
6.14.13.35 PACKETPTR
Address offset: 0x510
Packet pointer for TXD and RXD data storage in Data RAM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Packet pointer for TXD and RXD data storage in Data RAM. This address is a
byte-aligned RAM address.
Note: See the memory chapter for details about which memories
are available for EasyDMA.
6.14.13.36 MAXLEN
Address offset: 0x514
Size of the RAM buffer allocated to TXD and RXD data storage each
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXLEN [0..257] Size of the RAM buffer allocated to TXD and RXD data storage each
6.14.13.37 TXD.FRAMECONFIG
Address offset: 0x518
Configuration of outgoing frames
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000017 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1
ID R/W Field Value ID Value Description
A RW PARITY Indicates if parity is added to the frame
NoParity 0 Parity is not added to TX frames
Parity 1 Parity is added to TX frames
B RW DISCARDMODE Discarding unused bits at start or end of a frame
DiscardEnd 0 Unused bits are discarded at end of frame (EoF)
DiscardStart 1 Unused bits are discarded at start of frame (SoF)
C RW SOF Adding SoF or not in TX frames
NoSoF 0 SoF symbol not added
SoF 1 SoF symbol added
D RW CRCMODETX CRC mode for outgoing frames
NoCRCTX 0 CRC is not added to the frame
CRC16TX 1 16 bit CRC added to the frame based on all the data read from RAM that is
used in the frame
6.14.13.38 TXD.AMOUNT
Address offset: 0x51C
Size of outgoing frame
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TXDATABITS [0..7] Number of bits in the last or first byte read from RAM that shall be included
in the frame (excluding parity bit).
6.14.13.39 RXD.FRAMECONFIG
Address offset: 0x520
Configuration of incoming frames
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000015 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1
ID R/W Field Value ID Value Description
A RW PARITY Indicates if parity expected in RX frame
NoParity 0 Parity is not expected in RX frames
Parity 1 Parity is expected in RX frames
B RW SOF SoF expected or not in RX frames
NoSoF 0 SoF symbol is not expected in RX frames
SoF 1 SoF symbol is expected in RX frames
C RW CRCMODERX CRC mode for incoming frames
NoCRCRX 0 CRC is not expected in RX frames
CRC16RX 1 Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated
6.14.13.40 RXD.AMOUNT
Address offset: 0x524
Size of last incoming frame
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXDATABITS Number of bits in the last byte in the frame, if less than 8 (including CRC,
but excluding parity and SoF/EoF framing).
Frames with 0 data bytes and less than 7 data bits are invalid and are not
received properly.
B R RXDATABYTES Number of complete bytes received in the frame (including CRC, but
excluding parity and SoF/EoF framing)
6.14.13.41 NFCID1_LAST
Address offset: 0x590
Last NFCID1 part (4, 7 or 10 bytes ID)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00006363 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0 1 1 0 0 0 1 1
ID R/W Field Value ID Value Description
A RW NFCID1_Z NFCID1 byte Z (very last byte sent)
B RW NFCID1_Y NFCID1 byte Y
C RW NFCID1_X NFCID1 byte X
D RW NFCID1_W NFCID1 byte W
6.14.13.42 NFCID1_2ND_LAST
Address offset: 0x594
Second last NFCID1 part (7 or 10 bytes ID)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW NFCID1_V NFCID1 byte V
B RW NFCID1_U NFCID1 byte U
C RW NFCID1_T NFCID1 byte T
6.14.13.43 NFCID1_3RD_LAST
Address offset: 0x598
Third last NFCID1 part (10 bytes ID)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW NFCID1_S NFCID1 byte S
B RW NFCID1_R NFCID1 byte R
C RW NFCID1_Q NFCID1 byte Q
6.14.13.44 AUTOCOLRESCONFIG
Address offset: 0x59C
Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is
activated.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW MODE Enables/disables auto collision resolution
Enabled 0 Auto collision resolution enabled
Disabled 1 Auto collision resolution disabled
6.14.13.45 SENSRES
Address offset: 0x5A0
NFC-A SENS_RES auto-response settings
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E E E D D D D C C B A A A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW BITFRAMESDD Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the
NFC Forum, NFC Digital Protocol Technical Specification
SDD00000 0 SDD pattern 00000
SDD00001 1 SDD pattern 00001
SDD00010 2 SDD pattern 00010
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E E E D D D D C C B A A A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
SDD00100 4 SDD pattern 00100
SDD01000 8 SDD pattern 01000
SDD10000 16 SDD pattern 10000
B RW RFU5 Reserved for future use. Shall be 0.
C RW NFCIDSIZE NFCID1 size. This value is used by the auto collision resolution engine.
NFCID1Single 0 NFCID1 size: single (4 bytes)
NFCID1Double 1 NFCID1 size: double (7 bytes)
NFCID1Triple 2 NFCID1 size: triple (10 bytes)
D RW PLATFCONFIG Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES
response in the NFC Forum, NFC Digital Protocol Technical Specification
E RW RFU74 Reserved for future use. Shall be 0.
6.14.13.46 SELRES
Address offset: 0x5A4
NFC-A SEL_RES auto-response settings
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D D C C B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RFU10 Reserved for future use. Shall be 0.
B RW CASCADE Cascade as defined by the b3 of SEL_RES response in the NFC Forum, NFC
Digital Protocol Technical Specification (controlled by hardware, shall be 0)
C RW RFU43 Reserved for future use. Shall be 0.
D RW PROTOCOL Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum,
NFC Digital Protocol Technical Specification
E RW RFU7 Reserved for future use. Shall be 0.
17
Input is high impedance in sense mode
ACTIVATE
DISABLE
TASKS
SENSE
tactivate
tsense tsense
RF-Carrier
READY
FIELDDETECTED
FIELDLOST
FIELDDETECTED
EVENTS
Figure 69: NFCT timing parameters (Shortcuts for FIELDDETECTED and FIELDLOST are disabled)
Bandpass and
PDM to PCM
decimation (left)
EasyDMA
Sampling
RAM
DIN
Bandpass and
PDM to PCM
decimation (right)
18
Does not account for voltage supply and oscillator startup times
Remember to check that the resulting values programmed into GAINL and GAINR fall within MinGain and
MaxGain.
6.15.4 EasyDMA
Samples will be written directly to RAM, and EasyDMA must be configured accordingly.
The address pointer for the EasyDMA channel is set in SAMPLE.PTR register. If the destination address set
in SAMPLE.PTR is not pointing to the Data RAM region, an EasyDMA transfer may result in a HardFault or
RAM corruption. See Memory on page 21 for more information about the different memory regions.
DMA supports Stereo (Left+Right 16-bit samples) and Mono (Left only) data transfer, depending on the
setting in the OPERATION field in the MODE register. The samples are stored little endian.
MODE.OPERATION Bits per sample Result stored per RAM Physical RAM allocated Result boundary indexes Note
word (32-bit words) in RAM
Stereo 32 (2x16) L+R ceil(SAMPLE.MAXCNT/2) R0=[31:16]; L0=[15:0] Default
Mono 16 2xL ceil(SAMPLE.MAXCNT/2) L1=[31:16]; L0=[15:0]
The destination buffer in RAM consists of one block, the size of which is set in SAMPLE.MAXCNT register.
Format is number of 16-bit samples. The physical RAM allocated is always:
CLK CLK
Vdd nRFxxxxx
CLK CLK
CLK CLK
Vdd
CLK
L/R DATA
CLK
DIN
6.15.7 Registers
Instances
Register overview
6.15.7.1 TASKS_START
Address offset: 0x000
Starts continuous PDM transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Starts continuous PDM transfer
Trigger 1 Trigger task
6.15.7.2 TASKS_STOP
Address offset: 0x004
Stops PDM transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stops PDM transfer
Trigger 1 Trigger task
6.15.7.3 EVENTS_STARTED
Address offset: 0x100
PDM transfer has started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STARTED PDM transfer has started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.15.7.4 EVENTS_STOPPED
Address offset: 0x104
PDM transfer has finished
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED PDM transfer has finished
NotGenerated 0 Event not generated
Generated 1 Event generated
6.15.7.5 EVENTS_END
Address offset: 0x108
The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task
has been received) to Data RAM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END The PDM has written the last sample specified by SAMPLE.MAXCNT (or the
last sample after a STOP task has been received) to Data RAM
NotGenerated 0 Event not generated
Generated 1 Event generated
6.15.7.6 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Enable or disable interrupt for event STARTED
Disabled 0 Disable
Enabled 1 Enable
B RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
C RW END Enable or disable interrupt for event END
Disabled 0 Disable
Enabled 1 Enable
6.15.7.7 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Write '1' to enable interrupt for event STARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.15.7.8 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Write '1' to disable interrupt for event STARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
C RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.15.7.9 ENABLE
Address offset: 0x500
PDM module enable register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable PDM module
Disabled 0 Disable
Enabled 1 Enable
6.15.7.10 PDMCLKCTRL
Address offset: 0x504
PDM clock generator control
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x08400000 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FREQ PDM_CLK frequency configuration
1000K 0x08000000 PDM_CLK = 32 MHz / 32 = 1.000 MHz
Default 0x08400000 PDM_CLK = 32 MHz / 31 = 1.032 MHz. Nominal clock for RATIO=Ratio64.
1067K 0x08800000 PDM_CLK = 32 MHz / 30 = 1.067 MHz
1231K 0x09800000 PDM_CLK = 32 MHz / 26 = 1.231 MHz
1280K 0x0A000000 PDM_CLK = 32 MHz / 25 = 1.280 MHz. Nominal clock for RATIO=Ratio80.
1333K 0x0A800000 PDM_CLK = 32 MHz / 24 = 1.333 MHz
6.15.7.11 MODE
Address offset: 0x508
Defines the routing of the connected PDM microphones' signals
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OPERATION Mono or stereo operation
Stereo 0 Sample and store one pair (left + right) of 16-bit samples per RAM word
R=[31:16]; L=[15:0]
Mono 1 Sample and store two successive left samples (16 bits each) per RAM word
L1=[31:16]; L0=[15:0]
B RW EDGE Defines on which PDM_CLK edge left (or mono) is sampled
LeftFalling 0 Left (or mono) is sampled on falling edge of PDM_CLK
LeftRising 1 Left (or mono) is sampled on rising edge of PDM_CLK
6.15.7.12 GAINL
Address offset: 0x518
Left output gain adjustment
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000028 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0
ID R/W Field Value ID Value Description
A RW GAINL Left output gain adjustment, in 0.5 dB steps, around the default module gain
(see electrical parameters)
(...)
(...)
6.15.7.13 GAINR
Address offset: 0x51C
Right output gain adjustment
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000028 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0
ID R/W Field Value ID Value Description
A RW GAINR Right output gain adjustment, in 0.5 dB steps, around the default module
gain (see electrical parameters)
MinGain 0x00 -20 dB gain adjustment (minimum)
DefaultGain 0x28 0 dB gain adjustment
MaxGain 0x50 +20 dB gain adjustment (maximum)
6.15.7.14 RATIO
Address offset: 0x520
Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RATIO Selects the ratio between PDM_CLK and output sample rate
Ratio64 0 Ratio of 64
Ratio80 1 Ratio of 80
6.15.7.15 PSEL.CLK
Address offset: 0x540
Pin number configuration for PDM CLK signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.15.7.16 PSEL.DIN
Address offset: 0x544
Pin number configuration for PDM DIN signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.15.7.17 SAMPLE.PTR
Address offset: 0x560
RAM address pointer to write samples to with EasyDMA
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SAMPLEPTR Address to write PDM samples to over DMA
Note: See the memory chapter for details about which memories
are available for EasyDMA.
6.15.7.18 SAMPLE.MAXCNT
Address offset: 0x564
Number of samples to allocate memory for in EasyDMA mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BUFFSIZE [0..32767] Length of DMA RAM allocation in number of samples
tPDM,CLK
CLK
DIN (L)
tPDM,cv tPDM,s tPDM,h=tPDM,ci
DIN(R)
Event 1
Event 2
Peripheral 2 Event 3
0 0 0
1 1 1
n n n
Task 1
Peripheral 1
Task 1
Task 2
Task 3 Peripheral 2
CH[0].TEP FORK[0].TEP
Figure 75: PPI block diagram
The PPI system has, in addition to the fully programmable peripheral interconnections, a set of channels
where the event end point (EEP) and task end points (TEP) are fixed in hardware. These fixed channels can
be individually enabled, disabled, or added to PPI channel groups (see CHG[n] registers), in the same way
as ordinary PPI channels.
The PPI provides a mechanism to automatically trigger a task in one peripheral as a result of an event
occurring in another peripheral. A task is connected to an event through a PPI channel. The PPI channel
is composed of three end point registers, one EEP, and two TEPs. A peripheral task is connected to a TEP
using the address of the task register associated with the task. Similarly, a peripheral event is connected to
an EEP using the address of the event register associated with the event.
On each PPI channel, the signals are synchronized to the 16 MHz clock to avoid any internal violation
of setup and hold timings. As a consequence, events that are synchronous to the 16 MHz clock will be
delayed by one clock period, while other asynchronous events will be delayed by up to one 16 MHz clock
period.
Note: Shortcuts (as defined in the SHORTS register in each peripheral) are not affected by this 16
MHz synchronization, and are therefore not delayed.
Each TEP implements a fork mechanism that enables a second task to be triggered at the same time as the
task specified in the TEP is triggered. This second task is configured in the task end point register in the
FORK registers groups, e.g. FORK.TEP[0] is associated with PPI channel CH[0].
There are two ways of enabling and disabling PPI channels:
• Enable or disable PPI channels individually using the CHEN, CHENSET, and CHENCLR registers.
• Enable or disable PPI channels in PPI channel groups through the groups’ ENABLE and DISABLE tasks.
Prior to these tasks being triggered, the PPI channel group must be configured to define which PPI
channels belong to which groups.
Note: When a channel belongs to two groups m and n, and the tasks CHG[m].EN and CHG[n].DIS
occur simultaneously (m and n can be equal or different), the CHG[m].EN on that channel has
priority.
PPI tasks (for example, CHG[0].EN) can be triggered through the PPI like any other task, which means they
can be hooked to a PPI channel as a TEP. One event can trigger multiple tasks by using multiple channels
and one task can be triggered by multiple events in the same way.
20 TIMER0->EVENTS_COMPARE[0] RADIO->TASKS_TXEN
21 TIMER0->EVENTS_COMPARE[0] RADIO->TASKS_RXEN
22 TIMER0->EVENTS_COMPARE[1] RADIO->TASKS_DISABLE
23 RADIO->EVENTS_BCMATCH AAR->TASKS_START
24 RADIO->EVENTS_READY CCM->TASKS_KSGEN
25 RADIO->EVENTS_ADDRESS CCM->TASKS_CRYPT
26 RADIO->EVENTS_ADDRESS TIMER0->TASKS_CAPTURE[1]
27 RADIO->EVENTS_END TIMER0->TASKS_CAPTURE[2]
28 RTC0->EVENTS_COMPARE[0] RADIO->TASKS_TXEN
29 RTC0->EVENTS_COMPARE[0] RADIO->TASKS_RXEN
30 RTC0->EVENTS_COMPARE[0] TIMER0->TASKS_CLEAR
31 RTC0->EVENTS_COMPARE[0] TIMER0->TASKS_START
6.16.2 Registers
Instances
Configuration
Instance Configuration
PPI This PPI instance has 20 configurable channels (CH[0..19]) and 12 pre-programmed channels (CH[20..31])
Register overview
6.16.2.1 TASKS_CHG[0]
Channel group tasks
6.16.2.1.1 TASKS_CHG[0].EN
Address offset: 0x000
Enable channel group 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 0
Trigger 1 Trigger task
6.16.2.1.2 TASKS_CHG[0].DIS
Address offset: 0x004
Disable channel group 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 0
Trigger 1 Trigger task
6.16.2.2 TASKS_CHG[1]
Channel group tasks
6.16.2.2.1 TASKS_CHG[1].EN
Address offset: 0x008
Enable channel group 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 1
Trigger 1 Trigger task
6.16.2.2.2 TASKS_CHG[1].DIS
Address offset: 0x00C
Disable channel group 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 1
Trigger 1 Trigger task
6.16.2.3 TASKS_CHG[2]
Channel group tasks
6.16.2.3.1 TASKS_CHG[2].EN
Address offset: 0x010
Enable channel group 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 2
Trigger 1 Trigger task
6.16.2.3.2 TASKS_CHG[2].DIS
Address offset: 0x014
Disable channel group 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 2
Trigger 1 Trigger task
6.16.2.4 TASKS_CHG[3]
Channel group tasks
6.16.2.4.1 TASKS_CHG[3].EN
Address offset: 0x018
Enable channel group 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 3
Trigger 1 Trigger task
6.16.2.4.2 TASKS_CHG[3].DIS
Address offset: 0x01C
Disable channel group 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 3
Trigger 1 Trigger task
6.16.2.5 TASKS_CHG[4]
Channel group tasks
6.16.2.5.1 TASKS_CHG[4].EN
Address offset: 0x020
Enable channel group 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 4
Trigger 1 Trigger task
6.16.2.5.2 TASKS_CHG[4].DIS
Address offset: 0x024
Disable channel group 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 4
Trigger 1 Trigger task
6.16.2.6 TASKS_CHG[5]
Channel group tasks
6.16.2.6.1 TASKS_CHG[5].EN
Address offset: 0x028
Enable channel group 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EN Enable channel group 5
Trigger 1 Trigger task
6.16.2.6.2 TASKS_CHG[5].DIS
Address offset: 0x02C
Disable channel group 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W DIS Disable channel group 5
Trigger 1 Trigger task
6.16.2.7 CHEN
Address offset: 0x500
Channel enable register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Enable or disable channel 0
Disabled 0 Disable channel
Enabled 1 Enable channel
B RW CH1 Enable or disable channel 1
Disabled 0 Disable channel
Enabled 1 Enable channel
C RW CH2 Enable or disable channel 2
Disabled 0 Disable channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable channel
D RW CH3 Enable or disable channel 3
Disabled 0 Disable channel
Enabled 1 Enable channel
E RW CH4 Enable or disable channel 4
Disabled 0 Disable channel
Enabled 1 Enable channel
F RW CH5 Enable or disable channel 5
Disabled 0 Disable channel
Enabled 1 Enable channel
G RW CH6 Enable or disable channel 6
Disabled 0 Disable channel
Enabled 1 Enable channel
H RW CH7 Enable or disable channel 7
Disabled 0 Disable channel
Enabled 1 Enable channel
I RW CH8 Enable or disable channel 8
Disabled 0 Disable channel
Enabled 1 Enable channel
J RW CH9 Enable or disable channel 9
Disabled 0 Disable channel
Enabled 1 Enable channel
K RW CH10 Enable or disable channel 10
Disabled 0 Disable channel
Enabled 1 Enable channel
L RW CH11 Enable or disable channel 11
Disabled 0 Disable channel
Enabled 1 Enable channel
M RW CH12 Enable or disable channel 12
Disabled 0 Disable channel
Enabled 1 Enable channel
N RW CH13 Enable or disable channel 13
Disabled 0 Disable channel
Enabled 1 Enable channel
O RW CH14 Enable or disable channel 14
Disabled 0 Disable channel
Enabled 1 Enable channel
P RW CH15 Enable or disable channel 15
Disabled 0 Disable channel
Enabled 1 Enable channel
Q RW CH16 Enable or disable channel 16
Disabled 0 Disable channel
Enabled 1 Enable channel
R RW CH17 Enable or disable channel 17
Disabled 0 Disable channel
Enabled 1 Enable channel
S RW CH18 Enable or disable channel 18
Disabled 0 Disable channel
Enabled 1 Enable channel
T RW CH19 Enable or disable channel 19
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Disable channel
Enabled 1 Enable channel
U RW CH20 Enable or disable channel 20
Disabled 0 Disable channel
Enabled 1 Enable channel
V RW CH21 Enable or disable channel 21
Disabled 0 Disable channel
Enabled 1 Enable channel
W RW CH22 Enable or disable channel 22
Disabled 0 Disable channel
Enabled 1 Enable channel
X RW CH23 Enable or disable channel 23
Disabled 0 Disable channel
Enabled 1 Enable channel
Y RW CH24 Enable or disable channel 24
Disabled 0 Disable channel
Enabled 1 Enable channel
Z RW CH25 Enable or disable channel 25
Disabled 0 Disable channel
Enabled 1 Enable channel
a RW CH26 Enable or disable channel 26
Disabled 0 Disable channel
Enabled 1 Enable channel
b RW CH27 Enable or disable channel 27
Disabled 0 Disable channel
Enabled 1 Enable channel
c RW CH28 Enable or disable channel 28
Disabled 0 Disable channel
Enabled 1 Enable channel
d RW CH29 Enable or disable channel 29
Disabled 0 Disable channel
Enabled 1 Enable channel
e RW CH30 Enable or disable channel 30
Disabled 0 Disable channel
Enabled 1 Enable channel
f RW CH31 Enable or disable channel 31
Disabled 0 Disable channel
Enabled 1 Enable channel
6.16.2.8 CHENSET
Address offset: 0x504
Channel enable set register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Channel 0 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
B RW CH1 Channel 1 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
C RW CH2 Channel 2 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
D RW CH3 Channel 3 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
E RW CH4 Channel 4 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
F RW CH5 Channel 5 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
G RW CH6 Channel 6 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
H RW CH7 Channel 7 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
I RW CH8 Channel 8 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
J RW CH9 Channel 9 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
K RW CH10 Channel 10 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
L RW CH11 Channel 11 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
M RW CH12 Channel 12 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
N RW CH13 Channel 13 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
O RW CH14 Channel 14 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
P RW CH15 Channel 15 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Q RW CH16 Channel 16 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
R RW CH17 Channel 17 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
S RW CH18 Channel 18 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
T RW CH19 Channel 19 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
U RW CH20 Channel 20 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
V RW CH21 Channel 21 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
W RW CH22 Channel 22 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
X RW CH23 Channel 23 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Y RW CH24 Channel 24 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Z RW CH25 Channel 25 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
a RW CH26 Channel 26 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
b RW CH27 Channel 27 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
c RW CH28 Channel 28 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
d RW CH29 Channel 29 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
e RW CH30 Channel 30 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
f RW CH31 Channel 31 enable set register. Writing '0' has no effect.
W1S
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Set 1 Write: Enable channel
6.16.2.9 CHENCLR
Address offset: 0x508
Channel enable clear register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Channel 0 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
B RW CH1 Channel 1 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
C RW CH2 Channel 2 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
D RW CH3 Channel 3 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
E RW CH4 Channel 4 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
F RW CH5 Channel 5 enable clear register. Writing '0' has no effect.
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
G RW CH6 Channel 6 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
H RW CH7 Channel 7 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
I RW CH8 Channel 8 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
J RW CH9 Channel 9 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
K RW CH10 Channel 10 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
L RW CH11 Channel 11 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
M RW CH12 Channel 12 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
N RW CH13 Channel 13 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
O RW CH14 Channel 14 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
P RW CH15 Channel 15 enable clear register. Writing '0' has no effect.
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
Q RW CH16 Channel 16 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
R RW CH17 Channel 17 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
S RW CH18 Channel 18 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
T RW CH19 Channel 19 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
U RW CH20 Channel 20 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
V RW CH21 Channel 21 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
W RW CH22 Channel 22 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
X RW CH23 Channel 23 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
Y RW CH24 Channel 24 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
Z RW CH25 Channel 25 enable clear register. Writing '0' has no effect.
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
a RW CH26 Channel 26 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
b RW CH27 Channel 27 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
c RW CH28 Channel 28 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
d RW CH29 Channel 29 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
e RW CH30 Channel 30 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
f RW CH31 Channel 31 enable clear register. Writing '0' has no effect.
W1C
Disabled 0 Read: channel disabled
Enabled 1 Read: channel enabled
Clear 1 Write: disable channel
6.16.2.10 CH[0]
PPI Channel
6.16.2.10.1 CH[0].EEP
Address offset: 0x510
Channel 0 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.10.2 CH[0].TEP
Address offset: 0x514
Channel 0 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.11 CH[1]
PPI Channel
6.16.2.11.1 CH[1].EEP
Address offset: 0x518
Channel 1 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.11.2 CH[1].TEP
Address offset: 0x51C
Channel 1 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.12 CH[2]
PPI Channel
6.16.2.12.1 CH[2].EEP
Address offset: 0x520
Channel 2 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.12.2 CH[2].TEP
Address offset: 0x524
Channel 2 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.13 CH[3]
PPI Channel
6.16.2.13.1 CH[3].EEP
Address offset: 0x528
Channel 3 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.13.2 CH[3].TEP
Address offset: 0x52C
Channel 3 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.14 CH[4]
PPI Channel
6.16.2.14.1 CH[4].EEP
Address offset: 0x530
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.14.2 CH[4].TEP
Address offset: 0x534
Channel 4 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.15 CH[5]
PPI Channel
6.16.2.15.1 CH[5].EEP
Address offset: 0x538
Channel 5 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.15.2 CH[5].TEP
Address offset: 0x53C
Channel 5 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.16 CH[6]
PPI Channel
6.16.2.16.1 CH[6].EEP
Address offset: 0x540
Channel 6 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.16.2 CH[6].TEP
Address offset: 0x544
Channel 6 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.17 CH[7]
PPI Channel
6.16.2.17.1 CH[7].EEP
Address offset: 0x548
Channel 7 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.17.2 CH[7].TEP
Address offset: 0x54C
Channel 7 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.18 CH[8]
PPI Channel
6.16.2.18.1 CH[8].EEP
Address offset: 0x550
Channel 8 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.18.2 CH[8].TEP
Address offset: 0x554
Channel 8 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.19 CH[9]
PPI Channel
6.16.2.19.1 CH[9].EEP
Address offset: 0x558
Channel 9 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.19.2 CH[9].TEP
Address offset: 0x55C
Channel 9 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.20 CH[10]
PPI Channel
6.16.2.20.1 CH[10].EEP
Address offset: 0x560
Channel 10 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.20.2 CH[10].TEP
Address offset: 0x564
Channel 10 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.21 CH[11]
PPI Channel
6.16.2.21.1 CH[11].EEP
Address offset: 0x568
Channel 11 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.21.2 CH[11].TEP
Address offset: 0x56C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.22 CH[12]
PPI Channel
6.16.2.22.1 CH[12].EEP
Address offset: 0x570
Channel 12 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.22.2 CH[12].TEP
Address offset: 0x574
Channel 12 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.23 CH[13]
PPI Channel
6.16.2.23.1 CH[13].EEP
Address offset: 0x578
Channel 13 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.23.2 CH[13].TEP
Address offset: 0x57C
Channel 13 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.24 CH[14]
PPI Channel
6.16.2.24.1 CH[14].EEP
Address offset: 0x580
Channel 14 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.24.2 CH[14].TEP
Address offset: 0x584
Channel 14 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.25 CH[15]
PPI Channel
6.16.2.25.1 CH[15].EEP
Address offset: 0x588
Channel 15 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.25.2 CH[15].TEP
Address offset: 0x58C
Channel 15 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.26 CH[16]
PPI Channel
6.16.2.26.1 CH[16].EEP
Address offset: 0x590
Channel 16 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.26.2 CH[16].TEP
Address offset: 0x594
Channel 16 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.27 CH[17]
PPI Channel
6.16.2.27.1 CH[17].EEP
Address offset: 0x598
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.27.2 CH[17].TEP
Address offset: 0x59C
Channel 17 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.28 CH[18]
PPI Channel
6.16.2.28.1 CH[18].EEP
Address offset: 0x5A0
Channel 18 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.28.2 CH[18].TEP
Address offset: 0x5A4
Channel 18 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.29 CH[19]
PPI Channel
6.16.2.29.1 CH[19].EEP
Address offset: 0x5A8
Channel 19 event endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EEP Pointer to event register. Accepts only addresses to registers from the Event
group.
6.16.2.29.2 CH[19].TEP
Address offset: 0x5AC
Channel 19 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register. Accepts only addresses to registers from the Task
group.
6.16.2.30 CHG[0]
Address offset: 0x800
Channel group 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Excluded 0 Exclude
Included 1 Include
6.16.2.31 CHG[1]
Address offset: 0x804
Channel group 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Excluded 0 Exclude
Included 1 Include
6.16.2.32 CHG[2]
Address offset: 0x808
Channel group 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Excluded 0 Exclude
Included 1 Include
6.16.2.33 CHG[3]
Address offset: 0x80C
Channel group 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Excluded 0 Exclude
Included 1 Include
6.16.2.34 CHG[4]
Address offset: 0x810
Channel group 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Excluded 0 Exclude
Included 1 Include
6.16.2.35 CHG[5]
Address offset: 0x814
Channel group 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CH0 Include or exclude channel 0
Excluded 0 Exclude
Included 1 Include
B RW CH1 Include or exclude channel 1
Excluded 0 Exclude
Included 1 Include
C RW CH2 Include or exclude channel 2
Excluded 0 Exclude
Included 1 Include
D RW CH3 Include or exclude channel 3
Excluded 0 Exclude
Included 1 Include
E RW CH4 Include or exclude channel 4
Excluded 0 Exclude
Included 1 Include
F RW CH5 Include or exclude channel 5
Excluded 0 Exclude
Included 1 Include
G RW CH6 Include or exclude channel 6
Excluded 0 Exclude
Included 1 Include
H RW CH7 Include or exclude channel 7
Excluded 0 Exclude
Included 1 Include
I RW CH8 Include or exclude channel 8
Excluded 0 Exclude
Included 1 Include
J RW CH9 Include or exclude channel 9
Excluded 0 Exclude
Included 1 Include
K RW CH10 Include or exclude channel 10
Excluded 0 Exclude
Included 1 Include
L RW CH11 Include or exclude channel 11
Excluded 0 Exclude
Included 1 Include
M RW CH12 Include or exclude channel 12
Excluded 0 Exclude
Included 1 Include
N RW CH13 Include or exclude channel 13
Excluded 0 Exclude
Included 1 Include
O RW CH14 Include or exclude channel 14
Excluded 0 Exclude
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Included 1 Include
P RW CH15 Include or exclude channel 15
Excluded 0 Exclude
Included 1 Include
Q RW CH16 Include or exclude channel 16
Excluded 0 Exclude
Included 1 Include
R RW CH17 Include or exclude channel 17
Excluded 0 Exclude
Included 1 Include
S RW CH18 Include or exclude channel 18
Excluded 0 Exclude
Included 1 Include
T RW CH19 Include or exclude channel 19
Excluded 0 Exclude
Included 1 Include
U RW CH20 Include or exclude channel 20
Excluded 0 Exclude
Included 1 Include
V RW CH21 Include or exclude channel 21
Excluded 0 Exclude
Included 1 Include
W RW CH22 Include or exclude channel 22
Excluded 0 Exclude
Included 1 Include
X RW CH23 Include or exclude channel 23
Excluded 0 Exclude
Included 1 Include
Y RW CH24 Include or exclude channel 24
Excluded 0 Exclude
Included 1 Include
Z RW CH25 Include or exclude channel 25
Excluded 0 Exclude
Included 1 Include
a RW CH26 Include or exclude channel 26
Excluded 0 Exclude
Included 1 Include
b RW CH27 Include or exclude channel 27
Excluded 0 Exclude
Included 1 Include
c RW CH28 Include or exclude channel 28
Excluded 0 Exclude
Included 1 Include
d RW CH29 Include or exclude channel 29
Excluded 0 Exclude
Included 1 Include
e RW CH30 Include or exclude channel 30
Excluded 0 Exclude
Included 1 Include
f RW CH31 Include or exclude channel 31
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Excluded 0 Exclude
Included 1 Include
6.16.2.36 FORK[0]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.36.1 FORK[0].TEP
Address offset: 0x910
Channel 0 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.37 FORK[1]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.37.1 FORK[1].TEP
Address offset: 0x914
Channel 1 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.38 FORK[2]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.38.1 FORK[2].TEP
Address offset: 0x918
Channel 2 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.39 FORK[3]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.39.1 FORK[3].TEP
Address offset: 0x91C
Channel 3 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.40 FORK[4]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.40.1 FORK[4].TEP
Address offset: 0x920
Channel 4 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.41 FORK[5]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.41.1 FORK[5].TEP
Address offset: 0x924
Channel 5 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.42 FORK[6]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.42.1 FORK[6].TEP
Address offset: 0x928
Channel 6 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.43 FORK[7]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.43.1 FORK[7].TEP
Address offset: 0x92C
Channel 7 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.44 FORK[8]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.44.1 FORK[8].TEP
Address offset: 0x930
Channel 8 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.45 FORK[9]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.45.1 FORK[9].TEP
Address offset: 0x934
Channel 9 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.46 FORK[10]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.46.1 FORK[10].TEP
Address offset: 0x938
Channel 10 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.47 FORK[11]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.47.1 FORK[11].TEP
Address offset: 0x93C
Channel 11 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.48 FORK[12]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.48.1 FORK[12].TEP
Address offset: 0x940
Channel 12 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.49 FORK[13]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.49.1 FORK[13].TEP
Address offset: 0x944
Channel 13 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.50 FORK[14]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.50.1 FORK[14].TEP
Address offset: 0x948
Channel 14 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.51 FORK[15]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.51.1 FORK[15].TEP
Address offset: 0x94C
Channel 15 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.52 FORK[16]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.52.1 FORK[16].TEP
Address offset: 0x950
Channel 16 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.53 FORK[17]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.53.1 FORK[17].TEP
Address offset: 0x954
Channel 17 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.54 FORK[18]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.54.1 FORK[18].TEP
Address offset: 0x958
Channel 18 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.55 FORK[19]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.55.1 FORK[19].TEP
Address offset: 0x95C
Channel 19 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.56 FORK[20]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.56.1 FORK[20].TEP
Address offset: 0x960
Channel 20 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.57 FORK[21]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.57.1 FORK[21].TEP
Address offset: 0x964
Channel 21 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.58 FORK[22]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.58.1 FORK[22].TEP
Address offset: 0x968
Channel 22 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.59 FORK[23]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.59.1 FORK[23].TEP
Address offset: 0x96C
Channel 23 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.60 FORK[24]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.60.1 FORK[24].TEP
Address offset: 0x970
Channel 24 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.61 FORK[25]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.61.1 FORK[25].TEP
Address offset: 0x974
Channel 25 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.62 FORK[26]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.62.1 FORK[26].TEP
Address offset: 0x978
Channel 26 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.63 FORK[27]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.63.1 FORK[27].TEP
Address offset: 0x97C
Channel 27 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.64 FORK[28]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.64.1 FORK[28].TEP
Address offset: 0x980
Channel 28 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.65 FORK[29]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.65.1 FORK[29].TEP
Address offset: 0x984
Channel 29 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.66 FORK[30]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.66.1 FORK[30].TEP
Address offset: 0x988
Channel 30 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
6.16.2.67 FORK[31]
Fork
This fork provides a second set of task endpoints for each of the channels in the PPI.
6.16.2.67.1 FORK[31].TEP
Address offset: 0x98C
Channel 31 task endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TEP Pointer to task register
• Change of polarity, duty cycle, and base frequency possibly on every PWM period
• RAM sequences can be repeated or connected into loops
Sequence 0
PWM
START STARTED
EasyDMA
STOP STOPPED
SEQSTART[0]
SEQSTART[1]
SEQSTARTED[0]
SEQ[n].REFRESH SEQSTARTED[1]
Decoder SEQEND[0]
NEXTSTEP
SEQEND[1]
COMP0 PSEL.OUT[0]
COMP1 PSEL.OUT[1]
COMP2 PSEL.OUT[2]
COMP3 PSEL.OUT[3]
Carry/Reload
Wave Counter COUNTERTOP
PWM_CLK PRESCALER
COUNTERTOP
COMP1
COMP0
OUT[0]
OUT[1]
The counter is automatically reset to zero when COUNTERTOP is reached and OUT[n] will invert. OUT[n]
is held low if the compare value is 0 and held high if set to COUNTERTOP, given that the polarity is set to
FallingEdge. Counter running in up mode results in pulse widths that are edge-aligned. The following is the
code for the counter in up mode example:
When the counter is running in up mode, the following formula can be used to compute the PWM period
and the step size:
PWM period: TPWM(Up)= TPWM_CLK * COUNTERTOP
Step width/Resolution: Tsteps= TPWM_CLK
COUNTERTOP
COMP1
COMP0
OUT[0]
OUT[1]
The counter starts decrementing to zero when COUNTERTOP is reached and will invert the OUT[n] when
compare value is hit for the second time. This results in a set of pulses that are center-aligned. The
following is the code for the counter in up-and-down mode example:
When the counter is running in up-and-down mode, the following formula can be used to compute the
PWM period and the step size:
TPWM(Up And Down) = TPWM_CLK * 2 * COUNTERTOP
Step width/Resolution: Tsteps = TPWM_CLK * 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Id B A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Id RW Field Value Id Value Description
A RW COMPARE Duty cycle setting - value loaded to internal compare
register
B RW POLARITY Edge polarity of GPIO.
RisingEdge 0 First edge within the PWM period is rising
FallingEdge 1 First edge within the PWM period is falling
The DECODER register controls how the RAM content is interpreted and loaded into the internal compare
registers. The LOAD field controls if the RAM values are loaded to all compare channels, or to update a
group or all channels with individual values. The following figure illustrates how parameters stored in RAM
are organized and routed to various compare channels in different modes:
DECODER.LOAD=Common DECODER.LOAD=Grouped DECODER.LOAD=Single
P COMP0 P P
SEQ[n].PTR O COMPARE COMP1 O COMPARE COMP0 O COMPARE COMP0
COMP2 COMP1
L COMP3 L L
P COMP0 P P
O COMPARE COMP1 O COMPARE COMP2 O COMPARE COMP1
COMP2 COMP3
L COMP3 L L
Increasing Data P
RAM address
... ... O COMPARE COMP2
L
P COMP0 P P
O COMPARE COMP1 O COMPARE COMP0 O COMPARE COMP3
COMP2 COMP1
L COMP3 L L
DECODER.LOAD=WaveForm
P
O COMPARE COMP0
L
P
O COMPARE COMP1
L
P
O COMPARE COMP2
L
TOP COUNTERTOP
A special mode of operation is available when DECODER.LOAD is set to WaveForm. In this mode, up to
three PWM channels can be enabled - OUT[0] to OUT[2]. In RAM, four values are loaded at a time: the
first, second and third location are used to load the values, and the fourth RAM location is used to load
the COUNTERTOP register. This way one can have up to three PWM channels with a frequency base that
changes on a per PWM period basis. This mode of operation is useful for arbitrary wave form generation
in applications, such as LED lighting.
The register SEQ[n].REFRESH=N (one per sequence n=0 or 1) will instruct a new RAM stored pulse width
value on every (N+1)th PWM period. Setting the register to zero will result in a new duty cycle update
every PWM period, as long as the minimum PWM period is observed.
Note that registers SEQ[n].REFRESH and SEQ[n].ENDDELAY are ignored when DECODER.MODE=NextStep.
The next value is loaded upon every received NEXTSTEP task.
SEQ[n].PTR is the pointer used to fetch COMPARE values from RAM. If the SEQ[n].PTR is not pointing to
a RAM region, an EasyDMA transfer may result in a HardFault or RAM corruption. See Memory on page
21 for more information about the different memory regions. After the SEQ[n].PTR is set to the desired
RAM location, the SEQ[n].CNT register must be set to number of 16-bit half words in the sequence. It is
important to observe that the Grouped mode requires one half word per group, while the Single mode
requires one half word per channel, thus increasing the RAM size occupation. If PWM generation is not
running when the SEQSTART[n] task is triggered, the task will load the first value from RAM and then start
the PWM generation. A SEQSTARTED[n] event is generated as soon as the EasyDMA has read the first
PWM parameter from RAM and the wave counter has started executing it. When LOOP.CNT=0, sequence
n=0 or 1 is played back once. After the last value in the sequence has been loaded and started executing,
a SEQEND[n] event is generated. The PWM generation will then continue with the last loaded value. The
following figure illustrates an example of such simple playback:
P P P P
COMPARE COMPARE COMPARE COMPARE
SEQ[0].PTR O O O O
0 1 2 3
L L L L
Figure depicts the source code used for configuration and timing details in a sequence where only
sequence 0 is used and only run once with a new PWM duty cycle for each period.
To completely stop the PWM generation and force the associated pins to a defined state, a STOP task can
be triggered at any time. A STOPPED event is generated when the PWM generation has stopped at the
end of currently running PWM period, and the pins go into their idle state as defined in GPIO OUT register.
PWM generation can then only be restarted through a SEQSTART[n] task. SEQSTART[n] will resume PWM
generation after having loaded the first value from the RAM buffer defined in the SEQ[n].PTR register.
The table below indicates when specific registers get sampled by the hardware. Care should be taken
when updating these registers to avoid that values are applied earlier than expected.
Every time a new value from sequence [0] has been loaded from When no more value from sequence [0] gets loaded from RAM
RAM and gets applied to the Wave Counter (indicated by the (indicated by the SEQEND[0] event)
PWMPERIODEND event)
At any time during sequence [1] (which starts when the
SEQSTARTED[1] event is generated)
SEQ[1].ENDDELAY When sending the SEQSTART[1] task Before starting sequence [1] through a SEQSTART[1] task
Every time a new value from sequence [1] has been loaded from When no more value from sequence [1] gets loaded from RAM
RAM and gets applied to the Wave Counter (indicated by the (indicated by the SEQEND[1] event)
PWMPERIODEND event)
At any time during sequence [0] (which starts when the
SEQSTARTED[0] event is generated)
SEQ[0].REFRESH When sending the SEQSTART[0] task Before starting sequence [0] through a SEQSTART[0] task
Every time a new value from sequence [0] has been loaded from At any time during sequence [1] (which starts when the
RAM and gets applied to the Wave Counter (indicated by the SEQSTARTED[1] event is generated)
PWMPERIODEND event)
SEQ[1].REFRESH When sending the SEQSTART[1] task Before starting sequence [1] through a SEQSTART[1] task
Every time a new value from sequence [1] has been loaded from At any time during sequence [0] (which starts when the
RAM and gets applied to the Wave Counter (indicated by the SEQSTARTED[0] event is generated)
PWMPERIODEND event)
COUNTERTOP In DECODER.LOAD=WaveForm: this register is ignored. Before starting PWM generation through a SEQSTART[n] task
In all other LOAD modes: at the end of current PWM period After a STOP task has been triggered, and the STOPPED event has
(indicated by the PWMPERIODEND event) been received.
MODE Immediately Before starting PWM generation through a SEQSTART[n] task
After a STOP task has been triggered, and the STOPPED event has
been received.
DECODER Immediately Before starting PWM generation through a SEQSTART[n] task
After a STOP task has been triggered, and the STOPPED event has
been received.
PRESCALER Immediately Before starting PWM generation through a SEQSTART[n] task
After a STOP task has been triggered, and the STOPPED event has
been received.
LOOP Immediately Before starting PWM generation through a SEQSTART[n] task
After a STOP task has been triggered, and the STOPPED event has
been received.
PSEL.OUT[n] Immediately Before enabling the PWM instance through the ENABLE register
Note: SEQ[n].REFRESH and SEQ[n].ENDDELAY are ignored at the end of a complex sequence,
indicated by a LOOPSDONE event. The reason for this is that the last value loaded from RAM
is maintained until further action from software (restarting a new sequence, or stopping PWM
generation).
P P
SEQ[0].PTR O COMPARE O COMPARE
L L
Event/Tasks
(continuation)
In this case, an automated playback takes place, consisting of SEQ[0], delay 0, SEQ[1], delay 1, then again
SEQ[0], etc. The user can choose to start a complex playback with SEQ[0] or SEQ[1] through sending the
SEQSTART[0] or SEQSTART[1] task. The complex playback always ends with delay 1.
The two sequences 0 and 1 are defined by the addresses of value tables in RAM (pointed to by
SEQ[n].PTR) and the buffer size (SEQ[n].CNT). The rate at which a new value is loaded is defined
individually for each sequence by SEQ[n].REFRESH. The chaining of sequence 1 following the sequence 0 is
implicit, the LOOP.CNT register allows the chaining of sequence 1 to sequence 0 for a determined number
of times. In other words, it allows to repeat a complex sequence a number of times in a fully automated
way.
In the following code example, sequence 0 is defined with SEQ[0].REFRESH set to 1, meaning that a
new PWM duty cycle is pushed every second PWM period. This complex sequence is started with the
SEQSTART[0] task, so SEQ[0] is played first. Since SEQ[0].ENDDELAY=1 there will be one PWM period delay
between last period on sequence 0 and the first period on sequence 1. Since SEQ[1].ENDDELAY=0 there
is no delay 1, so SEQ[0] would be started immediately after the end of SEQ[1]. However, as LOOP.CNT is
1, the playback stops after having played SEQ[1] only once, and both SEQEND[1] and LOOPSDONE are
generated (their order is not guaranteed in this case).
The decoder can also be configured to asynchronously load new PWM duty cycle. If the DECODER.MODE
register is set to NextStep, then the NEXTSTEP task will cause an update of internal compare registers on
the next PWM period.
The following figures provide an overview of each part of an arbitrary sequence, in various modes
(LOOP.CNT=0 and LOOP.CNT>0). In particular, the following are represented:
• Initial and final duty cycle on the PWM output(s)
• Chaining of SEQ[0] and SEQ[1] if LOOP.CNT>0
• Influence of registers on the sequence
• Events generated during a sequence
• DMA activity (loading of next value and applying it to the output(s))
Loop counter
EVENTS_SEQSTARTED[0]
SEQ[0].CNT
EVENTS_SEQEND[0]
SEQ[0].ENDDELA
Y
EVENTS_SEQSTARTED[1]
SEQ[1].CNT
LOOP.CNT
EVENTS_SEQEND[1]
SEQ[1].ENDDELA
cycle
Previously
loaded duty
Y
New value load
0% duty cycle
100% duty cycle
EVENTS_SEQSTARTED[0]
TASKS_SEQSTART[0]
SEQ[0].CNT EVENTS_SEQSTARTED[0]
EVENTS_SEQEND[0] SEQ[0].CNT
SEQ[0].ENDDELA
470
EVENTS_SEQEND[0]
Y SEQ[0].ENDDELA
EVENTS_SEQSTARTED[1] Y
SEQ[1].CNT
EVENTS_SEQEND[1]
(LOOP.CNT - 1) ...
Figure 82: Single shot (LOOP.CNT=0)
EVENTS_SEQSTARTED[0]
duty cycle
last loaded
maintained
SEQ[0].CNT
EVENTS_SEQEND[0]
SEQ[0].ENDDELA
Y
1
EVENTS_SEQSTARTED[1]
SEQ[1].CNT
duty cycle
last loaded
maintained
Peripherals
Peripherals
SEQ[1].ENDDELA
SEQ[0].ENDDELA
SEQ[0].ENDDELA
SEQ[1].ENDDELA
SEQ[1].CNT
SEQ[0].CNT
SEQ[1].CNT
SEQ[0].CNT
SEQ[1].CNT
Y
Y
100% duty cycle
Previously
loaded last loaded
duty cycle duty cycle
maintained
0% duty cycle
EVENTS_SEQEND[0]
EVENTS_SEQEND[1]
EVENTS_SEQEND[0]
EVENTS_SEQEND[1]
EVENTS_LOOPSDONE
EVENTS_SEQSTARTED[1]
EVENTS_SEQSTARTED[0]
EVENTS_SEQSTARTED[1]
EVENTS_SEQSTARTED[0]
EVENTS_SEQSTARTED[1]
TASKS_SEQSTART[1]
Note: If a sequence is in use in a simple or complex sequence, it must have a length of SEQ[n].CNT
> 0.
6.17.3 Limitations
Previous compare value is repeated if the PWM period is shorter than the time it takes for the EasyDMA
to retrieve from RAM and update the internal compare registers. This is to ensure a glitch-free operation
even for very short PWM periods.
The idle state of a pin is defined by the OUT register in the GPIO module, to ensure that the pins used by
the PWM module are driven correctly. If PWM generation is stopped by triggering a STOP task, the PWM
module itself is temporarily disabled or the device temporarily enters System OFF. This configuration must
be retained in the GPIO for the selected pins (I/Os) for as long as the PWM module is supposed to be
connected to an external PWM circuit.
Only one peripheral can be assigned to drive a particular GPIO pin at a time. Failing to do so may result in
unpredictable behavior.
6.17.5 Registers
Instances
Register overview
6.17.5.1 TASKS_STOP
Address offset: 0x004
Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence
playback
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stops PWM pulse generation on all channels at the end of current PWM
period, and stops sequence playback
Trigger 1 Trigger task
6.17.5.2 TASKS_SEQSTART[0]
Address offset: 0x008
Loads the first PWM value on all enabled channels from sequence 0, and starts playing that sequence
at the rate defined in SEQ[0]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not
running.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SEQSTART Loads the first PWM value on all enabled channels from sequence 0, and
starts playing that sequence at the rate defined in SEQ[0]REFRESH and/or
DECODER.MODE. Causes PWM generation to start if not running.
Trigger 1 Trigger task
6.17.5.3 TASKS_SEQSTART[1]
Address offset: 0x00C
Loads the first PWM value on all enabled channels from sequence 1, and starts playing that sequence
at the rate defined in SEQ[1]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not
running.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SEQSTART Loads the first PWM value on all enabled channels from sequence 1, and
starts playing that sequence at the rate defined in SEQ[1]REFRESH and/or
DECODER.MODE. Causes PWM generation to start if not running.
Trigger 1 Trigger task
6.17.5.4 TASKS_NEXTSTEP
Address offset: 0x010
Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does
not cause PWM generation to start if not running.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_NEXTSTEP Steps by one value in the current sequence on all enabled channels if
DECODER.MODE=NextStep. Does not cause PWM generation to start if not
running.
Trigger 1 Trigger task
6.17.5.5 EVENTS_STOPPED
Address offset: 0x104
Response to STOP task, emitted when PWM pulses are no longer generated
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED Response to STOP task, emitted when PWM pulses are no longer generated
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.6 EVENTS_SEQSTARTED[0]
Address offset: 0x108
First PWM period started on sequence 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SEQSTARTED First PWM period started on sequence 0
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.7 EVENTS_SEQSTARTED[1]
Address offset: 0x10C
First PWM period started on sequence 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SEQSTARTED First PWM period started on sequence 1
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.8 EVENTS_SEQEND[0]
Address offset: 0x110
Emitted at end of every sequence 0, when last value from RAM has been applied to wave counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SEQEND Emitted at end of every sequence 0, when last value from RAM has been
applied to wave counter
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.9 EVENTS_SEQEND[1]
Address offset: 0x114
Emitted at end of every sequence 1, when last value from RAM has been applied to wave counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SEQEND Emitted at end of every sequence 1, when last value from RAM has been
applied to wave counter
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.10 EVENTS_PWMPERIODEND
Address offset: 0x118
Emitted at the end of each PWM period
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_PWMPERIODEND Emitted at the end of each PWM period
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.11 EVENTS_LOOPSDONE
Address offset: 0x11C
Concatenated sequences have been played the amount of times defined in LOOP.CNT
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_LOOPSDONE Concatenated sequences have been played the amount of times defined in
LOOP.CNT
NotGenerated 0 Event not generated
Generated 1 Event generated
6.17.5.12 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SEQEND0_STOP Shortcut between event SEQEND[0] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW SEQEND1_STOP Shortcut between event SEQEND[1] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW LOOPSDONE_SEQSTART0 Shortcut between event LOOPSDONE and task SEQSTART[0]
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW LOOPSDONE_SEQSTART1 Shortcut between event LOOPSDONE and task SEQSTART[1]
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW LOOPSDONE_STOP Shortcut between event LOOPSDONE and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.17.5.13 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
C RW SEQSTARTED[0] Enable or disable interrupt for event SEQSTARTED[0]
Disabled 0 Disable
Enabled 1 Enable
D RW SEQSTARTED[1] Enable or disable interrupt for event SEQSTARTED[1]
Disabled 0 Disable
Enabled 1 Enable
E RW SEQEND[0] Enable or disable interrupt for event SEQEND[0]
Disabled 0 Disable
Enabled 1 Enable
F RW SEQEND[1] Enable or disable interrupt for event SEQEND[1]
Disabled 0 Disable
Enabled 1 Enable
G RW PWMPERIODEND Enable or disable interrupt for event PWMPERIODEND
Disabled 0 Disable
Enabled 1 Enable
H RW LOOPSDONE Enable or disable interrupt for event LOOPSDONE
Disabled 0 Disable
Enabled 1 Enable
6.17.5.14 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW SEQSTARTED[0] Write '1' to enable interrupt for event SEQSTARTED[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW SEQSTARTED[1] Write '1' to enable interrupt for event SEQSTARTED[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW SEQEND[0] Write '1' to enable interrupt for event SEQEND[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SEQEND[1] Write '1' to enable interrupt for event SEQEND[1]
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW PWMPERIODEND Write '1' to enable interrupt for event PWMPERIODEND
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW LOOPSDONE Write '1' to enable interrupt for event LOOPSDONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.17.5.15 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW SEQSTARTED[0] Write '1' to disable interrupt for event SEQSTARTED[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW SEQSTARTED[1] Write '1' to disable interrupt for event SEQSTARTED[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW SEQEND[0] Write '1' to disable interrupt for event SEQEND[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SEQEND[1] Write '1' to disable interrupt for event SEQEND[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW PWMPERIODEND Write '1' to disable interrupt for event PWMPERIODEND
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW LOOPSDONE Write '1' to disable interrupt for event LOOPSDONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.17.5.16 ENABLE
Address offset: 0x500
PWM module enable register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable PWM module
Disabled 0 Disabled
Enabled 1 Enable
6.17.5.17 MODE
Address offset: 0x504
Selects operating mode of the wave counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW UPDOWN Selects up mode or up-and-down mode for the counter
Up 0 Up counter, edge-aligned PWM duty cycle
UpAndDown 1 Up and down counter, center-aligned PWM duty cycle
6.17.5.18 COUNTERTOP
Address offset: 0x508
Value up to which the pulse generator counter counts
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x000003FF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW COUNTERTOP [3..32767] Value up to which the pulse generator counter counts. This register is
ignored when DECODER.MODE=WaveForm and only values from RAM are
used.
6.17.5.19 PRESCALER
Address offset: 0x50C
Configuration for PWM_CLK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PRESCALER Prescaler of PWM_CLK
DIV_1 0 Divide by 1 (16 MHz)
DIV_2 1 Divide by 2 (8 MHz)
DIV_4 2 Divide by 4 (4 MHz)
DIV_8 3 Divide by 8 (2 MHz)
DIV_16 4 Divide by 16 (1 MHz)
DIV_32 5 Divide by 32 (500 kHz)
DIV_64 6 Divide by 64 (250 kHz)
DIV_128 7 Divide by 128 (125 kHz)
6.17.5.20 DECODER
Address offset: 0x510
Configuration of the decoder
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOAD How a sequence is read from RAM and spread to the compare register
Common 0 1st half word (16-bit) used in all PWM channels 0..3
Grouped 1 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3
Individual 2 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3
WaveForm 3 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP
B RW MODE Selects source for advancing the active sequence
RefreshCount 0 SEQ[n].REFRESH is used to determine loading internal compare registers
NextStep 1 NEXTSTEP task causes a new value to be loaded to internal compare
registers
6.17.5.21 LOOP
Address offset: 0x514
Number of playbacks of a loop
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT Number of playbacks of pattern cycles
Disabled 0 Looping disabled (stop at the end of the sequence)
6.17.5.22 SEQ[0].PTR
Address offset: 0x520
Beginning address in RAM of this sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Beginning address in RAM of this sequence
Note: See the memory chapter for details about which memories
are available for EasyDMA.
6.17.5.23 SEQ[0].CNT
Address offset: 0x524
Number of values (duty cycles) in this sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT Number of values (duty cycles) in this sequence
Disabled 0 Sequence is disabled, and shall not be started as it is empty
6.17.5.24 SEQ[0].REFRESH
Address offset: 0x528
Number of additional PWM periods between samples loaded into compare register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW CNT Number of additional PWM periods between samples loaded into compare
register (load every REFRESH.CNT+1 PWM periods)
Continuous 0 Update every PWM period
6.17.5.25 SEQ[0].ENDDELAY
Address offset: 0x52C
Time added after the sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT Time added after the sequence in PWM periods
6.17.5.26 SEQ[1].PTR
Address offset: 0x540
Beginning address in RAM of this sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Beginning address in RAM of this sequence
Note: See the memory chapter for details about which memories
are available for EasyDMA.
6.17.5.27 SEQ[1].CNT
Address offset: 0x544
Number of values (duty cycles) in this sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT Number of values (duty cycles) in this sequence
Disabled 0 Sequence is disabled, and shall not be started as it is empty
6.17.5.28 SEQ[1].REFRESH
Address offset: 0x548
Number of additional PWM periods between samples loaded into compare register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW CNT Number of additional PWM periods between samples loaded into compare
register (load every REFRESH.CNT+1 PWM periods)
Continuous 0 Update every PWM period
6.17.5.29 SEQ[1].ENDDELAY
Address offset: 0x54C
Time added after the sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT Time added after the sequence in PWM periods
6.17.5.30 PSEL.OUT[0]
Address offset: 0x560
Output pin select for PWM channel 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.17.5.31 PSEL.OUT[1]
Address offset: 0x564
Output pin select for PWM channel 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.17.5.32 PSEL.OUT[2]
Address offset: 0x568
Output pin select for PWM channel 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.17.5.33 PSEL.OUT[3]
Address offset: 0x56C
Output pin select for PWM channel 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
ACCREAD ACCDBLREAD
ACC ACCDBL
+ +
SAMPLE
Quadrature decoder
IO router
On-chip
Off-chip Phase A Phase B LED
Mechanical to electrical
Mechanical
device
Quadrature Encoder
A B A B
0 0 0 0 0 No change No change No movement
0 0 0 1 1 Increment No change Movement in positive direction
0 0 1 0 -1 Decrement No change Movement in negative direction
0 0 1 1 2 No change Increment Error: Double transition
0 1 0 0 -1 Decrement No change Movement in negative direction
0 1 0 1 0 No change No change No movement
0 1 1 0 2 No change Increment Error: Double transition
0 1 1 1 1 Increment No change Movement in positive direction
1 0 0 0 1 Increment No change Movement in positive direction
1 0 0 1 2 No change Increment Error: Double transition
1 0 1 0 0 No change No change No movement
1 0 1 1 -1 Decrement No change Movement in negative direction
1 1 0 0 2 No change Increment Error: Double transition
1 1 0 1 -1 Decrement No change Movement in negative direction
1 1 1 0 1 Increment No change Movement in positive direction
1 1 1 1 0 No change No change No movement
When using off-chip mechanical encoders not requiring an LED, the LED output can be disabled by writing
value 'Disconnected' to the CONNECT field of the PSEL.LED register. In this case, the QDEC will not acquire
access to a pin for the LED output.
6.18.4 Accumulators
The quadrature decoder contains two accumulator registers, ACC and ACCDBL. These registers accumulate
valid motion sample values and the number of detected invalid samples (double transitions), respectively.
The ACC register accumulates all valid values (1/-1) written to the SAMPLE register. This can be useful for
preventing hard real-time requirements from being enforced on the application. When using the ACC
register, the application can fetch data when necessary instead of reading all SAMPLE register output. The
ACC register holds the relative movement of the external mechanical device from the previous clearing
of the ACC register. Sample values indicating a double transition (2) will not be accumulated in the ACC
register.
An ACCOF event is generated if the ACC receives a SAMPLE value that would cause the register to overflow
or underflow. Any SAMPLE value that would cause an ACC overflow or underflow will be discarded, but
any samples that do not cause the ACC to overflow or underflow will still be accepted.
The accumulator ACCDBL accumulates the number of detected double transitions since the previous
clearing of the ACCDBL register.
The ACC and ACCDBL registers can be cleared by the READCLRACC and subsequently read using the
ACCREAD and ACCDBLREAD registers.
The ACC register can be separately cleared by the RDCLRACC and subsequently read using the ACCREAD
registers.
The ACCDBL register can be separately cleared by the RDCLRDBL and subsequently read using the
ACCDBLREAD registers.
The REPORTPER register allows automated capture of multiple samples before sending an event. When
a non-null displacement is captured and accumulated, a REPORTRDY event is sent. When one or more
double-displacements are captured and accumulated, a DBLRDY event is sent. The REPORTPER field in this
register determines how many samples must be accumulated before the contents are evaluated and a
REPORTRDY or DBLRDY event is sent.
Using the RDCLRACC task (manually sent upon receiving the event, or using the DBLRDY_RDCLRACC
shortcut), ACCREAD can then be read.
When a double transition has been captured and accumulated, a DBLRDY event is sent. Using the
RDCLRDBL task (manually sent upon receiving the event, or using the DBLRDY_RDCLRDBL shortcut),
ACCDBLREAD can then be read.
6.18.7 Registers
Instances
Register overview
6.18.7.1 TASKS_START
Address offset: 0x000
Task starting the quadrature decoder
When started, the SAMPLE register will be continuously updated at the rate given in the SAMPLEPER
register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Task starting the quadrature decoder
When started, the SAMPLE register will be continuously updated at the rate
given in the SAMPLEPER register.
Trigger 1 Trigger task
6.18.7.2 TASKS_STOP
Address offset: 0x004
Task stopping the quadrature decoder
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Task stopping the quadrature decoder
Trigger 1 Trigger task
6.18.7.3 TASKS_READCLRACC
Address offset: 0x008
Read and clear ACC and ACCDBL
Task transferring the content of ACC to ACCREAD and the content of ACCDBL to ACCDBLREAD, and then
clearing the ACC and ACCDBL registers. These read-and-clear operations will be done atomically.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_READCLRACC Read and clear ACC and ACCDBL
Task transferring the content of ACC to ACCREAD and the content of ACCDBL
to ACCDBLREAD, and then clearing the ACC and ACCDBL registers. These
read-and-clear operations will be done atomically.
Trigger 1 Trigger task
6.18.7.4 TASKS_RDCLRACC
Address offset: 0x00C
Read and clear ACC
Task transferring the content of ACC to ACCREAD, and then clearing the ACC register. This read-and-clear
operation will be done atomically.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RDCLRACC Read and clear ACC
Task transferring the content of ACC to ACCREAD, and then clearing the ACC
register. This read-and-clear operation will be done atomically.
Trigger 1 Trigger task
6.18.7.5 TASKS_RDCLRDBL
Address offset: 0x010
Read and clear ACCDBL
Task transferring the content of ACCDBL to ACCDBLREAD, and then clearing the ACCDBL register. This read-
and-clear operation will be done atomically.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RDCLRDBL Read and clear ACCDBL
6.18.7.6 EVENTS_SAMPLERDY
Address offset: 0x100
Event being generated for every new sample value written to the SAMPLE register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SAMPLERDY Event being generated for every new sample value written to the SAMPLE
register
NotGenerated 0 Event not generated
Generated 1 Event generated
6.18.7.7 EVENTS_REPORTRDY
Address offset: 0x104
Non-null report ready
Event generated when REPORTPER number of samples has been accumulated in the ACC register and the
content of the ACC register is not equal to 0. (Thus, this event is only generated if a motion is detected
since the previous clearing of the ACC register).
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_REPORTRDY Non-null report ready
6.18.7.8 EVENTS_ACCOF
Address offset: 0x108
ACC or ACCDBL register overflow
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ACCOF ACC or ACCDBL register overflow
NotGenerated 0 Event not generated
Generated 1 Event generated
6.18.7.9 EVENTS_DBLRDY
Address offset: 0x10C
Double displacement(s) detected
Event generated when REPORTPER number of samples has been accumulated and the content of the
ACCDBL register is not equal to 0. (Thus, this event is only generated if a double transition is detected
since the previous clearing of the ACCDBL register).
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DBLRDY Double displacement(s) detected
6.18.7.10 EVENTS_STOPPED
Address offset: 0x110
QDEC has been stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED QDEC has been stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.18.7.11 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REPORTRDY_READCLRACC Shortcut between event REPORTRDY and task READCLRACC
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW SAMPLERDY_STOP Shortcut between event SAMPLERDY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW REPORTRDY_RDCLRACC Shortcut between event REPORTRDY and task RDCLRACC
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW REPORTRDY_STOP Shortcut between event REPORTRDY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW DBLRDY_RDCLRDBL Shortcut between event DBLRDY and task RDCLRDBL
Disabled 0 Disable shortcut
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable shortcut
F RW DBLRDY_STOP Shortcut between event DBLRDY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
G RW SAMPLERDY_READCLRACC Shortcut between event SAMPLERDY and task READCLRACC
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.18.7.12 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SAMPLERDY Write '1' to enable interrupt for event SAMPLERDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REPORTRDY Write '1' to enable interrupt for event REPORTRDY
6.18.7.13 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SAMPLERDY Write '1' to disable interrupt for event SAMPLERDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW REPORTRDY Write '1' to disable interrupt for event REPORTRDY
6.18.7.14 ENABLE
Address offset: 0x500
Enable the quadrature decoder
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW ENABLE Enable or disable the quadrature decoder
When enabled the decoder pins will be active. When disabled the
quadrature decoder pins are not active and can be used as GPIO .
Disabled 0 Disable
Enabled 1 Enable
6.18.7.15 LEDPOL
Address offset: 0x504
LED output pin polarity
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LEDPOL LED output pin polarity
ActiveLow 0 Led active on output pin low
ActiveHigh 1 Led active on output pin high
6.18.7.16 SAMPLEPER
Address offset: 0x508
Sample period
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SAMPLEPER Sample period. The SAMPLE register will be updated for every new sample
128us 0 128 µs
256us 1 256 µs
512us 2 512 µs
1024us 3 1024 µs
2048us 4 2048 µs
4096us 5 4096 µs
8192us 6 8192 µs
16384us 7 16384 µs
32ms 8 32768 µs
65ms 9 65536 µs
131ms 10 131072 µs
6.18.7.17 SAMPLE
Address offset: 0x50C
Motion sample value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SAMPLE [-1..2] Last motion sample
The value is a 2's complement value, and the sign gives the direction of the
motion. The value '2' indicates a double transition.
6.18.7.18 REPORTPER
Address offset: 0x510
Number of samples to be taken before REPORTRDY and DBLRDY events can be generated
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW REPORTPER Specifies the number of samples to be accumulated in the ACC register
before the REPORTRDY and DBLRDY events can be generated.
The report period in [µs] is given as: RPUS = SP * RP Where RPUS is the
report period in [µs/report], SP is the sample period in [µs/sample] specified
in SAMPLEPER, and RP is the report period in [samples/report] specified in
REPORTPER .
10Smpl 0 10 samples/report
40Smpl 1 40 samples/report
80Smpl 2 80 samples/report
120Smpl 3 120 samples/report
160Smpl 4 160 samples/report
200Smpl 5 200 samples/report
240Smpl 6 240 samples/report
280Smpl 7 280 samples/report
1Smpl 8 1 sample/report
6.18.7.19 ACC
Address offset: 0x514
Register accumulating the valid transitions
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ACC [-1024..1023] Register accumulating all valid samples (not double transition) read from the
SAMPLE register.
6.18.7.20 ACCREAD
Address offset: 0x518
Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ACCREAD [-1024..1023] Snapshot of the ACC register.
6.18.7.21 PSEL.LED
Address offset: 0x51C
Pin select for LED signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.18.7.22 PSEL.A
Address offset: 0x520
Pin select for A signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.18.7.23 PSEL.B
Address offset: 0x524
Pin select for B signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.18.7.24 DBFEN
Address offset: 0x528
Enable input debounce filters
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DBFEN Enable input debounce filters
Disabled 0 Debounce input filters disabled
Enabled 1 Debounce input filters enabled
6.18.7.25 LEDPRE
Address offset: 0x540
Time period the LED is switched ON prior to sampling
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A
Reset 0x00000010 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
ID R/W Field Value ID Value Description
A RW LEDPRE [1..511] Period in µs the LED is switched on prior to sampling
6.18.7.26 ACCDBL
Address offset: 0x544
Register accumulating the number of detected double transitions
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ACCDBL [0..15] Register accumulating the number of detected double or illegal transitions.
( SAMPLE = 2 ).
When this register has reached its maximum value, the accumulation
of double/illegal transitions will stop. An overflow event (ACCOF) will
be generated if any double or illegal transitions are detected after the
maximum value was reached. This field is cleared by triggering the
READCLRACC or RDCLRDBL task.
6.18.7.27 ACCDBLREAD
Address offset: 0x548
Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ACCDBLREAD [0..15] Snapshot of the ACCDBL register. This field is updated when the
READCLRACC or RDCLRDBL task is triggered.
Deactivate
QSPI PSEL.SCK
PSEL.CSN
PSEL.IO0
PSEL.IO1
EasyDMA XIP PSEL.IO2
PSEL.IO3
Ready
2. To ensure stable operation, set the GPIO drive strength to “high drive”. See the GPIO — General
purpose input/output on page 240 chapter for details on how to configure GPIO drive strength.
3. Configure the interface towards the external flash memory using IFCONFIG0 on page 514,
IFCONFIG1 on page 515, and ADDRCONF on page 516.
4. Enable the QSPI peripheral and acquire I/O pins using ENABLE on page 510.
5. Activate the external flash memory interface using the ACTIVATE task. The READY event will be
generated when the interface has been activated and the external flash memory is ready for access.
Important:
If the IFCONFIG0 on page 514 register is configured to use the quad mode, the external flash
device also needs to be set in the quad mode before any data transfers can take place.
This can be done by sending custom instructions to the external flash device, as described in
Sending custom instructions on page 500.
RAM
0x60000000
Peripheral
0x40000000
SRAM
0x20000000
XIP XIP
Code
0x00000000
XIPOFFSET
0x00000000
Figure 96: 24-bit PP4O (quad page program output), SPIMODE = MODE0
Figure 97: 24-bit PP4IO (quad page program input/output), SPIMODE = MODE0
Figure 106: 32-bit PP4IO (quad page program input/output), SPIMODE = MODE0
6.19.10 Registers
Instances
Register overview
6.19.10.1 TASKS_ACTIVATE
Address offset: 0x000
Activate QSPI interface
Triggering this task activates the external flash memory interface and initiates communication with the
external memory. The READY event is generated when the activation has been completed.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_ACTIVATE Activate QSPI interface
Triggering this task activates the external flash memory interface and
initiates communication with the external memory. The READY event is
generated when the activation has been completed.
Trigger 1 Trigger task
6.19.10.2 TASKS_READSTART
Address offset: 0x004
Start transfer from external flash memory to internal RAM
Start transfer from external flash memory to internal RAM. The READY event will be generated when
transfer is complete.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_READSTART Start transfer from external flash memory to internal RAM
Start transfer from external flash memory to internal RAM. The READY event
will be generated when transfer is complete.
Trigger 1 Trigger task
6.19.10.3 TASKS_WRITESTART
Address offset: 0x008
Start transfer from internal RAM to external flash memory
Start transfer from internal RAM to external flash memory. The READY event will be generated when
transfer is complete.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_WRITESTART Start transfer from internal RAM to external flash memory
Start transfer from internal RAM to external flash memory. The READY event
will be generated when transfer is complete.
Trigger 1 Trigger task
6.19.10.4 TASKS_ERASESTART
Address offset: 0x00C
Start external flash memory erase operation
Start external flash memory erase operation. The READY event will be generated when the erase
operation has been started. Note, generation of the READY event does not imply that the erase operation
is completed.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_ERASESTART Start external flash memory erase operation
Start external flash memory erase operation. The READY event will be
generated when the erase operation has been started. Note, generation of
the READY event does not imply that the erase operation is completed.
Trigger 1 Trigger task
6.19.10.5 TASKS_DEACTIVATE
Address offset: 0x010
Deactivate QSPI interface
Deactivate QSPI interface. This task might be needed to optimize current consumption in case there are
any added current consumption when QSPI interface is activated, but idle.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_DEACTIVATE Deactivate QSPI interface
6.19.10.6 EVENTS_READY
Address offset: 0x100
QSPI peripheral is ready. This event will be generated as a response to any QSPI task.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY QSPI peripheral is ready. This event will be generated as a response to any
QSPI task.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.19.10.7 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Enable or disable interrupt for event READY
Disabled 0 Disable
Enabled 1 Enable
6.19.10.8 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.19.10.9 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.19.10.10 ENABLE
Address offset: 0x500
Enable QSPI peripheral and acquire the pins selected in PSELn registers
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable QSPI
Disabled 0 Disable QSPI
Enabled 1 Enable QSPI
6.19.10.11 READ.SRC
Address offset: 0x504
Flash memory source address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SRC Word-aligned flash memory source address.
6.19.10.12 READ.DST
Address offset: 0x508
RAM destination address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DST Word-aligned RAM destination address.
6.19.10.13 READ.CNT
Address offset: 0x50C
Read transfer length
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT [1..0x3FFFF] Read transfer length in number of bytes. The length must be a multiple of 4
bytes.
6.19.10.14 WRITE.DST
Address offset: 0x510
Flash destination address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DST Word-aligned flash destination address.
6.19.10.15 WRITE.SRC
Address offset: 0x514
RAM source address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SRC Word-aligned RAM source address.
6.19.10.16 WRITE.CNT
Address offset: 0x518
Write transfer length
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CNT [1..0x3FFFF] Write transfer length in number of bytes. The length must be a multiple of 4
bytes.
6.19.10.17 ERASE.PTR
Address offset: 0x51C
Start address of flash block to be erased
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Word-aligned start address of block to be erased.
6.19.10.18 ERASE.LEN
Address offset: 0x520
Size of block to be erased.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LEN LEN
4KB 0 Erase 4 kB block (flash command 0x20)
64KB 1 Erase 64 kB block (flash command 0xD8)
All 2 Erase all (flash command 0xC7)
6.19.10.19 PSEL.SCK
Address offset: 0x524
Pin select for serial clock SCK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.20 PSEL.CSN
Address offset: 0x528
Pin select for chip select signal CSN.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.21 PSEL.IO0
Address offset: 0x530
Pin select for serial data MOSI/IO0.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.22 PSEL.IO1
Address offset: 0x534
Pin select for serial data MISO/IO1.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.23 PSEL.IO2
Address offset: 0x538
Pin select for serial data IO2.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.24 PSEL.IO3
Address offset: 0x53C
Pin select for serial data IO3.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.19.10.25 XIPOFFSET
Address offset: 0x540
Address offset into the external memory for Execute in Place operation.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW XIPOFFSET Address offset into the external memory for Execute in Place operation.
Value must be a multiple of 4.
6.19.10.26 IFCONFIG0
Address offset: 0x544
Interface configuration.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B B B A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READOC Configure number of data lines and opcode used for reading.
FASTREAD 0 Single data line SPI. FAST_READ (opcode 0x0B).
READ2O 1 Dual data line SPI. READ2O (opcode 0x3B).
READ2IO 2 Dual data line SPI. READ2IO (opcode 0xBB).
READ4O 3 Quad data line SPI. READ4O (opcode 0x6B).
READ4IO 4 Quad data line SPI. READ4IO (opcode 0xEB).
B RW WRITEOC Configure number of data lines and opcode used for writing.
PP 0 Single data line SPI. PP (opcode 0x02).
PP2O 1 Dual data line SPI. PP2O (opcode 0xA2).
PP4O 2 Quad data line SPI. PP4O (opcode 0x32).
PP4IO 3 Quad data line SPI. PP4IO (opcode 0x38).
C RW ADDRMODE Addressing mode.
24BIT 0 24-bit addressing.
32BIT 1 32-bit addressing.
D RW DPMENABLE Enable deep power-down mode (DPM) feature.
Disable 0 Disable DPM feature.
Enable 1 Enable DPM feature.
E RW PPSIZE Page size for commands PP, PP2O, PP4O and PP4IO.
256Bytes 0 256 bytes.
512Bytes 1 512 bytes.
6.19.10.27 IFCONFIG1
Address offset: 0x600
Interface configuration.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D C B A A A A A A A A
Reset 0x00040480 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SCKDELAY [0..255] Minimum amount of time that the CSN pin must stay high before it can go
low again. Value is specified in number of 16 MHz periods (62.5 ns).
B RW DPMEN Enter/exit deep power-down mode (DPM) for external flash memory.
Exit 0 Exit DPM.
Enter 1 Enter DPM.
C RW SPIMODE Select SPI mode.
MODE0 0 Mode 0: Data are captured on the clock rising edge and data is output on a
falling edge. Base level of clock is 0 (CPOL=0, CPHA=0).
MODE3 1 Mode 3: Data are captured on the clock falling edge and data is output on a
rising edge. Base level of clock is 1 (CPOL=1, CPHA=1).
D RW SCKFREQ [0..15] SCK frequency is given as 32 MHz / (SCKFREQ + 1).
6.19.10.28 STATUS
Address offset: 0x604
Status register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C C C C C C C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R DPM Deep power-down mode (DPM) status of external flash.
Disabled 0 External flash is not in DPM.
Enabled 1 External flash is in DPM.
B R READY Ready status.
READY 1 QSPI peripheral is ready. It is allowed to trigger new tasks, writing custom
instructions or enter/exit DPM.
BUSY 0 QSPI peripheral is busy. It is not allowed to trigger any new tasks, writing
custom instructions or enter/exit DPM.
C R SREG Value of external flash device Status Register. When the external flash has
two bytes status register this field includes the value of the low byte.
6.19.10.29 DPMDUR
Address offset: 0x614
Set the duration required to enter/exit deep power-down mode (DPM).
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW ENTER [0..0xFFFF] Duration needed by external flash to enter DPM. Duration is given as ENTER
* 256 * 62.5 ns.
B RW EXIT [0..0xFFFF] Duration needed by external flash to exit DPM. Duration is given as EXIT *
256 * 62.5 ns.
6.19.10.30 ADDRCONF
Address offset: 0x624
Extended address configuration.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x000000B7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 1
ID R/W Field Value ID Value Description
A RW OPCODE [0xFF..0] Opcode that enters the 32-bit addressing mode.
B RW BYTE0 [0xFF..0] Byte 0 following opcode.
C RW BYTE1 [0xFF..0] Byte 1 following byte 0.
D RW MODE Extended addressing mode.
NoInstr 0 Do not send any instruction.
Opcode 1 Send opcode.
OpByte0 2 Send opcode, byte0.
All 3 Send opcode, byte0, byte1.
E RW WIPWAIT Wait for write complete before sending command.
Disable 0 No wait.
Enable 1 Wait.
F RW WREN Send WREN (write enable opcode 0x06) before instruction.
Disable 0 Do not send WREN.
Enable 1 Send WREN.
6.19.10.31 CINSTRCONF
Address offset: 0x634
Custom instruction configuration register.
A new custom instruction is sent every time this register is written. The READY event will be generated
when the custom instruction has been sent.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B B B B A A A A A A A A
Reset 0x00002000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OPCODE [0..255] Opcode of Custom instruction.
B RW LENGTH Length of custom instruction in number of bytes.
1B 1 Send opcode only.
2B 2 Send opcode, CINSTRDAT0.BYTE0.
3B 3 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE1.
4B 4 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE2.
5B 5 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE3.
6B 6 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE4.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B B B B A A A A A A A A
Reset 0x00002000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
7B 7 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE5.
8B 8 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE6.
9B 9 Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE7.
C RW LIO2 [0..1] Level of the IO2 pin (if connected) during transmission of custom
instruction.
D RW LIO3 [0..1] Level of the IO3 pin (if connected) during transmission of custom
instruction.
E RW WIPWAIT Wait for write complete before sending command.
Disable 0 No wait.
Enable 1 Wait.
F RW WREN Send WREN (write enable opcode 0x06) before instruction.
Disable 0 Do not send WREN.
Enable 1 Send WREN.
G RW LFEN Enable long frame mode. When enabled, a custom instruction transaction
has to be ended by writing the LFSTOP field.
Disable 0 Long frame mode disabled
Enable 1 Long frame mode enabled
H RW LFSTOP Stop (finalize) long frame transaction
Stop 1 Stop
6.19.10.32 CINSTRDAT0
Address offset: 0x638
Custom instruction data register 0.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BYTE0 [0..0xFF] Data byte 0
B RW BYTE1 [0..0xFF] Data byte 1
C RW BYTE2 [0..0xFF] Data byte 2
D RW BYTE3 [0..0xFF] Data byte 3
6.19.10.33 CINSTRDAT1
Address offset: 0x63C
Custom instruction data register 1.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BYTE4 [0..0xFF] Data byte 4
B RW BYTE5 [0..0xFF] Data byte 5
C RW BYTE6 [0..0xFF] Data byte 6
D RW BYTE7 [0..0xFF] Data byte 7
6.19.10.34 IFTIMING
Address offset: 0x640
SPI interface timing.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000200 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RXDELAY [7..0] Timing related to sampling of the input serial data. The value of RXDELAY
specifies the number of 64 MHz cycles (15.625 ns) delay from the the rising
edge of the SPI Clock (SCK) until the input serial data is sampled. As en
example, if set to 0 the input serial data is sampled on the rising edge of
SCK.
RAM RADIO
S0 2.4 GHz
CRC Dewhitening
Packet receiver
L
disassembler
S1
EasyDMA
Payload
IFS
Bit counter
control unit
S0 ANT1
L Packet
assembler 2.4 GHz
S1 CRC Whitening
transmitter
Payload MAXLEN
The RADIO includes a device address match unit and an interframe spacing control unit that can be utilized
to simplify address whitelisting and interframe spacing respectively in Bluetooth low energy and similar
applications.
The RADIO also includes a received signal strength indicator (RSSI) and a bit counter. The bit counter
generates events when a preconfigured number of bits have been sent or received by the RADIO.
LSBit
LSBit
LSBit
PREAMBLE BASE PREFIX CI TERM1 S0 LENGTH S1 PAYLOAD CRC
2
LSByte LSByte MSByte
ADDRESS
Not shown in the figure is the static payload add-on (the length of which is defined in STATLEN, and which
is 0 bytes long in a standard BLE packet). The static payload add-on is sent between PAYLOAD and CRC
fields. The radio sends the different fields in the packet in the order they are illustrated above, from left to
right. The preamble will be sent with least significant bit first on air.
Not shown in the figure above is the static payload add-on (the length of which is defined in
PCNF1.STATLEN, and which is 0 bytes long in a standard BLE packet). The static payload add-on is sent
between the PAYLOAD and CRC fields.
PREAMBLE is sent with least significant bit first on-air. The size of the PREAMBLE depends on the mode
selected in the MODE register:
• The PREAMBLE is one byte for MODE = Ble_1Mbit as well as all Nordic proprietary operating modes
(MODE = Nrf_1Mbit and MODE = Nrf_2Mbit), and the PLEN field in the PCNF0 register has to be
set accordingly. If the first bit of the ADDRESS is 0 the preamble will be set to 0xAA otherwise the
PREAMBLE will be set to 0x55.
• For MODE = Ble_2Mbit the PREAMBLE has to be set to 2 byte long through the PLEN field in the
PCNF0 register. If the first bit of the ADDRESS is 0 the preamble will be set to 0xAAAA otherwise the
PREAMBLE will be set to 0x5555.
• For MODE = Ble_LR125Kbit and MODE = Ble_LR500Kbit the PREAMBLE is 10 repetitions of 0x3C.
• For MODE = Ieee802154_250Kbit the PREAMBLE is 4 bytes long and set to all zeros.
Radio packets are stored in memory inside instances of a radio packet data structure as illustrated in In-
RAM representation of radio packet - S0, LENGTH and S1 are optional on page 520. The PREAMBLE,
ADDRESS, CI, TERM1, TERM2 and CRC fields are omitted in this data structure.
S0 LENGTH S1 PAYLOAD
0 LSByte n
Figure 109: In-RAM representation of radio packet - S0, LENGTH and S1 are optional
The byte ordering on air is always least significant byte first for the ADDRESS and PAYLOAD fields and
most significant byte first for the CRC field. The ADDRESS fields are always transmitted and received least
significant bit first on air. The CRC field is always transmitted and received most significant bit first. The bit-
endian, i.e. the order in which the bits are sent and received, of the S0, LENGTH, S1 and PAYLOAD fields
can be configured via the ENDIAN in PCNF1.
The sizes of the S0, LENGTH and S1 fields can be individually configured via S0LEN, LFLEN and S1LEN in
PCNF0 respectively. If any of these fields are configured to be less than 8 bits long, the least significant bits
of the fields are used.
If S0, LENGTH or S1 are specified with zero length their fields will be omitted in memory, otherwise each
field will be represented as a separate byte, regardless of the number of bits in their on air counterpart.
Independent of the configuration of MAXLEN, the combined length of S0, LENGTH, S1 and PAYLOAD
cannot exceed 258 bytes.
The on air addresses are defined in the BASEn and PREFIXn registers, and it is only when writing these
registers the user will have to relate to actual on air addresses. For other radio address registers such as
the TXADDRESS, RXADDRESSES and RXMATCH registers, logical radio addresses ranging from 0 to 7 are
being used. The relationship between the on air radio addresses and the logical addresses is described in
Definition of logical addresses on page 520.
D0 D4 D7 Data out
+ +
Position 0 1 2 3 4 5 6
Data in
Whitening and de-whitening will be performed over the whole packet (except for the preamble and the
address field).
The linear feedback shift register, illustrated in Data whitening and de-whitening on page 521 can be
initialised via the DATAWHITEIV register.
6.20.4 CRC
The CRC generator in the RADIO calculates the CRC over the whole packet excluding the preamble. If
desirable, the address field can be excluded from the CRC calculation as well
See CRCCNF register for more information.
The CRC polynomial is configurable as illustrated in CRC generation of an n bit CRC on page 521 where
bit 0 in the CRCPOLY register corresponds to X0 and bit 1 corresponds to X1 etc. See CRCPOLY for more
information.
Xn Xn-1 X2 X1 X0
Packet
(Clocked in serially)
+ + + + +
bn b0
As illustrated in CRC generation of an n bit CRC on page 521, the CRC is calculated by feeding the
packet serially through the CRC generator. Before the packet is clocked through the CRC generator, the
CRC generator's latches b0 through bn will be initialized with a predefined value specified in the CRCINIT
register. When the whole packet is clocked through the CRC generator, latches b0 through bn will hold
the resulting CRC. This value will be used by the RADIO during both transmission and reception but it is
not available to be read by the CPU at any time. A received CRC can however be read by the CPU via the
RXCRC register independent of whether or not it has passed the CRC check.
The length (n) of the CRC is configurable, see CRCCNF for more information.
After the whole packet including the CRC has been received, the RADIO will generate a CRCOK event if no
CRC errors were detected, or alternatively generate a CRCERROR event if CRC errors were detected.
The status of the CRC check can be read from the CRCSTATUS register after a packet has been received.
State Description
DISABLED No operations are going on inside the radio and the power consumption is at a minimum
RXRU The radio is ramping up and preparing for reception
RXIDLE The radio is ready for reception to start
RX Reception has been started and the addresses enabled in the RXADDRESSES register are being monitored
TXRU The radio is ramping up and preparing for transmission
TXIDLE The radio is ready for transmission to start
TX The radio is transmitting a packet
RXDISABLE The radio is disabling the receiver
TXDISABLE The radio is disabling the transmitter
An overview state diagram for the RADIO is illustrated in Radio states on page 522.
Note: The END to START shortcut should not be used with Ble_LR125Kbit, Ble_LR500Kbit and
Ieee802154_250Kbit modes. Rather the PHYEND to START shortcut.
DISABLE
Address sent / ADDRESS
START
STOP
This figure shows how the tasks and events relate to the RADIO's operation. The RADIO does not prevent
a task from being triggered from the wrong state. If a task is triggered from the wrong state, for example if
the RXEN task is triggered from the RXDISABLE state, this may lead to incorrect behaviour. As illustrated in
Radio states on page 522, the PAYLOAD event is always generated even if the payload is zero.
See TXRU in Radio states on page 522 and Transmit sequence on page 523. A TXRU ramp-up
sequence is initiated when the TXEN task is triggered. After the radio has successfully ramped up it will
generate the READY event indicating that a packet transmission can be initiate. A packet transmission is
initiated by triggering the START task. As illustrated in Radio states on page 522 the START task can first
be triggered after the RADIO has entered into the TXIDLE state.
State
DISABLED
READY
ADDRESS
PAYLOAD
END
Lifeline
1 2 3
DISABLE
START
TXEN
Transmit sequence on page 523 illustrates a single packet transmission where the CPU manually triggers
the different tasks needed to control the flow of the RADIO, i.e. no shortcuts are used. If shortcuts are
not used, a certain amount of delay caused by CPU execution is expected between READY and START, and
between END and DISABLE. As illustrated in Transmit sequence on page 523 the RADIO will by default
transmit '1's between READY and START, and between END and DISABLED. What is transmitted can be
programmed through the DTX field in the MODECNF0 register.
A slightly modified version of the transmit sequence from Transmit sequence on page 523 is illustrated
in Transmit sequence using shortcuts to avoid delays on page 523 where the RADIO is configured to
use shortcuts between READY and START, and between END and DISABLE, which means that no delay is
introduced.
State
TXRU TX TXDISABLE
Transmitter
PAYLOAD
READY
END
Lifeline
1 2
DISABLE
START
TXEN
The RADIO is able to send multiple packets one after the other without having to disable and re-enable
the RADIO between packets, this is illustrated in Transmission of multiple packets on page 524.
State
TXRU TX TXIDLE TX TXDISABLE
Transmitter
P A S0 L S1 PAYLOAD CRC (carrier) P A S0 L S1 PAYLOAD CRC (carrier)
DISABLED
ADDRESS
ADDRESS
PAYLOAD
PAYLOAD
END
READY
END
Lifeline
1 2 3
DISABLE
START
START
TXEN
DISABLED
READY
ADDRESS
PAYLOAD
END
Lifeline
1 2 3
DISABLE
START
RXEN
An RXRU ramp up sequence is initiated when the RXEN task is triggered. After the radio has successfully
ramped up it will generate the READY event indicating that a packet reception can be initiated. A packet
reception is initiated by triggering the START task. As illustrated in Radio states on page 522 the START
task can first be triggered after the RADIO has entered into the RXIDLE state.
Receive sequence on page 524 illustrates a single packet reception where the CPU manually triggers
the different tasks needed to control the flow of the RADIO, i.e. no shortcuts are used. If shortcuts are
not used, a certain amount of delay caused by CPU execution is expected between READY and START, and
between END and DISABLE. As illustrated Receive sequence on page 524 the RADIO will be listening
and possibly receiving undefined data, represented with an 'X', from START and until a packet with valid
preamble (P) is received.
A slightly modified version of the receive sequence from Receive sequence on page 524 is illustrated
in Receive sequence using shortcuts to avoid delays on page 525 where the RADIO is configured to
use shortcuts between READY and START, and between END and DISABLE, which means that no delay is
introduced.
State
RXRU RX RXDISABLE
Reception
’X’ P A S0 L S1 PAYLOAD CRC
DISABLED
READY
ADDRESS
PAYLOAD
END
Lifeline
1 2
START
DISABLE
RXEN
The RADIO is able to receive multiple packets one after the other without having to disable and re-enable
the RADIO between packets as illustrated in Reception of multiple packets on page 525.
State
DISABLED
ADDRESS
ADDRESS
PAYLOAD
PAYLOAD
END
READY
END
Lifeline
1 2 3
DISABLE
START
START
RXEN
It is defined as the time, in microseconds, from the end of the last bit of the previous packet received and
to the start of the first bit of the subsequent packet that is transmitted. The RADIO is able to enforce this
interval, as specified in the TIFS register, as long as the TIFS is not specified to be shorter than the RADIO's
turnaround time, i.e. the time needed to switch off the receiver, and then switch the transmitter back on.
The TIFS register can be written any time before the last bit on air is received.
This timing is illustrated in the figure below.
Change to MODE OK
RX RXDISABLE TXRU TX
On air
ADDRESS
DISABLED
PAYLOAD
READY
END
Lifeline
TIFS
START
DISABLE
TXEN
As illustrated, the TIFS duration starts after the last bit on air (just before the END event), and elapses with
first bit being transmitted on air (just after READY event).
TIFS is only enforced if END_DISABLE and DISABLED_TXEN or END_DISABLE and DISABLED_RXEN shortcuts
are enabled. TIFS is qualified for use in BLE_1MBIT, BLE_2MBIT, BLE_LR125KBIT, BLE_LR500KBIT and
Ieee802154_250Kbit mode using the default ramp-up mode. SHORTS and TIFS are not double-buffered,
and can be updated at any point in time before the last bit on air is received. The MODE register is double-
buffered and sampled at the TXEN or RXEN task.
RXRU RX RXDISABLE
0 1 2
Reception
BCMATCH
and S1 is 12 bits.
DISABLED
ADDRESS
PAYLOAD
END
Lifeline
1 2 3
BCC = 12
DISABLE
BCC = 12 + 16
START
BCSTART
RXEN
BCSTOP
The following figure provides an overview of the physical frame structure and its timing:
160 µs 32 µs <=4064 µs
PHY protocol data unit (PPDU)
Preamble sequence SFD Length PHY payload
5 octets synchronization header (SHR) 1 octet Maximum 127 octets (PSDU)
(PHR)
Figure 121: IEEE 802.15.4 frame format - PHY layer frame structure (PPDU)
The standard uses the term octet as storage unit for 8 bits within the PPDU. For timing, the value symbol is
used, and it has the duration of 16 µs.
The total usable payload (PSDU) is 127 octets, but when CRC is being used, this is reduced to 125 octets of
usable payload.
The preamble sequence consists of four octets that are all zero. These are used for the radio receiver to
synchronize on. Following the four octets is a single octet named start of frame delimiter (SFD) with a fixed
value of 0xA7. The user can program an alternative SFD through the SFD register. This feature is provided
for an initial level of frame filtering for those who choose non-standard compliance. It is a valuable feature
when operating in a congested or private network. The preamble sequence and the SFD are generated by
the radio module, and are not programmed by the user into the frame buffer.
The PHY header (PHR) is a single octet following the synchronization header (SHR). The least significant
seven bits denote the frame length of the following PSDU. The most significant bit is reserved and is
set to zero for frames that are standard compliant. The radio module will report all eight bits and it can
potentially be used to carry some information. The PHR is the first byte that will be written to the frame
data memory pointed to by PACKETPTR. Frames with zero length will be discarded, and the FRAMESTART
event will not be generated in this case.
The next N octets will carry the data of the PHY packet, where N equals the value of the PHR. For an
implementation also using the IEEE 802.15.4 MAC layer, the PHY data will be a MAC frame of N-2 octets
since two octets will occupy a CRC field.
An IEEE 802.15.4 MAC frame will always consist of a header (the frame control field (FCF), sequence
number and addressing fields), a payload, and the 16-bit frame control sequence (FCS), as as illustrated in
the figure below.
MAC protocol data unit (MPDU)
FCF Seq Addressing fields MAC payload FCS
MAC header (MHR) MAC service data unit (MSDU) (MFR)
Dst PAN ID Dst address Src PAN ID Src address Security CRC-16
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Frame type Sec Pend ACK Comp Reserved Dst A mode Frame ver Src A mode
Frame control field (FCF) 2 octets
Figure 122: IEEE 802.15.4 frame format - MAC layer frame structure (MPDU)
The two FCF octets contain information about what type of frame this is, what addressing it uses, and
other control flags. This field is decoded when using the assisted operating modes offered by the radio.
The sequence number is a single octet in size and is unique for a frame. It will be used in the associated
acknowledgement frame sent upon successful frame reception.
The addressing field can be zero (acknowledgement frame) or up to 20 octets in size. The field is used to
direct packets to the correct recipient as well as denoting its origin. IEEE 802.15.4 bases it's addressing on
networks being organized in PANs with 16-bit identifier and nodes having a 16-bit or 64-bit address. In the
assisted receive mode, these parameters are analyzed for address matching and acknowledgement.
The MAC payload carries the data of the next higher layer, or in the case of a MAC command frame
information used by the MAC layer itself.
The two last octets contain the 16-bit ITU-T CRC. The FCS is calculated over the MAC header (MHR) and
MAC payload (MSDU) parts of the frame. This field is calculated automatically when sending a frame, or
indicated in the CRCSTATUS register when a frame is received. This feature is taken care of autonomously,
by the CRC module (if configured).
Below is a code snippet showing how to perform a single energy detection measurement and convert to
IEEE 802.15.4 scale.
For scaling between hardware value and dBm, see Conversion between hardware value and dBm on page
531.
It is the mlme-scan.req primitive of the MAC layer that is using the ED measurement to detect channels
where there might be wireless activity. To assist this primitive a taylored mode of operation is available
where the ED measurement runs for a defined number of iterations where it keeps track of the maximum
ED level. This is enganged by writing the EDCNT register to a value different from 0, it will then run the
specified number of iterations reporting the maximum energy measurement in the EDSAMPLE register.
The scan is started with EDSTART task and its end indicated with the EDEND event. This greatly reduces the
interrupt frequency and hence power consumtion. The figure below shows how the ED measurement will
operate depending on the EDCNT register.
EDCNT = 0
EDSTART EDEND
128 µs
EDCNT = N-1
EDSTART EDEND
128*(N) µs
An ongoing scan can always be stopped by writing the EDSTOP task. It will be followed by the EDSTOPPED
event when the module has terminated.
Mode 2 is enabled by configuring the CCAMODE=CarrierMode. In carrier mode the module will sample
to see if a valid SFD is found during the 8 symbols. If a valid SFD is seen the CCABUSY event is generated
and the node should not send any data. The CCABUSY event is also generated if the scan was performed
during an ongoing frame reception. In the case where the measurement period completes with no SFD
detection the CCAIDLE task is generated. With the CCA_CORR_COUNT unequal to zero the algorithm
will look at the correlator output in addition to the SFD detection signal. If a SFD is reported during
the scan period it will terminate immidiately indicating busy medium. Similarly, if the number of peaks
above CCA_CORRTHRES crosses the CCA_CORR_COUNT the CCABUSY event is generated. If less than
CCA_CORR_COUNT crossings are found and no SFD is reported the CCAIDLE signal will be generated and it
is ok for the node to commence sending data.
With the CCA_MODE=CarrierAndEdMode or CCA_MODE=CarrierOrEdMode a logical combination of
the result from running both mode 1 and mode 2 is performed. The CCABUSY or CCAIDLE signal will be
generated based on an ANDing or ORing of the internal signals from performing both the energy detection
and carrier detection scans.
An ongoing CCA can always be stopped by issuing the CCASTOP task. This will trigger the associated
CCASTOPPED event.
For CCA mode automation there are three shortcuts available. One is between CCAIDLE and TXEN. This
short must always be used in conjunction with the short between CCAIDLE and STOP. This automation
is provided so that the radio can automatically switch between RX (when performing the CCA) and to
TX where the packet is sent. The last shortcut associated with the CCA mode is between CCABUSY and
DISABLE. This will cause the radio to be disabled whenever the CCA reports a busy medium.
Another handy shortcut is between RXREADY and CCASTART. When the radio has ramped up into RX mode
it can immidiately start a CCA.
The ENDIANESS subregister must be set to little-endian since the FCS field is transmitted leftmost bit first.
P
Clear channel SHR H PAYLOAD CRC
R
DISABLED
FRAMESTART
CCAIDLE
READY
READY
END
Lifeline
DISABLE
CCASTART
START
RXEN
TXEN
The receiver will ramp up and enter the RXIDLE state where the READY event is generated. Upon
receiving the ready event the CCA is started by writing to the CCASTART task register. The chosen mode
of assessment (CCA_MODE register) will be performed and signal the CCAIDLE or CCABUSY event 128
µs later. If the CCABUSY is received the radio will have to retry the CCA after a specific back off period as
outlined in the IEEE 802.15.4 standard (see Figure 69 in section 7.5.1.4 The CSMA-CA algorithm of the
standard).
When the CCAIDLE event on the other hand is generated the user shall write to the TXEN task register
to enter the TXRU state. The READY event will be generated when the radio is in TXIDLE state and ready
to transmit. With the PACKETPTR pointing to the length (PHR) field of the frame the START task can be
written. The radio will send the four octet preamble sequence followed by the start of frame delimiter
(SFD register). The first byte read from the Data RAM is the length field (PHR) followed by the transmission
of the number of bytes indicated as the frame length. If the CRC module is configured it will run for PHR-2
octets. The last two octets will be substituted with the results from running the CRC. The necessary CRC
parameters are sampled on the START task. The FCS field of the frame is little endian.
In addition to the already available shortcuts, one is provided between READY event and CCASTART
task so that a CCA can automatically start when the receiver is ready. And a second shortcut has been
added between CCAIDLE event and the TXEN task so that upon detecting a clear channel the radio can
immediately enter transmit mode.
P
’X’ SHR H PAYLOAD CRC
R
FRAMESTART
DISABLED
READY
END
Lifeline
DISABLE
START
RXEN
When a valid SHR is received the radio will start storing future octets (starting with PHR) to the data
memory pointed to by PACKETPTR. After the SFD octet is received the FRAMESTART event is generated.
If the CRC module is enabled it will start updating with the second byte received (first byte in payload)
and run for the full frame length. The two last bytes in the frame is not written to DataRAM when CRC is
configured. However, if the result of the CRC after running the full frame is zero the CRCOK event will be
generated. The END event is generated when the last octet has been received and is available in DataRAM.
When a packet is received a link quality indicator (LQI) is also generated and appended immediately after
the last received octet. When using IEEE 802.15.4 compliant frame this will be just after the MSDU since
the FCS is not reported. In the case of a non-complient frame it will be appended after the full frame. The
LQI reported by hardware must be converted to IEEE 802.15.4 range by an 8-bit saturating multiplication
by 4, as shown in the code example for ED sampling. The LQI is only valid for frames equal to or longer
than three octets. When receiving a frame the RSSI (reported as negative dB) will be measured at three
points during the reception. These three values will be sorted and the middle one selected (median 3) for
then to be remapped within the LQI range. The following figure illustrates the LQI measurement and how
the data is arranged in the DataRAM:
On air frame
160 µs 32 µs <=4064 µs
RSSI
RSSI
RSSI
In RAM frame Median 3
A shortcut has been added between FRAMESTART event and the BCSTART task. This can be used to trigger
a BCMATCH event after N bits, such as when inspecting the MAC addressing fields.
Acknowledged transmission
Long frame ACK Short frame ACK
Unacknowledged transmission
Long frame Short frame
6.20.13 EasyDMA
The RADIO uses EasyDMA for reading of data packets from and writing to RAM, without CPU involvement.
As illustrated in RADIO block diagram on page 519, the RADIO's EasyDMA utilizes the same PACKETPTR
for receiving and transmitting packets. This pointer should be reconfigured by the CPU each time before
RADIO is started by the START task. The PACKETPTR registers is double-buffered, meaning that it can be
updated and prepared for the next transmission.
Important: If the PACKETPTR is not pointing to the Data RAM region, an EasyDMA transfer may
result in a HardFault or RAM corruption. See Memory on page 21 for more information about the
different memory regions.
The END event indicates that the last bit has been processed by the radio. The DISABLED event is issued to
acknowledge that a DISABLE task is done.
The structure of a radio packet is described in detail in Packet configuration on page 519. The data that
is stored in Data RAM and transported by EasyDMA consists of the following fields:
• S0
• LENGTH
• S1
• PAYLOAD
In addition, a static add-on is sent immediately after the payload.
The size of each of the above fields in the frame is configurable (see Packet configuration on page 519),
and the space occupied in RAM depends on these settings. A size of zero is possible for any of the fields, it
is up to the user to make sure that the resulting frame complies with the RF protocol chosen.
All fields are extended in size to align with a byte boundary in RAM. For instance a 3 bit long field on air
will occupy 1 byte in RAM while a 9 bit long field will be extended to 2 bytes.
The radio packets elements can be configured as follows:
• CI, TERM1 and TERM2 fields are only present in Bluetooth low energy long range mode
• S0 is configured through the S0LEN field in PCNF0
• LENGTH is configured through the LFLEN field in PCNF0
• S1 is configured through the S1LEN field in PCNF0
• Size of the payload is configured through the value in RAM corresponding to the LENGTH field
• Size of the static add-on to the payload is configured through the STATLEN field in PCNF1
The MAXLEN field in the PCNF1 register configures the maximum packet payload plus add-on size in
number of bytes that can be transmitted or received by the RADIO. This feature can be used to ensure
that the RADIO does not overwrite, or read beyond, the RAM assigned to the packet payload. This means
that if the packet payload length defined by PCNF1.STATLEN and the LENGTH field in the packet specifies a
packet larger than MAXLEN, the payload will be truncated at MAXLEN.
Note: The MAXLEN includes the payload and the add-on, but excludes the size occupied by the S0,
LENGTH and S1 fields. This has to be taken into account when allocating RAM.
If the payload and add-on length is specified larger than MAXLEN, the RADIO will still transmit or receive in
the same way as before, except the payload is now truncated to MAXLEN. The packet's LENGTH field will
not be altered when the payload is truncated. The RADIO will calculate CRC as if the packet length is equal
to MAXLEN.
Note: If the PACKETPTR is not pointing to the Data RAM region, an EasyDMA transfer may result in
a HardFault or RAM corruption. See Memory on page 21 for more information about the different
memory regions.
The END event indicates that the last bit has been processed by the radio. The DISABLED event is issued to
acknowledge that an DISABLE task is done.
6.20.14 Registers
Instances
Register overview
6.20.14.1 TASKS_TXEN
Address offset: 0x000
Enable RADIO in TX mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TXEN Enable RADIO in TX mode
Trigger 1 Trigger task
6.20.14.2 TASKS_RXEN
Address offset: 0x004
Enable RADIO in RX mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RXEN Enable RADIO in RX mode
Trigger 1 Trigger task
6.20.14.3 TASKS_START
Address offset: 0x008
Start RADIO
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start RADIO
Trigger 1 Trigger task
6.20.14.4 TASKS_STOP
Address offset: 0x00C
Stop RADIO
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop RADIO
Trigger 1 Trigger task
6.20.14.5 TASKS_DISABLE
Address offset: 0x010
Disable RADIO
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_DISABLE Disable RADIO
Trigger 1 Trigger task
6.20.14.6 TASKS_RSSISTART
Address offset: 0x014
Start the RSSI and take one single sample of the receive signal strength
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RSSISTART Start the RSSI and take one single sample of the receive signal strength
Trigger 1 Trigger task
6.20.14.7 TASKS_RSSISTOP
Address offset: 0x018
Stop the RSSI measurement
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RSSISTOP Stop the RSSI measurement
Trigger 1 Trigger task
6.20.14.8 TASKS_BCSTART
Address offset: 0x01C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_BCSTART Start the bit counter
Trigger 1 Trigger task
6.20.14.9 TASKS_BCSTOP
Address offset: 0x020
Stop the bit counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_BCSTOP Stop the bit counter
Trigger 1 Trigger task
6.20.14.10 TASKS_EDSTART
Address offset: 0x024
Start the energy detect measurement used in IEEE 802.15.4 mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_EDSTART Start the energy detect measurement used in IEEE 802.15.4 mode
Trigger 1 Trigger task
6.20.14.11 TASKS_EDSTOP
Address offset: 0x028
Stop the energy detect measurement
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_EDSTOP Stop the energy detect measurement
Trigger 1 Trigger task
6.20.14.12 TASKS_CCASTART
Address offset: 0x02C
Start the clear channel assessment used in IEEE 802.15.4 mode
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CCASTART Start the clear channel assessment used in IEEE 802.15.4 mode
Trigger 1 Trigger task
6.20.14.13 TASKS_CCASTOP
Address offset: 0x030
Stop the clear channel assessment
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CCASTOP Stop the clear channel assessment
Trigger 1 Trigger task
6.20.14.14 EVENTS_READY
Address offset: 0x100
RADIO has ramped up and is ready to be started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY RADIO has ramped up and is ready to be started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.15 EVENTS_ADDRESS
Address offset: 0x104
Address sent or received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ADDRESS Address sent or received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.16 EVENTS_PAYLOAD
Address offset: 0x108
Packet payload sent or received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_PAYLOAD Packet payload sent or received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.17 EVENTS_END
Address offset: 0x10C
Packet sent or received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END Packet sent or received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.18 EVENTS_DISABLED
Address offset: 0x110
RADIO has been disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DISABLED RADIO has been disabled
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.19 EVENTS_DEVMATCH
Address offset: 0x114
A device address match occurred on the last received packet
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DEVMATCH A device address match occurred on the last received packet
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.20 EVENTS_DEVMISS
Address offset: 0x118
No device address match occurred on the last received packet
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DEVMISS No device address match occurred on the last received packet
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.21 EVENTS_RSSIEND
Address offset: 0x11C
Sampling of receive signal strength complete
A new RSSI sample is ready for readout from the RADIO.RSSISAMPLE register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RSSIEND Sampling of receive signal strength complete
6.20.14.22 EVENTS_BCMATCH
Address offset: 0x128
Bit counter reached bit count value
Bit counter value is specified in the RADIO.BCC register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_BCMATCH Bit counter reached bit count value
6.20.14.23 EVENTS_CRCOK
Address offset: 0x130
Packet received with CRC ok
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CRCOK Packet received with CRC ok
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.24 EVENTS_CRCERROR
Address offset: 0x134
Packet received with CRC error
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CRCERROR Packet received with CRC error
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.25 EVENTS_FRAMESTART
Address offset: 0x138
IEEE 802.15.4 length field received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_FRAMESTART IEEE 802.15.4 length field received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.26 EVENTS_EDEND
Address offset: 0x13C
Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE
register.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_EDEND Sampling of energy detection complete. A new ED sample is ready for
readout from the RADIO.EDSAMPLE register.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.27 EVENTS_EDSTOPPED
Address offset: 0x140
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_EDSTOPPED The sampling of energy detection has stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.28 EVENTS_CCAIDLE
Address offset: 0x144
Wireless medium in idle - clear to send
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CCAIDLE Wireless medium in idle - clear to send
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.29 EVENTS_CCABUSY
Address offset: 0x148
Wireless medium busy - do not send
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CCABUSY Wireless medium busy - do not send
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.30 EVENTS_CCASTOPPED
Address offset: 0x14C
The CCA has stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CCASTOPPED The CCA has stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.31 EVENTS_RATEBOOST
Address offset: 0x150
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RATEBOOST Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to
Ble_LR500Kbit.
6.20.14.32 EVENTS_TXREADY
Address offset: 0x154
RADIO has ramped up and is ready to be started TX path
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXREADY RADIO has ramped up and is ready to be started TX path
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.33 EVENTS_RXREADY
Address offset: 0x158
RADIO has ramped up and is ready to be started RX path
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXREADY RADIO has ramped up and is ready to be started RX path
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.34 EVENTS_MHRMATCH
Address offset: 0x15C
MAC header match found
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_MHRMATCH MAC header match found
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.35 EVENTS_SYNC
Address offset: 0x168
Preamble indicator.
A possible preamble has been received in Ble_LR125Kbit, Ble_LR500Kbit or Ieee802154_250Kbit modes
during an RX transaction. False triggering of the event is possible.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SYNC Preamble indicator.
6.20.14.36 EVENTS_PHYEND
Address offset: 0x16C
Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_PHYEND Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit
modes when last bit is sent on air.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.20.14.37 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID U T S R Q P O N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY_START Shortcut between event READY and task START
Disabled 0 Disable shortcut
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID U T S R Q P O N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable shortcut
B RW END_DISABLE Shortcut between event END and task DISABLE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW DISABLED_TXEN Shortcut between event DISABLED and task TXEN
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW DISABLED_RXEN Shortcut between event DISABLED and task RXEN
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW ADDRESS_RSSISTART Shortcut between event ADDRESS and task RSSISTART
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
F RW END_START Shortcut between event END and task START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
G RW ADDRESS_BCSTART Shortcut between event ADDRESS and task BCSTART
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
H RW DISABLED_RSSISTOP Shortcut between event DISABLED and task RSSISTOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
K RW RXREADY_CCASTART Shortcut between event RXREADY and task CCASTART
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
L RW CCAIDLE_TXEN Shortcut between event CCAIDLE and task TXEN
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
M RW CCABUSY_DISABLE Shortcut between event CCABUSY and task DISABLE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
N RW FRAMESTART_BCSTART Shortcut between event FRAMESTART and task BCSTART
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
O RW READY_EDSTART Shortcut between event READY and task EDSTART
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
P RW EDEND_DISABLE Shortcut between event EDEND and task DISABLE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
Q RW CCAIDLE_STOP Shortcut between event CCAIDLE and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
R RW TXREADY_START Shortcut between event TXREADY and task START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
S RW RXREADY_START Shortcut between event RXREADY and task START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
T RW PHYEND_DISABLE Shortcut between event PHYEND and task DISABLE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID U T S R Q P O N M L K H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
U RW PHYEND_START Shortcut between event PHYEND and task START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.20.14.38 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ADDRESS Write '1' to enable interrupt for event ADDRESS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW PAYLOAD Write '1' to enable interrupt for event PAYLOAD
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW DISABLED Write '1' to enable interrupt for event DISABLED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW DEVMATCH Write '1' to enable interrupt for event DEVMATCH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW DEVMISS Write '1' to enable interrupt for event DEVMISS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW RSSIEND Write '1' to enable interrupt for event RSSIEND
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
I RW BCMATCH Write '1' to enable interrupt for event BCMATCH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
V RW MHRMATCH Write '1' to enable interrupt for event MHRMATCH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Y RW SYNC Write '1' to enable interrupt for event SYNC
6.20.14.39 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ADDRESS Write '1' to disable interrupt for event ADDRESS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW PAYLOAD Write '1' to disable interrupt for event PAYLOAD
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW DISABLED Write '1' to disable interrupt for event DISABLED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW DEVMATCH Write '1' to disable interrupt for event DEVMATCH
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
G RW DEVMISS Write '1' to disable interrupt for event DEVMISS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW RSSIEND Write '1' to disable interrupt for event RSSIEND
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Z Y V U T S R Q P O N M L K I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
S RW RATEBOOST Write '1' to disable interrupt for event RATEBOOST
6.20.14.40 CRCSTATUS
Address offset: 0x400
CRC status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R CRCSTATUS CRC status of packet received
CRCError 0 Packet received with CRC error
CRCOk 1 Packet received with CRC ok
6.20.14.41 RXMATCH
Address offset: 0x408
Received address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXMATCH Received address
6.20.14.42 RXCRC
Address offset: 0x40C
CRC field of previously received packet
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXCRC CRC field of previously received packet
6.20.14.43 DAI
Address offset: 0x410
Device address match index
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R DAI Device address match index
Index (n) of device address, see DAB[n] and DAP[n], that got an address
match
6.20.14.44 PDUSTAT
Address offset: 0x414
Payload status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R PDUSTAT Status on payload length vs. PCNF1.MAXLEN
LessThan 0 Payload less than PCNF1.MAXLEN
GreaterThan 1 Payload greater than PCNF1.MAXLEN
B R CISTAT Status on what rate packet is received with in Long Range
LR125kbit 0 Frame is received at 125kbps
LR500kbit 1 Frame is received at 500kbps
6.20.14.45 PACKETPTR
Address offset: 0x504
Packet pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PACKETPTR Packet pointer
Note: See the memory chapter for details about which memories
are available for EasyDMA.
6.20.14.46 FREQUENCY
Address offset: 0x508
Frequency
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A A A A A A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW FREQUENCY [0..100] Radio channel frequency
6.20.14.47 TXPOWER
Address offset: 0x50C
Output power
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TXPOWER RADIO output power
Output power in number of dBm, i.e. if the value -20 is specified the output
power will be set to -20dBm.
Pos8dBm 0x8 +8 dBm
Pos7dBm 0x7 +7 dBm
Pos6dBm 0x6 +6 dBm
Pos5dBm 0x5 +5 dBm
Pos4dBm 0x4 +4 dBm
Pos3dBm 0x3 +3 dBm
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Pos2dBm 0x2 +2 dBm
0dBm 0x0 0 dBm
Neg4dBm 0xFC -4 dBm
Neg8dBm 0xF8 -8 dBm
Neg12dBm 0xF4 -12 dBm
Neg16dBm 0xF0 -16 dBm
Neg20dBm 0xEC -20 dBm
Neg30dBm 0xE2 -40 dBm
6.20.14.48 MODE
Address offset: 0x510
Data rate and modulation
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Radio data rate and modulation setting. The radio supports frequency-shift
keying (FSK) modulation.
Nrf_1Mbit 0 1 Mbit/s Nordic proprietary radio mode
Nrf_2Mbit 1 2 Mbit/s Nordic proprietary radio mode
Ble_1Mbit 3 1 Mbit/s BLE
Ble_2Mbit 4 2 Mbit/s BLE
Ble_LR125Kbit 5 Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX
Ble_LR500Kbit 6 Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX
Ieee802154_250Kbit 15 IEEE 802.15.4-2006 250 kbit/s
6.20.14.49 PCNF0
Address offset: 0x514
Packet configuration register 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H H G F F E E D C C C C B A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LFLEN Length on air of LENGTH field in number of bits.
B RW S0LEN Length on air of S0 field in number of bytes.
C RW S1LEN Length on air of S1 field in number of bits.
D RW S1INCL Include or exclude S1 field in RAM
Automatic 0 Include S1 field in RAM only if S1LEN > 0
Include 1 Always include S1 field in RAM independent of S1LEN
E RW CILEN Length of code indicator - long range
F RW PLEN Length of preamble on air. Decision point: TASKS_START task
8bit 0 8-bit preamble
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H H G F F E E D C C C C B A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
16bit 1 16-bit preamble
32bitZero 2 32-bit zero preamble - used for IEEE 802.15.4
LongRange 3 Preamble - used for BLE long range
G RW CRCINC Indicates if LENGTH field contains CRC or not
Exclude 0 LENGTH does not contain CRC
Include 1 LENGTH includes CRC
H RW TERMLEN Length of TERM field in Long Range operation
6.20.14.50 PCNF1
Address offset: 0x518
Packet configuration register 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXLEN [0..255] Maximum length of packet payload. If the packet payload is larger than
MAXLEN, the radio will truncate the payload to MAXLEN.
B RW STATLEN [0..255] Static length in number of bytes
The static length parameter is added to the total length of the payload when
sending and receiving packets, e.g. if the static length is set to N the radio
will receive or send N bytes more than what is defined in the LENGTH field
of the packet.
C RW BALEN [2..4] Base address length in number of bytes
The address field is composed of the base address and the one byte long
address prefix, e.g. set BALEN=2 to get a total address of 3 bytes.
D RW ENDIAN On air endianness of packet, this applies to the S0, LENGTH, S1 and the
PAYLOAD fields.
Little 0 Least significant bit on air first
Big 1 Most significant bit on air first
E RW WHITEEN Enable or disable packet whitening
Disabled 0 Disable
Enabled 1 Enable
6.20.14.51 BASE0
Address offset: 0x51C
Base address 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BASE0 Base address 0
6.20.14.52 BASE1
Address offset: 0x520
Base address 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BASE1 Base address 1
6.20.14.53 PREFIX0
Address offset: 0x524
Prefixes bytes for logical addresses 0-3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW AP0 Address prefix 0.
B RW AP1 Address prefix 1.
C RW AP2 Address prefix 2.
D RW AP3 Address prefix 3.
6.20.14.54 PREFIX1
Address offset: 0x528
Prefixes bytes for logical addresses 4-7
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW AP4 Address prefix 4.
B RW AP5 Address prefix 5.
C RW AP6 Address prefix 6.
D RW AP7 Address prefix 7.
6.20.14.55 TXADDRESS
Address offset: 0x52C
Transmit address select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TXADDRESS Transmit address select
6.20.14.56 RXADDRESSES
Address offset: 0x530
Receive address select
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDR0 Enable or disable reception on logical address 0.
Disabled 0 Disable
Enabled 1 Enable
B RW ADDR1 Enable or disable reception on logical address 1.
Disabled 0 Disable
Enabled 1 Enable
C RW ADDR2 Enable or disable reception on logical address 2.
Disabled 0 Disable
Enabled 1 Enable
D RW ADDR3 Enable or disable reception on logical address 3.
Disabled 0 Disable
Enabled 1 Enable
E RW ADDR4 Enable or disable reception on logical address 4.
Disabled 0 Disable
Enabled 1 Enable
F RW ADDR5 Enable or disable reception on logical address 5.
Disabled 0 Disable
Enabled 1 Enable
G RW ADDR6 Enable or disable reception on logical address 6.
Disabled 0 Disable
Enabled 1 Enable
H RW ADDR7 Enable or disable reception on logical address 7.
Disabled 0 Disable
Enabled 1 Enable
6.20.14.57 CRCCNF
Address offset: 0x534
CRC configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LEN [1..3] CRC length in number of bytes.
6.20.14.58 CRCPOLY
Address offset: 0x538
CRC polynomial
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CRCPOLY CRC polynomial
Each term in the CRC polynomial is mapped to a bit in this register which
index corresponds to the term's exponent. The least significant term/
bit is hard-wired internally to 1, and bit number 0 of the register content
is ignored by the hardware. The following example is for an 8 bit CRC
polynomial: x8 + x7 + x3 + x2 + 1 = 1 1000 1101 .
6.20.14.59 CRCINIT
Address offset: 0x53C
CRC initial value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CRCINIT CRC initial value
6.20.14.60 TIFS
Address offset: 0x544
Interframe spacing in µs
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TIFS Interframe spacing in µs
6.20.14.61 RSSISAMPLE
Address offset: 0x548
RSSI sample
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RSSISAMPLE [0..127] RSSI sample
RSSI sample result. The value of this register is read as a positive value while
the actual received signal strength is a negative value. Actual received signal
strength is therefore as follows: received signal strength = -A dBm
6.20.14.62 STATE
Address offset: 0x550
Current radio state
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R STATE Current radio state
Disabled 0 RADIO is in the Disabled state
RxRu 1 RADIO is in the RXRU state
RxIdle 2 RADIO is in the RXIDLE state
Rx 3 RADIO is in the RX state
RxDisable 4 RADIO is in the RXDISABLED state
TxRu 9 RADIO is in the TXRU state
TxIdle 10 RADIO is in the TXIDLE state
Tx 11 RADIO is in the TX state
TxDisable 12 RADIO is in the TXDISABLED state
6.20.14.63 DATAWHITEIV
Address offset: 0x554
Data whitening initial value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000040 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DATAWHITEIV Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no
effect, and it will always be read back and used by the device as '1'.
6.20.14.64 BCC
Address offset: 0x560
Bit counter compare
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BCC Bit counter compare
6.20.14.65 DAB[0]
Address offset: 0x600
Device address base segment 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 0
6.20.14.66 DAB[1]
Address offset: 0x604
Device address base segment 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 1
6.20.14.67 DAB[2]
Address offset: 0x608
Device address base segment 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 2
6.20.14.68 DAB[3]
Address offset: 0x60C
Device address base segment 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 3
6.20.14.69 DAB[4]
Address offset: 0x610
Device address base segment 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 4
6.20.14.70 DAB[5]
Address offset: 0x614
Device address base segment 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 5
6.20.14.71 DAB[6]
Address offset: 0x618
Device address base segment 6
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 6
6.20.14.72 DAB[7]
Address offset: 0x61C
Device address base segment 7
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAB Device address base segment 7
6.20.14.73 DAP[0]
Address offset: 0x620
Device address prefix 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 0
6.20.14.74 DAP[1]
Address offset: 0x624
Device address prefix 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 1
6.20.14.75 DAP[2]
Address offset: 0x628
Device address prefix 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 2
6.20.14.76 DAP[3]
Address offset: 0x62C
Device address prefix 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 3
6.20.14.77 DAP[4]
Address offset: 0x630
Device address prefix 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 4
6.20.14.78 DAP[5]
Address offset: 0x634
Device address prefix 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 5
6.20.14.79 DAP[6]
Address offset: 0x638
Device address prefix 6
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 6
6.20.14.80 DAP[7]
Address offset: 0x63C
Device address prefix 7
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DAP Device address prefix 7
6.20.14.81 DACNF
Address offset: 0x640
Device address match configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENA0 Enable or disable device address matching using device address 0
Disabled 0 Disabled
Enabled 1 Enabled
B RW ENA1 Enable or disable device address matching using device address 1
Disabled 0 Disabled
Enabled 1 Enabled
C RW ENA2 Enable or disable device address matching using device address 2
Disabled 0 Disabled
Enabled 1 Enabled
D RW ENA3 Enable or disable device address matching using device address 3
Disabled 0 Disabled
Enabled 1 Enabled
E RW ENA4 Enable or disable device address matching using device address 4
Disabled 0 Disabled
Enabled 1 Enabled
F RW ENA5 Enable or disable device address matching using device address 5
Disabled 0 Disabled
Enabled 1 Enabled
G RW ENA6 Enable or disable device address matching using device address 6
Disabled 0 Disabled
Enabled 1 Enabled
H RW ENA7 Enable or disable device address matching using device address 7
Disabled 0 Disabled
Enabled 1 Enabled
I RW TXADD0 TxAdd for device address 0
J RW TXADD1 TxAdd for device address 1
K RW TXADD2 TxAdd for device address 2
L RW TXADD3 TxAdd for device address 3
M RW TXADD4 TxAdd for device address 4
N RW TXADD5 TxAdd for device address 5
O RW TXADD6 TxAdd for device address 6
P RW TXADD7 TxAdd for device address 7
6.20.14.82 MHRMATCHCONF
Address offset: 0x644
Search pattern configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MHRMATCHCONF Search pattern configuration
6.20.14.83 MHRMATCHMAS
Address offset: 0x648
Pattern mask
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MHRMATCHMAS Pattern mask
6.20.14.84 MODECNF0
Address offset: 0x650
Radio mode configuration register 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B A
Reset 0x00000200 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RU Radio ramp-up time
Default 0 Default ramp-up time (tRXEN and tTXEN), compatible with firmware written
for nRF51
Fast 1 Fast ramp-up (tRXEN,FAST and tTXEN,FAST), see electrical specification for
more information
Specifies what the RADIO will transmit when it is not started, i.e. between:
B1 0 Transmit '1'
B0 1 Transmit '0'
Center 2 Transmit center frequency
When tuning the crystal for centre frequency, the RADIO must be set in DTX
= Center mode to be able to achieve the expected accuracy
6.20.14.85 SFD
Address offset: 0x660
IEEE 802.15.4 start of frame delimiter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x000000A7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1
ID R/W Field Value ID Value Description
A RW SFD IEEE 802.15.4 start of frame delimiter
6.20.14.86 EDCNT
Address offset: 0x664
IEEE 802.15.4 energy detect loop count
Number of iterations to perform an ED scan. If set to 0 one scan is performed, otherwise the specified
number + 1 of ED scans will be performed and the max ED value tracked in EDSAMPLE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EDCNT IEEE 802.15.4 energy detect loop count
6.20.14.87 EDSAMPLE
Address offset: 0x668
IEEE 802.15.4 energy detect level
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EDLVL [0..127] IEEE 802.15.4 energy detect level
6.20.14.88 CCACTRL
Address offset: 0x66C
IEEE 802.15.4 clear channel assessment control
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D D D D D D D D C C C C C C C C B B B B B B B B A A A
Reset 0x052D0000 0 0 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CCAMODE CCA mode of operation
EdMode 0 Energy above threshold
6.20.14.89 POWER
Address offset: 0xFFC
Peripheral power control
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW POWER Peripheral power control. The peripheral and its registers will be reset to its
initial state by switching the peripheral off and then back on again.
Disabled 0 Peripheral is powered off
Enabled 1 Peripheral is powered on
PACP,A, IEEE 802.15.4 IEEE 802 15.4 Absolute adjacent Channel Power, offset > 3.5 MHz 19 -46 dBm
7.9
7.8
7.7
Output power [dBm]
7.6
7.5
7.4
7.3
7.2
7.1
7
1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
-40 ºC 25 ºC 85 ºC
19
Output power set to maximum TXPOWER setting, resolution bandwidth (RBW) set to 100 kHz, and
transmitter Duty-Cycle approximately 85%.
0.5
-0.5
-1
-1.5
-2
-2.5
1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
-40 ºC 25 ºC 85 ºC
Figure 130: Output power, 1 Mbps Bluetooth low energy mode, at 0 dBm TXPOWER setting (typical values)
PSENS,IT,SP,1M,BLE Sensitivity, 1 Mbps BLE ideal transmitter, packet length ≤ 37 bytes BER=1E-3 22 -95 dBm
PSENS,IT,LP,1M,BLE Sensitivity, 1 Mbps BLE ideal transmitter, packet length ≥ 128 bytes BER=1E-4 -94 dBm
23
PSENS,IT,SP,2M,BLE Sensitivity, 2 Mbps BLE ideal transmitter, packet length ≤ 37 bytes -92 dBm
PSENS,IT,BLE LE125k Sensitivity, 125 kbps BLE mode -103 dBm
PSENS,IT,BLE LE500k Sensitivity, 500 kbps BLE mode -99 dBm
PSENS,IEEE 802.15.4 Sensitivity in IEEE 802.15.4 mode -100 dBm
20
Typical sensitivity applies when ADDR0 is used for receiver address correlation. When ADDR[1...7]
are used for receiver address correlation, the typical sensitivity for this mode is degraded by 3 dB.
21
Typical sensitivity applies when ADDR0 is used for receiver address correlation. When ADDR[1..7] are
used for receiver address correlation, the typical sensitivity for this mode is degraded by 3 dB.
22
As defined in the Bluetooth Core Specification v4.0 Volume 6: Core System Package (Low Energy
Controller Volume)
23
Equivalent BER limit < 10E-04
-93
-93.5
-94
Sensitivity [dBm]
-94.5
-95
-95.5
-96
1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6
-40 ºC 25 ºC 85 ºC
Figure 131: Sensitivity, 1 Mbps Bluetooth low energy mode, Regulator = LDO (typical values)
6.20.15.6 RX selectivity
RX selectivity with equal modulation on interfering signal24
24
Desired signal level at PIN = -67 dBm. One interferer is used, having equal modulation as the desired
signal. The input power of the interferer where the sensitivity equals BER = 0.1% is presented
6.20.15.7 RX intermodulation
RX intermodulation25
25
Desired signal level at PIN = -64 dBm. Two interferers with equal input power are used. The interferer
closest in frequency is not modulated, the other interferer is modulated equal with the desired
signal. The input power of the interferers where the sensitivity equals BER = 0.1% is presented.
6.20.15.10 Jitter
The RNG is started by triggering the START task and stopped by triggering the STOP task. When started,
new random numbers are generated continuously and written to the VALUE register when ready. A
VALRDY event is generated for every new random number that is written to the VALUE register. This means
that after a VALRDY event is generated, the CPU has the time until the next VALRDY event to read out the
random number from the VALUE register before it is overwritten by a new random number.
6.21.2 Speed
The time needed to generate one random byte of data is unpredictable, and may vary from one byte to
the next. This is especially true when bias correction is enabled.
6.21.3 Registers
Instances
Register overview
6.21.3.1 TASKS_START
Address offset: 0x000
Task starting the random number generator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Task starting the random number generator
Trigger 1 Trigger task
6.21.3.2 TASKS_STOP
Address offset: 0x004
Task stopping the random number generator
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Task stopping the random number generator
Trigger 1 Trigger task
6.21.3.3 EVENTS_VALRDY
Address offset: 0x100
Event being generated for every new random number written to the VALUE register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_VALRDY Event being generated for every new random number written to the VALUE
register
NotGenerated 0 Event not generated
Generated 1 Event generated
6.21.3.4 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW VALRDY_STOP Shortcut between event VALRDY and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.21.3.5 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW VALRDY Write '1' to enable interrupt for event VALRDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.21.3.6 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW VALRDY Write '1' to disable interrupt for event VALRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.21.3.7 CONFIG
Address offset: 0x504
Configuration register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DERCEN Bias correction
Disabled 0 Disabled
Enabled 1 Enabled
6.21.3.8 VALUE
Address offset: 0x508
Output random number
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R VALUE [0..255] Generated random number
32.768 kHz
COUNTER
STOP task
event
OVRFLW
RTC
CLEAR task
The RTC module features a 24-bit COUNTER, a 12-bit (1/X) prescaler, capture/compare registers, and a tick
event generator for low power, tickless RTOS implementation.
The PRESCALER register is read/write when the RTC is stopped. The PRESCALER register is read-only once
the RTC is STARTed. Writing to the PRESCALER register when the RTC is started has no effect.
The PRESCALER is restarted on START, CLEAR, and TRIGOVRFLW, meaning the prescaler value is latched to
an internal register (<<PRESC>>) on these tasks.
Examples of different frequency configurations are as following:
• Desired COUNTER frequency 100 Hz (10 ms counter period)
PRESCALER = round(32.768 kHz / 100 Hz) - 1 = 327
fRTC = 99.9 Hz
10009.576 μs counter period
• Desired COUNTER frequency 8 Hz (125 ms counter period)
PRESCALER = round(32.768 kHz / 8 Hz) – 1 = 4095
fRTC = 8 Hz
LFClk
TICK
PRESC 0x000
SysClk
LFClk
TICK
PRESC 0x001
RTC
write
TASK
OR
task
RTC
core
event
EVTEN m INTEN m
EVENT m
IRQ signal to NVIC
SysClk
LFClk
PRESC 0x000
COUNTER X 0x000000
CLEAR
CC[0] 0x000000
COMPARE[0] 0
LFClk
PRESC 0x000
START
CC[0] N
COMPARE[0] 0
LFClk
PRESC 0x000
CC[0] N
COMPARE[0] 0 1
SysClk
LFClk
PRESC 0x000
CC[0] X N+2
COMPARE[0] 0 1
LFClk
PRESC 0x000
≥0
CC[0] X N+1
COMPARE[0] 0
LFClk
PRESC 0x000
≥0
CC[0] N X
COMPARE[0] 0 1
Task Delay
CLEAR, STOP, START, TRIGOVRFLOW +15 to 46 μs
Operation/Function Jitter
START to COUNTER increment +/- 15 μs
Note: 32.768 kHz clock jitter is additional to the numbers provided above.
CLEAR and STOP (and TRIGOVRFLW; not shown) will be delayed as long as it takes for the peripheral to
clock a falling edge and rising of the LFCLK. This is between 15.2585 μs and 45.7755 μs – rounded to 15 μs
and 46 μs for the remainder of the section.
SysClk
CLEAR
LFClk
PRESC 0x000
SysClk
STOP
LFClk
PRESC 0x000
COUNTER X X+1
The START task will start the RTC. Assuming that the LFCLK was previously running and stable, the first
increment of COUNTER (and instance of TICK event) will be typically after 30.5 μs +/-15 μs. In some
cases, in particular if the RTC is STARTed before the LFCLK is running, that timing can be up to ~250 μs.
The software should therefore wait for the first TICK if it has to make sure the RTC is running. Sending a
26
Assumes RTC runs continuously between these events.
TRIGOVRFLW task sets the COUNTER to a value close to overflow. However, since the update of COUNTER
relies on a stable LFCLK, sending this task while LFCLK is not running will start LFCLK, but the update will
then be delayed by the same amount of time of up to ~250 μs. The figures show the shortest and longest
delays on the START task which appears as a +/-15 μs jitter on the first COUNTER increment.
SysClk
First tick
LFClk
PRESC 0x000
≥ ~15 µs
START 0 or more SysClk before
SysClk
First tick
LFClk
PRESC 0x000
≤ ~250 µs
START
PREADY
LFClk
<<COUNTER>> N-1 N
COUNTER X N
375.2 ns
COUNTER_READ
6.22.10 Registers
Instances
Configuration
Instance Configuration
RTC0 CC[0..2] implemented, CC[3] not implemented
RTC1 CC[0..3] implemented
RTC2 CC[0..3] implemented
Register overview
6.22.10.1 TASKS_START
Address offset: 0x000
Start RTC COUNTER
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start RTC COUNTER
Trigger 1 Trigger task
6.22.10.2 TASKS_STOP
Address offset: 0x004
Stop RTC COUNTER
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop RTC COUNTER
Trigger 1 Trigger task
6.22.10.3 TASKS_CLEAR
Address offset: 0x008
Clear RTC COUNTER
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLEAR Clear RTC COUNTER
Trigger 1 Trigger task
6.22.10.4 TASKS_TRIGOVRFLW
Address offset: 0x00C
Set COUNTER to 0xFFFFF0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_TRIGOVRFLW Set COUNTER to 0xFFFFF0
Trigger 1 Trigger task
6.22.10.5 EVENTS_TICK
Address offset: 0x100
Event on COUNTER increment
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TICK Event on COUNTER increment
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.6 EVENTS_OVRFLW
Address offset: 0x104
Event on COUNTER overflow
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_OVRFLW Event on COUNTER overflow
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.7 EVENTS_COMPARE[0]
Address offset: 0x140
Compare event on CC[0] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[0] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.8 EVENTS_COMPARE[1]
Address offset: 0x144
Compare event on CC[1] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[1] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.9 EVENTS_COMPARE[2]
Address offset: 0x148
Compare event on CC[2] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[2] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.10 EVENTS_COMPARE[3]
Address offset: 0x14C
Compare event on CC[3] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[3] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.22.10.11 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TICK Write '1' to enable interrupt for event TICK
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW OVRFLW Write '1' to enable interrupt for event OVRFLW
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW COMPARE[0] Write '1' to enable interrupt for event COMPARE[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW COMPARE[1] Write '1' to enable interrupt for event COMPARE[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW COMPARE[2] Write '1' to enable interrupt for event COMPARE[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW COMPARE[3] Write '1' to enable interrupt for event COMPARE[3]
Set 1 Enable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
6.22.10.12 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TICK Write '1' to disable interrupt for event TICK
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW OVRFLW Write '1' to disable interrupt for event OVRFLW
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW COMPARE[0] Write '1' to disable interrupt for event COMPARE[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW COMPARE[1] Write '1' to disable interrupt for event COMPARE[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW COMPARE[2] Write '1' to disable interrupt for event COMPARE[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW COMPARE[3] Write '1' to disable interrupt for event COMPARE[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.22.10.13 EVTEN
Address offset: 0x340
Enable or disable event routing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TICK Enable or disable event routing for event TICK
Disabled 0 Disable
Enabled 1 Enable
B RW OVRFLW Enable or disable event routing for event OVRFLW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Disable
Enabled 1 Enable
C RW COMPARE[0] Enable or disable event routing for event COMPARE[0]
Disabled 0 Disable
Enabled 1 Enable
D RW COMPARE[1] Enable or disable event routing for event COMPARE[1]
Disabled 0 Disable
Enabled 1 Enable
E RW COMPARE[2] Enable or disable event routing for event COMPARE[2]
Disabled 0 Disable
Enabled 1 Enable
F RW COMPARE[3] Enable or disable event routing for event COMPARE[3]
Disabled 0 Disable
Enabled 1 Enable
6.22.10.14 EVTENSET
Address offset: 0x344
Enable event routing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TICK Write '1' to enable event routing for event TICK
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
B RW OVRFLW Write '1' to enable event routing for event OVRFLW
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
C RW COMPARE[0] Write '1' to enable event routing for event COMPARE[0]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
D RW COMPARE[1] Write '1' to enable event routing for event COMPARE[1]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
E RW COMPARE[2] Write '1' to enable event routing for event COMPARE[2]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
F RW COMPARE[3] Write '1' to enable event routing for event COMPARE[3]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Set 1 Enable
6.22.10.15 EVTENCLR
Address offset: 0x348
Disable event routing
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TICK Write '1' to disable event routing for event TICK
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
B RW OVRFLW Write '1' to disable event routing for event OVRFLW
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
C RW COMPARE[0] Write '1' to disable event routing for event COMPARE[0]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
D RW COMPARE[1] Write '1' to disable event routing for event COMPARE[1]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
E RW COMPARE[2] Write '1' to disable event routing for event COMPARE[2]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
F RW COMPARE[3] Write '1' to disable event routing for event COMPARE[3]
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Clear 1 Disable
6.22.10.16 COUNTER
Address offset: 0x504
Current COUNTER value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R COUNTER Counter value
6.22.10.17 PRESCALER
Address offset: 0x508
12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is stopped.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PRESCALER Prescaler value
6.22.10.18 CC[0]
Address offset: 0x540
Compare register 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE Compare value
6.22.10.19 CC[1]
Address offset: 0x544
Compare register 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE Compare value
6.22.10.20 CC[2]
Address offset: 0x548
Compare register 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE Compare value
6.22.10.21 CC[3]
Address offset: 0x54C
Compare register 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE Compare value
PSEL_A PSEL_A
PSEL_A
PSEL_A
PSEL_A PSEL_A
PSEL_A
PSEL_A
PSEL_A PSEL_A
PSEL_A
PSEL_A
CH[X].PSELP CH[X].CONFIG
NC
AIN0 SAADC
AIN1
AIN2 RAM
AIN3
AIN4 MUX
AIN5 RESULT
P
AIN6 RESP RESULT
AIN7
VDD RESULT
VDDHDIV5 SAR
GAIN EasyDMA RESULT
core
NC RESULT
AIN0 N
RESULT
AIN1 RESN RESULT
AIN2
RESULT
AIN3
AIN4 MUX RESULT.PTR
AIN5
AIN6
AIN7
VDD VDD
START REFSEL STARTED
VDDHDIV5 Internal reference
SAMPLE END
STOP STOPPED
CH[X].PSELN
PSEL_A
PSEL_A
PSEL_A
PSEL_A
PSEL_A
PSEL_A
Register CH[n].CONFIG configures SAADC channels. In Single-ended mode, the negative channel input is
shorted to ground internally. In Single-ended mode, the assumption is that the internal ground of the ADC
is the same as the external ground that the measured voltage is referred to. This makes SAADC sensitive to
ground bounce on the PCB. To avoid this, use the differential input mode instead.
Before sampling is started, the length and location of the memory buffer in RAM must be configured.
Use registers RESULT.MAXCNT on page 633 and RESULT.PTR on page 632 to configure the length
and location where the output values are to be written. The START task must be triggered to apply the
configuration. See EasyDMA on page 598 for details on memory configuration and how the results are
stored in memory.
SAADC is stopped by triggering the STOP task. The STOP task also terminates the ongoing sampling. SAADC
generates a STOPPED event when it has stopped. If SAADC is not started when the STOP task is triggered,
the STOPPED event is still generated.
TACQ
Acquisition time is the amount of time the capacitor is connected, see the TACQ field in the CH[n].CONFIG
register. The required acquisition time depends on the source resistance Rsource. For high source
resistance, increase the acquisition time according to the following table:
The following figure illustrates the resistor ladder for positive and negative input:
RESP = Pullup
R
Input Output
RESP = Pulldown
Figure 150: Resistor ladder for positive input (negative input is equivalent, using RESN instead of RESP)
For example, selecting VDD as reference, single-ended input (grounded negative input), and a gain of 1/4
gives the following input range:
With internal reference, single-ended input (grounded negative input) and a gain of 1/6, the input range is
the following:
When Single-channel Continuous Conversion mode is selected, SAADC is started by triggering the SAMPLE
task once. Triggering the STOP task stops sampling. A DONE event signals that one sample was taken.
In this mode, the RESULTDONE and DONE events are equal when oversampling does not happen. Both
events may occur before EasyDMA transfers the value to RAM. For more information, see EasyDMA on
page 598. The END event is generated when RESULT.MAXCNT on page 633 values are transferred to
RAM.
6.23.2.4 Oversampling
An accumulator in SAADC can be used to find the average of several analog input samples. In general,
oversampling improves the signal-to-noise ratio (SNR). Oversampling does not improve the integral non-
linearity (INL) or differential non-linearity (DNL).
Oversampling is configured in register OVERSAMPLE. When oversampling, 2OVERSAMPLE samples are
averaged before one result is transferred to memory. The mode used to sample the input determines
when and how those samples are taken.
When oversampling is configured, DONE event is generated for every input sample taken. RESULTDONE
event is generated for every averaged value ready to be transferred into RAM. END event is generated
when RESULT.MAXCNT averaged values are transferred into RAM.
Note: Oversampling should only be used when a single input channel is enabled, as averaging is
performed over all enabled channels.
where V(P) is the voltage at input P, V(N) is the voltage at input N, GAIN is the selected gain,
REFERENCE is the selected reference voltage, RESOLUTION is output resolution in bits, as configured
in register RESOLUTION on page 631, and m being 0 for single-ended channels and 1 for differential
channels.
Results are sign extended to 16 bits and stored in RAM in little-endian byte order.
Results generated by SAADC deviate due to DC errors like offset, gain, differential non-linearity (DNL), and
integral non-linearity (INL). See Electrical specification for details on these parameters. The result can also
vary due to AC errors like non-linearities in the gain block, settling errors due to high source impedance,
and sampling jitter. DC errors affect the most for battery measurement.
6.23.4 EasyDMA
SAADC resources are started by triggering the START task. The SAADC uses EasyDMA to store results in a
buffer in RAM.
Registers RESULT.PTR on page 632 and RESULT.MAXCNT on page 633 must be configured before
SAADC is started.
The result buffer is located at the address specified in register RESULT.PTR on page 632. This register
is double-buffered, and it can be updated and prepared for the next START task immediately after the
STARTED event is generated. Register RESULT.MAXCNT on page 633 specifies the size of the result
buffer. SAADC generates an END event when the result buffer is full, as shown in the following figure.
Data RAM
0x20000000
Result 0
0x20000002
Result 1
0x20000010
Result 2
0x20000012
Result 3
0x20000020
0
0x20000022
0
SAADC
Sample and convert RAM Sample and convert RAM Sample and convert RAM Sample and convert RAM
STARTED
STARTED
END
END
Lifeline
1 2 3
RESULT.PTR = 0x20000000
RESULT.PTR = 0x20000010
RESULT.PTR = 0x20000020
SAMPLE
SAMPLE
SAMPLE
SAMPLE
RESULT.MAX
START
START
CNT
The following figure provides an example of results in Data RAM with an even RESULT.MAXCNT on page
633 and channels 1, 2, and 5 enabled.
31 16 15 0
(…)
Figure 152: Example of RAM placement (even RESULT.MAXCNT), channels 1, 2, and 5 enabled
The following figure provides an example of results in Data RAM with an odd RESULT.MAXCNT on page
633 and channels 1, 2, and 5 enabled.
31 16 15 0
(…)
Figure 153: Example of RAM placement (odd RESULT.MAXCNT), channels 1, 2, and 5 enabled
The last 32-bit word is populated with only one 16-bit result.
See Memory on page 21 for more information about the different memory regions.
EasyDMA is finished accessing RAM when events END or STOPPED are generated. To see the number
of results transferred to the RAM result buffer since the START task was triggered, read register
RESULT.AMOUNT on page 633.
VIN
CH[n].LIMIT.HIGH
CH[n].LIMIT.LOW
events
EVENTS_CH[n].LIMITH
EVENTS_CH[n].LIMITH
EVENTS_CH[n].LIMITH
EVENTS_CH[n].LIMITL
Figure 154: Event monitoring on channel[n] using limits
Limit comparison does not need to be enabled. If event monitoring is not required, related events should
be ignored.
6.23.6 Calibration
The SAADC peripheral has a temperature dependent offset.
It is recommended to calibrate SAADC at least once before use, and recalibrate when the ambient
temperature changes by more than 10°C.
Offset calibration is started by triggering the CALIBRATEOFFSET task. The CALIBRATEDONE event is
generated when calibration is finished.
6.23.7 Registers
Instances
Register overview
6.23.7.1 TASKS_START
Address offset: 0x000
Starts the SAADC and prepares the result buffer in RAM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Starts the SAADC and prepares the result buffer in RAM
Trigger 1 Trigger task
6.23.7.2 TASKS_SAMPLE
Address offset: 0x004
Takes one SAADC sample
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SAMPLE Takes one SAADC sample
Trigger 1 Trigger task
6.23.7.3 TASKS_STOP
Address offset: 0x008
Stops the SAADC and terminates all on-going conversions
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stops the SAADC and terminates all on-going conversions
Trigger 1 Trigger task
6.23.7.4 TASKS_CALIBRATEOFFSET
Address offset: 0x00C
Starts offset auto-calibration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CALIBRATEOFFSET Starts offset auto-calibration
Trigger 1 Trigger task
6.23.7.5 EVENTS_STARTED
Address offset: 0x100
The SAADC has started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STARTED The SAADC has started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.6 EVENTS_END
Address offset: 0x104
The SAADC has filled up the result buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END The SAADC has filled up the result buffer
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.7 EVENTS_DONE
Address offset: 0x108
A conversion task has been completed. Depending on the configuration, multiple conversions might be
needed for a result to be transferred to RAM.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DONE A conversion task has been completed. Depending on the configuration,
multiple conversions might be needed for a result to be transferred to RAM.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.8 EVENTS_RESULTDONE
Address offset: 0x10C
Result ready for transfer to RAM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RESULTDONE Result ready for transfer to RAM
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.9 EVENTS_CALIBRATEDONE
Address offset: 0x110
Calibration is complete
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CALIBRATEDONE Calibration is complete
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.10 EVENTS_STOPPED
Address offset: 0x114
The SAADC has stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED The SAADC has stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.11 EVENTS_CH[0]
Peripheral events.
6.23.7.11.1 EVENTS_CH[0].LIMITH
Address offset: 0x118
Last result is equal or above CH[0].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[0].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.11.2 EVENTS_CH[0].LIMITL
Address offset: 0x11C
Last result is equal or below CH[0].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[0].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.12 EVENTS_CH[1]
Peripheral events.
6.23.7.12.1 EVENTS_CH[1].LIMITH
Address offset: 0x120
Last result is equal or above CH[1].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[1].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.12.2 EVENTS_CH[1].LIMITL
Address offset: 0x124
Last result is equal or below CH[1].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[1].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.13 EVENTS_CH[2]
Peripheral events.
6.23.7.13.1 EVENTS_CH[2].LIMITH
Address offset: 0x128
Last result is equal or above CH[2].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[2].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.13.2 EVENTS_CH[2].LIMITL
Address offset: 0x12C
Last result is equal or below CH[2].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[2].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.14 EVENTS_CH[3]
Peripheral events.
6.23.7.14.1 EVENTS_CH[3].LIMITH
Address offset: 0x130
Last result is equal or above CH[3].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[3].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.14.2 EVENTS_CH[3].LIMITL
Address offset: 0x134
Last result is equal or below CH[3].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[3].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.15 EVENTS_CH[4]
Peripheral events.
6.23.7.15.1 EVENTS_CH[4].LIMITH
Address offset: 0x138
Last result is equal or above CH[4].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[4].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.15.2 EVENTS_CH[4].LIMITL
Address offset: 0x13C
Last result is equal or below CH[4].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[4].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.16 EVENTS_CH[5]
Peripheral events.
6.23.7.16.1 EVENTS_CH[5].LIMITH
Address offset: 0x140
Last result is equal or above CH[5].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[5].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.16.2 EVENTS_CH[5].LIMITL
Address offset: 0x144
Last result is equal or below CH[5].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[5].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.17 EVENTS_CH[6]
Peripheral events.
6.23.7.17.1 EVENTS_CH[6].LIMITH
Address offset: 0x148
Last result is equal or above CH[6].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[6].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.17.2 EVENTS_CH[6].LIMITL
Address offset: 0x14C
Last result is equal or below CH[6].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[6].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.18 EVENTS_CH[7]
Peripheral events.
6.23.7.18.1 EVENTS_CH[7].LIMITH
Address offset: 0x150
Last result is equal or above CH[7].LIMIT.HIGH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITH Last result is equal or above CH[7].LIMIT.HIGH
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.18.2 EVENTS_CH[7].LIMITL
Address offset: 0x154
Last result is equal or below CH[7].LIMIT.LOW
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIMITL Last result is equal or below CH[7].LIMIT.LOW
NotGenerated 0 Event not generated
Generated 1 Event generated
6.23.7.19 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Enable or disable interrupt for event STARTED
Disabled 0 Disable
Enabled 1 Enable
B RW END Enable or disable interrupt for event END
Disabled 0 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Enable
C RW DONE Enable or disable interrupt for event DONE
Disabled 0 Disable
Enabled 1 Enable
D RW RESULTDONE Enable or disable interrupt for event RESULTDONE
Disabled 0 Disable
Enabled 1 Enable
E RW CALIBRATEDONE Enable or disable interrupt for event CALIBRATEDONE
Disabled 0 Disable
Enabled 1 Enable
F RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
G RW CH0LIMITH Enable or disable interrupt for event CH0LIMITH
Disabled 0 Disable
Enabled 1 Enable
H RW CH0LIMITL Enable or disable interrupt for event CH0LIMITL
Disabled 0 Disable
Enabled 1 Enable
I RW CH1LIMITH Enable or disable interrupt for event CH1LIMITH
Disabled 0 Disable
Enabled 1 Enable
J RW CH1LIMITL Enable or disable interrupt for event CH1LIMITL
Disabled 0 Disable
Enabled 1 Enable
K RW CH2LIMITH Enable or disable interrupt for event CH2LIMITH
Disabled 0 Disable
Enabled 1 Enable
L RW CH2LIMITL Enable or disable interrupt for event CH2LIMITL
Disabled 0 Disable
Enabled 1 Enable
M RW CH3LIMITH Enable or disable interrupt for event CH3LIMITH
Disabled 0 Disable
Enabled 1 Enable
N RW CH3LIMITL Enable or disable interrupt for event CH3LIMITL
Disabled 0 Disable
Enabled 1 Enable
O RW CH4LIMITH Enable or disable interrupt for event CH4LIMITH
Disabled 0 Disable
Enabled 1 Enable
P RW CH4LIMITL Enable or disable interrupt for event CH4LIMITL
Disabled 0 Disable
Enabled 1 Enable
Q RW CH5LIMITH Enable or disable interrupt for event CH5LIMITH
Disabled 0 Disable
Enabled 1 Enable
R RW CH5LIMITL Enable or disable interrupt for event CH5LIMITL
Disabled 0 Disable
Enabled 1 Enable
S RW CH6LIMITH Enable or disable interrupt for event CH6LIMITH
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Disable
Enabled 1 Enable
T RW CH6LIMITL Enable or disable interrupt for event CH6LIMITL
Disabled 0 Disable
Enabled 1 Enable
U RW CH7LIMITH Enable or disable interrupt for event CH7LIMITH
Disabled 0 Disable
Enabled 1 Enable
V RW CH7LIMITL Enable or disable interrupt for event CH7LIMITL
Disabled 0 Disable
Enabled 1 Enable
6.23.7.20 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Write '1' to enable interrupt for event STARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW DONE Write '1' to enable interrupt for event DONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW RESULTDONE Write '1' to enable interrupt for event RESULTDONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW CALIBRATEDONE Write '1' to enable interrupt for event CALIBRATEDONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW CH0LIMITH Write '1' to enable interrupt for event CH0LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
H RW CH0LIMITL Write '1' to enable interrupt for event CH0LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW CH1LIMITH Write '1' to enable interrupt for event CH1LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW CH1LIMITL Write '1' to enable interrupt for event CH1LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW CH2LIMITH Write '1' to enable interrupt for event CH2LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW CH2LIMITL Write '1' to enable interrupt for event CH2LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW CH3LIMITH Write '1' to enable interrupt for event CH3LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW CH3LIMITL Write '1' to enable interrupt for event CH3LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
O RW CH4LIMITH Write '1' to enable interrupt for event CH4LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW CH4LIMITL Write '1' to enable interrupt for event CH4LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Q RW CH5LIMITH Write '1' to enable interrupt for event CH5LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW CH5LIMITL Write '1' to enable interrupt for event CH5LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW CH6LIMITH Write '1' to enable interrupt for event CH6LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW CH6LIMITL Write '1' to enable interrupt for event CH6LIMITL
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
U RW CH7LIMITH Write '1' to enable interrupt for event CH7LIMITH
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
V RW CH7LIMITL Write '1' to enable interrupt for event CH7LIMITL
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.23.7.21 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STARTED Write '1' to disable interrupt for event STARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW DONE Write '1' to disable interrupt for event DONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW RESULTDONE Write '1' to disable interrupt for event RESULTDONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW CALIBRATEDONE Write '1' to disable interrupt for event CALIBRATEDONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW CH0LIMITH Write '1' to disable interrupt for event CH0LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW CH0LIMITL Write '1' to disable interrupt for event CH0LIMITL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW CH1LIMITH Write '1' to disable interrupt for event CH1LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW CH1LIMITL Write '1' to disable interrupt for event CH1LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW CH2LIMITH Write '1' to disable interrupt for event CH2LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW CH2LIMITL Write '1' to disable interrupt for event CH2LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW CH3LIMITH Write '1' to disable interrupt for event CH3LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW CH3LIMITL Write '1' to disable interrupt for event CH3LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
O RW CH4LIMITH Write '1' to disable interrupt for event CH4LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW CH4LIMITL Write '1' to disable interrupt for event CH4LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Q RW CH5LIMITH Write '1' to disable interrupt for event CH5LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW CH5LIMITL Write '1' to disable interrupt for event CH5LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW CH6LIMITH Write '1' to disable interrupt for event CH6LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW CH6LIMITL Write '1' to disable interrupt for event CH6LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
U RW CH7LIMITH Write '1' to disable interrupt for event CH7LIMITH
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
V RW CH7LIMITL Write '1' to disable interrupt for event CH7LIMITL
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.23.7.22 STATUS
Address offset: 0x400
Status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R STATUS Status
Ready 0 SAADC is ready. No on-going conversions.
Busy 1 SAADC is busy. Conversion in progress.
6.23.7.23 ENABLE
Address offset: 0x500
Enable or disable SAADC
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable SAADC
Disabled 0 Disable SAADC
Enabled 1 Enable SAADC
When enabled, the SAADC will acquire access to analog input pins specified
in registers CH[n].PSELP and CH[n].PSELN
6.23.7.24 CH[0].PSELP
Address offset: 0x510
Input positive pin selection for CH[0]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.25 CH[0].PSELN
Address offset: 0x514
Input negative pin selection for CH[0]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.26 CH[0].CONFIG
Address offset: 0x518
Input configuration for CH[0]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.27 CH[0].LIMIT
Address offset: 0x51C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.28 CH[1].PSELP
Address offset: 0x520
Input positive pin selection for CH[1]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.29 CH[1].PSELN
Address offset: 0x524
Input negative pin selection for CH[1]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.30 CH[1].CONFIG
Address offset: 0x528
Input configuration for CH[1]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.31 CH[1].LIMIT
Address offset: 0x52C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.32 CH[2].PSELP
Address offset: 0x530
Input positive pin selection for CH[2]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.33 CH[2].PSELN
Address offset: 0x534
Input negative pin selection for CH[2]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.34 CH[2].CONFIG
Address offset: 0x538
Input configuration for CH[2]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.35 CH[2].LIMIT
Address offset: 0x53C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.36 CH[3].PSELP
Address offset: 0x540
Input positive pin selection for CH[3]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.37 CH[3].PSELN
Address offset: 0x544
Input negative pin selection for CH[3]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.38 CH[3].CONFIG
Address offset: 0x548
Input configuration for CH[3]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.39 CH[3].LIMIT
Address offset: 0x54C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.40 CH[4].PSELP
Address offset: 0x550
Input positive pin selection for CH[4]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.41 CH[4].PSELN
Address offset: 0x554
Input negative pin selection for CH[4]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.42 CH[4].CONFIG
Address offset: 0x558
Input configuration for CH[4]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.43 CH[4].LIMIT
Address offset: 0x55C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.44 CH[5].PSELP
Address offset: 0x560
Input positive pin selection for CH[5]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.45 CH[5].PSELN
Address offset: 0x564
Input negative pin selection for CH[5]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.46 CH[5].CONFIG
Address offset: 0x568
Input configuration for CH[5]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.47 CH[5].LIMIT
Address offset: 0x56C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.48 CH[6].PSELP
Address offset: 0x570
Input positive pin selection for CH[6]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.49 CH[6].PSELN
Address offset: 0x574
Input negative pin selection for CH[6]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.50 CH[6].CONFIG
Address offset: 0x578
Input configuration for CH[6]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.51 CH[6].LIMIT
Address offset: 0x57C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.52 CH[7].PSELP
Address offset: 0x580
Input positive pin selection for CH[7]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELP Analog positive input channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.53 CH[7].PSELN
Address offset: 0x584
Input negative pin selection for CH[7]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PSELN Analog negative input, enables differential channel
NC 0 Not connected
AnalogInput0 1 AIN0
AnalogInput1 2 AIN1
AnalogInput2 3 AIN2
AnalogInput3 4 AIN3
AnalogInput4 5 AIN4
AnalogInput5 6 AIN5
AnalogInput6 7 AIN6
AnalogInput7 8 AIN7
VDD 9 VDD
VDDHDIV5 0x0D VDDH/5
6.23.7.54 CH[7].CONFIG
Address offset: 0x588
Input configuration for CH[7]
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESP Positive channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID G F E E E D C C C B B A A
Reset 0x00020000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
B RW RESN Negative channel resistor control
Bypass 0 Bypass resistor ladder
Pulldown 1 Pull-down to GND
Pullup 2 Pull-up to VDD
VDD1_2 3 Set input at VDD/2
C RW GAIN Gain control
Gain1_6 0 1/6
Gain1_5 1 1/5
Gain1_4 2 1/4
Gain1_3 3 1/3
Gain1_2 4 1/2
Gain1 5 1
Gain2 6 2
Gain4 7 4
D- RW REFSEL Reference control
Internal 0 Internal reference (0.6 V)
VDD1_4 1 VDD/4 as reference
E RW TACQ Acquisition time, the time the SAADC uses to sample the input voltage
3us 0 3 µs
5us 1 5 µs
10us 2 10 µs
15us 3 15 µs
20us 4 20 µs
40us 5 40 µs
F RW MODE Enable differential mode
SE 0 Single-ended, PSELN will be ignored, negative input to SAADC shorted to
GND
Diff 1 Differential
G RW BURST Enable burst mode
Disabled 0 Burst mode is disabled (normal operation)
Enabled 1 Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as
fast as it can, and sends the average to Data RAM.
6.23.7.55 CH[7].LIMIT
Address offset: 0x58C
High/low limits for event monitoring of a channel
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B B B B B B B B B B B B B B B B A A A A A A A A A A A A A A A A
Reset 0x7FFF8000 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOW [-32768 to +32767] Low level limit
B RW HIGH [-32768 to +32767] High level limit
6.23.7.56 RESOLUTION
Address offset: 0x5F0
Resolution configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW VAL Set the resolution
8bit 0 8 bits
10bit 1 10 bits
12bit 2 12 bits
14bit 3 14 bits
6.23.7.57 OVERSAMPLE
Address offset: 0x5F4
Oversampling configuration. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a
higher RESOLUTION should be used.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERSAMPLE Oversample control
Bypass 0 Bypass oversampling
Over2x 1 Oversample 2x
Over4x 2 Oversample 4x
Over8x 3 Oversample 8x
Over16x 4 Oversample 16x
Over32x 5 Oversample 32x
Over64x 6 Oversample 64x
Over128x 7 Oversample 128x
Over256x 8 Oversample 256x
6.23.7.58 SAMPLERATE
Address offset: 0x5F8
Controls normal or continuous sample rate
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC [80..2047] Capture and compare value. Sample rate is 16 MHz/CC
B RW MODE Select mode for sample rate control
Task 0 Rate is controlled from SAMPLE task
Timers 1 Rate is controlled from local timer (use CC to control the rate)
6.23.7.59 RESULT
RESULT EasyDMA channel
6.23.7.59.1 RESULT.PTR
Address offset: 0x62C
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
6.23.7.59.2 RESULT.MAXCNT
Address offset: 0x630
Maximum number of 16-bit samples to be written to output RAM buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT Maximum number of 16-bit samples to be written to output RAM buffer
6.23.7.59.3 RESULT.AMOUNT
Address offset: 0x634
Number of 16-bit samples written to output RAM buffer since the previous START task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT Number of 16-bit samples written to output RAM buffer since the previous
START task. This register can be read after an END or STOPPED event.
27
Digital output code at zero volt differential input.
28
Does not include temperature drift
EG1 28
Error for gain = 1 -3 4 %
RXD-1 TXD+1
MISO MOSI
RXD TXD
READY
RXD-1 and TXD+1 illustrate the double buffered version of RXD and TXD respectively.
29
Maximum gain corresponds to highest capacitance.
CPOL CPHA
SPI_MODE0 0 (Leading) 0 (Active high)
SPI_MODE1 0 (Leading) 1 (Active low)
SPI_MODE2 1 (Trailing) 0 (Active high)
SPI_MODE3 1 (Trailing) 1 (Active low)
same time as the first byte is being extracted from RXD by the CPU. The SPI master will generate a READY
event every time a new byte is moved to the RXD register. The double buffered byte will be moved from
RXD-1 to RXD as soon as the first byte is extracted from RXD. The SPI master will stop when there are no
more bytes to send in TXD and TXD+1.
CSN
SCK
READY
READY
READY
READY
READY
CPU 1 2 3 TXD = n-2 4 5 6 7
TXD = n-1
m-2 = RXD
m-1 = RXD
C = RXD
A = RXD
B = RXD
TXD = 0
TXD = 1
TXD = 2
TXD = n
m = RXD
Figure 156: SPI master transaction
The READY event of the third byte transaction is delayed until B is extracted from RXD in occurrence
number 3 on the horizontal lifeline. The reason for this is that the third event is generated first when C is
moved from RXD-1 to RXD after B is read.
The SPI master will move the incoming byte to the RXD register after a short delay following the SCK clock
period of the last bit in the byte. This also means that the READY event will be delayed accordingly, see SPI
master transaction on page 637. Therefore, it is important that you always clear the READY event, even
if the RXD register and the data that is being received is not used.
CSN
CSN
SCK
SCK
(CPHA=0)
MOSI (CPHA=1)
MOSI
MISO
MISO
READY
READY
Lifeline
Lifeline
1 1
6.24.2 Registers
Instances
Register overview
6.24.2.1 EVENTS_READY
Address offset: 0x108
TXD byte sent and RXD byte received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READY TXD byte sent and RXD byte received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.24.2.2 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to enable interrupt for event READY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.24.2.3 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW READY Write '1' to disable interrupt for event READY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.24.2.4 ENABLE
Address offset: 0x500
Enable SPI
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable SPI
Disabled 0 Disable SPI
Enabled 1 Enable SPI
6.24.2.5 PSEL.SCK
Address offset: 0x508
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.24.2.6 PSEL.MOSI
Address offset: 0x50C
Pin select for MOSI signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.24.2.7 PSEL.MISO
Address offset: 0x510
Pin select for MISO signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.24.2.8 RXD
Address offset: 0x518
RXD register. Register is cleared on read and the buffer pointer will be modified if read.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXD RX data received. Double buffered
RME
6.24.2.9 TXD
Address offset: 0x51C
TXD register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TXD TX data to send. Double buffered.
6.24.2.10 FREQUENCY
Address offset: 0x524
SPI frequency. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FREQUENCY SPI master data rate
K125 0x02000000 125 kbps
K250 0x04000000 250 kbps
K500 0x08000000 500 kbps
M1 0x10000000 1 Mbps
M2 0x20000000 2 Mbps
M4 0x40000000 4 Mbps
M8 0x80000000 8 Mbps
6.24.2.11 CONFIG
Address offset: 0x554
Configuration register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORDER Bit order
MsbFirst 0 Most significant bit shifted out first
LsbFirst 1 Least significant bit shifted out first
B RW CPHA Serial clock (SCK) phase
Leading 0 Sample on leading edge of clock, shift serial data on trailing edge
Trailing 1 Sample on trailing edge of clock, shift serial data on leading edge
C RW CPOL Serial clock (SCK) polarity
ActiveHigh 0 Active high
ActiveLow 1 Active low
30
High bit rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.
31
The actual maximum data rate depends on the slave's CLK to MISO and MOSI setup and hold timings.
32
At 25 pF load, including GPIO capacitance, see GPIO electrical specification.
tCSCK
CPOL=0
CPHA=0
tWHSCK tRSCK
CPOL=1 tWLSCK tFSCK
SCK (out)
CPHA=0
CPOL=0
CPHA=1
CPOL=1
CPHA=1
tSUMI tHMI
MISO (in) MSb LSb
tVMO tHMO
MOSI (out) MSb LSb
TASKS_
START
STOP
SUSPEND
RESUME
GPIO SPIM RAM
PSEL.MOSI TXD.PTR
buffer[0]
buffer[1]
TXD
MOSI Pin EasyDMA
buffer
SCK Pin PSEL.SCK buffer[TXD.MAXCNT-1]
EVENTS_
STOPPED
ENDRX
END
ENDTX
STARTED
SCK
CSN
ENDRX
END
ENDTX
START
The ENDTX is generated when all bytes in buffer TXD.PTR on page 654 are transmitted. The number of
bytes in the transmit buffer is specified in register TXD.MAXCNT on page 655. The ENDRX event will be
generated when buffer RXD.PTR on page 653 is full, meaning the number of bytes specified in register
RXD.MAXCNT on page 654 have been received. The transaction stops automatically after all bytes have
been transmitted/received. When the maximum number of bytes in the receive buffer is larger than the
number of bytes in the transmit buffer, the contents of register ORC on page 657 will be transmitted
after the last byte in the transmit buffer has been transmitted.
The END event will be generated after both the ENDRX and ENDTX events have been generated.
The SPI master can be stopped by triggering the STOP task. A STOPPED event is generated when the SPI
master has stopped. If the STOP task is triggered in the middle of a transaction, SPIM will complete the
transmission/reception of the current byte before stopping. The STOPPED event is generated even if the
STOP task is triggered while there is no ongoing transaction.
If the ENDTX event has not already been generated when the SPI master has come to a stop, the ENDTX
event will be generated even if all bytes in the buffer TXD.PTR on page 654 have not been transmitted.
If the ENDRX event has not already been generated when the SPI master has come to a stop, the ENDRX
event will be generated even if the buffer RXD.PTR on page 653 is not full.
A transaction can be suspended and resumed using the SUSPEND and RESUME tasks. When the SUSPEND
task is triggered, the SPI master will complete transmitting and receiving the current ongoing byte before
it is suspended.
Some SPIM instances do not support automatic control of CSN, and for those the available GPIO pins
need to be used to control CSN directly. See #unique_73/unique_73_Connect_42_table.instances on page
646 for information about what features are supported in the various SPIM instances.
SPIM supports SPI modes 0 through 3. The clock polarity (CPOL) and the clock phase (CPHA) are
configured in register CONFIG on page 655.
CPOL CPHA
SPI_MODE0 0 (Active High) 0 (Leading)
SPI_MODE1 0 (Active High) 1 (Trailing)
SPI_MODE2 1 (Active Low) 0 (Leading)
SPI_MODE3 1 (Active Low) 1 (Trailing)
6.25.4 EasyDMA
SPIM implements EasyDMA for accessing RAM without CPU involvement.
SPIM peripheral implements the following EasyDMA channels.
For detailed information regarding the use of EasyDMA, see EasyDMA on page 62.
The .PTR and .MAXCNT registers are double-buffered. They can be updated and prepared for the next
transmission immediately after having received the STARTED event.
The SPI master will automatically stop transmitting after TXD.MAXCNT bytes have been transmitted
and RXD.MAXCNT bytes have been received. If RXD.MAXCNT is larger than TXD.MAXCNT, the remaining
transmitted bytes will contain the value defined in the ORC register. If TXD.MAXCNT is larger than
RXD.MAXCNT, the additional received bytes will be discarded.
The ENDRX/ENDTX events indicate that EasyDMA has finished accessing respectively the RX/TX buffer in
RAM. The END event gets generated when both RX and TX are finished accessing the buffers in RAM.
If several AHB bus masters try to access the same AHB slave at the same time, AHB bus congestion might
occur, and the behavior of the EasyDMA channel will depend on the SPIM instance. Refer to #unique_73/
unique_73_Connect_42_table.instances on page 646 for information about what behavior is supported
in the various instances.
6.25.6 Registers
Instances
Configuration
Instance Configuration
SPIM0 Not supported: > 8 Mbps data rate, CSNPOL register, DCX functionality, IFTIMING.x registers, hardware
CSN control (PSEL.CSN), stalling mechanism during AHB bus contention.
SPIM1 Not supported: > 8 Mbps data rate, CSNPOL register, DCX functionality, IFTIMING.x registers, hardware
CSN control (PSEL.CSN), stalling mechanism during AHB bus contention.
SPIM2 Not supported: > 8 Mbps data rate, CSNPOL register, DCX functionality, IFTIMING.x registers, hardware
CSN control (PSEL.CSN), stalling mechanism during AHB bus contention.
SPIM3
Register overview
6.25.6.1 TASKS_START
Address offset: 0x010
Start SPI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start SPI transaction
Trigger 1 Trigger task
6.25.6.2 TASKS_STOP
Address offset: 0x014
Stop SPI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop SPI transaction
Trigger 1 Trigger task
6.25.6.3 TASKS_SUSPEND
Address offset: 0x01C
Suspend SPI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SUSPEND Suspend SPI transaction
Trigger 1 Trigger task
6.25.6.4 TASKS_RESUME
Address offset: 0x020
Resume SPI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RESUME Resume SPI transaction
Trigger 1 Trigger task
6.25.6.5 EVENTS_STOPPED
Address offset: 0x104
SPI transaction has stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED SPI transaction has stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.25.6.6 EVENTS_ENDRX
Address offset: 0x110
End of RXD buffer reached
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDRX End of RXD buffer reached
NotGenerated 0 Event not generated
Generated 1 Event generated
6.25.6.7 EVENTS_END
Address offset: 0x118
End of RXD buffer and TXD buffer reached
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END End of RXD buffer and TXD buffer reached
NotGenerated 0 Event not generated
Generated 1 Event generated
6.25.6.8 EVENTS_ENDTX
Address offset: 0x120
End of TXD buffer reached
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDTX End of TXD buffer reached
NotGenerated 0 Event not generated
Generated 1 Event generated
6.25.6.9 EVENTS_STARTED
Address offset: 0x14C
Transaction started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STARTED Transaction started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.25.6.10 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END_START Shortcut between event END and task START
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.25.6.11 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDRX Write '1' to enable interrupt for event ENDRX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ENDTX Write '1' to enable interrupt for event ENDTX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW STARTED Write '1' to enable interrupt for event STARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.25.6.12 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDRX Write '1' to disable interrupt for event ENDRX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ENDTX Write '1' to disable interrupt for event ENDTX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW STARTED Write '1' to disable interrupt for event STARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.25.6.13 STALLSTAT
Address offset: 0x400
Stall status for EasyDMA RAM accesses. The fields in this register are set to STALL by hardware whenever a
stall occurs and can be cleared (set to NOSTALL) by the CPU.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TX [1..0] Stall status for EasyDMA RAM reads
NOSTALL 0 No stall
STALL 1 A stall has occurred
B RW RX [1..0] Stall status for EasyDMA RAM writes
NOSTALL 0 No stall
STALL 1 A stall has occurred
6.25.6.14 ENABLE
Address offset: 0x500
Enable SPIM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable SPIM
Disabled 0 Disable SPIM
Enabled 7 Enable SPIM
6.25.6.15 PSEL.SCK
Address offset: 0x508
Pin select for SCK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.25.6.16 PSEL.MOSI
Address offset: 0x50C
Pin select for MOSI signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.25.6.17 PSEL.MISO
Address offset: 0x510
Pin select for MISO signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.25.6.18 PSEL.CSN
Address offset: 0x514
Pin select for CSN
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.25.6.19 FREQUENCY
Address offset: 0x524
SPI frequency. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FREQUENCY SPI master data rate
K125 0x02000000 125 kbps
K250 0x04000000 250 kbps
K500 0x08000000 500 kbps
M1 0x10000000 1 Mbps
M2 0x20000000 2 Mbps
M4 0x40000000 4 Mbps
M8 0x80000000 8 Mbps
M16 0x0A000000 16 Mbps
M32 0x14000000 32 Mbps
6.25.6.20 RXD
RXD EasyDMA channel
6.25.6.20.1 RXD.PTR
Address offset: 0x534
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See Memory chapter for details about which memories are available for
EasyDMA.
6.25.6.20.2 RXD.MAXCNT
Address offset: 0x538
Maximum number of bytes in receive buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in receive buffer
6.25.6.20.3 RXD.AMOUNT
Address offset: 0x53C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction
6.25.6.20.4 RXD.LIST
Address offset: 0x540
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.25.6.21 TXD
TXD EasyDMA channel
6.25.6.21.1 TXD.PTR
Address offset: 0x544
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See Memory chapter for details about which memories are available for
EasyDMA.
6.25.6.21.2 TXD.MAXCNT
Address offset: 0x548
Number of bytes in transmit buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in transmit buffer
6.25.6.21.3 TXD.AMOUNT
Address offset: 0x54C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction
6.25.6.21.4 TXD.LIST
Address offset: 0x550
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.25.6.22 CONFIG
Address offset: 0x554
Configuration register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORDER Bit order
MsbFirst 0 Most significant bit shifted out first
LsbFirst 1 Least significant bit shifted out first
B RW CPHA Serial clock (SCK) phase
Leading 0 Sample on leading edge of clock, shift serial data on trailing edge
Trailing 1 Sample on trailing edge of clock, shift serial data on leading edge
C RW CPOL Serial clock (SCK) polarity
ActiveHigh 0 Active high
ActiveLow 1 Active low
6.25.6.23 IFTIMING.RXDELAY
Address offset: 0x560
Sample delay for input serial data on MISO
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW RXDELAY [7..0] Sample delay for input serial data on MISO. The value specifies the number
of 64 MHz clock cycles (15.625 ns) delay from the the sampling edge of
SCK (leading edge for CONFIG.CPHA = 0, trailing edge for CONFIG.CPHA =
1) until the input serial data is sampled. As en example, if RXDELAY = 0 and
CONFIG.CPHA = 0, the input serial data is sampled on the rising edge of SCK.
6.25.6.24 IFTIMING.CSNDUR
Address offset: 0x564
Minimum duration between edge of CSN and edge of SCK at the start and the end of a transaction, and
minimum duration CSN will stay high between transactions if END-START shortcut is used
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW CSNDUR [0xFF..0] Minimum duration between edge of CSN and edge of SCK at the start and
end of a transaction. If END-START shortcut is used, minimum duration CSN
will stay high between transactions. The value is specified in number of 64
MHz clock cycles (15.625 ns).
Note that for low values of CSNDUR, the system turnaround time will
dominate the actual time between transactions.
6.25.6.25 CSNPOL
Address offset: 0x568
Polarity of CSN output
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CSNPOL Polarity of CSN output
LOW 0 Active low (idle state high)
HIGH 1 Active high (idle state low)
6.25.6.26 PSELDCX
Address offset: 0x56C
Pin select for DCX signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.25.6.27 DCXCNT
Address offset: 0x570
DCX configuration
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DCXCNT 0x0..0xF This register specifies the number of command bytes preceding the data
bytes. The PSEL.DCX line will be low during transmission of command bytes
and high during transmission of data bytes. Value 0xF indicates that all bytes
are command bytes.
6.25.6.28 ORC
Address offset: 0x5C0
Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is
greater than TXD.MAXCNT
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORC Byte transmitted after TXD.MAXCNT bytes have been transmitted in the
case when RXD.MAXCNT is greater than TXD.MAXCNT.
tCSCK
CPOL=0
CPHA=0
tWHSCK tRSCK
CPOL=1 tWLSCK tFSCK
SCK (out)
CPHA=0
CPOL=0
CPHA=1
CPOL=1
CPHA=1
CSNPOL=0
CSN (out)
CSNPOL=1
IFTIMING.CSNDUR IFTIMING.CSNDUR
tSUMI tHMI
MISO (in) MSb LSb
tVMO tHMO
MOSI (out) MSb LSb
33
High bit rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.
34
At 25 pF load, including GPIO pin capacitance, see GPIO electrical specification.
SPIS
CSN MISO MOSI
ACQUIRE
ACQUIRED
END
DEF
OVERREAD
RAM
TXD RXD
TXD+1 RXD+1
TXD+2 RXD+2
TXD+n RXD+n
The SPIS supports SPI modes 0 through 3. The CONFIG register allows setting CPOL and CPHA
appropriately.
CPOL CPHA
SPI_MODE0 0 (Active High) 0 (Trailing Edge)
SPI_MODE1 0 (Active High) 1 (Leading Edge)
SPI_MODE2 1 (Active Low) 0 (Trailing Edge)
SPI_MODE3 1 (Active Low) 1 (Leading Edge)
6.26.2 EasyDMA
The SPIS implements EasyDMA for accessing RAM without CPU involvement.
The SPIS peripheral implements the following EasyDMA channels.
For detailed information regarding the use of EasyDMA, see EasyDMA on page 62.
If RXD.MAXCNT is larger than TXD.MAXCNT, the remaining transmitted bytes will contain the value defined
in the ORC register.
The END event indicates that EasyDMA has finished accessing the buffer in RAM.
As long as the semaphore is available, the SPI slave can be granted multiple transactions one after the
other. If the CPU is not able to reconfigure the TXD.PTR and RXD.PTR between granted transactions, the
same TX data will be clocked out and the RX buffers will be overwritten. To prevent this from happening,
the END_ACQUIRE shortcut can be used. With this shortcut enabled, the semaphore will be handed over
to the CPU automatically after the granted transaction has completed. This enables the CPU to update the
TXPTR and RXPTR between every granted transaction.
If the CPU tries to acquire the semaphore while it is assigned to the SPI slave, an immediate handover
will not be granted. However, the semaphore will be handed over to the CPU as soon as the SPI slave
has released the semaphore after the granted transaction is completed. If the END_ACQUIRE shortcut
is enabled and the CPU has triggered the ACQUIRE task during a granted transaction, only one ACQUIRE
request will be served following the END event.
The MAXRX register specifies the maximum number of bytes the SPI slave can receive in one granted
transaction. If the SPI slave receives more than MAXRX number of bytes, an OVERFLOW will be indicated
in the STATUS register and the incoming bytes will be discarded.
The MAXTX parameter specifies the maximum number of bytes the SPI slave can transmit in one granted
transaction. If the SPI slave is forced to transmit more than MAXTX number of bytes, an OVERREAD will be
indicated in the STATUS register and the ORC character will be clocked out.
The RXD.AMOUNT and TXD.AMOUNT registers are updated when a granted transaction is completed. The
TXD.AMOUNT register indicates how many bytes were read from the TX buffer in the last transaction. This
does not include the ORC (over-read) characters. Similarly, the RXD.AMOUNT register indicates how many
bytes were written into the RX buffer in the last transaction.
The ENDRX event is generated when the RX buffer has been filled.
0 0 1 2 0 1 2
MISO
ACQUIRED
ACQUIRED
ACQUIRED
END
&
Lifeline
1 2 3 4
RELEASE
RELEASE
ACQUIRE
ACQUIRE
ACQUIRE
Figure 164: SPI transaction when shortcut between END and ACQUIRE is enabled
Only one peripheral can be assigned to drive a particular GPIO pin at a time. Failing to do so may result in
unpredictable behavior.
6.26.5 Registers
Instances
Register overview
6.26.5.1 TASKS_ACQUIRE
Address offset: 0x024
Acquire SPI semaphore
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_ACQUIRE Acquire SPI semaphore
Trigger 1 Trigger task
6.26.5.2 TASKS_RELEASE
Address offset: 0x028
Release SPI semaphore, enabling the SPI slave to acquire it
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RELEASE Release SPI semaphore, enabling the SPI slave to acquire it
Trigger 1 Trigger task
6.26.5.3 EVENTS_END
Address offset: 0x104
Granted transaction completed
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_END Granted transaction completed
NotGenerated 0 Event not generated
Generated 1 Event generated
6.26.5.4 EVENTS_ENDRX
Address offset: 0x110
End of RXD buffer reached
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDRX End of RXD buffer reached
NotGenerated 0 Event not generated
Generated 1 Event generated
6.26.5.5 EVENTS_ACQUIRED
Address offset: 0x128
Semaphore acquired
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ACQUIRED Semaphore acquired
NotGenerated 0 Event not generated
Generated 1 Event generated
6.26.5.6 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END_ACQUIRE Shortcut between event END and task ACQUIRE
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.26.5.7 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END Write '1' to enable interrupt for event END
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDRX Write '1' to enable interrupt for event ENDRX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ACQUIRED Write '1' to enable interrupt for event ACQUIRED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.26.5.8 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW END Write '1' to disable interrupt for event END
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ENDRX Write '1' to disable interrupt for event ENDRX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ACQUIRED Write '1' to disable interrupt for event ACQUIRED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.26.5.9 SEMSTAT
Address offset: 0x400
Semaphore status register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A R SEMSTAT Semaphore status
Free 0 Semaphore is free
CPU 1 Semaphore is assigned to CPU
SPIS 2 Semaphore is assigned to SPI slave
CPUPending 3 Semaphore is assigned to SPI but a handover to the CPU is pending
6.26.5.10 STATUS
Address offset: 0x440
Status from last transaction
Individual bits are cleared by writing a 1 to the bits that shall be cleared
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERREAD TX buffer over-read detected, and prevented
NotPresent 0 Read: error not present
Present 1 Read: error present
Clear 1 Write: clear error on writing '1'
B RW OVERFLOW RX buffer overflow detected, and prevented
NotPresent 0 Read: error not present
Present 1 Read: error present
Clear 1 Write: clear error on writing '1'
6.26.5.11 ENABLE
Address offset: 0x500
Enable SPI slave
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable SPI slave
Disabled 0 Disable SPI slave
Enabled 2 Enable SPI slave
6.26.5.12 PSEL.SCK
Address offset: 0x508
Pin select for SCK
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.26.5.13 PSEL.MISO
Address offset: 0x50C
Pin select for MISO signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.26.5.14 PSEL.MOSI
Address offset: 0x510
Pin select for MOSI signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.26.5.15 PSEL.CSN
Address offset: 0x514
Pin select for CSN signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.26.5.16 RXD.PTR
Address offset: 0x534
RXD data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR RXD data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.26.5.17 RXD.MAXCNT
Address offset: 0x538
Maximum number of bytes in receive buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in receive buffer
6.26.5.18 RXD.AMOUNT
Address offset: 0x53C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes received in the last granted transaction
6.26.5.19 RXD.LIST
Address offset: 0x540
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.26.5.20 TXD.PTR
Address offset: 0x544
TXD data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR TXD data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.26.5.21 TXD.MAXCNT
Address offset: 0x548
Maximum number of bytes in transmit buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in transmit buffer
6.26.5.22 TXD.AMOUNT
Address offset: 0x54C
Number of bytes transmitted in last granted transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transmitted in last granted transaction
6.26.5.23 TXD.LIST
Address offset: 0x550
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.26.5.24 CONFIG
Address offset: 0x554
Configuration register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORDER Bit order
MsbFirst 0 Most significant bit shifted out first
LsbFirst 1 Least significant bit shifted out first
B RW CPHA Serial clock (SCK) phase
Leading 0 Sample on leading edge of clock, shift serial data on trailing edge
Trailing 1 Sample on trailing edge of clock, shift serial data on leading edge
C RW CPOL Serial clock (SCK) polarity
ActiveHigh 0 Active high
ActiveLow 1 Active low
6.26.5.25 DEF
Address offset: 0x55C
Default character. Character clocked out in case of an ignored transaction.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DEF Default character. Character clocked out in case of an ignored transaction.
6.26.5.26 ORC
Address offset: 0x5C0
Over-read character
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORC Over-read character. Character clocked out after an over-read of the
transmit buffer.
35
High bit rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.
36
The actual maximum data rate depends on the master's CLK to MISO and MOSI setup and hold
timings.
37
At 25 pF load, including GPIO capacitance, see GPIO electrical specification.
38
This is to ensure compatibility to SPI masters sampling MISO on the same edge as MOSI is output.
CSN (in)
tWHSCKIN tRSCKIN
CPOL=1 tWLSCKIN tFSCKIN
CPHA=0 tASO tDISSO
tASA tVSO tHSO tHSO
MISO (out) MSb LSb
tSUSI tHSI
MOSI (in) MSb LSb
CSN (in)
tWHSCKIN tRSCKIN
CPOL=1 tWLSCKIN tFSCKIN
CPHA=1
tASO tVSO tHSO tDISSO
tASA
MISO (out) MSb LSb
tSUSI tHSI
MOSI (in) MSb LSb
CSN
CPOL=0
CPHA=1
CPOL=1
CPHA=1
tSUMI tHMI tDISSO
tASO tVSO tHSO tHSO
tASA
MISO MSb LSb
6.27.1 Registers
Instances
6.28.1 Registers
Instances
Register overview
6.28.1.1 TASKS_START
Address offset: 0x000
Start temperature measurement
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start temperature measurement
Trigger 1 Trigger task
6.28.1.2 TASKS_STOP
Address offset: 0x004
Stop temperature measurement
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop temperature measurement
Trigger 1 Trigger task
6.28.1.3 EVENTS_DATARDY
Address offset: 0x100
Temperature measurement complete, data ready
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_DATARDY Temperature measurement complete, data ready
NotGenerated 0 Event not generated
Generated 1 Event generated
6.28.1.4 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DATARDY Write '1' to enable interrupt for event DATARDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.28.1.5 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW DATARDY Write '1' to disable interrupt for event DATARDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.28.1.6 TEMP
Address offset: 0x508
Temperature in °C (0.25° steps)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R TEMP Temperature in °C (0.25° steps)
6.28.1.7 A0
Address offset: 0x520
Slope of first piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x00000326 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0
ID R/W Field Value ID Value Description
A RW A0 Slope of first piecewise linear function
6.28.1.8 A1
Address offset: 0x524
Slope of second piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x00000348 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0
ID R/W Field Value ID Value Description
A RW A1 Slope of second piecewise linear function
6.28.1.9 A2
Address offset: 0x528
Slope of third piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x000003AA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 1 0 1 0
ID R/W Field Value ID Value Description
A RW A2 Slope of third piecewise linear function
6.28.1.10 A3
Address offset: 0x52C
Slope of fourth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x0000040E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0
ID R/W Field Value ID Value Description
A RW A3 Slope of fourth piecewise linear function
6.28.1.11 A4
Address offset: 0x530
Slope of fifth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x000004BD 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 1 1 0 1
ID R/W Field Value ID Value Description
A RW A4 Slope of fifth piecewise linear function
6.28.1.12 A5
Address offset: 0x534
Slope of sixth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A
Reset 0x000005A3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 0 0 0 1 1
ID R/W Field Value ID Value Description
A RW A5 Slope of sixth piecewise linear function
6.28.1.13 B0
Address offset: 0x540
y-intercept of first piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00003FEF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1
ID R/W Field Value ID Value Description
A RW B0 y-intercept of first piecewise linear function
6.28.1.14 B1
Address offset: 0x544
y-intercept of second piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00003FBE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0
ID R/W Field Value ID Value Description
A RW B1 y-intercept of second piecewise linear function
6.28.1.15 B2
Address offset: 0x548
y-intercept of third piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00003FBE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 1 1 1 1 0
ID R/W Field Value ID Value Description
A RW B2 y-intercept of third piecewise linear function
6.28.1.16 B3
Address offset: 0x54C
y-intercept of fourth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00000012 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0
ID R/W Field Value ID Value Description
A RW B3 y-intercept of fourth piecewise linear function
6.28.1.17 B4
Address offset: 0x550
y-intercept of fifth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x00000124 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0
ID R/W Field Value ID Value Description
A RW B4 y-intercept of fifth piecewise linear function
6.28.1.18 B5
Address offset: 0x554
y-intercept of sixth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A
Reset 0x0000027C 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 0 0
ID R/W Field Value ID Value Description
A RW B5 y-intercept of sixth piecewise linear function
6.28.1.19 T0
Address offset: 0x560
End point of first piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x000000E2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0
ID R/W Field Value ID Value Description
A RW T0 End point of first piecewise linear function
6.28.1.20 T1
Address offset: 0x564
End point of second piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW T1 End point of second piecewise linear function
6.28.1.21 T2
Address offset: 0x568
End point of third piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000019 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1
ID R/W Field Value ID Value Description
A RW T2 End point of third piecewise linear function
6.28.1.22 T3
Address offset: 0x56C
End point of fourth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x0000003C 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0
ID R/W Field Value ID Value Description
A RW T3 End point of fourth piecewise linear function
6.28.1.23 T4
Address offset: 0x570
End point of fifth piecewise linear function
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000050 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
ID R/W Field Value ID Value Description
A RW T4 End point of fifth piecewise linear function
STARTRX RXDRDY
STARTTX TXDSENT
SUSPEND RXD TXD BB
RXD TXD
RESUME SUSPENDED
(signal) (signal)
ERROR
STOP
STOPPED
VDD VDD
TWI slave TWI slave TWI slave
(EEPROM) (Sensor)
TWI master
Address = b1011001 Address = b1011000 Address = b1011011
R R
SDA SCL SCL SDA SCL SDA SCL SDA
Figure 168: A typical TWI setup with one master and three slaves
This TWI master supports clock stretching performed by the slaves. The TWI master is started by triggering
the STARTTX or STARTRX tasks, and stopped by triggering the STOP task.
If a NACK is clocked in from the slave, the TWI master will generate an ERROR event.
To secure correct signal levels on the pins used by the TWI master when the system is in OFF mode, and
when the TWI master is disabled, these pins must be configured in the GPIO peripheral as described in
GPIO configuration on page 681.
Only one peripheral can be assigned to drive a particular GPIO pin at a time, failing to do so may result in
unpredictable behavior.
TWI master signal TWI master pin Direction Drive strength Output value
START
WRITE
STOP
ACK
ACK
ACK
ACK
ACK
ACK
TWI
ADDR 0 1 2 N-1 N
STOPPED
TXDSENT
TXDSENT
TXDSENT
TXDSENT
CPU Lifeline
1 2 3 4 6 7
STARTTX
TXD = N
TXD = 0
TXD = 1
TXD = 2
STOP
Figure 169: The TWI master writing data to a slave
The TWI master write sequence is stopped when the STOP task is triggered, causing the TWI master to
generate a stop condition on the TWI bus.
START
READ
NACK
STOP
ACK
ACK
ACK
ACK
TWI ADDR A B M-1 M
BB
BB
BB
BB
TWI Lifeline
SHORT
SHORT
SHORT
SHORT
SUSPEND
SUSPEND
SUSPEND
STOP
SUSPENDED
STOPPED
RXDRDY
SUSPENDED
SUSPENDED
RXDRDY
RXDRDY
RXDRDY
CPU Lifeline
1 2 3 4 5
RESUME
M-1 = RXD
STARTRX
RESUME
M = RXD
A = RXD
START
WRITE
READ
NACK
STOP
ACK
ACK
ACK
ACK
ACK
TWI
BB
BB
2-W Lifeline
SHORT
SHORT
SHORT
SUSPEND
SUSPEND
STOP
SUSPENDED
STOPPED
RXDRDY
TXDSENT
RXDRDY
CPU Lifeline
1 2 3 4 5
M-1 = RXD
STARTRX
STARTTX
RESUME
M = RXD
TXD = 0
To generate a repeated start after a read sequence, a second start task, STARTRX or STARTTX, must be
triggered instead of the STOP task. This start task must be triggered before the last byte is extracted from
RXD to ensure that the TWI master sends a NACK back to the slave before generating the repeated start
condition.
6.29.8 Registers
Instances
Register overview
6.29.8.1 TASKS_STARTRX
Address offset: 0x000
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTRX Start TWI receive sequence
Trigger 1 Trigger task
6.29.8.2 TASKS_STARTTX
Address offset: 0x008
Start TWI transmit sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTTX Start TWI transmit sequence
Trigger 1 Trigger task
6.29.8.3 TASKS_STOP
Address offset: 0x014
Stop TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop TWI transaction
Trigger 1 Trigger task
6.29.8.4 TASKS_SUSPEND
Address offset: 0x01C
Suspend TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SUSPEND Suspend TWI transaction
Trigger 1 Trigger task
6.29.8.5 TASKS_RESUME
Address offset: 0x020
Resume TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RESUME Resume TWI transaction
Trigger 1 Trigger task
6.29.8.6 EVENTS_STOPPED
Address offset: 0x104
TWI stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED TWI stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.7 EVENTS_RXDREADY
Address offset: 0x108
TWI RXD byte received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXDREADY TWI RXD byte received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.8 EVENTS_TXDSENT
Address offset: 0x11C
TWI TXD byte sent
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXDSENT TWI TXD byte sent
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.9 EVENTS_ERROR
Address offset: 0x124
TWI error
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR TWI error
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.10 EVENTS_BB
Address offset: 0x138
TWI byte boundary, generated before each byte that is sent or received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_BB TWI byte boundary, generated before each byte that is sent or received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.11 EVENTS_SUSPENDED
Address offset: 0x148
TWI entered the suspended state
Generated just after ACK bit has been transferred in a read transaction, and only if SUSPEND has been
requested earlier.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SUSPENDED TWI entered the suspended state
Generated just after ACK bit has been transferred in a read transaction, and
only if SUSPEND has been requested earlier.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.29.8.12 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BB_SUSPEND Shortcut between event BB and task SUSPEND
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW BB_STOP Shortcut between event BB and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.29.8.13 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW RXDREADY Write '1' to enable interrupt for event RXDREADY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW TXDSENT Write '1' to enable interrupt for event TXDSENT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW BB Write '1' to enable interrupt for event BB
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SUSPENDED Write '1' to enable interrupt for event SUSPENDED
Generated just after ACK bit has been transferred in a read transaction, and
only if SUSPEND has been requested earlier.
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.29.8.14 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW RXDREADY Write '1' to disable interrupt for event RXDREADY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW TXDSENT Write '1' to disable interrupt for event TXDSENT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW BB Write '1' to disable interrupt for event BB
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SUSPENDED Write '1' to disable interrupt for event SUSPENDED
Generated just after ACK bit has been transferred in a read transaction, and
only if SUSPEND has been requested earlier.
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.29.8.15 ERRORSRC
Address offset: 0x4C4
Error source
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERRUN Overrun error
W1C
A new byte was received before previous byte got read by software from
the RXD register. (Previous data is lost)
NotPresent 0 Read: no overrun occured
Present 1 Read: overrun occured
B RW ANACK NACK received after sending the address (write '1' to clear)
W1C
NotPresent 0 Read: error not present
Present 1 Read: error present
C RW DNACK NACK received after sending a data byte (write '1' to clear)
W1C
NotPresent 0 Read: error not present
Present 1 Read: error present
6.29.8.16 ENABLE
Address offset: 0x500
Enable TWI
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable TWI
Disabled 0 Disable TWI
Enabled 5 Enable TWI
6.29.8.17 PSEL.SCL
Address offset: 0x508
Pin select for SCL
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.29.8.18 PSEL.SDA
Address offset: 0x50C
Pin select for SDA
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.29.8.19 RXD
Address offset: 0x518
RXD register. Register is cleared on read and the buffer pointer will be modified if read.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXD RXD register
RME
6.29.8.20 TXD
Address offset: 0x51C
TXD register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TXD TXD register
6.29.8.21 FREQUENCY
Address offset: 0x524
TWI frequency. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FREQUENCY TWI master clock frequency
K100 0x01980000 100 kbps
K250 0x04000000 250 kbps
K400 0x06680000 400 kbps (actual rate 410.256 kbps)
6.29.8.22 ADDRESS
Address offset: 0x588
Address used in the TWI transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDRESS Address used in the TWI transfer
39
High bit rates or stronger pull-ups may require GPIOs to be set as High Drive, see GPIO chapter for
more details.
CAPTURE[0..n]
COUNT
START
CLEAR
STOP
TIMER
TIMER Core
Increment BITMODE
PCLK1M Counter
Prescaler
PCLK16M fTIMER
CC[0..n]
PRESCALER MODE
COMPARE[0..n]
Figure 173: Block schematic for timer/counter
The timer/counter runs on the high-frequency clock source (HFCLK) and includes a four-bit (1/2X)
prescaler that can divide the timer input clock from the HFCLK controller. Clock source selection between
PCLK16M and PCLK1M is automatic according to TIMER base frequency set by the prescaler. The TIMER
base frequency is always given as 16 MHz divided by the prescaler value.
The PPI system allows a TIMER event to trigger a task of any other system peripheral 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 channels.
TIMER can operate in two modes: Timer mode and Counter mode. In both modes, TIMER is started by
triggering the START task, and stopped by triggering the STOP task. After the timer is stopped the timer
can resume timing/counting by triggering the START task again. When timing/counting is resumed, the
timer will continue from the value it had prior to being stopped.
In Timer mode, the TIMER's internal Counter register is incremented by one for every tick of the timer
frequency fTIMER as illustrated in Block schematic for timer/counter on page 693. The timer frequency
is derived from PCLK16M as shown in the following example, using the values specified in the PRESCALER
register.
When fTIMER ≤ 1 MHz, TIMER will use PCLK1M instead of PCLK16M for reduced power consumption.
In counter mode, the TIMER's internal Counter register is incremented by one each time the COUNT task
is triggered, meaning the timer frequency and the prescaler are not utilized in counter mode. Similarly, the
COUNT task has no effect in Timer mode.
The TIMER's maximum value is configured by changing the bit-width of the timer in register BITMODE on
page 702.
PRESCALER on page 702 and BITMODE on page 702 must only be updated when the timer is stopped.
If these registers are updated while the timer is started, unpredictable behavior may occur.
When the timer is incremented beyond its maximum value, the Counter register will overflow and the
timer will automatically start over from zero.
The Counter register can be cleared by triggering the CLEAR task. This will explicitly set the internal value
to zero.
TIMER implements multiple capture/compare registers.
Independent of prescaler setting, the accuracy of TIMER is equivalent to one tick of the timer frequency
fTIMER as illustrated in Block schematic for timer/counter on page 693.
6.30.1 Capture
TIMER implements one capture task for every available capture/compare register.
Every time the CAPTURE[n] task is triggered, the Counter value is copied to the CC[n] register.
6.30.2 Compare
TIMER implements one COMPARE event for every available capture/compare register.
A COMPARE event is generated when the Counter is incremented and then becomes equal to the
value specified in one of the capture compare registers. When the Counter value becomes equal to the
value specified in a capture compare register CC[n], the corresponding compare event COMPARE[n] is
generated.
BITMODE on page 702 specifies how many bits of the Counter register and the capture/compare
register that are used when the comparison is performed. Other bits will be ignored.
6.30.5 Registers
Instances
Configuration
Instance Configuration
TIMER0 This timer instance has 4 CC registers (CC[0..3])
TIMER1 This timer instance has 4 CC registers (CC[0..3])
TIMER2 This timer instance has 4 CC registers (CC[0..3])
TIMER3 This timer instance has 6 CC registers (CC[0..5])
TIMER4 This timer instance has 6 CC registers (CC[0..5])
Register overview
6.30.5.1 TASKS_START
Address offset: 0x000
Start Timer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start Timer
Trigger 1 Trigger task
6.30.5.2 TASKS_STOP
Address offset: 0x004
Stop Timer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop Timer
Trigger 1 Trigger task
6.30.5.3 TASKS_COUNT
Address offset: 0x008
Increment Timer (Counter mode only)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_COUNT Increment Timer (Counter mode only)
Trigger 1 Trigger task
6.30.5.4 TASKS_CLEAR
Address offset: 0x00C
Clear time
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CLEAR Clear time
Trigger 1 Trigger task
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SHUTDOWN Shut down timer
6.30.5.6 TASKS_CAPTURE[0]
Address offset: 0x040
Capture Timer value to CC[0] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[0] register
Trigger 1 Trigger task
6.30.5.7 TASKS_CAPTURE[1]
Address offset: 0x044
Capture Timer value to CC[1] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[1] register
Trigger 1 Trigger task
6.30.5.8 TASKS_CAPTURE[2]
Address offset: 0x048
Capture Timer value to CC[2] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[2] register
Trigger 1 Trigger task
6.30.5.9 TASKS_CAPTURE[3]
Address offset: 0x04C
Capture Timer value to CC[3] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[3] register
Trigger 1 Trigger task
6.30.5.10 TASKS_CAPTURE[4]
Address offset: 0x050
Capture Timer value to CC[4] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[4] register
Trigger 1 Trigger task
6.30.5.11 TASKS_CAPTURE[5]
Address offset: 0x054
Capture Timer value to CC[5] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_CAPTURE Capture Timer value to CC[5] register
Trigger 1 Trigger task
6.30.5.12 EVENTS_COMPARE[0]
Address offset: 0x140
Compare event on CC[0] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[0] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.13 EVENTS_COMPARE[1]
Address offset: 0x144
Compare event on CC[1] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[1] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.14 EVENTS_COMPARE[2]
Address offset: 0x148
Compare event on CC[2] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[2] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.15 EVENTS_COMPARE[3]
Address offset: 0x14C
Compare event on CC[3] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[3] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.16 EVENTS_COMPARE[4]
Address offset: 0x150
Compare event on CC[4] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[4] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.17 EVENTS_COMPARE[5]
Address offset: 0x154
Compare event on CC[5] match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_COMPARE Compare event on CC[5] match
NotGenerated 0 Event not generated
Generated 1 Event generated
6.30.5.18 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE0_CLEAR Shortcut between event COMPARE[0] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW COMPARE1_CLEAR Shortcut between event COMPARE[1] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW COMPARE2_CLEAR Shortcut between event COMPARE[2] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW COMPARE3_CLEAR Shortcut between event COMPARE[3] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW COMPARE4_CLEAR Shortcut between event COMPARE[4] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
F RW COMPARE5_CLEAR Shortcut between event COMPARE[5] and task CLEAR
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
G RW COMPARE0_STOP Shortcut between event COMPARE[0] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
H RW COMPARE1_STOP Shortcut between event COMPARE[1] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
I RW COMPARE2_STOP Shortcut between event COMPARE[2] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
J RW COMPARE3_STOP Shortcut between event COMPARE[3] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
K RW COMPARE4_STOP Shortcut between event COMPARE[4] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
L RW COMPARE5_STOP Shortcut between event COMPARE[5] and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.30.5.19 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE[0] Write '1' to enable interrupt for event COMPARE[0]
Set 1 Enable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
B RW COMPARE[1] Write '1' to enable interrupt for event COMPARE[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW COMPARE[2] Write '1' to enable interrupt for event COMPARE[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW COMPARE[3] Write '1' to enable interrupt for event COMPARE[3]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW COMPARE[4] Write '1' to enable interrupt for event COMPARE[4]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW COMPARE[5] Write '1' to enable interrupt for event COMPARE[5]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.30.5.20 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW COMPARE[0] Write '1' to disable interrupt for event COMPARE[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW COMPARE[1] Write '1' to disable interrupt for event COMPARE[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW COMPARE[2] Write '1' to disable interrupt for event COMPARE[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW COMPARE[3] Write '1' to disable interrupt for event COMPARE[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW COMPARE[4] Write '1' to disable interrupt for event COMPARE[4]
Clear 1 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW COMPARE[5] Write '1' to disable interrupt for event COMPARE[5]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.30.5.21 MODE
Address offset: 0x504
Timer mode selection
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MODE Timer mode
Timer 0 Select Timer mode
Counter 1 Select Counter mode
6.30.5.22 BITMODE
Address offset: 0x508
Configure the number of bits used by the TIMER
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BITMODE Timer bit width
16Bit 0 16 bit timer bit width
08Bit 1 8 bit timer bit width
24Bit 2 24 bit timer bit width
32Bit 3 32 bit timer bit width
6.30.5.23 PRESCALER
Address offset: 0x510
Timer prescaler register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000004 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
ID R/W Field Value ID Value Description
A RW PRESCALER [0..9] Prescaler value
6.30.5.24 CC[0]
Address offset: 0x540
Capture/Compare register 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
6.30.5.25 CC[1]
Address offset: 0x544
Capture/Compare register 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
6.30.5.26 CC[2]
Address offset: 0x548
Capture/Compare register 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
6.30.5.27 CC[3]
Address offset: 0x54C
Capture/Compare register 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
6.30.5.28 CC[4]
Address offset: 0x550
Capture/Compare register 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
6.30.5.29 CC[5]
Address offset: 0x554
Capture/Compare register 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CC Capture/Compare value
Only the number of bits indicated by BITMODE will be used by the TIMER.
SUSPEND
STARTRX
STARTTX
RESUME
STOP
TWIM
GPIO RAM
PSEL.SDA TXD.PTR
buffer[0]
buffer[1] TXD buffer
TXD+1 EasyDMA buffer[TXD.MAXCNT-1]
SDA Pin
SUSPENDED
RXSTARTED
TXSTARTED
ERROR
LASTRX
LASTTX
STOPPED
A typical TWI setup consists of one master and one or more slaves. For an example, see the following
figure. This TWIM is only able to operate as a single master on the TWI bus. Multi-master bus
configuration is not supported.
VDD VDD
TWI slave TWI slave TWI slave
TWI master (EEPROM) (Sensor)
(TWIM)
Address = b1011001 Address = b1011000 Address = b1011011
R R
SDA SCL SCL SDA SCL SDA SCL SDA
Figure 175: A typical TWI setup comprising one master and three slaves
This TWI master supports clock stretching performed by the slaves. The SCK pulse following a stretched
clock cycle may be shorter than specified by the I2C specification.
The TWI master is started by triggering the STARTTX or STARTRX tasks, and stopped by triggering the STOP
task. The TWI master will generate a STOPPED event when it has stopped following a STOP task.
After the TWI master is started, the STARTTX or STARTRX tasks should not be triggered again until the TWI
master has issued a LASTRX, LASTTX, or STOPPED event.
The TWI master can be suspended using the SUSPEND task, this can be used when using the TWI master
in a low priority interrupt context. When the TWIM enters suspend state, will automatically issue a
SUSPENDED event while performing a continuous clock stretching until it is instructed to resume operation
via a RESUME task. The TWI master cannot be stopped while it is suspended, thus the STOP task has to be
issued after the TWI master has been resumed.
Note: Any ongoing byte transfer will be allowed to complete before the suspend is enforced. A
SUSPEND task has no effect unless the TWI master is actively involved in a transfer.
If a NACK is clocked in from the slave, the TWI master will generate an ERROR event.
6.31.1 EasyDMA
The TWIM implements EasyDMA for accessing RAM without CPU involvement.
The TWIM peripheral implements the EasyDMA channels found in the following table.
For detailed information regarding the use of EasyDMA, see EasyDMA on page 62.
The .PTR and .MAXCNT registers are double-buffered. They can be updated and prepared for the next RX/
TX transmission immediately after having received the RXSTARTED/TXSTARTED event.
The STOPPED event indicates that EasyDMA has finished accessing the buffer in RAM.
Stretch
START
WRITE
STOP
ACK
ACK
ACK
ACK
ACK
ACK
TWI
ADDR 0 1 2 N-1 N
SUSPENDED
STOPPED
LASTTX
CPU Lifeline
1 2 3 4
TXD.MAXCNT = N+1
STARTTX
RESUME
SUSPEND
STOP
The TWI master is stopped by triggering the STOP task. This task should be triggered during the
transmission of the last byte to secure that the TWI master will stop as fast as possible after sending the
last byte. The shortcut between LASTTX and STOP can alternatively be used to accomplish this.
Note: The TWI master does not stop by itself when the entire RAM buffer has been sent, or when
an error occurs. The STOP task must be issued, through the use of a local or PPI shortcut, or in
software as part of the error handler.
START
Stretch
READ
NACK
STOP
ACK
ACK
ACK
ACK
ACK
TWI
ADDR 0 1 2 M-1 M
SUSPENDED
STOPPED
LASTRX
CPU Lifeline
1 2 3 4
RXD.MAXCNT = M+1
STARTRX
RESUME
SUSPEND
STOP
Figure 177: The TWI master reading data from a slave
RESTART
START
WRITE
READ
NACK
STOP
ACK
ACK
ACK
ACK
ACK
ACK
ACK
ADDR 0 1 ADDR 0 1 2 3
STOPPED
LASTTX
LASTRX
CPU Lifeline
1 2
TXD.MAXCNT = 2
RXD.MAXCNT = 4
STARTTX
STARTRX
STOP
If a more complex repeated start sequence is needed, and the TWI firmware drive is serviced in a low
priority interrupt, it may be necessary to use the SUSPEND task and SUSPENDED event to guarantee that
the correct tasks are generated at the correct time. A double repeated start sequence using the SUSPEND
task to secure safe operation in low priority interrupts is shown in the following figure.
RESTART
RESTART
START
WRITE
WRITE
READ
NACK
STOP
Stretch
TWI
ACK
ACK
ACK
ACK
ACK
ACK
ADDR 0 ADDR 0 ADDR 0 1
STOPPED
LASTTX
SUSPENDED
LASTRX
LASTTX
CPU Lifeline
1 2 3 4 5
TXD.MAXCNT = 1
RXD.MAXCNT = 1
TXD.MAXCNT = 2
STARTTX
SUSPEND
STARTRX
RESUME
STOP
STARTTX
Figure 179: Double repeated start sequence
TWI master signal TWI master pin Direction Output value Drive strength
6.31.7 Registers
Instances
Register overview
6.31.7.1 TASKS_STARTRX
Address offset: 0x000
Start TWI receive sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTRX Start TWI receive sequence
Trigger 1 Trigger task
6.31.7.2 TASKS_STARTTX
Address offset: 0x008
Start TWI transmit sequence
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTTX Start TWI transmit sequence
Trigger 1 Trigger task
6.31.7.3 TASKS_STOP
Address offset: 0x014
Stop TWI transaction. Must be issued while the TWI master is not suspended.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop TWI transaction. Must be issued while the TWI master is not
suspended.
Trigger 1 Trigger task
6.31.7.4 TASKS_SUSPEND
Address offset: 0x01C
Suspend TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SUSPEND Suspend TWI transaction
Trigger 1 Trigger task
6.31.7.5 TASKS_RESUME
Address offset: 0x020
Resume TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RESUME Resume TWI transaction
Trigger 1 Trigger task
6.31.7.6 EVENTS_STOPPED
Address offset: 0x104
TWI stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED TWI stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.7 EVENTS_ERROR
Address offset: 0x124
TWI error
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR TWI error
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.8 EVENTS_SUSPENDED
Address offset: 0x148
SUSPEND task has been issued, TWI traffic is now suspended.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SUSPENDED SUSPEND task has been issued, TWI traffic is now suspended.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.9 EVENTS_RXSTARTED
Address offset: 0x14C
Receive sequence started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXSTARTED Receive sequence started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.10 EVENTS_TXSTARTED
Address offset: 0x150
Transmit sequence started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXSTARTED Transmit sequence started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.11 EVENTS_LASTRX
Address offset: 0x15C
Byte boundary, starting to receive the last byte
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_LASTRX Byte boundary, starting to receive the last byte
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.12 EVENTS_LASTTX
Address offset: 0x160
Byte boundary, starting to transmit the last byte
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_LASTTX Byte boundary, starting to transmit the last byte
NotGenerated 0 Event not generated
Generated 1 Event generated
6.31.7.13 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LASTTX_STARTRX Shortcut between event LASTTX and task STARTRX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW LASTTX_SUSPEND Shortcut between event LASTTX and task SUSPEND
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
C RW LASTTX_STOP Shortcut between event LASTTX and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
D RW LASTRX_STARTTX Shortcut between event LASTRX and task STARTTX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW LASTRX_SUSPEND Shortcut between event LASTRX and task SUSPEND
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
F RW LASTRX_STOP Shortcut between event LASTRX and task STOP
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.31.7.14 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID J I H G F D A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
D RW ERROR Enable or disable interrupt for event ERROR
Disabled 0 Disable
Enabled 1 Enable
F RW SUSPENDED Enable or disable interrupt for event SUSPENDED
Disabled 0 Disable
Enabled 1 Enable
G RW RXSTARTED Enable or disable interrupt for event RXSTARTED
Disabled 0 Disable
Enabled 1 Enable
H RW TXSTARTED Enable or disable interrupt for event TXSTARTED
Disabled 0 Disable
Enabled 1 Enable
I RW LASTRX Enable or disable interrupt for event LASTRX
Disabled 0 Disable
Enabled 1 Enable
J RW LASTTX Enable or disable interrupt for event LASTTX
Disabled 0 Disable
Enabled 1 Enable
6.31.7.15 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID J I H G F D A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SUSPENDED Write '1' to enable interrupt for event SUSPENDED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW RXSTARTED Write '1' to enable interrupt for event RXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW TXSTARTED Write '1' to enable interrupt for event TXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW LASTRX Write '1' to enable interrupt for event LASTRX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW LASTTX Write '1' to enable interrupt for event LASTTX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.31.7.16 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID J I H G F D A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW SUSPENDED Write '1' to disable interrupt for event SUSPENDED
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID J I H G F D A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
G RW RXSTARTED Write '1' to disable interrupt for event RXSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW TXSTARTED Write '1' to disable interrupt for event TXSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW LASTRX Write '1' to disable interrupt for event LASTRX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW LASTTX Write '1' to disable interrupt for event LASTTX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.31.7.17 ERRORSRC
Address offset: 0x4C4
Error source
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERRUN Overrun error
W1C
A new byte was received before previous byte got transferred into RXD
buffer. (Previous data is lost)
NotReceived 0 Error did not occur
Received 1 Error occurred
B RW ANACK NACK received after sending the address (write '1' to clear)
W1C
NotReceived 0 Error did not occur
Received 1 Error occurred
C RW DNACK NACK received after sending a data byte (write '1' to clear)
W1C
NotReceived 0 Error did not occur
Received 1 Error occurred
6.31.7.18 ENABLE
Address offset: 0x500
Enable TWIM
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable TWIM
Disabled 0 Disable TWIM
Enabled 6 Enable TWIM
6.31.7.19 PSEL.SCL
Address offset: 0x508
Pin select for SCL signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.31.7.20 PSEL.SDA
Address offset: 0x50C
Pin select for SDA signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.31.7.21 FREQUENCY
Address offset: 0x524
TWI frequency. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW FREQUENCY TWI master clock frequency
K100 0x01980000 100 kbps
K250 0x04000000 250 kbps
K400 0x06400000 400 kbps
6.31.7.22 RXD
RXD EasyDMA channel
6.31.7.22.1 RXD.PTR
Address offset: 0x534
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.31.7.22.2 RXD.MAXCNT
Address offset: 0x538
Maximum number of bytes in receive buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in receive buffer
6.31.7.22.3 RXD.AMOUNT
Address offset: 0x53C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction. In case of NACK error,
includes the NACK'ed byte.
6.31.7.22.4 RXD.LIST
Address offset: 0x540
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.31.7.23 TXD
TXD EasyDMA channel
6.31.7.23.1 TXD.PTR
Address offset: 0x544
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.31.7.23.2 TXD.MAXCNT
Address offset: 0x548
Maximum number of bytes in transmit buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in transmit buffer
6.31.7.23.3 TXD.AMOUNT
Address offset: 0x54C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction. In case of NACK error,
includes the NACK'ed byte.
6.31.7.23.4 TXD.LIST
Address offset: 0x550
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.31.7.24 ADDRESS
Address offset: 0x588
Address used in the TWI transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDRESS Address used in the TWI transfer
40
High bit rates or stronger pull-ups may require GPIOs to be set as High Drive, see GPIO — General
purpose input/output on page 240 for more details.
25 100 kbps
400 kbps
20
15
10
0
0 100 200 300 400 500
cap [pF]
PREPARETX
PREPARERX RXD TXD STOPPED
(signal) (signal)
SUSPEND WRITE
RESUME RXD.PTR EasyDMA EasyDMA TXD.PTR READ
RAM
RXD TXD
RXD+1 TXD+1
RXD+2 TXD+2
RXD+n TXD+n
A typical TWI setup consists of one master and one or more slaves. For an example, see the following
figure. TWIS is only able to operate with a single master on the TWI bus.
VDD VDD
TWI slave
TWI slave TWI slave
(TWIS)
(EEPROM) (Sensor)
TWI master
Address = b1011001 Address = b1011000
Address = b1011011
R R
SDA SCL SCL SDA SCL SDA SCL SDA
Figure 183: A typical TWI setup comprising one master and three slaves
/ STOPPED
Unprepare TX,
Unprepare RX
IDLE
STOP
[ READ && (TX prepared) ] [ WRITE && (RX prepared) ]
Restart sequence
TX RX
The following table contains descriptions of the symbols used in the state machine.
The TWI slave can perform clock stretching, with the premise that the master is able to support it.
The TWI slave operates in a low power mode while waiting for a TWI master to initiate a transfer. As long
as the TWI slave is not addressed, it will remain in this low power mode.
To secure correct behavior of the TWI slave, PSEL.SCL, PSEL.SDA, CONFIG, and the ADDRESS[n] registers
must be configured prior to enabling the TWI slave through the ENABLE register. Similarly, changing these
settings must be performed while the TWI slave is disabled. Failing to do so may result in unpredictable
behavior.
6.32.1 EasyDMA
The TWIS implements EasyDMA for accessing RAM without CPU involvement.
The following table shows the Easy DMA channels that the TWIS peripheral implements.
For detailed information regarding the use of EasyDMA, see EasyDMA on page 62.
The STOPPED event indicates that EasyDMA has finished accessing the buffer in RAM.
The TWI slave will only acknowledge (ACK) the read command if the address presented by the master
matches one of the addresses the slave is configured to listen for. The TWI slave will generate a READ
event when it acknowledges the read command.
The TWI slave is only able to detect a read command from the IDLE state.
The TWI slave will set an internal 'TX prepared' flag when the PREPARETX task is triggered.
When the read command is received, the TWI slave will enter the TX state if the internal 'TX prepared' flag
is set.
If the internal 'TX prepared' flag is not set when the read command is received, the TWI slave will stretch
the master's clock until the PREPARETX task is triggered and the internal 'TX prepared' flag is set.
The TWI slave will generate the TXSTARTED event and clear the 'TX prepared' flag ('unprepare TX') when it
enters the TX state. In this state the TWI slave will send the data bytes found in the transmit buffer to the
master using the master's clock.
The TWI slave will go back to the IDLE state if the TWI slave receives a restart command when it is in the
TX state.
The TWI slave is stopped when it receives the stop condition from the TWI master. A STOPPED event
will be generated when the transaction has stopped. The TWI slave will clear the 'TX prepared' flag
('unprepare TX') and go back to the IDLE state when it has stopped.
The transmit buffer is located in RAM at the address specified in the TXD.PTR register. The TWI slave will
only be able to send TXD.MAXCNT bytes from the transmit buffer for each transaction. If the TWI master
forces the slave to send more than TXD.MAXCNT bytes, the slave will send the byte specified in the ORC
register to the master instead. If this happens, an ERROR event will be generated.
The EasyDMA configuration registers, see TXD.PTR etc., are latched when the TXSTARTED event is
generated.
The TWI slave can be forced to stop by triggering the STOP task. A STOPPED event will be generated when
the TWI slave has stopped. The TWI slave will clear the 'TX prepared' flag and go back to the IDLE state
when it has stopped, see also Terminating an ongoing TWI transaction on page 726.
Each byte sent from the slave will be followed by an ACK/NACK bit sent from the master. The TWI master
will generate a NACK following the last byte that it wants to receive to tell the slave to release the bus so
that the TWI master can generate the stop condition. The TXD.AMOUNT register can be queried after a
transaction to see how many bytes were sent.
A typical TWI slave read command response is shown in the following figure. Occurrence 2 in the figure
illustrates clock stretching performed by the TWI slave following a SUSPEND task.
Stretch
START
READ
NACK
STOP
ACK
ACK
ACK
ACK
ACK
TWI
ADDR 0 1 2 N-1 N
STOPPED
TXSTARTED
READ
CPU Lifeline
1 2 3 4
TXD.PTR = 0x20000000
TXD.MAXCNT >= N+1
PREPARETX
RESUME
SUSPEND
START
WRITE
Stretch
STOP
ACK
ACK
ACK
ACK
ACK
ACK
TWI
ADDR 0 1 2 M-1 M
STOPPED
RXSTARTED
WRITE
CPU Lifeline
1 2 3 4
RXD.MAXCNT >= M+1
RXD.PTR = 0x20000000
PREPARERX
RESUME
SUSPEND
Figure 186: The TWI slave responding to a write command
WRITE
READ
NACK
STOP
TWI
ACK
ACK
ACK
ACK
ACK
ACK
ACK
ADDR 0 1 ADDR 0 1 2 3
TXSTARTED
STOPPED
RXSTARTED
READ
WRITE
CPU Lifeline
1 2 3
RXD.PTR = 0x20000000
TXD.PTR = 0x20000010
RXD.MAXCNT = 2
PREPARERX
TXD.MAXCNT = 4
PREPARETX
SUSPEND
RESUME
TWI slave signal TWI slave pin Direction Output value Drive strength
6.32.8 Registers
Instances
Register overview
6.32.8.1 TASKS_STOP
Address offset: 0x014
Stop TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOP Stop TWI transaction
Trigger 1 Trigger task
6.32.8.2 TASKS_SUSPEND
Address offset: 0x01C
Suspend TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SUSPEND Suspend TWI transaction
Trigger 1 Trigger task
6.32.8.3 TASKS_RESUME
Address offset: 0x020
Resume TWI transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_RESUME Resume TWI transaction
Trigger 1 Trigger task
6.32.8.4 TASKS_PREPARERX
Address offset: 0x030
Prepare the TWI slave to respond to a write command
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_PREPARERX Prepare the TWI slave to respond to a write command
Trigger 1 Trigger task
6.32.8.5 TASKS_PREPARETX
Address offset: 0x034
Prepare the TWI slave to respond to a read command
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_PREPARETX Prepare the TWI slave to respond to a read command
Trigger 1 Trigger task
6.32.8.6 EVENTS_STOPPED
Address offset: 0x104
TWI stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STOPPED TWI stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.7 EVENTS_ERROR
Address offset: 0x124
TWI error
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR TWI error
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.8 EVENTS_RXSTARTED
Address offset: 0x14C
Receive sequence started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXSTARTED Receive sequence started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.9 EVENTS_TXSTARTED
Address offset: 0x150
Transmit sequence started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXSTARTED Transmit sequence started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.10 EVENTS_WRITE
Address offset: 0x164
Write command received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_WRITE Write command received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.11 EVENTS_READ
Address offset: 0x168
Read command received
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_READ Read command received
NotGenerated 0 Event not generated
Generated 1 Event generated
6.32.8.12 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW WRITE_SUSPEND Shortcut between event WRITE and task SUSPEND
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW READ_SUSPEND Shortcut between event READ and task SUSPEND
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.32.8.13 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Enable or disable interrupt for event STOPPED
Disabled 0 Disable
Enabled 1 Enable
B RW ERROR Enable or disable interrupt for event ERROR
Disabled 0 Disable
Enabled 1 Enable
E RW RXSTARTED Enable or disable interrupt for event RXSTARTED
Disabled 0 Disable
Enabled 1 Enable
F RW TXSTARTED Enable or disable interrupt for event TXSTARTED
Disabled 0 Disable
Enabled 1 Enable
G RW WRITE Enable or disable interrupt for event WRITE
Disabled 0 Disable
Enabled 1 Enable
H RW READ Enable or disable interrupt for event READ
Disabled 0 Disable
Enabled 1 Enable
6.32.8.14 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to enable interrupt for event STOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW RXSTARTED Write '1' to enable interrupt for event RXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TXSTARTED Write '1' to enable interrupt for event TXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW WRITE Write '1' to enable interrupt for event WRITE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW READ Write '1' to enable interrupt for event READ
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.32.8.15 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STOPPED Write '1' to disable interrupt for event STOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW RXSTARTED Write '1' to disable interrupt for event RXSTARTED
Clear 1 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW TXSTARTED Write '1' to disable interrupt for event TXSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW WRITE Write '1' to disable interrupt for event WRITE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW READ Write '1' to disable interrupt for event READ
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.32.8.16 ERRORSRC
Address offset: 0x4D0
Error source
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERFLOW RX buffer overflow detected, and prevented
W1C
NotDetected 0 Error did not occur
Detected 1 Error occurred
B RW DNACK NACK sent after receiving a data byte
W1C
NotReceived 0 Error did not occur
Received 1 Error occurred
C RW OVERREAD TX buffer over-read detected, and prevented
W1C
NotDetected 0 Error did not occur
Detected 1 Error occurred
6.32.8.17 MATCH
Address offset: 0x4D4
Status register indicating which address had a match
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R MATCH [0..1] Indication of which address in ADDRESS that matched the incoming address
6.32.8.18 ENABLE
Address offset: 0x500
Enable TWIS
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable TWIS
Disabled 0 Disable TWIS
Enabled 9 Enable TWIS
6.32.8.19 PSEL.SCL
Address offset: 0x508
Pin select for SCL signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.32.8.20 PSEL.SDA
Address offset: 0x50C
Pin select for SDA signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.32.8.21 RXD
RXD EasyDMA channel
6.32.8.21.1 RXD.PTR
Address offset: 0x534
RXD Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR RXD Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.32.8.21.2 RXD.MAXCNT
Address offset: 0x538
Maximum number of bytes in RXD buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in RXD buffer
6.32.8.21.3 RXD.AMOUNT
Address offset: 0x53C
Number of bytes transferred in the last RXD transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last RXD transaction
6.32.8.21.4 RXD.LIST
Address offset: 0x540
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.32.8.22 TXD
TXD EasyDMA channel
6.32.8.22.1 TXD.PTR
Address offset: 0x544
TXD Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR TXD Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.32.8.22.2 TXD.MAXCNT
Address offset: 0x548
Maximum number of bytes in TXD buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in TXD buffer
6.32.8.22.3 TXD.AMOUNT
Address offset: 0x54C
Number of bytes transferred in the last TXD transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last TXD transaction
6.32.8.22.4 TXD.LIST
Address offset: 0x550
EasyDMA list type
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LIST List type
Disabled 0 Disable EasyDMA list
ArrayList 1 Use array list
6.32.8.23 ADDRESS[0]
Address offset: 0x588
TWI slave address 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDRESS TWI slave address
6.32.8.24 ADDRESS[1]
Address offset: 0x58C
TWI slave address 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ADDRESS TWI slave address
6.32.8.25 CONFIG
Address offset: 0x594
Configuration register for the address match mechanism
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW ADDRESS0 Enable or disable address matching on ADDRESS[0]
Disabled 0 Disabled
Enabled 1 Enabled
B RW ADDRESS1 Enable or disable address matching on ADDRESS[1]
Disabled 0 Disabled
Enabled 1 Enabled
6.32.8.26 ORC
Address offset: 0x5C0
Over-read character. Character sent out in case of an over-read of the transmit buffer.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ORC Over-read character. Character sent out in case of an over-read of the
transmit buffer.
STARTTX
STARTRX
RXD-5
RXD TXD STOPTX
STOPRX RXD-4 TXD
(signal)
RXD-3 (signal)
RXD-2
RXD-1
RXTO
RXD
RXDRDY TXDRDY
41
High bit rates or stronger pull-ups may require GPIOs to be set as High Drive, see GPIO chapter for
more details.
Note: The external crystal oscillator must be enabled to obtain sufficient clock accuracy for stable
communication. See CLOCK — Clock control on page 156 for more information.
6.33.4 Transmission
A UART transmission sequence is started by triggering the STARTTX task.
Bytes are transmitted by writing to the TXD register. When a byte has been successfully transmitted, the
UART will generate a TXDRDY event after which a new byte can be written to the TXD register. A UART
transmission sequence is stopped immediately by triggering the STOPTX task.
If flow control is enabled, a transmission will be automatically suspended when CTS is deactivated, and
resumed when CTS is activated again, as shown in the following figure. A byte that is in transmission when
CTS is deactivated will be fully transmitted before the transmission is suspended. For more information,
see Suspending the UART on page 741.
CTS
TXD
0 1 2 N-2 N-1 N
TXDRDY
TXDRDY
TXDRDY
TXDRDY
TXDRDY
Lifeline
1 2 3 5 5 6
TXD = N-1
STARTTX
STOPTX
TXD = N
TXD = 0
TXD = 1
TXD = 2
6.33.5 Reception
A UART reception sequence is started by triggering the STARTRX task.
The UART receiver chain implements a FIFO capable of storing six incoming RXD bytes before data is
overwritten. Bytes are extracted from this FIFO by reading the RXD register. When a byte is extracted from
the FIFO, a new byte pending in the FIFO will be moved to the RXD register. The UART will generate an
RXDRDY event every time a new byte is moved to the RXD register.
When flow control is enabled, the UART will deactivate the RTS signal when there is only space for four
more bytes in the receiver FIFO. The counterpart transmitter is therefore able to send up to four bytes
after the RTS signal is deactivated before data is being overwritten. To prevent overwriting data in the
FIFO, the counterpart UART transmitter must therefore make sure to stop transmitting data within four
bytes after the RTS line is deactivated.
The RTS signal will first be activated again when the FIFO has been emptied, that is, when all bytes in the
FIFO have been read by the CPU, see UART reception on page 741.
The RTS signal will also be deactivated when the receiver is stopped through the STOPRX task as illustrated
in UART reception on page 741. The UART is able to receive four to five additional bytes if they are sent
in succession immediately after the RTS signal has been deactivated. This is possible because the UART is,
even after the STOPRX task is triggered, able to receive bytes for an extended period of time dependent
on the configured baud rate. The UART will generate a receiver timeout event (RXTO) when this period has
elapsed.
To prevent loss of incoming data, the RXD register must only be read one time following every RXDRDY
event.
To secure that the CPU can detect all incoming RXDRDY events through the RXDRDY event register, the
RXDRDY event register must be cleared before the RXD register is read. The reason for this is that the
UART is allowed to write a new byte to the RXD register, and can generate a new event immediately after
the RXD register is read (emptied) by the CPU.
RTS
RXD
A B C F M-2 M-1 M
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXTO
Lifeline
1 2 3 4 5 6 7 5 6 7
M-2 = RXD
M-1 = RXD
STARTRX
M = RXD
STOPRX
C = RXD
D = RXD
A = RXD
B = RXD
E = RXD
F = RXD
Figure 191: UART reception
As indicated in occurrence 2 in the figure, the RXDRDY event associated with byte B is generated first after
byte A has been extracted from RXD.
6.33.10 Registers
Instances
Register overview
6.33.10.1 TASKS_STARTRX
Address offset: 0x000
Start UART receiver
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTRX Start UART receiver
Trigger 1 Trigger task
6.33.10.2 TASKS_STOPRX
Address offset: 0x004
Stop UART receiver
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOPRX Stop UART receiver
Trigger 1 Trigger task
6.33.10.3 TASKS_STARTTX
Address offset: 0x008
Start UART transmitter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTTX Start UART transmitter
Trigger 1 Trigger task
6.33.10.4 TASKS_STOPTX
Address offset: 0x00C
Stop UART transmitter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOPTX Stop UART transmitter
Trigger 1 Trigger task
6.33.10.5 TASKS_SUSPEND
Address offset: 0x01C
Suspend UART
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_SUSPEND Suspend UART
Trigger 1 Trigger task
6.33.10.6 EVENTS_CTS
Address offset: 0x100
CTS is activated (set low). Clear To Send.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CTS CTS is activated (set low). Clear To Send.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.7 EVENTS_NCTS
Address offset: 0x104
CTS is deactivated (set high). Not Clear To Send.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_NCTS CTS is deactivated (set high). Not Clear To Send.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.8 EVENTS_RXDRDY
Address offset: 0x108
Data received in RXD
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXDRDY Data received in RXD
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.9 EVENTS_TXDRDY
Address offset: 0x11C
Data sent from TXD
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXDRDY Data sent from TXD
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.10 EVENTS_ERROR
Address offset: 0x124
Error detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR Error detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.11 EVENTS_RXTO
Address offset: 0x144
Receiver timeout
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXTO Receiver timeout
NotGenerated 0 Event not generated
Generated 1 Event generated
6.33.10.12 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS_STARTRX Shortcut between event CTS and task STARTRX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW NCTS_STOPRX Shortcut between event NCTS and task STOPRX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.33.10.13 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS Write '1' to enable interrupt for event CTS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW NCTS Write '1' to enable interrupt for event NCTS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW RXDRDY Write '1' to enable interrupt for event RXDRDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TXDRDY Write '1' to enable interrupt for event TXDRDY
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW RXTO Write '1' to enable interrupt for event RXTO
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.33.10.14 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS Write '1' to disable interrupt for event CTS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW NCTS Write '1' to disable interrupt for event NCTS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW RXDRDY Write '1' to disable interrupt for event RXDRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW TXDRDY Write '1' to disable interrupt for event TXDRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW RXTO Write '1' to disable interrupt for event RXTO
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.33.10.15 ERRORSRC
Address offset: 0x480
Error source
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERRUN Overrun error
W1C
A start bit is received while the previous data still lies in RXD. (Previous data
is lost.)
NotPresent 0 Read: error not present
Present 1 Read: error present
B RW PARITY Parity error
W1C
A character with bad parity is received, if HW parity check is enabled.
NotPresent 0 Read: error not present
Present 1 Read: error present
C RW FRAMING Framing error occurred
W1C
A valid stop bit is not detected on the serial data input after all bits in a
character have been received.
NotPresent 0 Read: error not present
Present 1 Read: error present
D RW BREAK Break condition
W1C
The serial data input is '0' for longer than the length of a data frame. (The
data frame length is 10 bits without parity bit, and 11 bits with parity bit.).
NotPresent 0 Read: error not present
Present 1 Read: error present
6.33.10.16 ENABLE
Address offset: 0x500
Enable UART
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable UART
Disabled 0 Disable UART
Enabled 4 Enable UART
6.33.10.17 PSEL.RTS
Address offset: 0x508
Pin select for RTS
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.33.10.18 PSEL.TXD
Address offset: 0x50C
Pin select for TXD
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.33.10.19 PSEL.CTS
Address offset: 0x510
Pin select for CTS
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.33.10.20 PSEL.RXD
Address offset: 0x514
Pin select for RXD
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.33.10.21 RXD
Address offset: 0x518
RXD register. Register is cleared on read and the double buffered byte will be moved to RXD if it exists.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RXD RX data received in previous transfers, double buffered
RME
6.33.10.22 TXD
Address offset: 0x51C
TXD register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TXD TX data to be transferred
6.33.10.23 BAUDRATE
Address offset: 0x524
Baud rate. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BAUDRATE Baud rate
Baud1200 0x0004F000 1200 baud (actual rate: 1205)
Baud2400 0x0009D000 2400 baud (actual rate: 2396)
Baud4800 0x0013B000 4800 baud (actual rate: 4808)
Baud9600 0x00275000 9600 baud (actual rate: 9598)
Baud14400 0x003B0000 14400 baud (actual rate: 14414)
Baud19200 0x004EA000 19200 baud (actual rate: 19208)
Baud28800 0x0075F000 28800 baud (actual rate: 28829)
Baud31250 0x00800000 31250 baud
Baud38400 0x009D5000 38400 baud (actual rate: 38462)
Baud56000 0x00E50000 56000 baud (actual rate: 55944)
Baud57600 0x00EBF000 57600 baud (actual rate: 57762)
Baud76800 0x013A9000 76800 baud (actual rate: 76923)
Baud115200 0x01D7E000 115200 baud (actual rate: 115942)
Baud230400 0x03AFB000 230400 baud (actual rate: 231884)
Baud250000 0x04000000 250000 baud
Baud460800 0x075F7000 460800 baud (actual rate: 470588)
Baud921600 0x0EBED000 921600 baud (actual rate: 941176)
Baud1M 0x10000000 1Mega baud
6.33.10.24 CONFIG
Address offset: 0x56C
Configuration of parity and hardware flow control
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HWFC Hardware flow control
Disabled 0 Disabled
Enabled 1 Enabled
B RW PARITY Parity
Excluded 0x0 Exclude parity bit
Included 0x7 Include parity bit
C RW STOP Stop bits
One 0 One stop bit
Two 1 Two stop bits
42
High baud rates may require GPIOs to be set as High Drive, see GPIO for more details.
RESUME
ENDTX
RX
RXTO EasyDMA EasyDMA
FIFO CTS
ENDRX NCTS
RAM
RXD TXD
RXD+1 TXD+1
RXD+2 TXD+2
RXD+n TXD+n
The GPIOs used for each UART interface can be chosen from any GPIO on the device and are
independently configurable. This enables great flexibility in device pinout and efficient use of board space
and signal routing.
Note: The external crystal oscillator must be enabled to obtain sufficient clock accuracy for stable
communication. See CLOCK — Clock control on page 156 for more information.
6.34.1 EasyDMA
The UARTE implements EasyDMA for reading and writing to and from the RAM.
If the TXD.PTR and the RXD.PTR are not pointing to the Data RAM region, an EasyDMA transfer may result
in a HardFault or RAM corruption. See Memory on page 21 for more information about the different
memory regions.
The .PTR and .MAXCNT registers are double-buffered. They can be updated and prepared for the next RX/
TX transmission immediately after having received the RXSTARTED/TXSTARTED event.
The ENDRX and ENDTX events indicate that the EasyDMA is finished accessing the RX or TX buffer in RAM.
6.34.2 Transmission
The first step of a DMA transmission is storing bytes in the transmit buffer and configuring EasyDMA. This
is achieved by writing the initial address pointer to TXD.PTR, and the number of bytes in the RAM buffer to
TXD.MAXCNT. The UARTE transmission is started by triggering the STARTTX task.
After each byte has been sent over the TXD line, a TXDRDY event will be generated.
When all bytes in the TXD buffer, as specified in the TXD.MAXCNT register, have been transmitted, the
UARTE transmission will end automatically and an ENDTX event will be generated.
A UARTE transmission sequence is stopped by triggering the STOPTX task. A TXSTOPPED event will be
generated when the UARTE transmitter has stopped.
If the ENDTX event has not already been generated when the UARTE transmitter has come to a stop, the
UARTE will generate the ENDTX event explicitly even though all bytes in the TXD buffer, as specified in the
TXD.MAXCNT register, have not been transmitted.
If flow control is enabled through the HWFC field in the CONFIG register, a transmission will be
automatically suspended when CTS is deactivated and resumed when CTS is activated again, as shown in
the following figure. A byte that is in transmission when CTS is deactivated will be fully transmitted before
the transmission is suspended.
CTS
TXD
0 1 2 N-2 N-1 N
TXDRDY
TXDRDY
TXDRDY
TXDRDY
TXDRDY
TXDRDY
TXSTARTED
Lifeline
1 2
TXD.MAXCNT = N+1
ENDTX
STARTTX
The UARTE transmitter will be in its lowest activity level, and consume the least amount of energy, when it
is stopped, i.e. before it is started via STARTTX or after it has been stopped via STOPTX and the TXSTOPPED
event has been generated. See POWER — Power supply on page 80 for more information about power
modes.
6.34.3 Reception
The UARTE receiver is started by triggering the STARTRX task. The UARTE receiver is using EasyDMA to
store incoming data in an RX buffer in RAM.
The RX buffer is located at the address specified in the RXD.PTR register. The RXD.PTR register is double-
buffered and it can be updated and prepared for the next STARTRX task immediately after the RXSTARTED
event is generated. The size of the RX buffer is specified in the RXD.MAXCNT register. The UARTE generates
an ENDRX event when it has filled up the RX buffer, as seen in the following figure.
For each byte received over the RXD line, an RXDRDY event will be generated. This event is likely to occur
before the corresponding data has been transferred to Data RAM.
The RXD.AMOUNT register can be queried following an ENDRX event to see how many new bytes have
been transferred to the RX buffer in RAM since the previous ENDRX event.
Data RAM
0x20000000
1
0x20000001
2
0x20000002
3
0x20000003
4
0x20000004
5
0x20000010
6
0x20000011
7
0x20000012
8
0x20000013
9
0x20000014
10
0x20000020
11
0x20000021
12
0x20000022
-
0x20000023
-
0x20000024
-
EasyDMA
1 2 3 4 5 6 7 8 9 10 11 12
RXD
1 2 3 4 5 6 7 8 9 10 11 12
RXSTARTED
RXSTARTED
RXSTARTED
ENDRX
ENDRX
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
RXDRDY
Lifeline
1 2 3 4
STARTRX
STARTRX
RXD.PTR = 0x20000000
RXD.PTR = 0x20000010
RXD.PTR = 0x20000020
RXD.PTR = 0x20000030
RXD.MAXCNT = 5
ENDRX_STARTRX = 1
STARTRX
The UARTE receiver is stopped by triggering the STOPRX task. An RXTO event is generated when the UARTE
has stopped. The UARTE will make sure that an impending ENDRX event will be generated before the RXTO
event is generated. This means that the UARTE will guarantee that no ENDRX event will be generated after
RXTO, unless the UARTE is restarted or a FLUSHRX command is issued after the RXTO event is generated.
Note: If the ENDRX event has not been generated when the UARTE receiver stops, indicating that
all pending content in the RX FIFO has been moved to the RX buffer, the UARTE will generate the
ENDRX event explicitly even though the RX buffer is not full. In this scenario the ENDRX event will
be generated before the RXTO event is generated.
To determine the amount of bytes the RX buffer has received, the CPU can read the RXD.AMOUNT register
following the ENDRX event or the RXTO event.
The UARTE is able to receive up to four bytes after the STOPRX task has been triggered, as long as these
are sent in succession immediately after the RTS signal is deactivated. After the RTS is deactivated, the
UART is able to receive bytes for a period of time equal to the time needed to send four bytes on the
configured baud rate.
After the RXTO event is generated the internal RX FIFO may still contain data, and to move this data to
RAM the FLUSHRX task must be triggered. To make sure that this data does not overwrite data in the RX
buffer, the RX buffer should be emptied or the RXD.PTR should be updated before the FLUSHRX task is
triggered. To make sure that all data in the RX FIFO is moved to the RX buffer, the RXD.MAXCNT register
must be set to RXD.MAXCNT > 4, as seen in the following figure. The UARTE will generate the ENDRX event
after completing the FLUSHRX task even if the RX FIFO was empty or if the RX buffer does not get filled up.
To be able to know how many bytes have actually been received into the RX buffer in this case, the CPU
can read the RXD.AMOUNT register following the ENDRX event.
EasyDMA
1 2 3 4 5 6 7 8 9 10 11, 12, 13, 14
RXD 1 2 3 4 5 6 7 8 9 10 11 12 13 14
ENDRX
ENDRX
RXSTARTED
RXSTARTED
ENDRX
RXTO
Lifeline
1 2 3 3 4 5
Timeout
STARTRX
ENDRX_STARTRX = 0
STOPRX
RXD.PTR = C
RXD.PTR = B
FLUSHRX
RXD.MAXCNT = 5
RXD.PTR = A
ENDRX_STARTRX = 1
STARTRX
If HW flow control is enabled through the HWFC field in the CONFIG register, the RTS signal will be
deactivated when the receiver is stopped via the STOPRX task or when the UARTE is only able to receive
four more bytes in its internal RX FIFO.
With flow control disabled, the UARTE will function in the same way as when the flow control is enabled
except that the RTS line will not be used. This means that no signal will be generated when the UARTE has
reached the point where it is only able to receive four more bytes in its internal RX FIFO. Data received
when the internal RX FIFO is filled up, will be lost.
The UARTE receiver will be in its lowest activity level, and consume the least amount of energy, when it is
stopped, i.e. before it is started via STARTRX or after it has been stopped via STOPRX and the RXTO event
has been generated. See POWER — Power supply on page 80 for more information about power modes.
6.34.9 Registers
Instances
Register overview
6.34.9.1 TASKS_STARTRX
Address offset: 0x000
Start UART receiver
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTRX Start UART receiver
Trigger 1 Trigger task
6.34.9.2 TASKS_STOPRX
Address offset: 0x004
Stop UART receiver
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOPRX Stop UART receiver
Trigger 1 Trigger task
6.34.9.3 TASKS_STARTTX
Address offset: 0x008
Start UART transmitter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTTX Start UART transmitter
Trigger 1 Trigger task
6.34.9.4 TASKS_STOPTX
Address offset: 0x00C
Stop UART transmitter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STOPTX Stop UART transmitter
Trigger 1 Trigger task
6.34.9.5 TASKS_FLUSHRX
Address offset: 0x02C
Flush RX FIFO into RX buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_FLUSHRX Flush RX FIFO into RX buffer
Trigger 1 Trigger task
6.34.9.6 EVENTS_CTS
Address offset: 0x100
CTS is activated (set low). Clear To Send.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_CTS CTS is activated (set low). Clear To Send.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.7 EVENTS_NCTS
Address offset: 0x104
CTS is deactivated (set high). Not Clear To Send.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_NCTS CTS is deactivated (set high). Not Clear To Send.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.8 EVENTS_RXDRDY
Address offset: 0x108
Data received in RXD (but potentially not yet transferred to Data RAM)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXDRDY Data received in RXD (but potentially not yet transferred to Data RAM)
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.9 EVENTS_ENDRX
Address offset: 0x110
Receive buffer is filled up
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDRX Receive buffer is filled up
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.10 EVENTS_TXDRDY
Address offset: 0x11C
Data sent from TXD
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXDRDY Data sent from TXD
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.11 EVENTS_ENDTX
Address offset: 0x120
Last TX byte transmitted
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDTX Last TX byte transmitted
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.12 EVENTS_ERROR
Address offset: 0x124
Error detected
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ERROR Error detected
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.13 EVENTS_RXTO
Address offset: 0x144
Receiver timeout
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXTO Receiver timeout
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.14 EVENTS_RXSTARTED
Address offset: 0x14C
UART receiver has started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_RXSTARTED UART receiver has started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.15 EVENTS_TXSTARTED
Address offset: 0x150
UART transmitter has started
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXSTARTED UART transmitter has started
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.16 EVENTS_TXSTOPPED
Address offset: 0x158
Transmitter stopped
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TXSTOPPED Transmitter stopped
NotGenerated 0 Event not generated
Generated 1 Event generated
6.34.9.17 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
C RW ENDRX_STARTRX Shortcut between event ENDRX and task STARTRX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW ENDRX_STOPRX Shortcut between event ENDRX and task STOPRX
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.34.9.18 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS Enable or disable interrupt for event CTS
Disabled 0 Disable
Enabled 1 Enable
B RW NCTS Enable or disable interrupt for event NCTS
Disabled 0 Disable
Enabled 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
C RW RXDRDY Enable or disable interrupt for event RXDRDY
Disabled 0 Disable
Enabled 1 Enable
D RW ENDRX Enable or disable interrupt for event ENDRX
Disabled 0 Disable
Enabled 1 Enable
E RW TXDRDY Enable or disable interrupt for event TXDRDY
Disabled 0 Disable
Enabled 1 Enable
F RW ENDTX Enable or disable interrupt for event ENDTX
Disabled 0 Disable
Enabled 1 Enable
G RW ERROR Enable or disable interrupt for event ERROR
Disabled 0 Disable
Enabled 1 Enable
H RW RXTO Enable or disable interrupt for event RXTO
Disabled 0 Disable
Enabled 1 Enable
I RW RXSTARTED Enable or disable interrupt for event RXSTARTED
Disabled 0 Disable
Enabled 1 Enable
J RW TXSTARTED Enable or disable interrupt for event TXSTARTED
Disabled 0 Disable
Enabled 1 Enable
L RW TXSTOPPED Enable or disable interrupt for event TXSTOPPED
Disabled 0 Disable
Enabled 1 Enable
6.34.9.19 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS Write '1' to enable interrupt for event CTS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW NCTS Write '1' to enable interrupt for event NCTS
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW RXDRDY Write '1' to enable interrupt for event RXDRDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
D RW ENDRX Write '1' to enable interrupt for event ENDRX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TXDRDY Write '1' to enable interrupt for event TXDRDY
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW ENDTX Write '1' to enable interrupt for event ENDTX
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW ERROR Write '1' to enable interrupt for event ERROR
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW RXTO Write '1' to enable interrupt for event RXTO
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW RXSTARTED Write '1' to enable interrupt for event RXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW TXSTARTED Write '1' to enable interrupt for event TXSTARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW TXSTOPPED Write '1' to enable interrupt for event TXSTOPPED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.34.9.20 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CTS Write '1' to disable interrupt for event CTS
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW NCTS Write '1' to disable interrupt for event NCTS
Clear 1 Disable
Disabled 0 Read: Disabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID L J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Enabled 1 Read: Enabled
C RW RXDRDY Write '1' to disable interrupt for event RXDRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ENDRX Write '1' to disable interrupt for event ENDRX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW TXDRDY Write '1' to disable interrupt for event TXDRDY
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW ENDTX Write '1' to disable interrupt for event ENDTX
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW ERROR Write '1' to disable interrupt for event ERROR
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW RXTO Write '1' to disable interrupt for event RXTO
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW RXSTARTED Write '1' to disable interrupt for event RXSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW TXSTARTED Write '1' to disable interrupt for event TXSTARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW TXSTOPPED Write '1' to disable interrupt for event TXSTOPPED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.34.9.21 ERRORSRC
Address offset: 0x480
Error source
This register is read/write one to clear.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW OVERRUN Overrun error
W1C
A start bit is received while the previous data still lies in RXD. (Previous data
is lost.)
NotPresent 0 Read: error not present
Present 1 Read: error present
B RW PARITY Parity error
W1C
A character with bad parity is received, if HW parity check is enabled.
NotPresent 0 Read: error not present
Present 1 Read: error present
C RW FRAMING Framing error occurred
W1C
A valid stop bit is not detected on the serial data input after all bits in a
character have been received.
NotPresent 0 Read: error not present
Present 1 Read: error present
D RW BREAK Break condition
W1C
The serial data input is '0' for longer than the length of a data frame. (The
data frame length is 10 bits without parity bit, and 11 bits with parity bit).
NotPresent 0 Read: error not present
Present 1 Read: error present
6.34.9.22 ENABLE
Address offset: 0x500
Enable UART
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ENABLE Enable or disable UARTE
Disabled 0 Disable UARTE
Enabled 8 Enable UARTE
6.34.9.23 PSEL.RTS
Address offset: 0x508
Pin select for RTS signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.34.9.24 PSEL.TXD
Address offset: 0x50C
Pin select for TXD signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.34.9.25 PSEL.CTS
Address offset: 0x510
Pin select for CTS signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.34.9.26 PSEL.RXD
Address offset: 0x514
Pin select for RXD signal
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW PIN [0..31] Pin number
B RW PORT [0..1] Port number
C RW CONNECT Connection
Disconnected 1 Disconnect
Connected 0 Connect
6.34.9.27 BAUDRATE
Address offset: 0x524
Baud rate. Accuracy depends on the HFCLK source selected.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x04000000 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW BAUDRATE Baud rate
Baud1200 0x0004F000 1200 baud (actual rate: 1205)
Baud2400 0x0009D000 2400 baud (actual rate: 2396)
Baud4800 0x0013B000 4800 baud (actual rate: 4808)
Baud9600 0x00275000 9600 baud (actual rate: 9598)
Baud14400 0x003AF000 14400 baud (actual rate: 14401)
Baud19200 0x004EA000 19200 baud (actual rate: 19208)
Baud28800 0x0075C000 28800 baud (actual rate: 28777)
Baud31250 0x00800000 31250 baud
Baud38400 0x009D0000 38400 baud (actual rate: 38369)
Baud56000 0x00E50000 56000 baud (actual rate: 55944)
Baud57600 0x00EB0000 57600 baud (actual rate: 57554)
Baud76800 0x013A9000 76800 baud (actual rate: 76923)
Baud115200 0x01D60000 115200 baud (actual rate: 115108)
Baud230400 0x03B00000 230400 baud (actual rate: 231884)
Baud250000 0x04000000 250000 baud
Baud460800 0x07400000 460800 baud (actual rate: 457143)
Baud921600 0x0F000000 921600 baud (actual rate: 941176)
Baud1M 0x10000000 1 megabaud
6.34.9.28 RXD
RXD EasyDMA channel
6.34.9.28.1 RXD.PTR
Address offset: 0x534
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.34.9.28.2 RXD.MAXCNT
Address offset: 0x538
Maximum number of bytes in receive buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in receive buffer
6.34.9.28.3 RXD.AMOUNT
Address offset: 0x53C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction
6.34.9.29 TXD
TXD EasyDMA channel
6.34.9.29.1 TXD.PTR
Address offset: 0x544
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.34.9.29.2 TXD.MAXCNT
Address offset: 0x548
Maximum number of bytes in transmit buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW MAXCNT [0..0xFFFF] Maximum number of bytes in transmit buffer
6.34.9.29.3 TXD.AMOUNT
Address offset: 0x54C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R AMOUNT [0..0xFFFF] Number of bytes transferred in the last transaction
6.34.9.30 CONFIG
Address offset: 0x56C
Configuration of parity and hardware flow control
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW HWFC Hardware flow control
Disabled 0 Disabled
Enabled 1 Enabled
B RW PARITY Parity
Excluded 0x0 Exclude parity bit
Included 0x7 Include even parity bit
C RW STOP Stop bits
One 0 One stop bit
Two 1 Two stop bits
43
High baud rates may require GPIOs to be set as High Drive, see GPIO chapter for more details.
POWER
USBDETECTED Event
USBREMOVED ref
USBPWRRDY generator
LDO VBUS
tasks DECUSB
events
Registers
USBD
MAC
APB
Local
buffers
Attached
Bus inactive
Powered Suspended
Bus activity
Momentary
power
interruption USB reset
Bus inactive
Default Suspended
Bus activity
USB reset
Address
assigned
Bus inactive
Address Suspended
Bus activity
Device Device
deconfigured configured
Bus inactive
Configured Suspended
Bus activity
The device must change state according to host-initiated traffic and USB bus states. It is up to the software
to implement a state machine that matches the above definition. To detect the presence or absence of
USB supply (VBUS), two events USBDETECTED and USBREMOVED can be used to implement the state
machine. For more details on these events, see USB supply on page 85.
As a general rule when implementing the software, the host behavior shall never be assumed to be
predictable. In particular the sequence of commands received during an enumeration. The software shall
always react to the current bus conditions or commands sent by the host.
USBDETECTED
ENABLE=Enabled
HFCLKSTART
HFCLK Crystal
oscillator now starting
USBEVENT
EVENTCAUSE=READY
USBD has been
initialized, but PHY has
not powered up
USBPWRRDY
HFCLKSTARTED
USBPULLUP=Enabled
Enumeration starts
Upon detecting VBUS removal, it is recommended to wait for ongoing EasyDMA transfers to finish before
disabling USBD (relevant ENDEPIN[n], ENDISOIN, ENDEPOUT[n], or ENDISOOUT events, see EasyDMA on
page 774). The USBREMOVED event, described in USB supply on page 85, signals when the VBUS is
removed. Reading the ENABLE register will return Enabled until USBD is completely disabled.
The device shall ensure that it does not initiate a remote wake-up request before TWTRSM (according to
USB specification chapter 7) after the bus has entered idle state. Using the recommended resume value in
DPDMVALUE (rather than K) takes care of this, and postpones the RESUME state accordingly.
6.35.8 EasyDMA
The USBD peripheral implements EasyDMA for accessing memory without CPU involvement.
Each endpoint has an associated set of registers, tasks and events. EasyDMA and traffic on USB are tightly
related. A number of events provide insight of what is happening on the USB bus with a number of tasks
allowing an automated response to the traffic.
Note: Endpoint 0 (IN and OUT) are implemented as control endpoint. For more information, see
Control transfers on page 775.
Registers
Enabling endpoints is controlled through the EPINEN and EPOUTEN registers.
The following registers define the memory address of the buffer for a specific IN or OUT endpoint:
• EPIN[n].PTR, (n=0..7)
• EPOUT[n].PTR, (n=0..7)
• ISOIN.PTR
• ISOOUT.PTR
The following registers define the amount of bytes to be sent on USB for next transaction:
• EPIN[n].MAXCNT, (n=0..7)
• ISOIN.MAXCNT
The following registers define the length of the buffer (in bytes) for next transfer of incoming data:
• EPOUT[n].MAXCNT, (n=1..7)
• ISOOUT.MAXCNT
Since the host decides how many bytes are sent over USB, the MAXCNT value can be copied from register
SIZE.EPOUT[n] (n=1..7) or register SIZE.ISOOUT.
Register EPOUT[0].MAXCNT defines the length of the OUT buffer (in bytes) for the control endpoint 0.
Register SIZE.EPOUT[0] shall indicate the same value as MaxPacketSize from the device descriptor or
wLength from the SETUP command, whichever is the least.
The .AMOUNT registers indicate how many bytes actually have been transferred over EasyDMA during the
last transfer.
Stalling bulk/interrupt endpoints is controlled through the EPSTALL register.
Note: Due to USB specification requirements, the effect of the stalling control endpoint 0 may be
overridden by hardware, in particular when a new SETUP token is received.
EasyDMA will not copy the SETUP data to memory (it will only transfer data from the data stage). The
following are separate registers in the USBD peripheral that have setup data.
• BMREQUESTTYPE
• BREQUEST
• WVALUEL
• WVALUEH
• WINDEXL
• WINDEXH
• WLENGTHL
• WLENGTHH
The EVENTCAUSE register provides details on what caused a given USBEVENT event, for instance if a CRC
error is detected during a transaction, or if bus activity stops or resumes.
Tasks
Tasks STARTEPIN[n], STARTEPOUT[n] (n=0..7), STARTISOIN, and STARTISOOUT capture the values for .PTR
and .MAXCNT registers. For IN endpoints, a transaction over USB gets automatically triggered when the
EasyDMA transfer is complete. For OUT endpoints, it is up to software to allow the next transaction over
USB. See the examples in Control transfers on page 775, Bulk and interrupt transactions on page 778,
and Isochronous transactions on page 780.
For the control endpoint 0, OUT transactions are allowed through the EP0RCVOUT task. The EP0STATUS
task allows a status stage to be initiated, and the EP0STALL task allows stalling further traffic (data or
status stage) on the control endpoint.
Events
The STARTED event confirms that the values of the .PTR and .MAXCNT registers of the endpoints flagged in
register EPSTATUS have been captured. Those can then be modified by software for the next transfer.
Events ENDEPIN[n], ENDEPOUT[n] (n=0..7), ENDISOIN, and ENDISOOUT events indicate that the entire
buffer has been consumed. The buffer can be accessed safely by the software.
Only a single EasyDMA transfer can take place in USBD at any time. Software must ensure that tasks
STARTEPIN[n] (n=0..7), STARTISOIN , STARTEPOUT[n] (n=0..7), or STARTISOOUT are not triggered before
events ENDEPIN[n] (n=0..7), ENDISOIN, ENDEPOUT[n] (n=0..7), or ENDISOOUT are received from an on-
going transfer.
The EPDATA event indicates that a successful (acknowledged) data transaction has occurred on the data
endpoint(s) flagged in register EPDATASTATUS. A successful (acknowledged) data transaction on endpoint
0 is signalled by the EP0DATADONE event.
At any time a USBEVENT event may be sent, with details provided in EVENTCAUSE register.
The EP0SETUP event indicates that a SETUP token has been received on the control endpoint 0, and that
the setup data is available in the setup data registers.
The data in the data stage (following the IN or OUT token) is transferred from or to the desired location
using EasyDMA.
The control endpoint buffer can be of any size.
After receiving the SETUP token, the USB controller will not accept (NAK) any incoming IN or OUT tokens
until the software has finished decoding the command, determined the type of transfer, and prepared for
the next stage (data or status) appropriately.
The software can stall a command when in the data and status stages, through the EP0STALL task, when
the command is not supported or if its wValue, wIndex or wLength parameters are wrong. The following
shows a stalled control read transfer, but the same mechanism (tasks) applies to stalling a control write
transfer.
Setup stage Data stage
EP0SETUP
EP0STALL
Events & tasks
Software
Decode setup
See the USB 2.0 Specification and relevant class specifications for rules on stalling commands.
Note: The USBD peripheral handles the SetAddress transfer by itself. As a consequence, the
software shall not process this command other than updating its state machine (see Device state
diagram), nor initiate a status stage. If necessary, the address assigned by the host can be read out
from the USBADDR register after the command has been processed.
An ENDEPIN[0] event will be generated when the data has been transferred from memory to the USBD
peripheral.
Finally, an EP0DATADONE event will be generated when the data has been transmitted over USB and
acknowledged by the host.
The software can then either prepare and transmit the next data transaction by repeating the above
sequence, or initiate the status stage through the EP0STATUS task.
Setup stage Data stage Status stage
USB device ACK NAK NAK DATA (n) NAK NAK DATA (n+1) ACK
STARTEPIN[0]
EP0DATADONE
STARTEPIN[0]
EP0DATADONE
EP0SETUP
STARTED
ENDEPIN[0]
STARTED
ENDEPIN[0]
EP0STATUS
Events & tasks
Software
Decode setup
EPIN[0].PTR=0xnnnnnnnn
EPIN[0].MAXCNT = MaxPacketSize
STARTEPIN[0]=1
(EPIN[0].PTR=0xnnnnnnnn+64)
EPIN[0].MAXCNT = <MaxPacketSize
STARTEPIN[0]=1
(enable EP0DATADONE to EP0STATUS)
It is possible to enable a shortcut from the EP0DATADONE event to the EP0STATUS task, typically if the
data stage is expected to take a single transfer. If there is no data stage, the software can initiate the status
stage through the EP0STATUS task right away, as as shown in the following figure.
Setup stage Status stage
USB host SETUP 8 bytes OUT DATA (0) OUT DATA (0)
EP0STATUS
Software
Decode setup
An ENDEPOUT[0] event will be generated when the data has been transferred from the USBD peripheral
to memory. The software can then either prepare to receive the next data transaction by repeating the
above sequence, or initiate the status stage through the EP0STATUS task. Until then, further incoming OUT
+DATA transactions get a NAK response by the device.
Setup stage Data stage Status stage
USB host SETUP 8 bytes OUT DATA (m) OUT DATA (n) OUT DATA (n) IN IN IN ACK
USB device ACK ACK NAK ACK NAK NAK DATA (0)
EP0DATADONE
EP0DATADONE
STARTEPOUT[0]
STARTEPOUT[0]
EP0RCVOUT
EP0RCVOUT
EP0SETUP
STARTED
ENDEPOUT[0]
STARTED
ENDEPOUT[0]
EP0STATUS
Events & tasks
Software
Decode setup
EP0RCVOUT=1
EPOUT[0].PTR=0xnnnnnnnn
EPOUT[0].MAXCNT = MaxPacketSize
(enable EP0DATADONE to STARTEP0OUT)
(enable ENDEPOUT[0] to EP0RCVOUT)
STARTEPOUT[0]=1
(EP0RCVOUT=1)
(EP0STATUS=1)
Figure 202: Control write transfer
Setup stage Status stage
EP0STATUS
Software
Decode setup
EP0STATUS=1
A bulk/interrupt transaction consists of a single data stage. Two consecutive, successful transactions are
distinguished through alternating leading process ID (PID): DATA0 follows DATA1, DATA1 follows DATA0,
etc. A repeated transaction is detected by re-using the same PID as previous transaction, i.e DATA0 follows
DATA0, or DATA1 follows DATA1.
The USBD controller automatically toggles DATA0/DATA1 PIDs for every bulk/interrupt transaction.
If incoming data is corrupted (CRC does not match), the USBD controller automatically prevents DATA0/
DATA1 from toggling, to request the host to resend the data.
In some specific cases, the software may want to force a data toggle (usually reset) on a specific IN
endpoint, or force the expected toggle on an OUT endpoint, for instance as a consequence of the host
issuing ClearFeature, SetInterface, or selecting an alternate setting. Controlling the data toggle
of data IN or OUT endpoint n (n=1..7) is done through register DTOGGLE.
The bulk/interrupt transaction in USB full-speed can be of any size up to 64 bytes. It must be a multiple of
four bytes and 32-bit aligned in memory.
When the USB transaction has completed, an EPDATA event is generated. Until new data has been
transferred by EasyDMA from memory to the USBD peripheral (signalled by the ENDEPIN[n] event), the
hardware will automatically respond with NAK to all incoming IN tokens. Software has to configure and
start the EasyDMA transfer once it is ready to send more data.
Each IN or OUT data endpoint has to be explicitly enabled by software through register EPINEN or
EPOUTEN, according to the configuration declared by the device and selected by the host through the
SetConfig command.
A disabled data endpoint will not respond to any traffic from the host. An enabled data endpoint will
normally respond NAK or ACK (depending on the readiness of the buffers), or STALL (if configured in
register EPSTALL), in which case the endpoint is asked to halt. The halted (or not) state of a given endpoint
can be read back from register HALTED.EPIN[n] or HALTED.EPOUT[n]. The format of the returned 16-bit
value can be copied as is, as a response to a GetStatusEndpoint request from the host.
Enabling or disabling an endpoint will not change its halted state. However, a USB reset will disable and
clear the halted state of all data endpoints.
The control endpoint 0 IN and OUT can also be enabled and/or halted using the same mechanisms, but
due to USB specification, receiving a SETUP will override its state.
STARTED
EPDATA
ENDEPIN[1]
Software
Prepare outgoing data
(EPIN[1].PTR=0xnnnnnnnn
EPIN[1].MAXCNT = <MaxPacketSize
STARTEPIN[1]=1
It is possible (and in some situations it is required) to respond to an IN token with a zero-length data
packet.
Note: On many USB hosts, not responding (DATA+ACK or NAK) to three IN tokens on an interrupt
endpoint would have the host disable that endpoint as a consequence. Re-enumerating the
device (unplug-replug) may be required to restore functionality. Make sure that the relevant data
endpoints are enabled for normal operation as soon as the device gets configured through a
SetConfig request.
ENDEPOUT[1]
EPDATA
STARTED
Software
SIZE.EPOUT[1]=0
EPOUT[1].PTR=0xnnnnnnnn
EPOUT[1].MAXCNT=SIZE.EPOUT[1]
STARTEPOUT[1]=1
Process data
EPDATASTATUS.EPOUT1 set (Started)
An isochronous transaction consists of a single, non-acknowledged data stage. The host sends out a start
of frame at a regular interval (1 ms), and data follows IN or OUT tokens within each frame.
EasyDMA allows transferring ISO data directly from and to memory. EasyDMA transfers must be initiated
by the software, which can synchronize with the SOF (start of frame) events.
Because the timing of the start of frame is very accurate, the SOF event can be used for jobs such as
synchronizing a local timer through the SOF event and PPI. The SOF event gets synchronized to the 16 MHz
clock prior to being made available to the PPI.
Every start of frame increments a free-running counter, which can be read by software through the
FRAMECNTR register.
Each IN or OUT ISO data endpoint has to be explicitly enabled by software through register EPINEN or
EPOUTEN, according to the configuration declared by the device and selected by the host through the
SetConfig command. A disabled ISO IN data endpoint will not respond to any traffic from the host. A
disabled ISO OUT data endpoint will ignore any incoming traffic from the host.
The USBD peripheral has an internal 1 kB buffer associated with ISO endpoints. The user can either
allocate the full amount to the IN or the OUT endpoint, or split the buffer allocation between the two
using register ISOSPLIT.
The internal buffer also sets the maximum size of the ISO OUT and ISO IN transfers: 1023 bytes when the
full buffer is dedicated to either ISO OUT or ISO IN, and half when the buffer is split between the two.
STARTISOIN
STARTED
ENDISOIN
SOF
STARTISOIN
Software
Prepare outgoing ISO data n
ISOIN.PTR=0xnnnnnnnn
ISOIN.MAXCNT=yy
STARTISOIN=1
ISOIN.PTR=0xnnnnnnnn
ISOIN.MAXCNT=yy
STARTISOIN=1
When EasyDMA is prepared and started, triggering a STARTISOOUT task initiates an EasyDMA transfer to
memory. Software shall synchronize ISO OUT transfers with the SOF events. EasyDMA uses the address in
ISOOUT.PTR and size in ISOOUT.MAXCNT for every new transfer.
If the EasyDMA transfer on the isochronous endpoint is not completed before the next SOF event, the
result of the transfer is undefined.
The maximum size of an isochronous OUT transfer in USB full-speed is 1023 bytes. The data buffer has to
be a multiple of 4 bytes and 32-bit aligned in Data RAM. However, the amount of bytes transferred on the
USB data endpoint can be of any size (up to 1023 bytes if not shared with an IN ISO endpoint).
If the last received ISO data packet is corrupted (wrong CRC), the USB controller generates an USBEVENT
event (at the same time as SOF) and indicates a CRC error on ISOOUTCRC in register EVENTCAUSE.
EasyDMA will transfer the data anyway if it has been set up properly.
Start of frame Start of frame Start of frame
USB host OUT DATA n OUT DATA n+1 OUT DATA n+2
USB device
STARTISOOUT
STARTISOOUT
ENDISOOUT
SOF
STARTED
SOF
SOF
Software
Prepare for receiving ISO data n
(ISOOUT.MAXCNT=SIZE.ISOOUT)
ISOOUT.PTR=0xnnnnnnnn
ISOOUT.MAXCNT=SIZE.ISOOUT
(STARTISOOUT=1)
ISOOUT.PTR=0xnnnnnnnn + size
ISOOUT.MAXCNT=SIZE.ISOOUT
Process data
6.35.13 Registers
Instances
Register overview
6.35.13.1 TASKS_STARTEPIN[0]
Address offset: 0x004
Captures the EPIN[0].PTR and EPIN[0].MAXCNT registers values, and enables endpoint IN 0 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[0].PTR and EPIN[0].MAXCNT registers values, and enables
endpoint IN 0 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.2 TASKS_STARTEPIN[1]
Address offset: 0x008
Captures the EPIN[1].PTR and EPIN[1].MAXCNT registers values, and enables endpoint IN 1 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[1].PTR and EPIN[1].MAXCNT registers values, and enables
endpoint IN 1 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.3 TASKS_STARTEPIN[2]
Address offset: 0x00C
Captures the EPIN[2].PTR and EPIN[2].MAXCNT registers values, and enables endpoint IN 2 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[2].PTR and EPIN[2].MAXCNT registers values, and enables
endpoint IN 2 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.4 TASKS_STARTEPIN[3]
Address offset: 0x010
Captures the EPIN[3].PTR and EPIN[3].MAXCNT registers values, and enables endpoint IN 3 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[3].PTR and EPIN[3].MAXCNT registers values, and enables
endpoint IN 3 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.5 TASKS_STARTEPIN[4]
Address offset: 0x014
Captures the EPIN[4].PTR and EPIN[4].MAXCNT registers values, and enables endpoint IN 4 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[4].PTR and EPIN[4].MAXCNT registers values, and enables
endpoint IN 4 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.6 TASKS_STARTEPIN[5]
Address offset: 0x018
Captures the EPIN[5].PTR and EPIN[5].MAXCNT registers values, and enables endpoint IN 5 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[5].PTR and EPIN[5].MAXCNT registers values, and enables
endpoint IN 5 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.7 TASKS_STARTEPIN[6]
Address offset: 0x01C
Captures the EPIN[6].PTR and EPIN[6].MAXCNT registers values, and enables endpoint IN 6 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[6].PTR and EPIN[6].MAXCNT registers values, and enables
endpoint IN 6 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.8 TASKS_STARTEPIN[7]
Address offset: 0x020
Captures the EPIN[7].PTR and EPIN[7].MAXCNT registers values, and enables endpoint IN 7 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPIN Captures the EPIN[7].PTR and EPIN[7].MAXCNT registers values, and enables
endpoint IN 7 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.9 TASKS_STARTISOIN
Address offset: 0x024
Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTISOIN Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables
sending data on ISO endpoint
Trigger 1 Trigger task
6.35.13.10 TASKS_STARTEPOUT[0]
Address offset: 0x028
Captures the EPOUT[0].PTR and EPOUT[0].MAXCNT registers values, and enables endpoint 0 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[0].PTR and EPOUT[0].MAXCNT registers values, and
enables endpoint 0 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.11 TASKS_STARTEPOUT[1]
Address offset: 0x02C
Captures the EPOUT[1].PTR and EPOUT[1].MAXCNT registers values, and enables endpoint 1 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[1].PTR and EPOUT[1].MAXCNT registers values, and
enables endpoint 1 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.12 TASKS_STARTEPOUT[2]
Address offset: 0x030
Captures the EPOUT[2].PTR and EPOUT[2].MAXCNT registers values, and enables endpoint 2 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[2].PTR and EPOUT[2].MAXCNT registers values, and
enables endpoint 2 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.13 TASKS_STARTEPOUT[3]
Address offset: 0x034
Captures the EPOUT[3].PTR and EPOUT[3].MAXCNT registers values, and enables endpoint 3 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[3].PTR and EPOUT[3].MAXCNT registers values, and
enables endpoint 3 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.14 TASKS_STARTEPOUT[4]
Address offset: 0x038
Captures the EPOUT[4].PTR and EPOUT[4].MAXCNT registers values, and enables endpoint 4 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[4].PTR and EPOUT[4].MAXCNT registers values, and
enables endpoint 4 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.15 TASKS_STARTEPOUT[5]
Address offset: 0x03C
Captures the EPOUT[5].PTR and EPOUT[5].MAXCNT registers values, and enables endpoint 5 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[5].PTR and EPOUT[5].MAXCNT registers values, and
enables endpoint 5 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.16 TASKS_STARTEPOUT[6]
Address offset: 0x040
Captures the EPOUT[6].PTR and EPOUT[6].MAXCNT registers values, and enables endpoint 6 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[6].PTR and EPOUT[6].MAXCNT registers values, and
enables endpoint 6 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.17 TASKS_STARTEPOUT[7]
Address offset: 0x044
Captures the EPOUT[7].PTR and EPOUT[7].MAXCNT registers values, and enables endpoint 7 to respond to
traffic from host
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTEPOUT Captures the EPOUT[7].PTR and EPOUT[7].MAXCNT registers values, and
enables endpoint 7 to respond to traffic from host
Trigger 1 Trigger task
6.35.13.18 TASKS_STARTISOOUT
Address offset: 0x048
Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO
endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_STARTISOOUT Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and
enables receiving of data on ISO endpoint
Trigger 1 Trigger task
6.35.13.19 TASKS_EP0RCVOUT
Address offset: 0x04C
Allows OUT data stage on control endpoint 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_EP0RCVOUT Allows OUT data stage on control endpoint 0
Trigger 1 Trigger task
6.35.13.20 TASKS_EP0STATUS
Address offset: 0x050
Allows status stage on control endpoint 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_EP0STATUS Allows status stage on control endpoint 0
Trigger 1 Trigger task
6.35.13.21 TASKS_EP0STALL
Address offset: 0x054
Stalls data and status stage on control endpoint 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_EP0STALL Stalls data and status stage on control endpoint 0
Trigger 1 Trigger task
6.35.13.22 TASKS_DPDMDRIVE
Address offset: 0x058
Forces D+ and D- lines into the state defined in the DPDMVALUE register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_DPDMDRIVE Forces D+ and D- lines into the state defined in the DPDMVALUE register
Trigger 1 Trigger task
6.35.13.23 TASKS_DPDMNODRIVE
Address offset: 0x05C
Stops forcing D+ and D- lines into any state (USB engine takes control)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_DPDMNODRIVE Stops forcing D+ and D- lines into any state (USB engine takes control)
Trigger 1 Trigger task
6.35.13.24 EVENTS_USBRESET
Address offset: 0x100
Signals that a USB reset condition has been detected on USB lines
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_USBRESET Signals that a USB reset condition has been detected on USB lines
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.25 EVENTS_STARTED
Address offset: 0x104
Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers
have been captured on all endpoints reported in the EPSTATUS register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_STARTED Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and
EPOUT[n].MAXCNT registers have been captured on all endpoints reported
in the EPSTATUS register
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.26 EVENTS_ENDEPIN[0]
Address offset: 0x108
The whole EPIN[0] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[0] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.27 EVENTS_ENDEPIN[1]
Address offset: 0x10C
The whole EPIN[1] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[1] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.28 EVENTS_ENDEPIN[2]
Address offset: 0x110
The whole EPIN[2] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[2] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.29 EVENTS_ENDEPIN[3]
Address offset: 0x114
The whole EPIN[3] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[3] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.30 EVENTS_ENDEPIN[4]
Address offset: 0x118
The whole EPIN[4] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[4] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.31 EVENTS_ENDEPIN[5]
Address offset: 0x11C
The whole EPIN[5] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[5] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.32 EVENTS_ENDEPIN[6]
Address offset: 0x120
The whole EPIN[6] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[6] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.33 EVENTS_ENDEPIN[7]
Address offset: 0x124
The whole EPIN[7] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPIN The whole EPIN[7] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.34 EVENTS_EP0DATADONE
Address offset: 0x128
An acknowledged data transfer has taken place on the control endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_EP0DATADONE An acknowledged data transfer has taken place on the control endpoint
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.35 EVENTS_ENDISOIN
Address offset: 0x12C
The whole ISOIN buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDISOIN The whole ISOIN buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.36 EVENTS_ENDEPOUT[0]
Address offset: 0x130
The whole EPOUT[0] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[0] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.37 EVENTS_ENDEPOUT[1]
Address offset: 0x134
The whole EPOUT[1] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[1] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.38 EVENTS_ENDEPOUT[2]
Address offset: 0x138
The whole EPOUT[2] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[2] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.39 EVENTS_ENDEPOUT[3]
Address offset: 0x13C
The whole EPOUT[3] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[3] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.40 EVENTS_ENDEPOUT[4]
Address offset: 0x140
The whole EPOUT[4] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[4] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.41 EVENTS_ENDEPOUT[5]
Address offset: 0x144
The whole EPOUT[5] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[5] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.42 EVENTS_ENDEPOUT[6]
Address offset: 0x148
The whole EPOUT[6] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[6] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.43 EVENTS_ENDEPOUT[7]
Address offset: 0x14C
The whole EPOUT[7] buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDEPOUT The whole EPOUT[7] buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.44 EVENTS_ENDISOOUT
Address offset: 0x150
The whole ISOOUT buffer has been consumed. The buffer can be accessed safely by software.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_ENDISOOUT The whole ISOOUT buffer has been consumed. The buffer can be accessed
safely by software.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.45 EVENTS_SOF
Address offset: 0x154
Signals that a SOF (start of frame) condition has been detected on USB lines
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_SOF Signals that a SOF (start of frame) condition has been detected on USB lines
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.46 EVENTS_USBEVENT
Address offset: 0x158
An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the
cause.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_USBEVENT An event or an error not covered by specific events has occurred. Check
EVENTCAUSE register to find the cause.
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.47 EVENTS_EP0SETUP
Address offset: 0x15C
A valid SETUP token has been received (and acknowledged) on the control endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_EP0SETUP A valid SETUP token has been received (and acknowledged) on the control
endpoint
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.48 EVENTS_EPDATA
Address offset: 0x160
A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_EPDATA A data transfer has occurred on a data endpoint, indicated by the
EPDATASTATUS register
NotGenerated 0 Event not generated
Generated 1 Event generated
6.35.13.49 SHORTS
Address offset: 0x200
Shortcuts between local events and tasks
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EP0DATADONE_STARTEPIN0 Shortcut between event EP0DATADONE and task STARTEPIN[0]
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
B RW EP0DATADONE_STARTEPOUT0 Shortcut between event EP0DATADONE and task STARTEPOUT[0]
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
C RW EP0DATADONE_EP0STATUS Shortcut between event EP0DATADONE and task EP0STATUS
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
D RW ENDEPOUT0_EP0STATUS Shortcut between event ENDEPOUT[0] and task EP0STATUS
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
E RW ENDEPOUT0_EP0RCVOUT Shortcut between event ENDEPOUT[0] and task EP0RCVOUT
Disabled 0 Disable shortcut
Enabled 1 Enable shortcut
6.35.13.50 INTEN
Address offset: 0x300
Enable or disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW USBRESET Enable or disable interrupt for event USBRESET
Disabled 0 Disable
Enabled 1 Enable
B RW STARTED Enable or disable interrupt for event STARTED
Disabled 0 Disable
Enabled 1 Enable
C RW ENDEPIN[0] Enable or disable interrupt for event ENDEPIN[0]
Disabled 0 Disable
Enabled 1 Enable
D RW ENDEPIN[1] Enable or disable interrupt for event ENDEPIN[1]
Disabled 0 Disable
Enabled 1 Enable
E RW ENDEPIN[2] Enable or disable interrupt for event ENDEPIN[2]
Disabled 0 Disable
Enabled 1 Enable
F RW ENDEPIN[3] Enable or disable interrupt for event ENDEPIN[3]
Disabled 0 Disable
Enabled 1 Enable
G RW ENDEPIN[4] Enable or disable interrupt for event ENDEPIN[4]
Disabled 0 Disable
Enabled 1 Enable
H RW ENDEPIN[5] Enable or disable interrupt for event ENDEPIN[5]
Disabled 0 Disable
Enabled 1 Enable
I RW ENDEPIN[6] Enable or disable interrupt for event ENDEPIN[6]
Disabled 0 Disable
Enabled 1 Enable
J RW ENDEPIN[7] Enable or disable interrupt for event ENDEPIN[7]
Disabled 0 Disable
Enabled 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
K RW EP0DATADONE Enable or disable interrupt for event EP0DATADONE
Disabled 0 Disable
Enabled 1 Enable
L RW ENDISOIN Enable or disable interrupt for event ENDISOIN
Disabled 0 Disable
Enabled 1 Enable
M RW ENDEPOUT[0] Enable or disable interrupt for event ENDEPOUT[0]
Disabled 0 Disable
Enabled 1 Enable
N RW ENDEPOUT[1] Enable or disable interrupt for event ENDEPOUT[1]
Disabled 0 Disable
Enabled 1 Enable
O RW ENDEPOUT[2] Enable or disable interrupt for event ENDEPOUT[2]
Disabled 0 Disable
Enabled 1 Enable
P RW ENDEPOUT[3] Enable or disable interrupt for event ENDEPOUT[3]
Disabled 0 Disable
Enabled 1 Enable
Q RW ENDEPOUT[4] Enable or disable interrupt for event ENDEPOUT[4]
Disabled 0 Disable
Enabled 1 Enable
R RW ENDEPOUT[5] Enable or disable interrupt for event ENDEPOUT[5]
Disabled 0 Disable
Enabled 1 Enable
S RW ENDEPOUT[6] Enable or disable interrupt for event ENDEPOUT[6]
Disabled 0 Disable
Enabled 1 Enable
T RW ENDEPOUT[7] Enable or disable interrupt for event ENDEPOUT[7]
Disabled 0 Disable
Enabled 1 Enable
U RW ENDISOOUT Enable or disable interrupt for event ENDISOOUT
Disabled 0 Disable
Enabled 1 Enable
V RW SOF Enable or disable interrupt for event SOF
Disabled 0 Disable
Enabled 1 Enable
W RW USBEVENT Enable or disable interrupt for event USBEVENT
Disabled 0 Disable
Enabled 1 Enable
X RW EP0SETUP Enable or disable interrupt for event EP0SETUP
Disabled 0 Disable
Enabled 1 Enable
Y RW EPDATA Enable or disable interrupt for event EPDATA
Disabled 0 Disable
Enabled 1 Enable
6.35.13.51 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW USBRESET Write '1' to enable interrupt for event USBRESET
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW STARTED Write '1' to enable interrupt for event STARTED
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ENDEPIN[0] Write '1' to enable interrupt for event ENDEPIN[0]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ENDEPIN[1] Write '1' to enable interrupt for event ENDEPIN[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW ENDEPIN[2] Write '1' to enable interrupt for event ENDEPIN[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW ENDEPIN[3] Write '1' to enable interrupt for event ENDEPIN[3]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW ENDEPIN[4] Write '1' to enable interrupt for event ENDEPIN[4]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW ENDEPIN[5] Write '1' to enable interrupt for event ENDEPIN[5]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW ENDEPIN[6] Write '1' to enable interrupt for event ENDEPIN[6]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW ENDEPIN[7] Write '1' to enable interrupt for event ENDEPIN[7]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW EP0DATADONE Write '1' to enable interrupt for event EP0DATADONE
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
L RW ENDISOIN Write '1' to enable interrupt for event ENDISOIN
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW ENDEPOUT[0] Write '1' to enable interrupt for event ENDEPOUT[0]
Set 1 Enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW ENDEPOUT[1] Write '1' to enable interrupt for event ENDEPOUT[1]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
O RW ENDEPOUT[2] Write '1' to enable interrupt for event ENDEPOUT[2]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW ENDEPOUT[3] Write '1' to enable interrupt for event ENDEPOUT[3]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Q RW ENDEPOUT[4] Write '1' to enable interrupt for event ENDEPOUT[4]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW ENDEPOUT[5] Write '1' to enable interrupt for event ENDEPOUT[5]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW ENDEPOUT[6] Write '1' to enable interrupt for event ENDEPOUT[6]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW ENDEPOUT[7] Write '1' to enable interrupt for event ENDEPOUT[7]
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
U RW ENDISOOUT Write '1' to enable interrupt for event ENDISOOUT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
V RW SOF Write '1' to enable interrupt for event SOF
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
W RW USBEVENT Write '1' to enable interrupt for event USBEVENT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
X RW EP0SETUP Write '1' to enable interrupt for event EP0SETUP
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Y RW EPDATA Write '1' to enable interrupt for event EPDATA
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.35.13.52 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW USBRESET Write '1' to disable interrupt for event USBRESET
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
B RW STARTED Write '1' to disable interrupt for event STARTED
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
C RW ENDEPIN[0] Write '1' to disable interrupt for event ENDEPIN[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
D RW ENDEPIN[1] Write '1' to disable interrupt for event ENDEPIN[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
E RW ENDEPIN[2] Write '1' to disable interrupt for event ENDEPIN[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
F RW ENDEPIN[3] Write '1' to disable interrupt for event ENDEPIN[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
G RW ENDEPIN[4] Write '1' to disable interrupt for event ENDEPIN[4]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
H RW ENDEPIN[5] Write '1' to disable interrupt for event ENDEPIN[5]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
I RW ENDEPIN[6] Write '1' to disable interrupt for event ENDEPIN[6]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
J RW ENDEPIN[7] Write '1' to disable interrupt for event ENDEPIN[7]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
K RW EP0DATADONE Write '1' to disable interrupt for event EP0DATADONE
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
L RW ENDISOIN Write '1' to disable interrupt for event ENDISOIN
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
M RW ENDEPOUT[0] Write '1' to disable interrupt for event ENDEPOUT[0]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
N RW ENDEPOUT[1] Write '1' to disable interrupt for event ENDEPOUT[1]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
O RW ENDEPOUT[2] Write '1' to disable interrupt for event ENDEPOUT[2]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
P RW ENDEPOUT[3] Write '1' to disable interrupt for event ENDEPOUT[3]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Q RW ENDEPOUT[4] Write '1' to disable interrupt for event ENDEPOUT[4]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
R RW ENDEPOUT[5] Write '1' to disable interrupt for event ENDEPOUT[5]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
S RW ENDEPOUT[6] Write '1' to disable interrupt for event ENDEPOUT[6]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
T RW ENDEPOUT[7] Write '1' to disable interrupt for event ENDEPOUT[7]
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
U RW ENDISOOUT Write '1' to disable interrupt for event ENDISOOUT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
V RW SOF Write '1' to disable interrupt for event SOF
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
W RW USBEVENT Write '1' to disable interrupt for event USBEVENT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
X RW EP0SETUP Write '1' to disable interrupt for event EP0SETUP
Clear 1 Disable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
Y RW EPDATA Write '1' to disable interrupt for event EPDATA
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.35.13.53 EVENTCAUSE
Address offset: 0x400
Details on what caused the USBEVENT event
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW ISOOUTCRC CRC error was detected on isochronous OUT endpoint 8. Write '1' to clear.
W1C
NotDetected 0 No error detected
Detected 1 Error detected
B RW SUSPEND Signals that USB lines have been idle long enough for the device to enter
W1C suspend. Write '1' to clear.
NotDetected 0 Suspend not detected
Detected 1 Suspend detected
C RW RESUME Signals that a RESUME condition (K state or activity restart) has been
W1C detected on USB lines. Write '1' to clear.
NotDetected 0 Resume not detected
Detected 1 Resume detected
D RW USBWUALLOWED USB MAC has been woken up and operational. Write '1' to clear.
W1C
NotAllowed 0 Wake up not allowed
Allowed 1 Wake up allowed
E RW READY USB device is ready for normal operation. Write '1' to clear.
W1C
NotDetected 0 USBEVENT was not issued due to USBD peripheral ready
Ready 1 USBD peripheral is ready
6.35.13.54 HALTED.EPIN[0]
Address offset: 0x420
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.55 HALTED.EPIN[1]
Address offset: 0x424
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.56 HALTED.EPIN[2]
Address offset: 0x428
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.57 HALTED.EPIN[3]
Address offset: 0x42C
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.58 HALTED.EPIN[4]
Address offset: 0x430
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.59 HALTED.EPIN[5]
Address offset: 0x434
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.60 HALTED.EPIN[6]
Address offset: 0x438
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.61 HALTED.EPIN[7]
Address offset: 0x43C
IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS IN endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.62 HALTED.EPOUT[0]
Address offset: 0x444
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.63 HALTED.EPOUT[1]
Address offset: 0x448
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.64 HALTED.EPOUT[2]
Address offset: 0x44C
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.65 HALTED.EPOUT[3]
Address offset: 0x450
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.66 HALTED.EPOUT[4]
Address offset: 0x454
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.67 HALTED.EPOUT[5]
Address offset: 0x458
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.68 HALTED.EPOUT[6]
Address offset: 0x45C
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.69 HALTED.EPOUT[7]
Address offset: 0x460
OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R GETSTATUS OUT endpoint halted status. Can be used as is as response to a GetStatus()
request to endpoint.
NotHalted 0 Endpoint is not halted
Halted 1 Endpoint is halted
6.35.13.70 EPSTATUS
Address offset: 0x468
Provides information on which endpoint's EasyDMA registers have been captured
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EPIN0 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
B RW EPIN1 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
C RW EPIN2 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
D RW EPIN3 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
E RW EPIN4 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
F RW EPIN5 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
G RW EPIN6 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
H RW EPIN7 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
I RW EPIN8 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
J RW EPOUT0 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
K RW EPOUT1 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
L RW EPOUT2 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
M RW EPOUT3 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
N RW EPOUT4 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
O RW EPOUT5 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
P RW EPOUT6 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
Q RW EPOUT7 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
R RW EPOUT8 Captured state of endpoint's EasyDMA registers. Write '1' to clear.
W1C
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
NoData 0 EasyDMA registers have not been captured for this endpoint
DataDone 1 EasyDMA registers have been captured for this endpoint
6.35.13.71 EPDATASTATUS
Address offset: 0x46C
Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EPIN1 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
B RW EPIN2 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
C RW EPIN3 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
D RW EPIN4 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
E RW EPIN5 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
F RW EPIN6 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
G RW EPIN7 Acknowledged data transfer on this IN endpoint. Write '1' to clear.
W1C
NotDone 0 No acknowledged data transfer on this endpoint
DataDone 1 Acknowledged data transfer on this endpoint has occurred
H RW EPOUT1 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
I RW EPOUT2 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
J RW EPOUT3 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
K RW EPOUT4 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
L RW EPOUT5 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
M RW EPOUT6 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
N RW EPOUT7 Acknowledged data transfer on this OUT endpoint. Write '1' to clear.
W1C
NotStarted 0 No acknowledged data transfer on this endpoint
Started 1 Acknowledged data transfer on this endpoint has occurred
6.35.13.72 USBADDR
Address offset: 0x470
Device USB address
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R ADDR Device USB address
6.35.13.73 BMREQUESTTYPE
Address offset: 0x480
SETUP data, byte 0, bmRequestType
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RECIPIENT Data transfer type
Device 0 Device
Interface 1 Interface
Endpoint 2 Endpoint
Other 3 Other
B R TYPE Data transfer type
Standard 0 Standard
Class 1 Class
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B B A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
Vendor 2 Vendor
C R DIRECTION Data transfer direction
HostToDevice 0 Host-to-device
DeviceToHost 1 Device-to-host
6.35.13.74 BREQUEST
Address offset: 0x484
SETUP data, byte 1, bRequest
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R BREQUEST SETUP data, byte 1, bRequest. Values provided for standard requests only,
user must implement class and vendor values.
STD_GET_STATUS 0 Standard request GET_STATUS
STD_CLEAR_FEATURE1 Standard request CLEAR_FEATURE
STD_SET_FEATURE 3 Standard request SET_FEATURE
STD_SET_ADDRESS 5 Standard request SET_ADDRESS
STD_GET_DESCRIPTOR
6 Standard request GET_DESCRIPTOR
STD_SET_DESCRIPTOR7 Standard request SET_DESCRIPTOR
STD_GET_CONFIGURATION
8 Standard request GET_CONFIGURATION
STD_SET_CONFIGURATION
9 Standard request SET_CONFIGURATION
STD_GET_INTERFACE 10 Standard request GET_INTERFACE
STD_SET_INTERFACE 11 Standard request SET_INTERFACE
STD_SYNCH_FRAME 12 Standard request SYNCH_FRAME
6.35.13.75 WVALUEL
Address offset: 0x488
SETUP data, byte 2, LSB of wValue
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WVALUEL SETUP data, byte 2, LSB of wValue
6.35.13.76 WVALUEH
Address offset: 0x48C
SETUP data, byte 3, MSB of wValue
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WVALUEH SETUP data, byte 3, MSB of wValue
6.35.13.77 WINDEXL
Address offset: 0x490
SETUP data, byte 4, LSB of wIndex
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WINDEXL SETUP data, byte 4, LSB of wIndex
6.35.13.78 WINDEXH
Address offset: 0x494
SETUP data, byte 5, MSB of wIndex
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WINDEXH SETUP data, byte 5, MSB of wIndex
6.35.13.79 WLENGTHL
Address offset: 0x498
SETUP data, byte 6, LSB of wLength
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WLENGTHL SETUP data, byte 6, LSB of wLength
6.35.13.80 WLENGTHH
Address offset: 0x49C
SETUP data, byte 7, MSB of wLength
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R WLENGTHH SETUP data, byte 7, MSB of wLength
6.35.13.81 SIZE.EPOUT[0]
Address offset: 0x4A0
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.82 SIZE.EPOUT[1]
Address offset: 0x4A4
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.83 SIZE.EPOUT[2]
Address offset: 0x4A8
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.84 SIZE.EPOUT[3]
Address offset: 0x4AC
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.85 SIZE.EPOUT[4]
Address offset: 0x4B0
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.86 SIZE.EPOUT[5]
Address offset: 0x4B4
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.87 SIZE.EPOUT[6]
Address offset: 0x4B8
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.88 SIZE.EPOUT[7]
Address offset: 0x4BC
Number of bytes received last in the data stage of this OUT endpoint
Write to any value to accept further OUT traffic on this endpoint, and overwrite the intermediate buffer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SIZE Number of bytes received last in the data stage of this OUT endpoint
W0C
6.35.13.89 SIZE.ISOOUT
Address offset: 0x4C0
Number of bytes received last on this ISO OUT data endpoint
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A A A A A A A A A A
Reset 0x00010000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R SIZE Number of bytes received last on this ISO OUT data endpoint
B R ZERO Zero-length data packet received
Normal 0 No zero-length data received, use value in SIZE
ZeroData 1 Zero-length data received, ignore value in SIZE
6.35.13.90 ENABLE
Address offset: 0x500
Enable USB
After writing Disabled to this register, reading the register will return Enabled until USBD is completely
disabled.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW ENABLE Enable USB
Disabled 0 USB peripheral is disabled
Enabled 1 USB peripheral is enabled
6.35.13.91 USBPULLUP
Address offset: 0x504
Control of the USB pull-up
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW CONNECT Control of the USB pull-up on the D+ line
Disabled 0 Pull-up is disconnected
Enabled 1 Pull-up is connected to D+
6.35.13.92 DPDMVALUE
Address offset: 0x508
State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the
control of the lines to MAC IP (no forcing).
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW STATE State D+ and D- lines will be forced into by the DPDMDRIVE task
Resume 1 D+ forced low, D- forced high (K state) for a timing preset in hardware (50 μs
or 5 ms, depending on bus state)
J 2 D+ forced high, D- forced low (J state)
K 4 D+ forced low, D- forced high (K state)
6.35.13.93 DTOGGLE
Address offset: 0x50C
Data toggle control and status
First write this register with VALUE=Nop to select the endpoint, then either read it to get the status from
VALUE, or write it again with VALUE=Data0 or Data1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C C B A A A
Reset 0x00000100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EP Select bulk endpoint number
B RW IO Selects IN or OUT endpoint
Out 0 Selects OUT endpoint
In 1 Selects IN endpoint
C RW VALUE Data toggle value
Nop 0 No action on data toggle when writing the register with this value
Data0 1 Data toggle is DATA0 on endpoint set by EP and IO
Data1 2 Data toggle is DATA1 on endpoint set by EP and IO
6.35.13.94 EPINEN
Address offset: 0x510
Endpoint IN enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW IN0 Enable IN endpoint 0
Disable 0 Disable endpoint IN 0 (no response to IN tokens)
Enable 1 Enable endpoint IN 0 (response to IN tokens)
B RW IN1 Enable IN endpoint 1
Disable 0 Disable endpoint IN 1 (no response to IN tokens)
Enable 1 Enable endpoint IN 1 (response to IN tokens)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
C RW IN2 Enable IN endpoint 2
Disable 0 Disable endpoint IN 2 (no response to IN tokens)
Enable 1 Enable endpoint IN 2 (response to IN tokens)
D RW IN3 Enable IN endpoint 3
Disable 0 Disable endpoint IN 3 (no response to IN tokens)
Enable 1 Enable endpoint IN 3 (response to IN tokens)
E RW IN4 Enable IN endpoint 4
Disable 0 Disable endpoint IN 4 (no response to IN tokens)
Enable 1 Enable endpoint IN 4 (response to IN tokens)
F RW IN5 Enable IN endpoint 5
Disable 0 Disable endpoint IN 5 (no response to IN tokens)
Enable 1 Enable endpoint IN 5 (response to IN tokens)
G RW IN6 Enable IN endpoint 6
Disable 0 Disable endpoint IN 6 (no response to IN tokens)
Enable 1 Enable endpoint IN 6 (response to IN tokens)
H RW IN7 Enable IN endpoint 7
Disable 0 Disable endpoint IN 7 (no response to IN tokens)
Enable 1 Enable endpoint IN 7 (response to IN tokens)
I RW ISOIN Enable ISO IN endpoint
Disable 0 Disable ISO IN endpoint 8
Enable 1 Enable ISO IN endpoint 8
6.35.13.95 EPOUTEN
Address offset: 0x514
Endpoint OUT enable
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW OUT0 Enable OUT endpoint 0
Disable 0 Disable endpoint OUT 0 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 0 (response to OUT tokens)
B RW OUT1 Enable OUT endpoint 1
Disable 0 Disable endpoint OUT 1 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 1 (response to OUT tokens)
C RW OUT2 Enable OUT endpoint 2
Disable 0 Disable endpoint OUT 2 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 2 (response to OUT tokens)
D RW OUT3 Enable OUT endpoint 3
Disable 0 Disable endpoint OUT 3 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 3 (response to OUT tokens)
E RW OUT4 Enable OUT endpoint 4
Disable 0 Disable endpoint OUT 4 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 4 (response to OUT tokens)
F RW OUT5 Enable OUT endpoint 5
Disable 0 Disable endpoint OUT 5 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 5 (response to OUT tokens)
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID I H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
G RW OUT6 Enable OUT endpoint 6
Disable 0 Disable endpoint OUT 6 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 6 (response to OUT tokens)
H RW OUT7 Enable OUT endpoint 7
Disable 0 Disable endpoint OUT 7 (no response to OUT tokens)
Enable 1 Enable endpoint OUT 7 (response to OUT tokens)
I RW ISOOUT Enable ISO OUT endpoint 8
Disable 0 Disable ISO OUT endpoint 8
Enable 1 Enable ISO OUT endpoint 8
6.35.13.96 EPSTALL
Address offset: 0x518
STALL endpoints
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID C B A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W EP Select endpoint number
RME
B W IO Selects IN or OUT endpoint
RME
Out 0 Selects OUT endpoint
In 1 Selects IN endpoint
C W STALL Stall selected endpoint
RME
UnStall 0 Don't stall selected endpoint
Stall 1 Stall selected endpoint
6.35.13.97 ISOSPLIT
Address offset: 0x51C
Controls the split of ISO buffers
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW SPLIT Controls the split of ISO buffers
OneDir 0x0000 Full buffer dedicated to either ISO IN or OUT
HalfIN 0x0080 Lower half for IN, upper half for OUT
6.35.13.98 FRAMECNTR
Address offset: 0x520
Returns the current value of the start of frame counter
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R FRAMECNTR Returns the current value of the start of frame counter
6.35.13.99 LOWPOWER
Address offset: 0x52C
Controls USBD peripheral low power mode during USB suspend
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW LOWPOWER Controls USBD peripheral low-power mode during USB suspend
ForceNormal 0 Software must write this value to exit low power mode and before
performing a remote wake-up
LowPower 1 Software must write this value to enter low power mode after DMA and
software have finished interacting with the USB peripheral
6.35.13.100 ISOINCONFIG
Address offset: 0x530
Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW RESPONSE Controls the response of the ISO IN endpoint to an IN token when no data is
ready to be sent
NoResp 0 Endpoint does not respond in that case
ZeroData 1 Endpoint responds with a zero-length data packet in that case
6.35.13.101 EPIN[0].PTR
Address offset: 0x600
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.102 EPIN[0].MAXCNT
Address offset: 0x604
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.103 EPIN[0].AMOUNT
Address offset: 0x608
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.104 EPIN[1].PTR
Address offset: 0x614
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.105 EPIN[1].MAXCNT
Address offset: 0x618
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.106 EPIN[1].AMOUNT
Address offset: 0x61C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.107 EPIN[2].PTR
Address offset: 0x628
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.108 EPIN[2].MAXCNT
Address offset: 0x62C
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.109 EPIN[2].AMOUNT
Address offset: 0x630
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.110 EPIN[3].PTR
Address offset: 0x63C
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.111 EPIN[3].MAXCNT
Address offset: 0x640
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.112 EPIN[3].AMOUNT
Address offset: 0x644
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.113 EPIN[4].PTR
Address offset: 0x650
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.114 EPIN[4].MAXCNT
Address offset: 0x654
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.115 EPIN[4].AMOUNT
Address offset: 0x658
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.116 EPIN[5].PTR
Address offset: 0x664
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.117 EPIN[5].MAXCNT
Address offset: 0x668
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.118 EPIN[5].AMOUNT
Address offset: 0x66C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.119 EPIN[6].PTR
Address offset: 0x678
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.120 EPIN[6].MAXCNT
Address offset: 0x67C
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.121 EPIN[6].AMOUNT
Address offset: 0x680
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.122 EPIN[7].PTR
Address offset: 0x68C
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.123 EPIN[7].MAXCNT
Address offset: 0x690
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.124 EPIN[7].AMOUNT
Address offset: 0x694
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.125 ISOIN.PTR
Address offset: 0x6A0
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.126 ISOIN.MAXCNT
Address offset: 0x6A4
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [1023..1] Maximum number of bytes to transfer
6.35.13.127 ISOIN.AMOUNT
Address offset: 0x6A8
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.128 EPOUT[0].PTR
Address offset: 0x700
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.129 EPOUT[0].MAXCNT
Address offset: 0x704
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.130 EPOUT[0].AMOUNT
Address offset: 0x708
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.131 EPOUT[1].PTR
Address offset: 0x714
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.132 EPOUT[1].MAXCNT
Address offset: 0x718
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.133 EPOUT[1].AMOUNT
Address offset: 0x71C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.134 EPOUT[2].PTR
Address offset: 0x728
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.135 EPOUT[2].MAXCNT
Address offset: 0x72C
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.136 EPOUT[2].AMOUNT
Address offset: 0x730
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.137 EPOUT[3].PTR
Address offset: 0x73C
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.138 EPOUT[3].MAXCNT
Address offset: 0x740
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.139 EPOUT[3].AMOUNT
Address offset: 0x744
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.140 EPOUT[4].PTR
Address offset: 0x750
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.141 EPOUT[4].MAXCNT
Address offset: 0x754
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.142 EPOUT[4].AMOUNT
Address offset: 0x758
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.143 EPOUT[5].PTR
Address offset: 0x764
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.144 EPOUT[5].MAXCNT
Address offset: 0x768
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.145 EPOUT[5].AMOUNT
Address offset: 0x76C
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.146 EPOUT[6].PTR
Address offset: 0x778
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.147 EPOUT[6].MAXCNT
Address offset: 0x77C
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.148 EPOUT[6].AMOUNT
Address offset: 0x780
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.149 EPOUT[7].PTR
Address offset: 0x78C
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.150 EPOUT[7].MAXCNT
Address offset: 0x790
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT [64..0] Maximum number of bytes to transfer
6.35.13.151 EPOUT[7].AMOUNT
Address offset: 0x794
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
6.35.13.152 ISOOUT.PTR
Address offset: 0x7A0
Data pointer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW PTR Data pointer
See the memory chapter for details about which memories are available for
EasyDMA.
6.35.13.153 ISOOUT.MAXCNT
Address offset: 0x7A4
Maximum number of bytes to transfer
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- RW MAXCNT Maximum number of bytes to transfer
6.35.13.154 ISOOUT.AMOUNT
Address offset: 0x7A8
Number of bytes transferred in the last transaction
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A- R AMOUNT Number of bytes transferred in the last transaction
44
The local clock can be stopped during USB suspend
The watchdog can be paused during long CPU sleep periods for low power applications and when the
debugger has halted the CPU. The watchdog is implemented as a down-counter that generates a TIMEOUT
event when it wraps over after counting down to 0. When the watchdog timer is started through the
START task, the watchdog counter is loaded with the value specified in the CRV register. This counter is
also reloaded with the value specified in the CRV register when a reload request is granted.
The watchdog’s timeout period is given by the following equation:
When started, the watchdog will automatically force the 32.768 kHz RC oscillator on as long as no other
32.768 kHz clock source is running and generating the 32.768 kHz system clock, see chapter CLOCK —
Clock control on page 156.
6.36.4 Registers
Instances
Register overview
6.36.4.1 TASKS_START
Address offset: 0x000
Start the watchdog
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W TASKS_START Start the watchdog
Trigger 1 Trigger task
6.36.4.2 EVENTS_TIMEOUT
Address offset: 0x100
Watchdog timeout
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW EVENTS_TIMEOUT Watchdog timeout
NotGenerated 0 Event not generated
Generated 1 Event generated
6.36.4.3 INTENSET
Address offset: 0x304
Enable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TIMEOUT Write '1' to enable interrupt for event TIMEOUT
Set 1 Enable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.36.4.4 INTENCLR
Address offset: 0x308
Disable interrupt
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A RW TIMEOUT Write '1' to disable interrupt for event TIMEOUT
Clear 1 Disable
Disabled 0 Read: Disabled
Enabled 1 Read: Enabled
6.36.4.5 RUNSTATUS
Address offset: 0x400
Run status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A R RUNSTATUS Indicates whether or not the watchdog is running
NotRunning 0 Watchdog not running
Running 1 Watchdog is running
6.36.4.6 REQSTATUS
Address offset: 0x404
Request status
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A R RR0 Request status for RR[0] register
DisabledOrRequested0 RR[0] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[0] register is enabled, and are not yet requesting reload
B R RR1 Request status for RR[1] register
DisabledOrRequested0 RR[1] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[1] register is enabled, and are not yet requesting reload
C R RR2 Request status for RR[2] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
DisabledOrRequested0 RR[2] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[2] register is enabled, and are not yet requesting reload
D R RR3 Request status for RR[3] register
DisabledOrRequested0 RR[3] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[3] register is enabled, and are not yet requesting reload
E R RR4 Request status for RR[4] register
DisabledOrRequested0 RR[4] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[4] register is enabled, and are not yet requesting reload
F R RR5 Request status for RR[5] register
DisabledOrRequested0 RR[5] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[5] register is enabled, and are not yet requesting reload
G R RR6 Request status for RR[6] register
DisabledOrRequested0 RR[6] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[6] register is enabled, and are not yet requesting reload
H R RR7 Request status for RR[7] register
DisabledOrRequested0 RR[7] register is not enabled, or are already requesting reload
EnabledAndUnrequested
1 RR[7] register is enabled, and are not yet requesting reload
6.36.4.7 CRV
Address offset: 0x504
Counter reload value
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0xFFFFFFFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ID R/W Field Value ID Value Description
A RW CRV [0xF..0xFFFFFFFF] Counter reload value in number of cycles of the 32.768 kHz clock
6.36.4.8 RREN
Address offset: 0x508
Enable register for reload request registers
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW RR0 Enable or disable RR[0] register
Disabled 0 Disable RR[0] register
Enabled 1 Enable RR[0] register
B RW RR1 Enable or disable RR[1] register
Disabled 0 Disable RR[1] register
Enabled 1 Enable RR[1] register
C RW RR2 Enable or disable RR[2] register
Disabled 0 Disable RR[2] register
Enabled 1 Enable RR[2] register
D RW RR3 Enable or disable RR[3] register
Disabled 0 Disable RR[3] register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID H G F E D C B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
Enabled 1 Enable RR[3] register
E RW RR4 Enable or disable RR[4] register
Disabled 0 Disable RR[4] register
Enabled 1 Enable RR[4] register
F RW RR5 Enable or disable RR[5] register
Disabled 0 Disable RR[5] register
Enabled 1 Enable RR[5] register
G RW RR6 Enable or disable RR[6] register
Disabled 0 Disable RR[6] register
Enabled 1 Enable RR[6] register
H RW RR7 Enable or disable RR[7] register
Disabled 0 Disable RR[7] register
Enabled 1 Enable RR[7] register
6.36.4.9 CONFIG
Address offset: 0x50C
Configuration register
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B A
Reset 0x00000001 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
ID R/W Field Value ID Value Description
A RW SLEEP Configure the watchdog to either be paused, or kept running, while the CPU
is sleeping
Pause 0 Pause watchdog while the CPU is sleeping
Run 1 Keep the watchdog running while the CPU is sleeping
B RW HALT Configure the watchdog to either be paused, or kept running, while the CPU
is halted by the debugger
Pause 0 Pause watchdog while the CPU is halted by the debugger
Run 1 Keep the watchdog running while the CPU is halted by the debugger
6.36.4.10 RR[0]
Address offset: 0x600
Reload request 0
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.11 RR[1]
Address offset: 0x604
Reload request 1
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.12 RR[2]
Address offset: 0x608
Reload request 2
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.13 RR[3]
Address offset: 0x60C
Reload request 3
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.14 RR[4]
Address offset: 0x610
Reload request 4
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.15 RR[5]
Address offset: 0x614
Reload request 5
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.16 RR[6]
Address offset: 0x618
Reload request 6
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
6.36.4.17 RR[7]
Address offset: 0x61C
Reload request 7
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A W RR Reload request register
Reload 0x6E524635 Value to request a reload of the watchdog timer
Note: For more information on standard drive, see GPIO — General purpose input/output on page
240. Low frequency I/O is a signal with a frequency up to 10 kHz.
Note: VDD and VDDH are shortcircuited inside the package. Therefore the device is only usable in
Normal Voltage supply mode, and not High Voltage supply mode.
37
38
39
40
41
42
43
44
45
46
47
48
1 36
2 35
3 34
4 33
5 32
6 nRF5102
N52840 31
7 QFN48
QFN48 30
8 29
9 28
10 exposed die pad 27
11 26
12 25
13
14
15
16
17
18
19
20
21
22
23
24
Note: For more information on standard drive, see GPIO — General purpose input/output on page
240. Low frequency I/O is a signal with a frequency up to 10 kHz.
A A1 A2 A3 b D, E D2, E2 e e1 e2
Min. 0.00 0.20 6.90 4.75
Nom. 0.675 0.13 0.25 7.00 4.85 0.50 2.75 0.559
Max. 0.85 0.08 0.30 7.10 4.95
A A1 A3 b D, E D2, E2 e K L
Min. 0.80 0.00 0.15 5.9 4.5 0.2 0.35
Nom. 0.85 0.035 0.203 0.20 6.0 4.6 0.4 0.40
Max. 0.90 0.05 0.25 6.1 4.7 0.45
A A1 A3 b D E D2 E2 e K L
Min. 0.464 0.148 0.303 0.184 3.514 3.577
Nom. 0.489 0.325 3.544 3.607 3.15 3.15 0.35 1.575 1.575
Max. 0.514 0.18 0.347 0.244 3.574 3.637
Note: This is not a complete list of configurations, but all required circuitry is shown for further
configurations.
• External supply from VDD is only available when power is supplied to VDDH. External supply is
annotated with the VEXT net name.
• When supplying power from a USB source only, VBUS must be connected to VDDH if USB is to be used.
• Components required for DC/DC function are only needed if DC/DC mode is enabled for that regulator.
• NFC can be used in any configuration.
• USB can be used in any configuration as long as VBUS is supplied by the USB host.
• The schematics include an optional series resistor on the USB supply for improved immunity to
transient overvoltage during VBUS connection. Using the series resistor is recommended for new
designs.
• Two component values for the RF-Match network for the QIAA aQFN73 package are given and referred
to as v1.0 and v1.1 in the following tables. The reference schematics use v1.1 component values, which
are recommended for new designs to improve the margin for spurious emissions during regulatory
approval tests. However, both v1.0 and v1.1 are valid and can be used. All other RF parameters are
unchanged.
• A new reference design with four-component RF match has been added for the QIAA aQFN73 package.
The four-component RF match improves harmonic suppression when using Radio with TXPOWER equal
to 5dBm or above. However, previous 3 component RF-match designs are valid and can be used. Using
this four-component RF match is recommended for new designs.
Config no. Supply configuration Features that can be enabled for each configuration
example
VDDH VDD EXTSUPPLY DCDCEN0 DCDCEN1 USB NFC
Config. 1 USB (VDDH = N/A Yes No No Yes No
VBUS)
Config. 2 Battery/Ext. N/A Yes No No Yes No
regulator
Config. 3 N/A Battery/ No No No Yes No
Ext.
regulator
Config. 4 Battery/Ext. N/A Yes Yes Yes Yes No
regulator
Config. 5 N/A Battery/ No No Yes Yes Yes
Ext.
regulator
Config. 6 N/A Battery/ No No No No No
Ext.
regulator
Config no. Supply configuration Features that can be enabled for each configuration
example
Config no. Supply configuration Features that can be enabled for each configuration
example
VDDH VDD EXTSUPPLY DCDCEN0 DCDCEN1 USB NFC
Config. 1 USB (VDDH = N/A Yes No No Yes No
VBUS)
Config. 2 Battery/Ext. N/A Yes No No Yes No
regulator
Config. 3 N/A Battery/Ext. No No No Yes No
regulator
Config. 4 Battery/Ext. N/A Yes Yes Yes Yes No
regulator
Config. 5 N/A Battery/Ext. No No Yes Yes Yes
regulator
Config. 6 N/A Battery/Ext. No No No No No
regulator
C15
1.0µF C13 C2
N.C.
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VEXT VDD P1.01
VBUS VBUS_nRF AB2 AC24SWDIO
R1 DCCH SWDIO
Y2 P0.18/RESET AA24SWDCLK VDD_nRF
VDDH SWDCLK
2R2 AC5 AD23
DECUSB VDD
C6 C19 C20 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
Optional
4.7µF 4.7µF 4.7µF 100nF
D+
D-
U1
AC21
AC11
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20 nRF52840-QIAA
VBUS_nRF
P0.18/RESET
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
C15
1.0µF C13 C2
N.C.
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VEXT VDD P1.01
VDDH AB2 AC24SWDIO
DCCH SWDIO
Y2 AA24SWDCLK VDD_nRF
AC5
VDDH P0.18/RESET SWDCLK
AD23
DECUSB VDD
C6 C19 C20 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
U1
AC21
AC11
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20 nRF52840-QIAA
VBUS
P0.18/RESET
C21
4.7µF
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
C15
1.0µF C13 C2
N.C.
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VDD P1.01
AB2 AC24SWDIO
DCCH SWDIO
Y2 AA24SWDCLK VDD_nRF
P0.18/RESET
VDDH SWDCLK
AC5 AD23
DECUSB VDD
C6 C20 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
AC21 U1
AC11
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20
nRF52840-QIAA
VBUS
P0.18/RESET
C21
4.7µF
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
L3
15nH
C15 C16
1.0µF 47nF C13 C2
L2
N.C.
10µH
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VEXT VDD P1.01
VDD_HV L4 10µH AB2 AC24SWDIO
DCCH SWDIO
Y2 P0.18/RESET AA24SWDCLK VDD_nRF
VDDH SWDCLK
AC5 AD23
DECUSB VDD
C6 C19 C20 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
U1
AC21
AC11
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20 nRF52840-QIAA
VBUS
P0.18/RESET
C21
4.7µF
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
L3
15nH
C15 C16
1.0µF 47nF C13 C2
L2
N.C.
10µH
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05 CT3 CT4
P1.08 P1.05
P1.09 R1 U24 P1.04 NFC2
P1.09 P1.04
P0.11 T2 V23 P1.03 NFC1
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02
P0.12 P1.02
W1 Y23 P1.01 CT1 CT2
VDD P1.01
AB2 AC24SWDIO C9
DCCH SWDIO
Y2 AA24SWDCLK 820pF
P0.18/RESET
VDDH SWDCLK
AC5 AD23 Not required for Fxx and later
DECUSB VDD
C6 C20 VDD_nRF Note:
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
4.7µF 4.7µF The value of CT1, CT2, CT3 and CT4 must be
D+
D-
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20
nRF52840-QIAA 100nF
VBUS
P0.18/RESET
C21
4.7µF
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
C15
1.0µF C13 C2
N.C.
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. RF
P0.26 ANT
P0.27 H2 F23 4.7nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4 C22
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 0.8pF 0.5pF N.C.
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VDD P1.01
AB2 AC24SWDIO
DCCH SWDIO
Y2 AA24SWDCLK VDD_nRF
P0.18/RESET
VDDH SWDCLK
AC5 AD23
DECUSB VDD
C6 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
4.7µF 100nF
D+
D-
U1
AC21
AC11
P0.18/RESET AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20
nRF52840-QIAA
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
L3
15nH
C15 C16
1.0µF 47nF C13 C2
L2
N.C.
10µH
12pF
X1
32MHz C1
VDD_nRF VDD_nRF
Optional
P0.31/AIN7
P0.30/AIN6
P0.29/AIN5
P0.28/AIN4
P0.02/AIN0
P0.03/AIN1
DEC1
C17 12pF
DEC4_6
C5 C14 C12
P1.15
P1.14
P1.13
P1.12
P1.10
P1.11
12pF 100nF 1.0µF 100nF
X2
A10
A12
A14
A16
A18
A20
A22
B13
B15
B17
B19
B11
A8
B1
B3
B5
B7
B9
32.768kHz
74
C18 C11
P0.03/AIN1
P1.13
P1.11
P1.15
GND
VDD
VSS
P0.29/AIN5
P1.14
P1.12
DEC2
P1.10
VDD
DCC
DEC4
P0.31/AIN7
P0.30/AIN6
P0.28/AIN4
P0.02/AIN0
12pF 100pF
A23 XC2
XC2 C10
C1 B24 XC1
DEC1 XC1
P0.00/XL1 D2 D23 DEC3
P0.00/XL1 DEC3
P0.01/XL2 F2 E24 DEC4_6
P0.26 G1
P0.01/XL2 DEC6
H23 L1 N.C. L5 RF
P0.26 ANT
P0.27 H2 F23 4.7nH 2.2nH
P0.27 VSS_PA
P0.04/AIN2 J1 J24 P0.10/NFC2 C3 C4
P0.04/AIN2 P0.10/NFC2
P0.05/AIN3 K2 L24 P0.09/NFC1 1.0pF 1.2pF
P0.05/AIN3 P0.09/NFC1
P0.06 L1 N24
P0.06 DEC5
P0.07 M2 P23 P1.07
P0.07 P1.07
P0.08 N1 R24 P1.06
P0.08 P1.06
P1.08 P2 T23 P1.05
P1.08 P1.05
P1.09 R1 U24 P1.04
P1.09 P1.04
P0.11 T2 V23 P1.03 C9
VDD_nRF P0.12 U1
P0.11 nRF52840 P1.03
W24 P1.02 820pF
P0.12 P1.02
W1 Y23 P1.01 Not required for Fxx and later
VEXT VDD P1.01
VDD_HV L4 10µH AB2 AC24SWDIO
DCCH SWDIO
Y2 AA24SWDCLK VDD_nRF
P0.18/RESET
VDDH SWDCLK
AC5 AD23
DECUSB VDD
C6 C19 C20 C8
VBUS
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
VDD
U1
AC21
AC11
AC13
AD8
AC15
AD18
AD2
AD4
AD6
AC9
AD12
AD16
AC17
AC19
AD22
AD10
AD14
AD20
nRF52840-QIAA
VBUS
P0.18/RESET
C21
4.7µF
P0.13
P0.14
P0.15
P0.16
P0.17
P0.19
P0.20
P0.21
P0.22
P0.23
P0.24
P0.25
P1.00
D+
D-
VDD_nRF
C7
100nF
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Note: For PCB reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
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.
Fast switching digital signals should not be routed close to the crystal or the power supply lines. Capacitive
loading of fast switching digital output lines should be minimized in order to avoid radio interference.
Avoid routing the 32MHz crystal lines close to antenna line and antenna ground.
Note: Pay attention to how the capacitor C3 is grounded. It is not directly connected to the ground
plane, but grounded via VSS_PA pin F23. This is done to create additional filtering of harmonic
components.
For all available reference layouts, see the product page for the nRF52840 on www.nordicsemi.com.
Nordic Semiconductor's commitment to providing a complete and cohesive solution for their customers'
needs in wireless technology applications.
Values obtained by simulation following the EIA/JESD51-2 for still air condition using JEDEC PCB.
7.5.1 QFN48
The following section describes the package variation of the QFN48 package.
• The QFN48 package does not support USBD.
• VDD and VDDH are short circuited inside the QFN48 package. Therefore the device is only usable in
Normal Voltage supply mode, and not High Voltage supply mode. See POWER — Power supply on page
80 for more information.
The parameter variation when using the QFN48 package is as following:
45
Achieved using Pos8dBm setting in RADIO.TXPOWER
Note: The on-chip power-on reset circuitry may not function properly for rise times longer than
the specified maximum.
46
For accelerated life time testing (HTOL, etc) supply voltage should not exceed the recommended
operating conditions max value, see Recommended operating conditions on page 890.
N 5 2 8 4 0
FROM: TO:
SALES ORDER NO: (14K) <Nordic Sales Order+Sales order line no.+
Delivery line no.>
COUNTRY OF ORIGIN.: 4L
CARTON NO:
<2- character code of COO>
x/n
<H> Description
[A . . Z] Hardware version/revision identifier (incremental)
<P> Description
[0 . . 9] Production device identifier (incremental)
[A . . Z] Engineering device identifier (incremental)
<F> Description
[A . . N, P . . Z] Version of preprogrammed firmware
[0] Delivered without preprogrammed firmware
<YY> Description
[00 . . 99] Production year: 2000 to 2099
<WW> Description
[1 . . 52] Week of production
<LL> Description
[AA . . ZZ] Wafer production lot identifier
<CC> Description
R7 7" Reel
R 13" Reel
T Tray
47
Minimum Ordering Quantity
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.
Nordic Semiconductor ASA does not give any representations or warranties, expressed or implied, as to
the accuracy or completeness of such information and shall have no liability for the consequences of use
of such information. If there are any discrepancies, ambiguities or conflicts in Nordic Semiconductor’s
documentation, the Product Specification prevails.
Nordic Semiconductor ASA reserves the right to make corrections, enhancements, and other changes to
this document without notice.
Customer represents that, with respect to its applications, it has all the necessary expertise to create
and implement safeguards that anticipate dangerous consequences of failures, monitor failures and
their consequences, and lessen the likelihood of failures that might cause harm, and to take appropriate
remedial actions.
Nordic Semiconductor ASA assumes no liability for applications assistance or the design of customers’
products. Customers are solely responsible for the design, validation, and testing of its applications as well
as for compliance with all legal, regulatory, and safety-related requirements concerning its applications.
Nordic Semiconductor ASA’s products are not designed for use in life-critical medical equipment,
support appliances, devices, or systems where malfunction of Nordic Semiconductor ASA’s products can
reasonably be expected to result in personal injury. Customer may not use any Nordic Semiconductor
ASA’s products in life-critical medical equipment unless adequate design and operating safeguards by
customer’s authorized officers have been made. Customer agrees that prior to using or distributing
any life-critical medical equipment that include Nordic Semiconductor ASA’s products, customer will
thoroughly test such systems and the functionality of such products as used in such systems.
Customer will fully indemnify Nordic Semiconductor ASA and its representatives against any damages,
costs, losses, and/or liabilities arising out of customer’s non-compliance with this section.
Trademarks
All trademarks, service marks, trade names, product names, and logos appearing in this documentation
are the property of their respective owners.
Copyright notice
© 2024 Nordic Semiconductor ASA. All rights are reserved. Reproduction in whole or in part is prohibited
without the prior written permission of the copyright holder.