Simulink Coder Support Package for NXP FRDM-KL25Z Board

Generate and deploy code for NXP FRDM-KL25Z.
7K Downloads
Updated 13 Nov 2024
Simulink® Coder™ Support Package for NXP™ FRDM-KL25Z Board enables you to create and run Simulink® models on an NXP FRDM-KL25Z board. The support package includes a library of Simulink blocks for configuring and accessing NXP FRDM-KL25Z peripherals and communication interfaces.
This support package includes automated build and execution, processor-optimized code for ARM® Cortex-M, block libraries for on-chip and on-board peripherals, and deployment support using a built-in scheduler.
The supported peripherals for this board are:
  • 14 digital input/outputs
  • 6 analog inputs
  • 1 analog output
  • 3 serial Tx/Rx from three on-board UARTs
  • RGB LED
Additionally, this support package provides a library of blocks to interface with the TFC-SHIELD (purchased separately from the main board). The supported peripherals, when using this shield, include:
  • 2 line scan cameras
  • 1 on-board dipswitch
  • 2 on-board potentiometers
  • 2 on-board push buttons
  • 2 servos
  • 2 DC motors
The following three examples will help you get started:
Related videos:
Simulink Coder hardware support packages offer built-in, limited, support for specific hardware, schedulers, and compilers.
If you have download or installation issues, please contact Technical Support: www.mathworks.com/contact_ts
MATLAB Release Compatibility
Created with R2016b
Compatible with R2016b to R2024b
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!