AnsweredAssumed Answered

Issue with USB 4.0.3 CDC example

Question asked by pedropol on Jan 30, 2013
Latest reply on Feb 3, 2013 by pedropol



I used the example from  Freescale USB Stack v4.0.3\ProcessorExpert\Examples\Device\CDC\USB_CDC_DEVICE_JF128_PEx to make a CDC device with a TWR-MCF51JF128.

The example work fine when TWR receive a byte from UART and send to USB using

status= USB_Class_CDC_Interface_DIC_Send_Data(CONTROLLER_ID, g_curr_send_buf,size);


with size=1


but when size =16 no one byte is sent.


status result is USB_OK .


g_curr_send_buf seems set in queue


Callback function returns 216 bytes sent", but nothing is transmitted by USB


Reception works fine with 16 bytes.


Anyone knows what could be happening?




I need send AES encrypted data in 16 bytes blocks