LPC54113 USB CDC VCOM building issue

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

LPC54113 USB CDC VCOM building issue

跳至解决方案
2,500 次查看
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 项奖励
回复
1 解答
2,466 次查看
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 项奖励
回复
4 回复数
2,421 次查看
asydhom
Contributor II

Thanks Alice.

0 项奖励
回复
2,483 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @asydhom 

Could you please show the detail steps you changed?

 

BR

Alice

0 项奖励
回复
2,478 次查看
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 项奖励
回复
2,467 次查看
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 项奖励
回复