LPC4357 USB port 0 as host suddenly disables

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by michele sponchiado on Fri Mar 11 06:38:37 MST 2016
Hi I am experiencing a random problem when reading files from an USB stick: sometimes, the reading from USB stops, and when his happens I find the PE bit in the PORTSC1_H register of the USB reset to 0.
I am currently using lpcUSBlib, and when the problem arises, I have found no way to reset the USB back to work mode.
This happens in a repetitive manner with some USB stickd; the same files copied in a different USB stick would give no problem...
Is there any easy way to diagnose/reset the USB when the Port Enable bit resets to zero?
Any other hints?