Part Number: MK20DX256VLH7

Manufacturer: NXP USA Inc

Description: IC MCU 32BIT 256KB FLASH 64LQFP

Shipped from: Shenzhen/HK Warehouse

Stock Available: Check with us

Technical Specifications of MK20DX256VLH7

Datasheet  MK20DX256VLH7 datasheet
Category Integrated Circuits (ICs)
Family Embedded – Microcontrollers
Manufacturer Freescale Semiconductor – NXP
Series Kinetis K20
Packaging Tray
Part Status Active
Core Processor ARM? Cortex?-M4
Core Size 32-Bit
Speed 72MHz
Peripherals DMA, I2S, LVD, POR, PWM, WDT
Number of I/O 40
Program Memory Size 256KB (256K x 8)
Program Memory Type FLASH
EEPROM Size 2K x 8
RAM Size 64K x 8
Voltage – Supply (Vcc/Vdd) 1.71 V ~ 3.6 V
Data Converters A/D 24x16b, D/A 1x12b
Oscillator Type Internal
Operating Temperature -40°C ~ 105°C (TA)
Package / Case 64-LQFP
Supplier Device Package 64-LQFP (10×10)

MK20DX256VLH7 Introduction

The MK20DX256VLH7 is a robust microcontroller unit (MCU) utilized in many applications, such as industrial control, motor control, medical equipment, and consumer electronics. Its use is widespread. In this article, we are going to investigate the MK20DX256VLH7’s capabilities, as well as its architecture and characteristics.

MK20DX256VLH7 Architecture

The MK20DX256VLH7 is based on the ARM Cortex-M4 core, which is a 32-bit processor that provides hardware support for digital signal processing (DSP) and floating-point operations. This core is what makes the MK20DX256VLH7 possible. Because the Cortex-M4 core can execute instructions at a clock speed of up to 120 MHz, it is the best choice for applications requiring high processing power.

MK20DX256VLH7 Features

Memory protection units (MPUs) and layered vector interrupt controllers are just two of the characteristics the Cortex-M4 core incorporates that make it particularly well-suited for use in real-time applications (NVIC). While the NVIC provides a flexible interrupt management system that effectively processes many interrupts, the MPU enables the processor to safeguard specified memory regions from illegal access. This is made possible by the memory protection unit (MPU).

● Memory

The MK20DX256VLH7 features 256KB of flash memory, which can be used for the storage of programs, and 64KB of RAM, which can be used for data storage. The flash memory is divided into sectors of 4 KB each, and each can be separately wiped and programmed. The random-access memory (RAM) is partitioned into three banks, each of which can be accessed independently.

In addition to the random access memory (RAM) and flash memory, the MK20DX256VLH7 features a non-volatile data storage option in the form of a 2KB EEPROM. It is great for storing calibration data and other crucial parameters that must be retained across power cycles, as the EEPROM can be programmed and retrieved using the software. This makes it an extremely versatile storage medium.

● Power

The supply voltage range that the MK20DX256VLH7 can operate on is from 1.71V to 3.6V. It comes equipped with various power-saving features, including low-power modes and a power management unit (PMU) that can regulate the voltage and clock frequency of various peripherals.

The low-power modes of the MK20DX256VLH7 make it possible for the processor and the peripherals to go into a sleep mode that uses a very small amount of power. While the processor is in sleep mode, it can be woken up by several sources, including internal and external timers and interrupts.

The Power Management Unit (PMU) of the MK20DX256VLH7 enables the voltage and clock frequency of various peripherals to be dynamically altered depending on the amount of work being done. In applications powered by batteries, this can help save power and increase the battery’s lifespan.

● Communication

In addition to the conventional UART, the MK20DX256VLH7 incorporates several other communication peripherals inside its architecture, including CAN, USB, SPI, and I2C. These peripherals can facilitate connection and control with external devices such as sensors, actuators, and other microcontroller units. They are also capable of allowing connection and control internally (MCUs).

The universal asynchronous receiver/transmitter, or UART for short, is a straightforward serial communication interface commonly used to establish connections with various electrical components such as GPS modules and Bluetooth modules. The serial peripheral interface, more commonly referred to by its acronym SPI, is a quicker interface that may be utilized for communication with many devices, such as LCD panels and flash memory.

The inter-integrated circuit, often called the I2C interface, is a connection consisting of just two wires that enable communication of electronic components like sensors and EEPROMs. The controller area network, commonly called CAN, is a bus-based interface typically utilized in industrial and automotive applications to facilitate communication between microcontroller units (MCUs) and other devices. CAN is also known by its acronym, controller area network.

The universal serial bus, or USB, an interface included in the MCU of the MK20DX256VLH7, makes it possible for the MCU to communicate with a computer or any other device capable of communicating via USB. The use of the USB interface is a viable option.

● Peripherals

The MK20DX256VLH7 incorporates a comprehensive selection of peripherals, such as analog-to-digital converters (ADCs), digital-to-analog converters, and pulse width modulation (PWM) modules. Timers are also incorporated into this device.

The timers of the MK20DX256VLH7 can be put to work for several different purposes, including but not limited to the generation of interrupts, the measurement of time intervals, and the production of PWM signals. Several timer modules are included in the MCU, each with its own set of functions and capabilities.

The analog-to-digital converters (ADCs) of the MK20DX256VLH7 can be utilized to transform analog signals generated by sensors and other devices into digital signals that the MCU can then process. The ADC in the MCU has a conversion rate of up to 1.2 MSPS and features 16 channels with 12 bits each (mega-samples per second).

The digital-to-analog converters (DACs) of the MK20DX256VLH7 can be utilized to generate analog signals, which can then be sent to other devices, such as audio amplifiers and motor control circuits, for output. The microcontroller incorporates two DACs with a resolution of 12 bits and a maximum output voltage of 3.3 volts.

The PWM modules of the MK20DX256VLH7 can be utilized to generate signals with variable duty cycles, which is beneficial for regulating motors, the brightness of LEDs, and other devices. Several PWM modules are included in the MCU, each with its own set of functions and capabilities.

● Development Tool

The MK20DX256VLH7 supports many development tools, including IDEs, compilers, debuggers, and programmer/debugger hardware.

The NXP MCUXpresso IDE is a popular choice for the MK20DX256VLH7 due to its comprehensive feature set for creating, debugging, and optimizing software. The MCUXpresso Integrated Development Environment (IDE) has a robust debugger that lets programmers review code and inspect system behavior in real-time.

The Keil MDK-ARM and the IAR Embedded Workbench are more development environments compatible with the MK20DX256VLH7. These programs are extensively employed in the embedded systems field because of their extensive functionality for coding, debugging, and optimizing.


In conclusion, the MK20DX256VLH7 is a highly capable MCU based on the ARM Cortex-M4 core, with a wide range of features and power-saving capabilities. It is suitable for diverse applications, including industrial control, medical equipment, and consumer electronics. The availability of numerous development tools makes it popular among embedded systems developers. At ICRFQ, we provide reliable components and excellent customer service to ensure a seamless ordering experience.

4.8/5 - (397 votes)
Kevin Chen