LPC55S28 USB High speed device will automatical enter suspend after enumeration

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

LPC55S28 USB High speed device will automatical enter suspend after enumeration

426 Views
tks11111
Contributor II

Hi,

I am working on a USB high speed project using the dev_hid_mouse_bm template and the LPCXpresso55S28 board.

I modified the descriptor and the endpoint number, and programmed the code to the LPC55S28.

However, the device enters suspend mode and cannot receive any USB packets after enumeration successful.

My goal is to support USB data IN, data OUT, and set/get feature report.

I had do the following test from my own.

1. Base on sample code, and set USB_DEVICE_CONFIG_LPCIP3511HS (1) and 

USB_DEVICE_CONFIG_LPCIP3511FS (0U). mouse cursor can run normally.
2. Add a endpoint out to mouse sample code. mouse cursor can run normally.
3. Change hid report descriptor. Device will enter USB suspend after successful USB enumeration.

 

Could you please help me check if I need to change anything?

I have attached my sample code. Thank you.

Labels (2)
0 Kudos
2 Replies

353 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tks11111 

You can refer to below thread change domo from USB0(FS) to USB1(HS):

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC-ALL-Summary-of-Switching-USB-demo-fr... 

 

BR

Alice 

0 Kudos

396 Views
tks11111
Contributor II

Hi All,

To help you understand this issue better, I have attached the USB log recorded by Device Monitoring Studio.

You may notice that the host gets 0x0 bytes in the end of the log. That is because the device has entered the USB suspend mode.

Please let me know if I can provide anything else that can help with this issue.

BTW, is this issue related to USB compatibility?

0 Kudos