Main Content

Model Configuration Parameters for NXP FRDM-K64F 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-K64F.

  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. To apply the changes, click Apply.

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

Build Options

ParameterDescriptionDefault Value

Build action

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

Build, load, and run

Firmware

The firmware chosen during the setup to run your model on the board.

mbed's CMSIS-DAP firmware (Default)

Clocking

ParameterDescriptionDefault Value

CPU Clock (MHz)

The CPU clock frequency in MHz.

120

DAC

ParameterDescriptionDefault Value

DAC0 reference voltage

Sets the reference voltage for digital to analog conversion.

DACREF_1

UART0

ParameterDescriptionDefault Value

Baud rate (in bits/s)

Defines the rate at which data is transferred over a serial line.

115200

Tx Pin

Sets the transmitting pin of UART0.

PTB17 (USBTX)

Rx Pin

Sets the receiving pin of UART0.

PTB16 (USBRX)

Parity

Determines whether the UART0 generates and checks for even parity or odd parity.

None

Stop bits

Sets the number of stop bits to indicate end of a packet.

1

UART1

ParameterDescriptionDefault Value

Baud rate (in bits/s)

Defines the rate at which data is transferred over a serial line.

115200

Tx Pin

Sets the transmitting pin of UART1.

PTC4 (D9)

Rx Pin

Sets the receiving pin of UART1.

PTC3 (D7)

Parity

Determines whether the UART1 generates and checks for even parity or odd parity.

None

Stop bits

Sets the number of stop bits to indicate end of a packet.

1

UART2

ParameterDescriptionDefault Value

Baud rate (in bits/s)

Defines the rate at which data is transferred over a serial line.

115200

Tx Pin

Sets the transmitting pin of UART2.

PTD3 (D12)

Rx Pin

Sets the receiving pin of UART2.

PTD2 (D11)

Parity

Determines whether the UART2 generates and checks for even parity or odd parity.

None

Stop bits

Sets the number of stop bits to indicate end of a packet.

1

UART3

ParameterDescriptionDefault Value

Baud rate (in bits/s)

Defines the rate at which data is transferred over a serial line.

115200

Tx Pin

Sets the transmitting pin of UART3.

PTC17 (D1)

Rx Pin

Sets the receiving pin of UART3.

PTC16 (D0)

Parity

Determines whether the UART3 generates and checks for even parity or odd parity.

None

Stop bits

Sets the number of stop bits to indicate end of a packet.

1

Ethernet

ParameterDescriptionDefault Value

Ethernet host name

Defines the local host name.

FRDM_K64F

MAC address

Defines the physical network address of the board.

00-CF-52-35-00-01

Enable DHCP for local IP address assignment

Configures the board to get an IP address from the local DHCP server on the network.

on

Board IP address

Sets the IP address of the board.

192.168.1.102

Subnet mask

Sets the subnet mask for the board.

255.255.255.0

Gateway

Sets the gateway required to access the target computer.

192.168.1.1

External Mode

ParameterDescriptionDefault Value

Communication interface

Transport layer used to exchange data between host and hardware.

Serial

Verbose

View external mode execution progress and updates.

off