FREESCALE MK20DN512VYY10

32-bit MCUs
Kinetis K20 Family
Low-power MCUs with USB On-The-Go
Target Applications
Overview
• Barcode scanners
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 industryleading low-power and mixed-signal analog integration.
• Portable media players
• Printers
• Programmable logic controllers
The K20 MCU family is pin, peripheral and software compatible the K10 MCU family and adds Fulland High-speed USB 2.0 On-The-Go with device charger detect capability. Devices start from 32 KB
of flash in 5 x 5 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
Family
Kinetis K20
K20 Family
Core
System
ARM® Cortex™-M4
50/72/100/120 MHz
Internal and
External
Watchdogs
Memory
Protection Unit
(MPU)
Debug
Interfaces
DSP
Interrupt
Controller
Floating Point
Unit (FPU)
DMA
Low-Leakage
Wake-Up Unit
Security
and Integrity
Analog
Timers
16-bit
ADC
FlexTimer
PGA
Carrier
Modulator
Transmitter
Analog
Comparator
with 6-bit DAC
Programmable
Delay Block
12-bit
DAC
Periodic
Interrupt
Timers
Cyclic
Redundancy
Check (CRC)
Cryptographic
Acceleration
Unit (CAU)
HW Tamper
Detection
Unit
Random
Number
Generator
Standard Feature
Voltage
Reference
Low-Power
Timer
Independent
Real-Time
Clock (RTC)
Optional Feature
Memories
Clocks
Program Flash
(32 KB to 1 MB)
External
Bus Interface
(FlexBus)
FlexMemory
(32 to 512 KB)
(2 to 16 KB EE)
Cache
Phase-Locked
Loop
FrequencyLocked Loop
Low/HighFrequency
Oscillators
Serial
Programming
Interface
(EzPort)
Internal
Reference
Clocks
NAND Flash
Controller
Communication Interfaces
HMI
IC
I2S
GPIO
UART
(ISO 7816)
Secure
Digital Host
Controller
(SDHC)
Xtrinsic
Low-Power
Touch-Sensing
Interface
SPI
USB On-the-Go
(LS/FS)
CAN
USB On-the-Go
(HS)
2
USB Device
Charger Detect
(DCD)
USB Voltage
Regulator
One-Stop Enablement
Offering—MCU + IDE + RTOS
Features
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)
Benefits
• ARM® Cortex™-M4 core with DSP
instruction support and optional
single precision floating point unit
• Up to 32-channel DMA. Up to 16 KB
of cache. Cross bar switch
• Up to 120 MHz core supporting a broad range of processing bandwidth
needs
• Peripheral and memory servicing with reduced CPU loading. Optimized bus
bandwidth and flash execution performance. Concurrent multi-master bus
accesses for increased bus bandwidth
• USB On-The-Go (Full- and HighSpeed) with device charger detect
• Optimized charging current/time for portable USB devices, enabling longer
battery life. USB low-voltage regulator supplies up to 120 mA off chip at
3.3 V to power external components from 5 V input
• Memory protection unit
• Hardware cyclic redundancy check
engine
• Independent-clocked COP. External
watchdog monitor
• Cryptographic acceleration
unit (CAU)
• Hardware tamper detection unit
• Random number generator
• 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)
• Up to four FlexTimers with up to 20
channels
• Carrier modulator transmitter
• 4-channel, 32-bit periodic interrupt
• FlexBus external bus interface
• Secure digital host controller
• NAND flash controller
• 32 KB–1 MB flash. Up to 128 KB of
SRAM
• 32–512 KB FlexMemory
• Wafer level chip scale package
(WLCSP)
• Full ARM ecosystem
• Provides memory protection for all cross bar switch masters, increasing
software reliability
• Validates memory contents and communication data, increasing system
reliability
• Prevents code runaway in fail-safe applications. Drives output pin to safe
state external components if watchdog event occurs
• Secure data transfer and storage. Faster than software implementations
and with minimal CPU loading. Supports a wide variety of algorithms: DES,
3DES, AES, MDS, SHA-1, SHA-256
• Secure key storage with internal/external tamper detect for unsecured flash,
temperature/clock/supply voltage variations and physical attack
• General-purpose timers with hardware dead-time insertion and quadrature
decoding for motor control
• Infrared waveform generation for remote control applications
• Time base generation for RTOS task scheduler or trigger source for ADC
conversion and programmable delay block
• Enables the connection of external memories and peripherals
(e.g., graphics displays)
• Connection to SD, SDIO, MMC or CE-ATA cards for in-application software
upgrades, file systems or adding Wi-Fi® or Bluetooth® support
• 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 and firmware
updating
• FlexMemory provides 32 byte–16 KB of user-segmentable byte write/erase
EEPROM. 32–512 KB FlexNVM for extra program code, data or EEPROM
backup
• Maximize board space
• 32-bit M4 performance in small package
• Miniaturization of existing applications
K20 Family Options
Packages
√
MK21DN512VLK5(R)
50
512
64
√
MK22DX128Vyy5(R)
50
MK22DX256Vyy5(R)
50
MK22DN512VLH5(R)
50
yy = package designator
128
256
512
64
64
32
32
64
√
√
√
√
√
√
√
√
√
√
√
MD
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
144 BGA
(13 x 13)
32
√
√
√
√
√
√
√
√
√
√
LQ
121 BGA
(8 x 8)
64
√
√
√
√
√
√
√
√
√
√
MC
144 LQFP
(20 x 20)
256
√
√
√
√
√
√
√
√
√
√
LL
100 LQFP
(14 x 14)
50
√
√
√
LK
80 LQFP
(12 x 12)
MK21DX256Vyy5(R)
√
√
√
√
√
√
LH
64 LQFP
(10 x 10)
√
√
√
√
√
√
√
√
√
√
√
MP
64 MAPBGA
(5 x 5)
32
√
√
√
√
√
√
√
LF
48 LQFP (7 x 7)
64
√
√
√
FT
48 QFN (7 x 7)
128
16
√
FM
32 QFN (5 x 5)
50
16
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)
USB OTG (FS/HS)
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)
AB
120 WLCSP
(5 x 5)
MK21DX128Vyy5(R)
32
32
32
32
32
32
128
256
512
8
16
16
128
128
8
16
16
16
32
64
32
64
128
128
128
Other
32
64
128
512
1 MB
32
64
128
64
128
256
128
256
512
512
512
5 V Tolerant I/O
12-bit DAC
50
50
50
100
120
50
50
50
72
72
72
100
100
120
100
100
CAN
MK20DN32Vyy5
MK20DN64Vyy5
MK20DN128Vyy5
MK20DN512Vyy10
MK20FN1M0Vyy12
MK20DX32Vyy5
MK20DX64Vyy5
MK20DX128Vyy5
MK20DX64Vyy7
MK20DX128Vyy7
MK20DX256Vyy7
MK20DX128Vyy10
MK20DX256Vyy10
MK20FX512Vyy12
MK20DN512Zyy10R
MK20DN512ZCyy10R
Part Number
Prog. Gain Amplifier
Secure Digital
Host Controller
NAND Flash
Controller
External Bus
Interface
Single Precision
Floating Point Unit
Memory Protection
Unit
Cache (KB)
Flash (KB)
SRAM (KB)
Feature Options
CPU (MHz)
Flex NVM (KB)
Memory
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
For current information about Kinetis products and documentation,
please visit freescale.com/Kinetis
Freescale, the Freescale logo, CodeWarrior, the Energy Efficient Solutions logo 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 10