LPC55S28-EVK USB MSC HS Demo

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

LPC55S28-EVK USB MSC HS Demo

Jump to solution
1,490 Views
fingew
Contributor II

I am attempting to use the example in the SDK, "usb_device_msc_disk", with my LOPC55S28-EVK board.  The example works fine in full-speed.

However, I would like it to work in high-speed.  If I edit the file "usb_device_config.h" and change USB_DEVICE_CONFIG_LPCIP3511FS  to 0 and USB_DEVICE_CONFIG_LPCIP3511HS to 1, the PC attempts to connect to the board via the HS connection (P9), but fails and gives and error (device not recognized).

Is there another setting I need to change for this to work?

Alternatively, is there another example in the SDK that works with HS interface?  They all seem to be configured for FS by default.

0 Kudos
Reply
1 Solution
1,443 Views
fingew
Contributor II

I figured out the problem.  I didn't have __usb_use_usbram__=1 in my linker settings, and so the application silently failed.

View solution in original post

0 Kudos
Reply
4 Replies
1,444 Views
fingew
Contributor II

I figured out the problem.  I didn't have __usb_use_usbram__=1 in my linker settings, and so the application silently failed.

0 Kudos
Reply
1,468 Views
Alice_Yang
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
1,461 Views
fingew
Contributor II

Alice,

Thank you for your response.  The only text the UM has regarding USB on this EVM is this:

fingew_0-1672759008195.png

Since I'm not using Host mode, I have long since removed J6.  I also removed R84 (the pulldown in the VBUS detection circuit) which was populated on my board:

fingew_1-1672759270126.png

 

Any other hints?  I've tried two demo projects thus far and both have yielded the same failure.

Regards,
Bill

0 Kudos
Reply
1,459 Views
fingew
Contributor II

For an additional datapoint, I added some logging to the USB_DeviceCallback(), and the high speed enumeration gets stuck on the event kUSB_DeviceEventBusReset.

0 Kudos
Reply