External Mode
Communication interface
Select the transport layer external mode uses to exchange data between the host and the target hardware.
Settings for STM32F4/STM32F746G/STM32F769I-Discovery/STM32F4xx Based
Default:
Serial
Settings for STM32L475VG-Discovery
Default:Serial (using
XCP)
Else select TCP/IP (using XCP)
. The following are
the limitations when executing the model in external mode over TCP/IP
(using XCP).
External mode over TCP/IP is not supported if the model consists of WiFi TCP Receive/Send or ThingSpeak Read/Write blocks.
The model sample time should not be less than 50ms.
Serial port
Enter the serial port that the target hardware uses.
To find the serial port:
Go to Start menu > Control Panel > Device Manager > Ports (COM & LPT).
To expand the ports, that Windows recognizes, click the plus
(+)
sign. The port that you want isSTMicroelectronics STLink Virtual COM Port (COMx)
.x
is the number of the port.For example, if the serial port is labeled as
STMicroelectronics STLink Virtual COM Port (COM1)
, in the Serial port parameter, specify the serial port asCOM1
.
Settings for STM32F4-Discovery
Default:
COM1
Settings for STM32F746G-Discovery
Default:
COM20
Settings for STM32F769I-Discovery
Default:
COM1
Settings for STM32L475VG-Discovery
Default:
COM20
This parameter is enabled only if Communication interface
is set as Serial (using XCP)
.
Logging buffer size (in bytes)
Specify the logging buffer size.
Settings for STM32L475VG-Discovery
Default:
5000
Settings for STM32F4xx Based
Default:
1024
Use a dedicated timer to improve time stamp accuracy
Enable the parameter to use a dedicated timer to improve the time stamp accuracy.
Settings for STM32L475VG-Discovery
Default:
on
Settings for STM32F4xx Based
Default:
on
Verbose
Select this check box to view the external mode execution progress and updates in the Diagnostic Viewer or in the MATLAB® Command Window.
Settings for STM32F4-Discovery
Default:
off
Settings for STM32F746G-Discovery
Default:
on
Settings for STM32F769I-Discovery
Default:
on
Settings for STM32L475VG-Discovery
Default:
on
Settings for STM32F4xx Based
Default:
on
See Also
Model Configuration Parameters for STMicroelectronics STM32F4-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32F746G-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32F769I-Discovery Board | Model Configuration Parameters for STMicroelectronics STM32L475VG-Discovery (B-L475E-IOT01A) Board