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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,033 次查看
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,

标签 (3)
0 项奖励
回复
1 解答
1,000 次查看
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 项奖励
回复
3 回复数
1,001 次查看
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 项奖励
回复
964 次查看
changlin_ren
Contributor II
LPC54628 operate as a USB host

"By default, it is in active mode." I think this is the answer I need. Thanks
0 项奖励
回复
1,015 次查看
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 项奖励
回复