Serial port
Settings for the serial port for PIL communication
Since R2024b
Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / PIL
Description
Specify the serial port for PIL communication. The target hardware boards include:
STM32F4-Discovery |
STM32F746G-Discovery |
STM32F769I-Discovery |
STM32L475VG-Discovery |
Settings
COM1
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
.
Recommended Settings
No recommendation.
Programmatic Use
No programmatic use is available. |
Version History
Introduced in R2024b
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