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,036件の閲覧回数
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,003件の閲覧回数
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,004件の閲覧回数
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 件の賞賛
返信
967件の閲覧回数
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,018件の閲覧回数
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 件の賞賛
返信