AnsweredAssumed Answered

BF 548 USB peripheral BULK transfer - unknown transfer size

Question asked by Johan@Hannes on Jul 19, 2011

Hi everybody,

I would appreciate, if anyone could explain to me how to avoid that  payload have to be known for data transfer.

Using adi_dev_Write(DeviceHandle, BufferType, pBuffer)  from device  driver i 'm used to attach 4 bytes in order to signal bytecount of next data  block. In order to avoid this and omit this additional information i would  prefer to trigger a data transfer without have to supply this info.

since bulktransfer with unknown transfersize(device in peripheral  mode) is required, i was wondering how i could realize  this?

Assume i'm going to use  bulk_adi example from AD.


Thx in advance....



Grüße  Jovan