2021-10-02 03:19 AM
I'm using usb vcp for my project on STM32F407VET6.
I had a XCORE407i board with a STM32F407IGt6 and when I connected it's HS usb to the PC, the "hUsbDeviceHS.dev_state" was changed to "USBD_STATE_CONFIGURED" and after disconnecting the cable, the state was changed to "USBD_STATE_SUSPENDED".
but now I designed my own board and the problem is most of the time, the STM32F407VET6 can't find out the disconnection of the USB and the state is stock on "USBD_STATE_CONFIGURED".
I checked my schematic with the XCORE407i and the only difference is the mic2075 ic that i don't use because my device is only a device on the bus. can somebody help me with this?
I don't know if it is a hardware problem or i have done something wrong !
2021-10-04 11:53 AM
Hello @MVV.1 ,
Referring to the reference manual of your product and check the following config:
Hope this helps you!
Please keep us informed about your update.
Imen
2021-11-01 02:21 AM
Hi @MVV.1 ,
Were you able to resolve the issue you described here? If yes, it will be interesting to share with us the solution you found.
Then please mark the answer as best to close this post, as this will help other users find that answer faster.
Imen