Skip to main content
Visitor II
April 6, 2020
Question

Trouble with USB FS CDC on STMf3discovery. initialization problem.

  • April 6, 2020
  • 0 replies
  • 358 views

Hello

I generated project with cubeMX. When I fired it up PC recognizec STM32 Board as virtual COM. But it would never work. When I used Transmit function it would always freeze on USBD_BUSY

Now what I have found is that when I do initialization it never gets do Configured mode, rather it gets into USBD_Default. Have no idea why

Then I generated HID project, with exact same settings (I know heap and stack sizes issue). It worked perfectly. It went to USBD_Configured immediately.

What could be causing CDC mode to do in Default and not get assigned address and everything?

    This topic has been closed for replies.