How to use the LPC55xx USB1 SDK sample.

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

How to use the LPC55xx USB1 SDK sample.

跳至解决方案
2,301 次查看
yamakatb
Contributor III

I want to use dev_msc_ramdisk_bm of LPCXpresso55S16SDK with USB1 (USB high speed mode) of custom LPC5514Board.

It seems that kUSB_DeviceEventBusReset is recognized, but kUSB_DeviceEventGetDeviceDescriptor is not recognized.
The changes from the SDK are only the following items except for the file for LPC5514. Is there anything else I should change?

Also, is it correct to think that an interrupt will occur when recognizing kUSB_DeviceEventGetDeviceDescriptor?

<usb_device_config.h>
/ *! @brief LPC USB IP3511 FS instance count * /
#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)

/ *! @brief LPC USB IP3511 HS instance count * /
#define USB_DEVICE_CONFIG_LPCIP3511HS (1U) /* use */

Details Details
Device : LPC5514SDK Version: 2.9.0 (released 2021-01-15)
Host OS : Windows
Toolchain : IAR Embedded Workbench for ARM
Connecter : USB Type-C
clk_in : 16 [MHz]
main_clk : 120 [MHz] (default)
USB1-HS PHY : 16 [MHz]

标签 (1)
0 项奖励
回复
1 解答
2,281 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @yamakatb,

That should be enough to enable the high-speed port, have you test this in one of our development boards to discard a hardware problem?

Best Regards,

Alexis Andalon

在原帖中查看解决方案

0 项奖励
回复
8 回复数
2,282 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @yamakatb,

That should be enough to enable the high-speed port, have you test this in one of our development boards to discard a hardware problem?

Best Regards,

Alexis Andalon

0 项奖励
回复
2,273 次查看
yamakatb
Contributor III

Hello @Alexis_A,

The LPCXpresso55S16SDK works fine with a USB connected to the J4.

When I connected the custom board via USB in ISP mode, it seemed to recognize it as a HID device.

Best Regards,

Alexis yamakatb

0 项奖励
回复
2,265 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @yamakatb,

If you check in Table 190 in the RM, you will find the different boot options for the LPC55s16 and as you mention, one of them is the USB HID.

This is the only class that the internal bootloader support.

Best Regards,

Alexis Andalon

0 项奖励
回复
2,247 次查看
yamakatb
Contributor III

Hello @Alexis_A,

I understand boot options.

Because the ISP by this USB HID class can be recognized by Device Manager I thought I could get rid of the hardware problem, is that wrong?

Best Regards,

yamakatb

0 项奖励
回复
2,239 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @yamakatb,

I think I'm not understanding the problem, could you clarify what is the problem?

Best Regards,

Alexis Andalon

0 项奖励
回复
2,233 次查看
yamakatb
Contributor III

Hello @Alexis_A 

It is solved.
Some IDE symbols were missing.
Thank you for your cooperation.

Best Regards,

yamakatb

0 项奖励
回复
1,640 次查看
BPSheridan
Contributor I

Could you please post the changes you made to fix the problem here?

0 项奖励
回复
1,616 次查看
yamakatb
Contributor III

@BPSheridan 

It was caused by not declaring the definitions required to use the SDK. In the case of EWARM, it is the part of the image.

Screenshot.png

0 项奖励
回复