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 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 TC4x - TriBoards.

  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.

TC49x

StepDisplays the device step for the selected hardware board.

A

Package typeDisplays the device packaging type for the selected hardware.

BGA

Package class

Displays the number of programmable pins for the selected hardware board/microcontrollers. You can set the package class to 436 or 292.

436

Pinout

Displays the pinout type for the selected hardware board. You can set the package class to STD or COM.

STD

Enable CPU#Select the CPU.

disabled

Enable program cache #Select the program cache.

on

Enable data cache #Select the data cache.

off

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

Boot FromOption to specify if the application has to load to the RAM or ROM.

RAM

Use custom linker command file

Indicates that the custom linker command file must be used during the build action.

enabled

Linker file

The path to the memory description file required during linking.

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

400

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