Hi,friends
I am using CY7C68013-56PVC to transfer data from FPGA to USB Host. I use EP6 as autoin mode, autoinlength is 512 byte, dada wordwide is 8bits. When I tranfer an array consisted of 0x00 and 0xFF alternately as "0x00,0xFF,0x00,0xFF,0x00,0xFF...". The data received by host is not right. There are added 0x00 among such as "0x00,0xFF,0x00,00x00,xFF,0x00,0xFF...". The added 0x00 is stochastic. Meanwhile, the received data number is more than transferred. For example, 32 8bit-datas transferred,34 8bit-datas reveived. But when I tranfer an array not consisted of 0x00 and 0xFF alternately, I can received correct data and correct number. So puzzled!
So is anyone know where is the problem?Thank you very much!
Hi,friends
I am using CY7C68013-56PVC to transfer data from FPGA to USB Host. I use EP6 as autoin mode, autoinlength is 512 byte,
dada wordwide is 8bits. When I tranfer an array consisted of 0x00 and 0xFF alternately as
"0x00,0xFF,0x00,0xFF,0x00,0xFF...". The data received by host is not right. There are added 0x00 among such as
"0x00,0xFF,0x00,00x00,xFF,0x00,0xFF...". The added 0x00 is stochastic. Meanwhile, the received data number is more than
transferred. For example, 32 8bit-datas transferred,34 8bit-datas reveived. But when I tranfer an array not consisted of
0x00 and 0xFF alternately, I can received correct data and correct number. So puzzled!
The data example is show in attah.
So is anyone know where is the problem?Thank you very much!
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255
0 255 0 0 255 0 255 0 255 0 255 0 255 0 255 0
255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
255 0 255 0 255 0 0 255 0 255 0 255 0 255 0 255
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255
53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97 53 97
|