LPC54113 USB CDC VCOM building issue

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

LPC54113 USB CDC VCOM building issue

ソリューションへジャンプ
2,557件の閲覧回数
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,523件の閲覧回数
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,478件の閲覧回数
asydhom
Contributor II

Thanks Alice.

0 件の賞賛
返信
2,540件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @asydhom 

Could you please show the detail steps you changed?

 

BR

Alice

0 件の賞賛
返信
2,535件の閲覧回数
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,524件の閲覧回数
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 件の賞賛
返信