Using double EP for iso on FX2LP

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

cross mob
lock attach
Attachments are accessible only for community members.
tash_284946
Level 1
Level 1
        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. ------------   
0 Likes
4 Replies
This widget could not be displayed.