Cypress技术论坛
直播中

王宇

8年用户 140经验值
私信 关注
[问答]

在fx2lp上对iso使用双ep交替的线的奇数错误该怎么?

你好。我想做ISO传输。我们的目标是视频捕捉。我们的设备具有两个用于ISO、EP2和EP6的EP。一张EP发帧的奇数行,另一个EP发甚至线框。一行是七八字节的数据。我想按线路号码的顺序转接耳线。我修改了“飘带”样品C #程序(添加第二EP代码)。但它无法把线交替的奇数(第一EP)甚至(第二集)。如果我表现出更多的细节:奇怪的8线是第一位的,甚至是8线。8是我输入包每XFER的值。当然不是,它总是8线,“奇8线”>;“8线”>;“奇8线”>;“16线”>;“奇16线”…有谁知道转移“奇1线”& gt的方式;“1线”…?让我附上我修改的“拖缆”。LokNothLoad:我添加了奇数/偶数过程。XFEDATA1和2:它做两个EPS。谢谢您。设备----- Slave FIFO,数据总线8bit,同步模式,ifclk-external28.636mhz EP1 /散装64byte EP2在ISO 1024byte(缓冲1024byte×2)(*)6 ISO 1024byte(缓冲1024byte×2)(×)(×)后,我748byte装置发送到PC机,pketend上。--------------
拉链
200.3 K

以上来自于百度翻译


     以下为原文
          Hello. I'd like to do iso transfer. Our goal is video capture. Our device has two EP for iso, EP2 and EP6. One EP sends odd line of the frame, and another EP sends even line of the frame. A line is 748byte data. I'd like to transfer earch line with order of line number. I modified "streamer" sample C# program(added code about 2nd EP). But it couldn't get the lines alternate odd(1st EP) and even(2nd EP). If I show more detail: Odd 8 lines comes first, and Even 8 lines comes. 8 is value which I input Packets per Xfer. Of cause it is not that it comes always 8 line, "Odd 8 line" > "Even 8 line" > "Odd 8 line" > "Even 16 line" > "Odd 16 line"... Does anybody know the way to transfer "Odd 1 line" > "Even 1 line"...? Let me attache my modified "streamer". LockNLoad: I added ODD/EVEN process. XferData1and2: It does two EPs. Thank you. -Device----- Slave FIFO, Data Bus 8bit, sync-mode, IFCLK-External28.636MHz EP1 IN/OUT BULK 64byte EP2 IN ISO 1024byte (buffer 1024byte*2) (*) EP6 IN ISO 1024byte (buffer 1024byte*2) (*) (*)After My device send 748byte to PC, PKETEND ON. ------------   

回帖(2)

王宇

2019-7-30 09:01:42
哦。。

以上来自于百度翻译


     以下为原文
          oh..   
举报

王宇

2019-7-30 09:19:25
你好。有人知道类似的情况吗?我想在这周内完成。恐怕我缺少一些需要的信息,请告诉我。如果有人能帮上忙,请告诉我。我们的公司是以AN61345制造的。(HTTP://wwwyCyp.com?RID=43046)是我们公司的附件。谢谢您。
FX2LL Fiel.Zip
34.3 K

以上来自于百度翻译


     以下为原文
          Hi. Does anyone know similar case? I'd like to go through by within this week. I'm afraid that I'm lacking some of information which is needed, please let me know. If someone have something which may be help, please tell me. Our firm is made referring to AN61345. (http://www.cypress.com/?rID=43046) Attached is our firm. Thank you.   

举报

更多回帖

发帖
×
20
完善资料,
赚取积分