2024-11-25 05:33 AM - last edited on 2024-11-27 03:09 AM by Andrew Neil
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.
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!
Solved! Go to Solution.
2024-11-27 02:54 AM - edited 2024-11-27 03:28 AM
@Shreayas_Acharaya wrote:Also, please clarify what this mean:
Is it this part that you're asking about:
Those are just the settings that you'd need for any UART link.
https://learn.sparkfun.com/tutorials/serial-communication/all
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:
In Device Manager:
Or at a "DOS Prompt":
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).
2024-11-27 03:02 AM - edited 2024-11-27 04:38 AM
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.
2024-11-27 04:18 AM
Thank you, Neil, for clarifying.