Disabling USB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disabling USB

544件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Muis on Sat Dec 08 05:50:15 MST 2012
I'm developing a datalogger that only needs USB functionality to read out the measurement. Is there a way to completely power off the USB block during measurements? My goal is to be able to save power (and use the USB ram for other purposes). I found the USB_Disable() function, which could be just what Im looking for, but I need some mechanism to detect when a cable is inserted to re-enable USB. How does one do this?
ラベル(1)
  • USB

0 件の賞賛
2 返答(返信)

515件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Muis on Wed Dec 12 03:15:48 MST 2012
There is no host connected when the device starts. I guess the obvious way would be disabling the USB clock/peripheral block, but then I have no way to detect when a cable is inserted anymore?
0 件の賞賛

515件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Tue Dec 11 15:49:37 MST 2012
Try suspending the USB from the host.
0 件の賞賛