This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USBDBulkPacketWrite - Transferring data from array



Hi,

I am trying to use USBDBulkPacketWrite instead of USBdataWritten, but I don't get how you can properly call the function, I tried :

USBDBulkPacketWrite(&g_sBulkDevice,g_pui8USBTxBuffer,512,1);

where g_pui8USBTxBuffer is the array that contain the Data. When using the USB, no data is transferred to the PC.