USB Buffer Descriptor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB Buffer Descriptor

444 次查看
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.

标签 (1)
0 项奖励
0 回复数