Skip to main content
arduo
Associate III
Jan 21, 2019 10:02 AM UTC
Question

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

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

This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
Jan 21, 2019 1:13 PM UTC

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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
arduo
arduoAuthor
Associate III
Jan 23, 2019 10:51 AM UTC

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
Jan 23, 2019 11:40 AM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Piranha
Principal III
Jan 23, 2019 10:55 AM UTC

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

arduo
arduoAuthor
Associate III
Jan 23, 2019 10:58 AM UTC

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