Model Configuration Parameters for NXP FRDM-KL25Z Board

Hardware Implementation Pane Overview

Default Hardware Implementation Pane

Configure hardware board to run Simulink® models.

  1. In the Simulink Editor, select Simulation > Model Configuration Parameters.

  2. In the Configuration Parameter dialog box, click Hardware Implementation.

  3. Set the Hardware board parameter to NXP FRDM-KL25Z.

  4. The parameter values under Hardware board settings are automatically populated to their default values.

    You can optionally adjust these parameters for your particular use case.

  5. Click Apply to apply the changes.

For more information on selecting a hardware support package and general configuration settings, see Hardware Implementation Pane (Simulink).

Build Options

ParameterDescriptionDefault Value

Build action

Defines how Simulink Coder™ responds when you build your model.

Build, load, and run

Clocking

ParameterDescriptionDefault Value

CPU Clock Frequency

The CPU clock frequency in MHz.

48

I2C0

ParameterDescriptionDefault Value

SCL Pin

The SCL pin for I2C communication.

PTB0

SDA Pin

The SDA pin for I2C communication.

PTB1

I2C1

ParameterDescriptionDefault Value

SCL Pin

The SCL pin for I2C communication.

PTE1

SDA Pin

The SDA pin for I2C communication.

PTE0

Timer/PWM

ParameterDescriptionDefault Value

TPM0 Frequency (in Hz)

The frequency for TPM0 timer.

4166

TPM1 Frequency (in Hz)

The frequency for TPM1 timer.

50

TPM2 Frequency (in Hz)

The frequency for TPM2 timer.

4166

UART0

ParameterDescriptionDefault Value

Baud rate (in bits/s)

The baud for UARTx serial interfaces.

115200

Tx Pin

The Tx pin for serial communication.

PTA2 (USBTX)

Rx Pin

The Rx pin for serial communication.

PTA1 (USBRX)

UART1

ParameterDescriptionDefault Value

Baud rate (in bits/s)

The baud for UARTx serial interfaces.

115200

Tx Pin

The Tx pin for serial communication.

PTC4

Rx Pin

The Rx pin for serial communication.

PTC3

UART2

ParameterDescriptionDefault Value

Baud rate (in bits/s)

The baud for UARTx serial interfaces.

115200

Tx Pin

The Tx pin for serial communication.

PTD5

Rx Pin

The Rx pin for serial communication.

PTD4

PIL

ParameterDescriptionDefault Value

Select hardware UART

The target UART port for PIL communication.

UART0

Serial port

The serial port for PIL communication.

COM1

External Mode

ParameterDescriptionDefault Value

Communication interface

Transport layer used to exchange data between host computer and hardware.

Serial

Select hardware UART

The target UART port for external mode communication.

UART0

Serial port

The serial port on the NXP FRDM-KL25Z hardware board.

COM27

Verbose

View external mode execution progress and updates.

on