Serial port
Enter the serial port that the target hardware uses
Since R2024b
Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Connectivity
Description
Enter the serial port that the target hardware uses.
Settings
USART3 |
USART1 |
USART2 |
UART4 |
UART5 |
USART6 |
UART7 |
UART8To 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).xis 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