Table of Contents
1 Ordering information............................................................... 5
2 Overview................................................................................. 6
2.1 System features...............................................................7
2.1.1 ARM Cortex-M4 core........................................ 7
2.1.2 NVIC..................................................................7
2.1.3 AWIC.................................................................7
2.1.4 Memory............................................................. 8
2.1.5 Reset and boot..................................................9
2.1.6 Clock options.....................................................10
2.1.7 Security............................................................. 13
2.1.8 Power management..........................................14
2.1.9 LLWU................................................................ 16
2.1.10 Debug controller................................................17
2.1.11 Computer operating properly (COP) watchdog
timer.................................................................. 17
2.2 Peripheral features.......................................................... 17
2.2.1 eDMA and DMAMUX........................................ 18
2.2.2 TPM...................................................................18
2.2.3 ADC...................................................................19
2.2.4 DAC...................................................................19
2.2.5 CMP.................................................................. 20
2.2.6 RTC...................................................................21
2.2.7 PIT.....................................................................21
2.2.8 PDB...................................................................21
2.2.9 LPTMR..............................................................22
2.2.10 CRC.................................................................. 22
2.2.11 UART................................................................ 23
2.2.12 LPUART............................................................23
2.2.13 SPI.................................................................... 24
2.2.14 FlexCAN............................................................24
2.2.15 LPI2C................................................................ 26
2.2.16 USB...................................................................26
2.2.17 I2S.....................................................................27
2.2.18 FlexIO................................................................27
2.2.19 Port control and GPIO.......................................28
3 Memory map........................................................................... 30
4 Pinouts.................................................................................... 31
4.1 Signal Multiplexing and Pin Assignments........................31
4.2 Pin properties.................................................................. 34
4.3 Module Signal Description Tables................................... 39
4.3.1 Core Modules....................................................39
4.3.2 System Modules................................................40
4.3.3 Clock Modules...................................................40
4.3.4 Analog...............................................................41
4.3.5 Timer Modules.................................................. 42
4.3.6 Communication Interfaces................................ 43
4.3.7 Human-Machine Interfaces (HMI)..................... 47
4.4 Pinouts.............................................................................47
4.5 Package dimensions....................................................... 50
5 Electrical characteristics..........................................................56
5.1 Terminology and guidelines.............................................56
5.1.1 Definitions......................................................... 56
5.1.2 Examples.......................................................... 57
5.1.3 Typical-value conditions....................................58
5.1.4 Relationship between ratings and operating
requirements..................................................... 58
5.1.5 Guidelines for ratings and operating
requirements..................................................... 59
5.2 Ratings............................................................................ 59
5.2.1 Thermal handling ratings...................................59
5.2.2 Moisture handling ratings.................................. 60
5.2.3 ESD handling ratings........................................ 60
5.2.4 Voltage and current operating ratings............... 60
5.3 General............................................................................60
5.3.1 AC electrical characteristics.............................. 61
5.3.2 Nonswitching electrical specifications............... 61
5.3.3 Switching specifications.................................... 72
5.3.4 Thermal specification........................................ 74
5.4 Peripheral operating requirements and behaviors...........75
5.4.1 Debug modules.................................................75
5.4.2 System modules................................................80
5.4.3 Clock modules...................................................80
5.4.4 Memories and memory interfaces.....................86
5.4.5 Security and integrity modules.......................... 87
5.4.6 Analog...............................................................87
5.4.7 Timers............................................................... 97
5.4.8 Communication interfaces.................................97
6 Design considerations.............................................................108
6.1 Hardware design considerations..................................... 108
6.1.1 Printed circuit board recommendations.............108
6.1.2 Power delivery system...................................... 108
6.1.3 Analog design................................................... 109
6.1.4 Digital design.....................................................110
6.1.5 Crystal oscillator................................................112
6.2 Software considerations.................................................. 114
7 Part identification.....................................................................114
7.1 Description.......................................................................114
7.2 Format............................................................................. 115
7.3 Fields............................................................................... 115
7.4 Example...........................................................................115
8 Revision history.......................................................................116
4KS22/KS20 Microcontroller, Rev. 3, 04/2016
NXP Semiconductors