主要内容

Model Configuration Parameters

Model configuration parameters control model behaviour, simulation, code optimizations, interfaces, code style, build options, and other aspects of the generated code. When you create a new model, it contains the default configuration set that specifies the default values for the model configuration parameters. You can view and update the configuration parameters by following these steps.

Hardware Implementation Pane Overview

Default Hardware Implementation Pane

Configuration parameters

Configure hardware board to run Simulink® models.

  1. In the Simulink Editor, select Modeling > Model Settings.

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

  3. Set the Hardware board parameter to Renesas RA6 Based.

  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.

Hardware Board Settings

ParameterDescriptionDefault Value

Device Series

Select the device series for the Renesas RA6 hardware board.

RA6T2

Processing Unit

Select the processing unit for the device series.

Cortex-M33

Simulation Settings

ParameterDescriptionDefault Value

Set random number generator seed

Enable to set a seed value for the random number generator.

Off

Seed value

Specify the seed value for the random number generator.

default

Cache input data at task start

Enable to cache input data at the start of each task.

Off

Project folder

Specify the project folder for simulation data and files.

Soc_prj

Browse

Browse to select the RASC file.

 

Build options

ParameterDescriptionDefault Value

Build action

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

Build, load, and run

RASC project file

Select the RA Smart Configurator project file.

<Select RA Smart Configurator>

Browse

Browse to select the RASC project file.

 

Create

Create a RA Smart Configurator project for a Renesas RA6 Based hardware board.

 

Launch

Click to launch RA Smart Configurator tool.

 

Device ID

Displays the device id.

<empty>

Programmer

ParameterDescriptionDefault Value

Communication interface

Select the programming interface.

SWD

Auto select hardware

Automatically selects the hardware.

on

Select hardware

Select the hardware. 

Refresh

Refreshes the list of available hardware. 

Clocking

ParameterDescriptionDefault Value

CPU Clock (MHz)

The CPU clock frequency in MHz.

240

Connectivity

ParameterDescriptionDefault Value

SCI/USART

Select the UART interface.

r_sci_b_uart

Channel

Select the UART channel.

9

COM Port

Select the COM port for communication.

COM1

External Mode

ParameterDescriptionDefault Value

Communication interface

Sets the transport layer used to exchange data between host and hardware.

XCP on Serial

Verbose

Sets to view external mode execution progress and updates.

on

Set logging buffer size automatically

Automatically set the number of bytes to preallocate for the buffer in the hardware during simulation.

on