Skip to main content
Faiz Ahmed
Associate
Oct 23, 2017 12:33 PM UTC
Question

In STM32F7, for USB_HS mode.. How to Receive data form PC-terminal and same has to Transmit

Posted on October 23, 2017 at 14:33

Hi, I am working with 'STM32F746G DISC' board, In USB_CDC using USB_HS mode, I wanted to Receive the data from PC-Terminal and same has to be transmitted back (echo type), which API's will be needed to develop this application... i generated code using STM32CubeMx but i am not receiving data properly which i entered from terminal.

i used this in main.c

 CDC_Transmit_HS(UserRxBufferHS, sizeof(UserRxBufferHS));

i am getting Garbage data along with valid data.... what should i do?

#usb_cdc #usb_hs #stm32f7 #usb-device
This topic has been closed for replies.