Since we are using first revision chips of the LPC4357 (in stead of B-revision), USB0 is not working anymore. During initialization of the USB device-controller, the VD bit of the OTGSC register has been set. That means that VBUS is beeing discharged. Resetting this bit afterwards will cause VBUS to go high again, but still won't connect to USB. USB-ROM stack versions are still the same.
Does anyone know what might happen here? Can some configuration be done prior to initialization?
Thanks in advance
Hi ReinierdHeijer
I guess you use RevA? I suggest you using USBD Library for LPC4300/LPC1800 series MCUs
https://www.nxp.com/docs/en/application-note/TN00041.zip
Thanks,
Jun Zhang
Hello Jung Zhang,
Thank you for your reply! I'm using Rev- (init revision) chips currently.
I'll try to update the USBD driver stack with the updated version as suggested in the paper.
Hope it will work again.
Kind regards,
Reinier