Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > slave FIFO autoin

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



slave FIFO autoin
Moderator:
RSKV

Post Reply
Follow this topic



slave FIFO autoin

petrol posted on 09 Sep 2011 2:36 AM PST
Member
5 Forum Posts

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 

 




Re: slave FIFO autoin

aasi posted on 09 Sep 2011 06:22 AM PST
Cypress Employee
1090 Forum Posts

Hi,

Did you check if you're meeting the timing?

When you say you're commiting 32 byte and 34 byte packets I assume you're using PKTEND pin to do that. The interleaved 0s and the bigger packet size suggest that your timing might not be right.

Regards,

Anand






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20