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,
Solved! Go to Solution.
Hello @changlin_ren
LPC54628 operate as a USB device or host? By default, it is in active mode. We need to check the code to determine the exact configuration. How about first running a USB demo from the SDK? Then I can help you check it.
BR
Alice
Hello @changlin_ren
LPC54628 operate as a USB device or host? By default, it is in active mode. We need to check the code to determine the exact configuration. How about first running a USB demo from the SDK? Then I can help you check it.
BR
Alice