2015-09-29 11:28 AM
Hi,
i'm working for usb project with ST32F072 with your example STM32Cube_FW_F0_V1.3.0 (CDC STANDALONE).I'm trying to simulating a USB disconnect with USBD_DeInit ( &USBD_Device ), but apparently not work ( for PC the USB device is connected).It's possible to know the way to reset all USB parts (software and hardware) , like a real cable disconnect ?Sorry for my english !
2015-09-29 01:22 PM
Your english is fine.
On a previous project, with a processor from another manufacturer who I refuse to advertise for, we took Vbus and brought it into a DIO bit. When the device was unplugged, the DIO would change state and we would tear down the USB stack.I hope this helps.Ciao,Andrei from The Great White North2015-09-30 02:22 AM