I use LPC54628 controller usb0 FS HC connect to a usb device, and it runs 24/7. I was told USB device is configured never go to sleep or deep-sleep, or Deep power-down mode.
The issue is when a USB connection inactive for a long time period, the first usb transfer always failed (kStatus_USB_TransferFailed) after usb reset, communication recovered. Base on user manual, by default, usb0 deep-sleep is sw configured, and Deep power-down mode is "off"
Question:
1. if "deep-sleep" is sw configured, what is by default?
2. could you send me a demo code to explicitly to turn deep-sleep off?
Thank you,