Model Configuration Parameters for STMicroelectronics STM32F746G-Discovery Board
Hardware Implementation Pane Overview
Default Hardware Implementation Pane
Configure hardware board to run Simulink® models.
In the Simulink Editor, select Simulation > Model Configuration Parameters.
In the Configuration Parameter dialog box, click Hardware Implementation.
Set the Hardware board parameter to
STM32F746G-Discovery
.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.
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
Parameter | Description | Default Value |
---|---|---|
Defines how Embedded Coder® responds when you build your model. |
| |
Defines how Embedded Coder sets the drive to download the executable on the hardware board. |
| |
Sets the drive to download the executable. |
|
Clocking
Parameter | Description | Default Value |
---|---|---|
The CPU clock frequency in MHz. |
|
Ethernet
Parameter | Description | Default Value |
---|---|---|
Configures the board to get an IP address from the local DHCP server on the network. |
| |
Defines the local host name. |
| |
Sets the IP address of the board. |
| |
Sets the subnet mask for the board. |
| |
Sets the gateway required to access the target computer. |
| |
Defines the physical network address of the board. |
|
I2C
Parameter | Description | Default Value |
---|---|---|
Defines the rate of data communication between the peripherals connected by the I2C bus. |
| |
The SCL pin for I2C communication. |
| |
The SDA pin for I2C communication. |
|
SPI
Parameter | Description | Default Value |
---|---|---|
Defines the rate of data communication between the peripherals connected by the SPI bus. |
| |
Sets the (SDO) pin that connects the controller output to the peripheral input. |
| |
Sets the (SDI) pin that connects the peripheral output to the controller input. |
| |
Sets serial clock (SCK) pin. |
|
SCI
Parameter | Description | Default Value |
---|---|---|
Defines how fast the data is sent over a serial line. |
| |
Sets the receiving pin of UART. |
| |
Sets the transmitting pin of UART. |
| |
Sets the number of data bits to transmit. |
| |
Sets the type of parity checking to identify low-level errors. |
| |
Sets the number of stop bits to indicate end of a packet. |
|
Modbus
Parameter | Description | Default Value |
---|---|---|
Communication Interface | Type of communication interface that the block will use for Modbus® communication | RS485 |
Mode | Modbus mode of operation | Client |
Server ID | Server device address or identifier | 1 |
Configure Coils | Configure coil register parameters | Selected |
Configure Discrete Inputs | Configure discrete input register parameters | Selected |
Configure Holding registers | Configure holding register parameters | Selected |
Configure Input registers | Configure input register parameters | Selected |
Received timeout (ms) | Maximum time in milliseconds the controller waits for a response from Modbus server | 100 |
RS485
Parameter | Description | Default Value |
---|---|---|
Serial Module | Serial module or port that the block will use for communication | SCI0 |
DE Pin | Data Enable pin number | 8 |
RE Pin | Receive Enable pin number | 9 |
PIL
Parameter | Description | Default Value |
---|---|---|
Sets the interface used for PIL communication. |
| |
Sets the serial port for PIL communication. |
| |
Sets the baud for PIL communication. |
| |
The Ethernet port for TCP/IP communication. |
|
External Mode
Parameter | Description | Default Value |
---|---|---|
Sets the transport layer used to exchange data between host and hardware. |
| |
Sets the serial port on the hardware board. |
| |
Sets to view external mode execution progress and updates. |
|