USB Buffer Descriptor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Buffer Descriptor

433 Views
salman83
Contributor II

Hi,

 

I have a question regarding usb buffer descriptor. I setup one bulk IN endpoint (with max. packet size 64 bytes) on my MCF52259. Now I want to send a stream of data through it. According to USB specs, DATA0/DATA1 are used for synchronization purposes only. Now, if I have set two buffers simultaneously in EVEN and ODD buffer descriptors for better throughput. With even buffer descriptor set to DATA0 and odd buffer descriptor set to DATA1.

 

If an error comes up on DATA0 or I have to send it again, then obviously I need to send it on DATA1. Then my question is that how would I maximize the throughput as I can't send the second buffer as the first one is not completed.

 

Regards.

Labels (1)
0 Kudos
0 Replies