lpcware

Disabling USB

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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?

Outcomes