LPC55S28-EVK USB MSC HS Demo

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

LPC55S28-EVK USB MSC HS Demo

跳至解决方案
1,500 次查看
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 项奖励
回复
1 解答
1,453 次查看
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 项奖励
回复
4 回复数
1,454 次查看
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 项奖励
回复
1,478 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1,471 次查看
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 项奖励
回复
1,469 次查看
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 项奖励
回复