Skip to main content
Visitor II
January 10, 2025
Solved

stm32f469 discovery USB HOST CDC

  • January 10, 2025
  • 1 reply
  • 612 views

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

    This topic has been closed for replies.
    Best answer by Imen.D

    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

    1 reply

    Imen.DAnswer
    Technical Moderator
    January 10, 2025

    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