Main Content

Model Configuration Parameters for NVIDIA Hardware Board

Hardware Implementation Pane Overview

  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 NVIDIA Jetson or NVIDIA Drive.

  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).

Operating system options

ParameterDescription

Base Rate Task Priority

Sets the static priority of the base rate task in the operating system.

Detect task overruns

Indicate when a task overrun occurs in a Simulink model running on the target hardware.

Board Parameters

ParameterDescription

Device Address

Set the IP address of the hardware board on your network.

Username

Set a valid user name of the Linux® operating system on the hardware board.

Password

Set the password of the Linux user name on the hardware board.

Build options

ParameterDescription

Build action

Defines how MATLAB® Coder™ Support Package for NVIDIA® Jetson™ and NVIDIA DRIVE® Platforms responds when you build your model.

Build directory

Build directory for Linux running on the hardware board.

Display

Set the display environment on the hardware board.

CAN

ParameterDescription
CAN Bus Speed (kBit/s)CAN bus speed in kilo bits per second.
Allow All MessagesSelect this parameter to allow all messages.
ID Type 1CAN message frame format for filter 1
Acceptance Mask 1Specify acceptance mask value for filter 1
Acceptance Filter 1Specify acceptance filter value for filter 1
Inverse FilterInverse criterion to pass messages for filter 1
ID Type 2CAN message frame format for filter 2
Acceptance Mask 2Specify acceptance mask value for filter 2
Acceptance Filter 2Specify acceptance filter value for filter 2
Inverse FilterInverse criterion to pass messages for filter 2
ID Type 3CAN message frame format for filter 3
Acceptance Mask 3Specify acceptance mask value for filter 3
Acceptance Filter 3Specify acceptance filter value for filter 3
Inverse FilterInverse criterion to pass messages for filter 3
ID Type 4CAN message frame format for filter 4
Acceptance Mask 4Specify acceptance mask value for filter 4
Acceptance Filter 4Specify acceptance filter value for filter 4
Inverse FilterInverse criterion to pass messages for filter 4

SPI

ParameterDescription
SPI0 CS0 Bus Speed (kHz)Bus speed for SPI0 chip select 0
SPI0 CS1 Bus Speed (kHz)Bus speed for SPI0 chip select 1
SPI1 CS0 Bus Speed (kHz)Bus speed for SPI1 chip select 0
SPI1 CS1 Bus Speed (kHz)Bus speed for SPI1 chip select 1

External Mode

ParameterDescription

Communication interface

Transport layer to use to exchange data between the development computer and hardware

Run external mode in a background thread

Force the external mode engine in the generated code to execute in a background task.

Logging buffer size (in bytes)

The buffer size for logging data in Universal Measurement and Calibration Protocol (XCP)-based External mode.

Port

Port number on the hardware board.

Verbose

Enable view of the external mode execution progress and updates in the Diagnostic Viewer.

Modbus properties

ParameterDescription

Communication Interface

Type of communication interface that the blocks use for Modbus® communication

Mode

Modbus mode of operation

Remote Server IP port number

IP port number of the client device on the TCP/IP network

Local IP port number

IP port number of the server device(s) on the TCP/IP network

Configure Coils

Configure coil register parameters

Configure Discrete Inputs

Configure discrete input register parameters

Configure Holding registers

Configure holding register parameters

Configure Input registers

Configure input register parameters

Receive timeout (ms)

Maximum time in milliseconds the client waits for a response from Modbus server

MQTT

ParameterDescription
Encryption TypeEncryption protocol to use for the entire MQTT communication.
Broker AddressAddress of MQTT broker
PortTCP/IP port to use for the MQTT connection.
CA Server Certificate PathName and location of a file containing root certificates.
UsernameUser name for MQTT broker to authenticate the client.
PasswordPassword for MQTT broker to authenticate the client.
Client IDA unique identifier for the client that is connected to the MQTT broker.