Main Content

Model Configuration Parameters for STMicroelectronics STM32F769I-Discovery Board

Hardware Implementation Pane Overview

Default Hardware Implementation Pane

Configure the 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 STM32F7469I-Discovery.

  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 Embedded Coder® responds when you build your model.

Build, load, and run

Set host drive

Defines how Embedded Coder sets the drive to download the executable on the hardware board.

Automatically

Drive

Sets the drive to download the executable.

F:

Clocking

ParameterDescriptionDefault Value

CPU Clock (MHz)

The CPU clock frequency in MHz.

216

Ethernet

ParameterDescriptionDefault Value

Enable DHCP for local IP address assignment

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

on

Ethernet host name

Defines the local host name.

DIS_F769NI

Board IP address

Sets the IP address of the board.

192.168.1.10

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

MAC address

Defines the physical network address of the board.

A8-63-F2-80-90-80

I2C

ParameterDescriptionDefault Value

Bus speed (in Hz)

Defines the rate of data communication between the peripherals connected by the I2C bus.

100000

Serial clock (SCL) pin

The SCL pin for I2C communication.

D15

Serial data (SDA) pin

The SDA pin for I2C communication.

D14

SPI

ParameterDescriptionDefault Value

Bus speed (in Hz)

Defines the rate of data communication between the peripherals connected by the SPI bus.

1000000

Serial data out (SDO) pin

Sets the (SDO) pin that connects the controller output to the peripheral input.

11

Serial data in (SDI)

Sets the (SDI) pin that connects the peripheral output to the controller input.

12

Clock (SCK) pin

Sets serial clock (SCK) pin.

13

SCI

ParameterDescriptionDefault Value

Baudrate (in Hz)

Defines how fast the data is sent over a serial line.

115200

Receive pin

Sets the receiving pin of UART.

USBRX

Transmit pin

Sets the transmitting pin of UART.

USBTX

Data bits length

Sets the number of data bits to transmit.

8

Parity

Sets the type of parity checking to identify low-level errors.

None

Stop bits

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

1

Modbus

ParameterDescriptionDefault Value
Communication InterfaceType of communication interface that the block will use for Modbus® communicationRS485
ModeModbus mode of operationClient
Server IDServer device address or identifier1
Configure CoilsConfigure coil register parametersSelected
Configure Discrete InputsConfigure discrete input register parametersSelected
Configure Holding registersConfigure holding register parametersSelected
Configure Input registersConfigure input register parametersSelected
Received timeout (ms)Maximum time in milliseconds the controller waits for a response from Modbus server100

RS485

ParameterDescriptionDefault Value
DE PinData Enable pin number8
RE PinReceive Enable pin number9

PIL

ParameterDescriptionDefault Value

PIL communication interface

Sets the interface used for PIL communication.

Serial

Serial port

Sets the serial port for PIL communication.

COM1

PIL Baud Rate

Sets the baud for PIL communication.

115200

Ethernet port

The Ethernet port for TCP/IP communication.

17725

External Mode

ParameterDescriptionDefault Value

Communication interface

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

Serial

Serial port

Sets the serial port on the hardware board.

COM1

Verbose

Sets to view external mode execution progress and updates.

on