[数据传输]

usb 同步传输下的异步模式添加反馈端点

[复制链接]
1230|4
手机看帖
扫描二维码
随时随地手机跟帖
不明所以|  楼主 | 2020-1-4 13:37 | 显示全部楼层 |阅读模式
   论坛里的大神你们好,由于usb接收和speaker播放时序不同步,导致播放数据有卡顿情况,我现在想在设备端的usb驱动下添加一个反馈端点,具体不知道如何添加,有懂的吗?

使用特权

评论回复

相关帖子

jinxuan97| | 2020-3-25 10:28 | 显示全部楼层
有进展吗?

使用特权

评论回复
不明所以|  楼主 | 2020-3-25 17:20 | 显示全部楼层

现在,端点描述符回复了,关键处理函数不知道如何编写

使用特权

评论回复
jinxuan97| | 2020-3-30 11:49 | 显示全部楼层
不明所以 发表于 2020-3-25 17:20
现在,端点描述符回复了,关键处理函数不知道如何编写

The principle for USB ISO Synchronization
Refer to USB20, 5.12.4.2 Feedback, Ff is expressed in number of samples per (micro)frame for one channel. The Ff value consists of:
an integer part that represents the (integer) number of samples per (micro)frame and,
a fractional part that represents the “fraction” of a sample that would be needed to match the sampling frequency Fs to a resolution of 1 Hz or better.

Now we can support full-speed endpoints, the Ff value shall be encoded in an unsigned 10.10 (K=10) format which fits into three bytes. (10.14 format.)

使用特权

评论回复
jinxuan97| | 2020-3-30 11:50 | 显示全部楼层
405535e816c8b99fe7.png https://bbs.21ic.com/forum.php?mod=attachment&aid=MTQxNjM1Nnw4Njk4NWZiNWQ0NTVlY2ZmYmU1N2U2OGVhZGQ3YzA1N3wxNzExNjY5NTUw&request=yes&_f=.png

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

8

主题

37

帖子

2

粉丝