When to use USB_CDC_VCOM_BM and USB_CDC_VCOM_BM_Lite?

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

When to use USB_CDC_VCOM_BM and USB_CDC_VCOM_BM_Lite?

323 Views
madhubanti
Contributor III

Hello

 

I am trying to use the USB SDK example for the LPC5536 mcu. I want to know what is the difference between the usb_cdc_vcom_bm example from the usb_cdc_vcom_bm_lite version?

 

I am using the lite version, for my application but the message transmission is different on different laptops. Please help me in understanding the significance of the two example sdks.

0 Kudos
Reply
1 Reply

266 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi madhubanti,

USB_CDC_VCOM_BM provides full CDC class support while dev_cdc_vcom_lite_bm is a lite version which can only provide basic CDC function.

For example, if we look into the code, the lite version uses USB_DeviceInit() to do USB device initialization.  While non-lite version uses USB_DeviceClassInit(). 

If the MCU resources are limited for your application or user only needs to utilize basic CDC communication,  we recommend lite version. 

If you need stable data transportation, full USB CDC class support and the on-chip memory is sufficient, we  recommend non lite version.

Jun Zhang

0 Kudos
Reply