NXP FRDM-KL25Z Microcontroller Support from Simulink Coder

Use Simulink and Simulink Coder to program your FRDM-KL25Z microcontroller with the TFC-SHIELD to connect servos, motors, and cameras.

The Simulink Coder Support Package for NXP™ FRDM-KL25Z Board 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:

Simulink Coder hardware support packages offer built-in, limited, support for specific hardware, schedulers, and compilers. Please click the Request Hardware Support link if you seek additional hardware support.

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 release notes.

Explore gallery (4 images)