EVOLUTE LPC55S16 HS-USB ISSUE CRITICAL

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

EVOLUTE LPC55S16 HS-USB ISSUE CRITICAL

730 Views
Adarsh1
Contributor I

 we need the functionality of USB. they are using "lpcxpresso55s16_dev_composite_cdc_vcom_cdc_vcom_lite_bm". where as we are using HS-USB. As per recomended which is only used for USB - Field Programming not FS-USB. If we change the code to HS-USB it's not working in O2 optimize, kindly look into the code and give us solution.

in addition to this we tested 

lpcxpresso55s16_dev_cdc_vcom_bm SDK Code we are getting the error in serial as shown in the attached EVOLUTE HS o2 Optimization.jpg

0 Kudos
Reply
3 Replies

722 Views
Adarsh1
Contributor I

Dear Jun Zhang,

Thanks for quick response, because this is critical project,

We are testing "lpcxpresso55s16_dev_composite_cdc_vcom_cdc_vcom_lite_bm" with O2 optimization with this SDK example HS USB we are testing we are seeing both the serial terminal disconnected, but O0 optimization both serial terminal are connected.

0 Kudos
Reply

725 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Adarsh1 

Normally the default demo code is FS USB. To change to HS USB: 

Chang file :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)

 

Did you do the same? 

If yes, How if works with default optimization level (-O0)? Do you mean this problem occurs when optimization change from -O0 to -O3?

Did you test O1 and O2?

Please let me know your testing result, I could get a board to test it later.

Thanks,

Jun Zhang

 

0 Kudos
Reply

716 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

1. Did you test O1 and O2?

2. Please test the demo with O3 on latest SDK2.12.0, as far as I know it fixed some problem of previous versions, including USB samples.

0 Kudos
Reply