-
1. Re: Why did I use the BeginDataXfer function to transfer data wrong?
vavc May 14, 2015 5:03 PM (in response to qi.wen)something might be wrong in your host app or firmware of fx2lp.
Use USBLYZER (a free software)and see the data that is transmitted from host to PC.
Then we can get to know weather host is sending the data correctly or not
Regards,
VIkas
-
2. Re: Why did I use the BeginDataXfer function to transfer data wrong?
qi.wen May 14, 2015 8:12 PM (in response to qi.wen)Hello!
I used the stream out code in AN61345 including the code of 68013A and code of FPGA, while I used the internal clk generated by 68013A. I found that I also got the same wrong data(For example, when I sent the data of 0x2A22 0X 010B once, I got the data of 0x2A22 0x2A22 in FPGA), but when I sent only one word one time, I got the right data(For example, firstly, I sent data of 0x2A22, the next time, I sent the data of 0x010B). I do not know where is it wrong?
Is the stream out code can only sent the one word(or one byte)one time or there is something else wrong?
I used the cy7c68013A-56pvx.
qiwenbo