Main Content

Serial port connectivity

Settings for the serial port for connectivity

Since R2024b

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Connectivity

Description

Specify the serial port for connectivity The target hardware boards include:

STM32F4xx-Based
All STM32Fxxx, STM32Gxxx, STM32Hxxx, STM32Lxxx, STM32Uxxx, STM32WBxxx Based Boards

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