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.

EP0(control trnasfer) in DM385 usb device mode tranasfer only 32 bytes rather than 64 bytes

Other Parts Discussed in Thread: DM385

 Hi,

     I am working on DM385 usb camera uvc device gadget mode. In document, it says endpoint 0 in DM385 is able to

transfer 64 bytes. But in actual transferring I can only get 32 bytes from DM385 in my computer. I did post 64  in max

packet size of usb camera descriptor. Are there any other details I should concern? 

  • For USB 2.0, ENDPOINT 0 is capable of transferring max 64 Bytes. If the length of data to be transfered is more than 64B bytes  then only 64Bytes of data can be transfered at a time, However if the length is less than 64Bytes then EP0 will only send "length of data to be transfered" Bytes which is less than 64.

    Please check the length of data on DM385. If there is only 32 Bytes available or 64/>64 Bytes are available to be transfer.

    This knowledge is based on USB 2.0 Protocol and has nothing to do with DM385