Associate III
September 28, 2014
Question
usb host over-current detection
- September 28, 2014
- 1 reply
- 810 views
Posted on September 28, 2014 at 11:46
STM32f407 + usb3300, work in host mode, some high speed usb devices work very well. However, I try for some days to detect vbus over-current, but failed. Has anybody implement it successfully?
My hardware logic is in attached file. My software is as followings.globle reigster GUSBCFG=0x21301410, the lower 16bits is hw default, the higher 16 bits meaning: force host mode, indicator pass through, external vbus indicator external vbus driver,port status is 0x00001005, and interrupt is always enabled.I try all measures, even short-circult vbus to ground to try to make a over-current condition, but nothing happens in usb core register and software interrpt. #usb-host