LPC54628 usb0 FS HC transfer failed after a USB connection inactive for a long

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54628 usb0 FS HC transfer failed after a USB connection inactive for a long

46 Views
changlin_ren
Contributor II

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,

Labels (3)
0 Kudos
Reply
2 Replies

13 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
Reply

28 Views
changlin_ren
Contributor II
rewrite the issue:
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
0 Kudos
Reply