cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up CubeMX for USB HS CDC (VCP) on STM32F746 Discovery?

Wowa
Associate III

Hello,

After succeeded to run CDC device on FS port, I'm trying to get HS port working in HS mode, as I'm interested in lower latency. But cannot find any simple guide to set it up in Cube. Trying to enable USB_OTG_HS (External Phy = Device_Only), it gives me some errors/warning signs in Peripherals that I'm not sure how to correct. The project generates, builds and runs, but the port is not detected by PC when I plug in the cable into HS socket.

For FS mode, I just configured main Clock from HSE, 48MHz USB clock and CDC_Receive_FS/CDC_Transmit_FS handlers (just to get simple echo mode, i.e. redirect input to output), but in HS it's not that simple. Is there any example available?

Thank you!

0 REPLIES 0