Bulk传输是否可以被Interrupt传输打断?

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
XY_772
Level 1
Level 1
First reply posted First question asked First like given

我用win10电脑与FX3设备进行通信,需要用Bulk传输从FX3读取大批量数据,但同时每100ms需用Interrupt EP去读取少量数据,驱动使用的Cypress的。

想问一下Bulk传输过程中,发起中断传输,这次中断传输事务会打断当前的Bulk传输嘛?

0 点赞
1 解答
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

中断不应该被BULK相关的切换影响。USB的Host端规划USB的请求。FX3将基于数据的获取来响应USB的请求。

The interrupt transfers should not be affected by BULK transfers.  The USB host schedules the USB requests. Fx3 will respond to the requests based on the availability of the data

Regards,
Rashi

在原帖中查看解决方案

3 回复数
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

From the description, I understand that you want BULK and Interrupt transfers.

Yes, it would be possible to transfer data over USB on Interrupt and BULK endpoints. FX3 will send/ receive the data based on the USB requests from the host.

Please let us know the application in detail so that we can help you better.

Edited: 

Hello,

根据内容来看,大概是关于BULK和中断之间的切换问题。
是的,中断和BULK Endpoints的USB数据传输有可能切换。FX3将根据Host端的USB请求发送/接收数据。
请告知我们更多细节以便我们提供更多帮助

Regards,
Rashi
0 点赞
XY_772
Level 1
Level 1
First reply posted First question asked First like given

Hello @Rashi_Vatsa 

Thank you for reply.

There are two interrupt endpoints and one bulk endpoint in my design.

Interrupt out:PC start a send request every 100 ms(data size 128*16 byte)

Interrupt in:PC start a receive request every 100 ms(data size 128*16 byte)

Bulk in:Manually start a receive request(data size 0~2G byte)

I worry about that when bulk is transfering  , it will affect two interrupt EP work?

 

0 点赞
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

中断不应该被BULK相关的切换影响。USB的Host端规划USB的请求。FX3将基于数据的获取来响应USB的请求。

The interrupt transfers should not be affected by BULK transfers.  The USB host schedules the USB requests. Fx3 will respond to the requests based on the availability of the data

Regards,
Rashi