LPC55S28-EVK USB MSC HS Demo

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S28-EVK USB MSC HS Demo

ソリューションへジャンプ
1,495件の閲覧回数
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,448件の閲覧回数
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,449件の閲覧回数
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,473件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
1,466件の閲覧回数
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,464件の閲覧回数
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 件の賞賛
返信