Does any body have a good example of CDC.
The one sample code that comes with 5535 only accepts 1 byte.
I did modify it to take mutiple bytes by changing the below function. But something is wrong in reading multiple bytes in the CSL layer
CDC_bulkOutHandler function
// make sure we have enough space to save the RX data
//if ((cdcAppHandle->rxEndIdx-cdcAppHandle->rxStartIdx+usb_income_num_bytes)<CSL_USB_CDC_DATA_BUF_SIZE)
if (usb_income_num_bytes<CSL_USB_CDC_DATA_BUF_SIZE)
{
if (usb_income_num_bytes!=1)
{
printf(
"S: USB RX multiple bytes\n");
}
status = USB_postTransaction(pContext->hEpObjArray[2], usb_income_num_bytes,
&tempWord,