cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f469 discovery USB HOST CDC

Abhishek_nr
Associate II

Moved from the Motor Control forum as this has nothing to do with motor control.


i am using stm32f469 discovery with architecture um1932, in MX i configured for Host only host CDC class for full speed (FS) my clock configuration is also correct (48mhz for USB) also i codded to transmit data to USB device which is motor controller , i am getting application ready state and USB_OK state after transmitting some data over USB but the device is not responding, what will be the reason. but when i do the same by using stm32f469i example code provided by stm it is working .

i need to check the HOST is transmitting or not how can i ensure this. please someone suggest me what are the procedure i need to follow for configuring and debugging the USB HOST CDC

1 REPLY 1
Imen.D
ST Employee

Hello @Abhishek_nr ,

Did you enable USB Host: "USB_OTG_FS" in Host mode?

Make sure to configure the USB Host CDC Class:

  • In the "Middleware" section, enable "USB_HOST".
  • Select "Class for FS IP" and choose "Communication Device Class (CDC)".

You can check and follow the video of USB training: STM32 USB training - 11.1 USB VCP host labs

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen