Main Content

Model Configuration Parameters

Update the configuration parameters for a Simulink® model that you create, before simulating or deploying the model to the controller.

In the Simulink window, click Hardware Settings in the HARDWARE tab to open the Configuration Parameters dialog box and select the target hardware in the Hardware board field. You can also press Ctrl+E to open the Configuration Parameters dialog box.

Hardware Settings

Hardware Implementation Pane Overview

Configuration Parameters

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 Infineon AURIX TC3x.

  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.

Design Mapping

The Hardware Mapping tool allows you to configure the software tasks and peripherals on the selected hardware board.

  • In this tool, you can map the tasks in your software model to the available event sources and interrupts. The sources of events or interrupts depend on the choice of hardware board and peripherals available in the model.

  • In this tool, you can configure the peripheral by setting hardware specific parameters. The available parameters depend on the selected hardware board for the model and the peripheral.

For more information, see Hardware Mapping.

ParameterDescriptionDefault Value
View/Edit Hardware Mapping

Map tasks and peripherals in a model to hardware board configurations

not applicable

Target hardware resources

Device

ParameterDescriptionDefault Value
SeriesDisplays the device series for the selected hardware board.

TC37x

StepDisplays the device step for the selected hardware board.

A

Package typeDisplays the device packaging type for the selected hardware.

LQFP

Package class

Displays the number of programmable pins for the selected hardware board/microcontrollers.

176

Build Options

ParameterDescriptionDefault Value
Build action

Define how Embedded Coder® responds when you build your model.

Build, load, and run

Disable parallel build

Select to compile the generated code and driver source codes in parallel order for faster build and deployment speed.

off
Enable force rebuild of static library

Select to force rebuild of the static driver library.

off

Enable program cache #Select the program cache.

on

Enable data cache #Select the data cache.

off

Clocking

ParameterDescriptionDefault Value

External oscillator (MHz)

Oscillator frequency used in the processor.

20

CPU Clock (MHz)

CPU clock frequency of the microcontrollers on the target hardware

300

Connectivity

ParameterDescriptionDefault Value
Connectivity interface

Select the type of communication interface for simulation.

Serial (ASCLIN0)
Port

Select the serial communication interface module.

empty
Baud RateSelect the baud rate of the serial communication port.921600

External mode

ParameterDescriptionDefault Value
Communication interface

Select the transport layer External mode uses to exchange data between the host computer and the target hardware

Serial
Verbose

Select Verbose to view the External mode execution progress and updates.

off