# Freescale Kinetis

Configuration

  platform = `freescalekinetis`

Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration.

For more detailed information please visit vendor site.

Contents

- Examples

- Debugging

- Stable and upstream versions

- Packages

- Frameworks

- Boards

## Examples

Examples are listed from Freescale Kinetis development platform repository:

- mbed-blink

- mbed-serial

- zephyr-blink

- zephyr-net-telnet

- mbed-rtos

- mbed-events

- zephyr-sensor-sx9500

- mbed-rtos-tls-client

- mbed-rtos-ethernet

- mbed-dsp

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

- Tools & Debug Probes

  - On-Board Debug Tools

  - External Debug Tools

### Tools & Debug Probes

Supported debugging tools are listed in “Debug” column. For more detailed information, please scroll table by horizontal. You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions.

#### On-Board Debug Tools

Boards listed below have on-board debug probe and ARE READY for debugging! You do not need to use/buy external debug probe.

Name | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | ---
Ethernet IoT Starter Kit | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K20D50M | MK20DX128VLH5 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-K22F | MK22FN512VLH12 | 120MHz | 512KB | 128KB
Freescale Kinetis FRDM-K64F | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K66F | MK66FN2M0VMD18 | 180MHz | 2MB | 256KB
Freescale Kinetis FRDM-K82F | MK82FN256VLL15 | 150MHz | 256KB | 256KB
Freescale Kinetis FRDM-KL05Z | MKL05Z32VFM4 | 48MHz | 32KB | 4KB
Freescale Kinetis FRDM-KL25Z | MKL25Z128VLK4 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-KL27Z | MKL27Z64VLH4 | 48MHz | 64KB | 16KB
Freescale Kinetis FRDM-KL43Z | MKL43Z256VLH4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KL46Z | MKL46Z256VLL4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KW41Z | MKW41Z512VHT4 | 48MHz | 512KB | 128KB

#### External Debug Tools

Boards listed below are compatible with PIO Unified Debugger but DEPEND ON external debug probe. They ARE NOT READY for debugging. Please click on board name for the further details.

Name | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | ---
Freescale Kinetis FRDM-KL82Z | MKL82Z128VLK7 | 96MHz | 128KB | 96KB
Freescale Kinetis FRDM-KW24D512 | MKW24D512 | 50MHz | 512KB | 64KB
Hexiwear | MK64FN1M0VDC12 | 120MHz | 1MB | 256KB

## Stable and upstream versions

You can switch between stable releases of Freescale Kinetis development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

### Stable

    ; Latest stable version
    [env:latest_stable]
    platform = freescalekinetis
    board = ...

    ; Custom stable version
    [env:custom_stable]
    platform = freescalekinetis@x.y.z
    board = ...

### Upstream

    [env:upstream_develop]
    platform = https://github.com/platformio/platform-freescalekinetis.git
    board = ...

## Packages

Name | Description
--- | ---
framework-mbed | mbed Framework
framework-zephyr | Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
framework-zephyr-canopennode | Zephyr module for CANopenNode - a free and open source CANopen Stack
framework-zephyr-civetweb | Zephyr module CivetWeb Embedded C/C++ web server
framework-zephyr-fatfs | Zephyr module for FATFS filesystem
framework-zephyr-hal-nxp | NXP HAL for Zephyr framework
framework-zephyr-libmetal | Zephyr module for HAL abstraction layer used by open-amp
framework-zephyr-littlefs | Zephyr module for littlefs filesystem
framework-zephyr-loramac-node | Zephyr module for LoRaWAN endpoint stack implementation
framework-zephyr-lvgl | Zephyr module for LittlevGL - an Open-source Embedded GUI Library
framework-zephyr-mbedtls | mbedTLS module for Zephyr
framework-zephyr-mcuboot | Zephyr module for MCUboot - a secure bootloader for 32-bit MCUs
framework-zephyr-mcumgr | Zephyr module for mcumgr management library for 32-bit MCUs
framework-zephyr-mipi-sys-t | Zephyr module for MIPI System Software Trace
framework-zephyr-open-amp | Zephyr module for Open Asymmetric Multi Processing (OpenAMP) framework
framework-zephyr-openthread | OpenThread module for Zephyr
framework-zephyr-segger | Zephyr module for Segger RTT
framework-zephyr-tinycbor | Zephyr module for Concise Binary Object Representation Library
tool-cmake | CMake is an open-source, cross-platform family of tools designed to build, test and package software.
tool-dtc | Device tree compiler
tool-gperf | GNU gperf is a perfect hash function generator.
tool-jlink | SEGGER J-Link Software and Documentation Pack
tool-ninja | Ninja is a small build system with a focus on speed.
tool-pyocd | Open source python library for programming and debugging ARM Cortex-M microcontrollers using CMSIS-DAP
toolchain-gccarmnoneeabi | gcc-arm-embedded

Warning

Linux Users:

> - Install “udev” rules 99-platformio-udev.rules

> - Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.

Windows Users:

> Please check that you have a correctly installed USB driver from board manufacturer

## Frameworks

Name | Description
--- | ---

Mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.

Zephyr | The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind.

## Boards

Note

- You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer

- For more detailed `board` information please scroll the tables below by horizontally.

### Freescale

Name | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
Ethernet IoT Starter Kit | On-board | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K20D50M | On-board | MK20DX128VLH5 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-K22F | On-board | MK22FN512VLH12 | 120MHz | 512KB | 128KB
Freescale Kinetis FRDM-K64F | On-board | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K66F | On-board | MK66FN2M0VMD18 | 180MHz | 2MB | 256KB
Freescale Kinetis FRDM-K82F | On-board | MK82FN256VLL15 | 150MHz | 256KB | 256KB
Freescale Kinetis FRDM-KL05Z | On-board | MKL05Z32VFM4 | 48MHz | 32KB | 4KB
Freescale Kinetis FRDM-KL25Z | On-board | MKL25Z128VLK4 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-KL27Z | On-board | MKL27Z64VLH4 | 48MHz | 64KB | 16KB
Freescale Kinetis FRDM-KL43Z | On-board | MKL43Z256VLH4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KL46Z | On-board | MKL46Z256VLL4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KL82Z | External | MKL82Z128VLK7 | 96MHz | 128KB | 96KB
Freescale Kinetis FRDM-KW24D512 | External | MKW24D512 | 50MHz | 512KB | 64KB
Freescale Kinetis FRDM-KW41Z | On-board | MKW41Z512VHT4 | 48MHz | 512KB | 128KB

### MikroElektronika

Name | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | ---
Hexiwear | External | MK64FN1M0VDC12 | 120MHz | 1MB | 256KB