Main Content

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:

  1. Go to Start menu > Control Panel > Device Manager > Ports (COM & LPT).

  2. To expand the ports, that Windows recognizes, click the plus (+) sign. The port that you want is STMicroelectronics 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 as COM1.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b