stm32cube problem with USB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-05-13 11:55 AM
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.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-05-13 1:21 PM
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