cancel
Showing results for 
Search instead for 
Did you mean: 

Configure UART3 on NUCLEO-H7S3L8 Board for use with ST-Link VCP

Shreayas_Acharaya
Associate III

Title edited to reflect the correct board used. Changed from NUCLEO-H7A3ZI-Q to NUCLEO-H7S3L8.

Hi,
I’m trying to set up UART communication using UART3 on the NUCLEO-H7A3ZI-Q board. I have the UART3 pins (PD8 and PD9) connected to the ST-Link VCP on this board.

Do I need an external USB-UART converter to communicate through other UART pins, or should the onboard ST-Link handle the UART3 communication through VCP?
It's showing USART3 is not available.

Shreayas_Acharaya_0-1732541453113.png

 

I’m new to this board, so I want to confirm if there’s anything I might be missing in the configuration or connections. Any guidance would be appreciated!

Thanksin advance!

12 REPLIES 12

@Shreayas_Acharaya wrote:

Also, please clarify what this mean:


Is it this part that you're asking about:

AndrewNeil_2-1732704743344.png

Those are just the settings that you'd need for any UART link.

https://learn.sparkfun.com/tutorials/serial-communication/all

  • Baud rate (aka "speed") = 115200 bits per second (bps)
  • Number of data bits: 8
  • Parity: None (no parity bit)
  • Number of Stop bits: 1
  • Flow control: None (neither any "hardware" option nor any "software" option)
 

AndrewNeil_1-1732706774683.png

 

These are the settings that you always need to make whenever you connect any PC software to any COM port - virtual or otherwise.

For example, in TeraTerm:

AndrewNeil_1-1732704529760.png

In Device Manager:

AndrewNeil_3-1732704849896.png

Or at a "DOS Prompt":

AndrewNeil_4-1732705231085.png

 

So all exactly the same as you would for a real COM port, or any other USB-to-UART device (FTDI, in the above examples).

Your microcontroller code also needs to match these settings (hopefully, CubeMX does this for you).

 

SofLit
ST Employee

Hello,

As a workaround, go to the Bsp menu and activate the Virtual Com port then deactivate it , then go back to USART3 under connectivity and you will be able to configure it. 

SofLit_0-1732705241412.png

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

Thank you, Neil, for clarifying.