How to use the LPC55xx USB1 SDK sample.

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

How to use the LPC55xx USB1 SDK sample.

Jump to solution
2,495 Views
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]

Labels (1)
0 Kudos
Reply
1 Solution
2,475 Views
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

View solution in original post

0 Kudos
Reply
8 Replies
2,476 Views
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 Kudos
Reply
2,467 Views
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 Kudos
Reply
2,459 Views
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 Kudos
Reply
2,441 Views
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 Kudos
Reply
2,433 Views
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 Kudos
Reply
2,427 Views
yamakatb
Contributor III

Hello @Alexis_A 

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

Best Regards,

yamakatb

0 Kudos
Reply
1,834 Views
BPSheridan
Contributor I

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

0 Kudos
Reply
1,810 Views
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 Kudos
Reply