Model Configuration Parameters for STMicroelectronics STM32F746G-Discovery Board

Hardware Implementation Pane Overview

Default Hardware Implementation Pane

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 STM32F746G-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 (Simulink).

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

Clocking

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_F746NG

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

Master output slave input (MOSI) pin

Sets the pin that connects the master output to the slave input.

11

Master input slave output (MISO) pin

Sets the pin that connects the slave output to the master 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

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