re-enumerate USB on STM32F103
CDC function run normally. But if MCU reboot(For example, USB connect to PC and reboot MCU), USB will not recongnized. It will return to normal if I remove USB then insert it again.
So I want to add re-enumerate function to let device re-enumerate though USB always in PC.
- How to modify the code to realize re-enumerate function?
- I try to set PA12 low to high before USB init. Device cannot run. Maybe blocking
