Hardware Support

NXP FRDM-K64F Support from Simulink Coder

Run models on the NXP FRDM-K64F board

Explore gallery (3 images)

Capabilities and Features

You can design models in Simulink®, generate code, and run the executables on NXP FRDM-K64F, a low-cost microcontroller that is suitable for controls applications. The capabilities include automated build and execution, processor-optimized code for ARM® Cortex-M, block libraries for on-chip and on-board peripherals, real-time scheduling from CMSIS-RTOS RTX, deployment support and real-time parameter tuning, and signal monitoring when tethered to Simulink.

The supported peripherals and key features for the NXP FRDM-K64F board are:

  • Deterministic real-time execution at rates reaching 1kHz
  • High-performance signal monitoring (20 signals at 100Hz)
  • Digital input/outputs
  • Analog input/outputs
  • PWM outputs
  • TCP/IP and UDP blocks
  • I2C read/write
  • Serial receive/transmit
  • Quadrature encoder
  • On-board accelerometer, magnetometer, and push button(s)
  • SD card logging

The following two examples will help you get started:

Simulink Coder hardware support packages offer built-in, limited, support for specific hardware, schedulers, and compilers. MathWorks Consulting Services is available to help with extensions to other environments.


NXP FRDM-K64F is a low-cost development platform for Kinetis K64 MCUs that is compatible with the Arduino R3 layout. FRDM-K64F is powered by a ARM® Cortex-M processor that runs at 120MHz. It has 1MB of flash memory and provides peripheral connectivity for RGB LED, FXOS8700CQ accelerometer and magnetometer, user push buttons, analog I/O, and digital I/O. Optional sensor, RF, and Bluetooth modules are available.

Platform and Release Support

See the hardware support package system requirements table for current and prior version, release, and platform availability.

View enhancements and bug fixes in the release notes.

Related Hardware Support Views: Aerospace and Defense, ARM, Automotive, Control Systems, C ∕ C++ Code Generation, Embedded Systems, Freescale, MathWorks Supported, Mechatronics, NXP, Power Electronics Control Design, Project-Based Learning, RTOS, Simulink Coder, Simulink Product Family, Support Package Installer Enabled

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package




Support Package


Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.

Get support package





  • Kinetis SDK (Installer will walk you through process of acquiring and installing – it requires an NXP Account)


  • SEGGER Firmware (Improved external mode performance. The support package installer provides this option.)

Don't see the hardware you're looking for?