Skip to main content
Associate III
March 27, 2024
Solved

Is there a way to communicate between PC(comport) and NUCLEO-H503RB?

  • March 27, 2024
  • 1 reply
  • 1834 views

Hi there, 

I have NUCLEO-H503RB. 

and I want to use comport (uart) between my laptop and H503RB only with usb cable.

I don't want to connect H/W-UART(RX/TX) pins. Is that possible?

 

Thanks,

 

Best answer by Tesla DeLorean

On the PC you'd present as a COM port, on the STM32 you'd manage USB packets with "serial" data

1 reply

Tesla DeLorean
Guru
March 27, 2024

You want to use the ST-LINK's VCP to get USART connectivity

Or use the H5's USB for a CDC Device?

STM32Cube_FW_H5_V1.1.1\Projects\NUCLEO-H503RB\Applications\USBX\Ux_Device_CDC_ACM

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Associate III
March 27, 2024

Thank you for your answer. 

Actually I'm not familiar with USB CDC device.. Can I send/receive the data through this? between PC and NUCLEO board?

 

Thanks,

Luke.  

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 27, 2024

On the PC you'd present as a COM port, on the STM32 you'd manage USB packets with "serial" data

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..