LPC54113 USB CDC VCOM building issue

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

LPC54113 USB CDC VCOM building issue

Jump to solution
2,552 Views
asydhom
Contributor II

Hi,

We have a customer trying to implement a USB CDC VCOM app based on the code example "dev_cdc_vcom_bm". The default device configuration is LPCIP3511FS. This is the only configuration that builds and working but with packet size 64 bytes only. When the customer tried to configure different USB IP such as EHCI, KHCI or LPCIP3511HS, he got lot of compiling errors. I did try by myself and was able to see those errors. Is it expected behavior or there is something wrong. The customer wants to increase the end point packet size to 512 bytes instead of the default 64 bytes. 

 

Thanks.

Ayman Sydhom

0 Kudos
Reply
1 Solution
2,518 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @asydhom 

LPC5411x doesn't support high-speed USB, only one full-sped usb interface, so there will be error.

Alice_Yang_0-1698907528022.png

 

BR

Alice

View solution in original post

0 Kudos
Reply
4 Replies
2,473 Views
asydhom
Contributor II

Thanks Alice.

0 Kudos
Reply
2,535 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @asydhom 

Could you please show the detail steps you changed?

 

BR

Alice

0 Kudos
Reply
2,530 Views
asydhom
Contributor II

Hi Alice,

Here are the steps:

  1. Started a fresh version of LPC54113 dev_cdc_vcom_bm code example by clicking New->import SDK example(s) menu. Then selected the LPC54114J256 SDK and board lpcxpresso54114. 
  2. Selected usb_examples then checked dev_cdc_vcom_bm app. The application is generated and new project added to my project list.
  3. I built the default configuration and it built successfully. 
  4. Opened usb_device_config,h file. There are 4 devices configurations in “usb_device_config.h” which are KHCI, EHCI and LPCIP3511LS & LPCIP3511HS., the default configuration is set to LPCIP3511FS. I disabled the default configuration and enabled only LPCIP3511HS as follow:

/*! @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)

   

5. Cleaned the build, then re-build the project. At this point I am getting too many errors 

When I rebuild the application, it produces too 91 errors:

05:41:35 Build Failed. 91 errors, 0 warnings. (took 1s.609ms)

0 Kudos
Reply
2,519 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @asydhom 

LPC5411x doesn't support high-speed USB, only one full-sped usb interface, so there will be error.

Alice_Yang_0-1698907528022.png

 

BR

Alice

0 Kudos
Reply