Skip to main content
Visitor II
March 12, 2020
Question

STM32f070f6p6 USB CDC VCP, HID (Unknown device- descriptor request failed)

  • March 12, 2020
  • 1 reply
  • 839 views

I tried all possible solutions but still not working...need some enlightenment :)

I am using STM32F070F6P6 china made breakout board

0693W000000Tn0SQAS.jpg

and has no on-board USB circuit so I made it on breadboard. please see attached circuit

I am using default STM32CubeIDE inbuilt MX created HAL driver and USB CDC VCP or HID middleware without any changes so not attaching any code.

STM32CubeIDE version 1.3.0

STM32Cube FW_F0 V1.11.0

Error: Unknown USB Device (Device Descriptor Request Failed)

Error Code: 43

Schematic

0693W000000Tn2JQAS.jpg

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 15, 2020

    Hello @VPal.1​ ,

    Follow this FAQ: USB device not recognized, it may help you.

    Also try changing CDC_DATA_HS_MAX_PACKET_SIZE in usbd_cdc_if.h (like in this thread),  

    #define CDC_DATA_HS_MAX_PACKET_SIZE        64 /* Endpoint IN & OUT Packet size */

    Best Regards,

    Imen