cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cube problem with USB

askari.nima
Associate II
Posted on May 13, 2014 at 20:55

I make a project and USB device CDC .(stm32f4discovery)

compile and run.

when i connect usb , my computer knows Stm32 CDC . but not work,

exclamation in device manager on com16.

i install driver and test by stm32f103 example  and it was work.

1 REPLY 1
arsalan_elec
Associate II
Posted on May 13, 2014 at 22:21

salam nima jan,

If you made the project with cubemx and you are using  fullspeed interface, then you have to change the 

USB_OTG_HS_MAX_PACKET_SIZE    from      512 to 64

in this file:

STM32f4xx_ll_usb.h