cancel
Showing results for 
Search instead for 
Did you mean: 

usb host over-current detection

shark
Senior
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
1 REPLY 1
mc
Associate
Posted on October 16, 2014 at 12:00

Hi,

You can try to disable SRP interruption..