32-bit Microcontrollers
Kinetis K20 Family
Low-power MCUs with USB On-The-Go
Target Applications
• Barcode scanners
• Portable media players
• Printers
• Programmable logic controllers
Overview
The Kinetis MCU portfolio consists of multiple pin-, peripheral- and software-compatible MCU
families based on the ARM
®
Cortex™-M4 core. Families are built from innovative 90 nm thin-film
storage (TFS) flash technology with unique FlexMemory (EEPROM) capability, and offer industry-
leading low-power and mixed-signal analog integration.
The K20 MCU family is pin-, peripheral- and software-compatible with the K10 MCU family and
adds Full- and High-speed USB 2.0 On-The-Go with device charger detect capability. Devices
start from 32 KB of flash in 5x5 mm 32 QFN packages extending up to 1 MB in a 144 MAPBGA
package with a rich suite of analog, communication, timing and control peripherals. High memory
density K20 family devices include a single precision floating point unit and NAND flash controller.
Kinetis
K20 Family
Kinetis
K20 Family
Core
ARM
®
Cortex™-M4
50/72/100/120 MHz
Debug
Interfaces
Interrupt
Controller
DSP
Floating Point
Unit (FPU)
System
Internal and
External
Watchdogs
Memory
Protection Unit
(MPU)
DMA
Low-Leakage
Wake-Up Unit
Memories
Program Flash
(32 KB to 1 MB)
FlexMemory
(32 KB to 512 KB)
(2 to 16 KB EE)
Serial
Programming
Interface
(EzPort)
NAND Flash
Controller
External
Bus Interface
(FlexBus)
Cache
Clocks
Phase-Locked
Loop
Frequency-
Locked Loop
Low/High-
Frequency
Oscillators
Internal
Reference
Clocks
Security
and Integrity
Cyclic
Redundancy
Check (CRC)
Cryptographic
Acceleration
Unit (CAU)
HW Tamper
Detection
Unit
Random
Number
Generator
Analog
16-bit
ADC
PGA
Analog
Comparator
6-bit
DAC
12-bit
DAC
Voltage
Reference
Timers
FlexTimer
Carrier
Modulator
Transmitter
Programmable
Delay Block
Periodic
Interrupt
Timers
Low-Power
Timer
Independent
Real-Time
Clock (RTC)
Communication Interfaces
I
2
C
I
2
S
Secure
Digital Host
Controller
(SDHC)
USB On-the-Go
(LS/FS)
USB On-the-Go
(HS)
USB Device
Charger Detect
(DCD)
USB Voltage
Regulator
HMI
GPIO
Xtrinsic
Low-Power
Touch-Sensing
Interface
UART
(ISO 7816)
SPI
CAN
Standard Feature
Optional Feature
One-Stop Enablement
Offering—MCU + IDE + RTOS
Freescale Tower System hardware
development environment:
• Integrated development environments
Eclipse-based CodeWarrior V10.x IDE
and Processor Expert
IAR Embedded Workbench
Keil MDK
CodeSourcery Sourcery G++ (GNU)
• Runtime software and RTOS
Math, DSP and encryption libraries
Motor control libraries
Complimentary bootloaders
(USB, Ethernet, RF, serial)
Complimentary Freescale
embedded GUI
Complimentary Freescale MQX™
Cost-effective Nano™ SSL/Nano™
SSH for Freescale MQX RTOS
Micrium uC/OS-III
Express Logic ThreadX
SEGGER embOS
freeRTOS
Mocana (security)
• Full ARM ecosystem
Features
Benefits
• ARM
®
Cortex™-M4 core with DSP
• Up to 120 MHz core supporting a broad range of processing
bandwidth needs
instruction support and optional
single precision floating point unit
• Peripheral and memory servicing with reduced CPU loading.
Optimized bus bandwidth and flash execution performance.
• Up to 32-channel DMA. Up to 16
Concurrent multi-master bus accesses for increased bus bandwidth
KB of cache. Cross bar switch
• Optimized charging current/time for portable USB devices, enabling
longer battery life. USB low-voltage regulator supplies
• USB On-The-Go (Full- and High-
up to 120 mA off chip at 3.3V to power external components from
Speed) with device charger detect
5V input
• Provides memory protection for all cross bar switch masters,
• Memory protection unit
increasing software reliability
• Hardware cyclic redundancy
• Validates memory contents and communication data, increasing
check engine
system reliability
• Independent-clocked COP.
• Prevents code runaway in fail-safe applications. Drives output pin to
External watchdog monitor
safe state external components if watchdog event occurs
• Cryptographic acceleration
• Secure data transfer and storage. Faster than software
unit (CAU)
implementations and with minimal CPU loading. Supports a wide
variety of algorithms: DES, 3DES, AES, MDS, SHA-1,SHA-256
• Hardware tamper detection Unit
• Secure key storage with internal/external tamper detect for unsecured
• Random number generator
flash, temperature/clock/supply voltage variations and physical attack
• Up to four FlexTimers with up to • General-purpose timers with hardware dead-time insertion and
quadrature decoding for motor control
20 channels
• Infrared waveform generation for remote control applications
• Carrier modulator transmitter
• Time base generation for RTOS task scheduler or trigger source for
• 4-channel, 32-bit
ADC conversion and programmable delay block
periodic interrupt
• Enables the connection of external memories and peripherals
(e.g., graphics displays)
• FlexBus external bus interface
• Connection to SD, SDIO, MMC or CE-ATA cards for in-application
software upgrades, file systems or adding Wi-Fi
®
or
• Secure digital host controller
Bluetooth
®
support
• NAND flash controller
• Supports up to 32-bit ECC current and future NAND types with
minimal software overhead
• High reliability, fast access program memory with 4-level security
protection. Independent flash banks allow concurrent code execution
• 32 KB–1 MB flash. Up to 128 KB
and firmware updating
of SRAM
• FlexMemory provides 32 byte–16 KB of user-segmentable byte write/
• 32 KB–512 KB FlexMemory
erase EEPROM. In addition, FlexNVM from 32 KB–512 KB for extra
program code, data or EEPROM backup
K20 Family Options
Memory
Memory Protection
Unit
Single Precision
Floating Point Unit
Flex NVM (KB)
Feature Options
Prog. Gain Amplifier
Secure Digital
Host Controller
5V Tolerant I/O
FM
Other
32QFN (5x5)
FT
48QFN (7X7)
LF
48LQFP (7X7)
MP
64MAPBGA
LH
Packages
LK
MB
81BGA (8X8)
LL
100LQFP
ML
MC
121BGA (8x8)
LQ
144LQFP
√
√
√
√
√
MD
External Bus
NAND Flash
Cache (KB)
SRAM (KB)
CAN
Part Number
12-bit DAC
CPU (MHz)
Flash (KB)
MK20DN32Vyy5
MK20DN64Vyy5
MK20DN128Vyy5
MK20DN512Vyy10
MK20FN1M0Vyy12
MK20DX32Vyy5
MK20DX64Vyy5
MK20DX128Vyy5
MK20DX64Vyy7
MK20DX128Vyy7
MK20DX256Vyy7
MK20DX128Vyy10
MK20DX256Vyy10
MK20FX512Vyy12
MK21DX128Vyy5(R)
MK21DX256Vyy5(R)
MK21DN512VLK5(R)
MK22DX128Vyy5(R)
MK22DX256Vyy5(R)
MK22DN512VLH5(R)
50
50
50
100
120
50
50
50
72
72
72
100
100
120
50
50
50
50
50
50
32
64
128
512
1 MB
32
64
128
64
128
256
128
256
512
128
256
512
128
256
512
32
32
32
32
32
32
128
256
512
64
64
8
16
16
128
128
8
16
16
16
32
64
32
64
128
32
32
64
ww
16
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
16
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
64
64
32
32
64
√
√
√
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS/HS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
USB OTG (FS/HS)
HW Encryption and
Tamper Detec
HW Encryption and
Tamper Detec
HW Encryption and
Tamper Detec
USB OTG (FS)
USB OTG (FS)
USB OTG (FS)
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
104BGA
√
√
√
√
√
√
√
√
√
√
√
√
√
√
yy = package designator
For current information about Kinetis products and documentation,
please visit
freescale.com/Kinetis
Freescale, the Freescale logo, CodeWarrior and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
Processor Expert and Xtrinisic are trademarks of Freescale Semiconductor, Inc. ARM is the registered trademark of ARM Limited.
ARM Cortex-M4 is the trademark of ARM Limited. All other product or service names are the property of their respective owners.
© 2012 Freescale Semiconductor, Inc.
Doc Number: KNTSK20FMLYFS REV 7
144BGA
64LQFP
80LQFP