Skip to main content
arduo
Associate III
January 21, 2019
Question

How to transmit from PC to STM32 to UART without USB to UART converter?

  • January 21, 2019
  • 2 replies
  • 1998 views

How can i transmit data through usb fs without ftdi usb to uart converter?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 21, 2019

Be a CDC/VCP Device? See USB Device/Host Examples in HAL trees

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
arduo
arduoAuthor
Associate III
January 23, 2019

i use the cdc standalone i can send data to usart tx and measure the right output but how can i manage the same functions with my mcu like the ftdi pl2303A

Tesla DeLorean
Guru
January 23, 2019

FTDI does not make Prolific parts.

Dont understand what "same function" is in this context. It is not going to act like a USART peripheral. You're going to want to manage the data into a buffer, and have routines to process and consume it from the buffer. Ie check a FIFO / ring buffer, not spin for RXNE ​

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

Clive already said it - program STM32 to be a USB CDC/VCP device.

arduo
arduoAuthor
Associate III
January 23, 2019

i programed it but the same thing which works for me with pl2303 ftdi( usb to uart port) is not working with my mcu via usart3