Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > problem about slave fifo transfer with short packets

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



problem about slave fifo transfer with short packets
Moderator:
RSKV

Post Reply
Follow this topic



problem about slave fifo transfer with short packets

lint posted on 22 Sep 2012 7:59 AM PST
Top Contributor
21 Forum Posts

 when i used the syn slave fifo example to transfer data from fpga to pc,my fpga give data at the speed of 20M/s(i use a FIFO in my fpga),i still want to let the FX3 works at the PCLK of 100MHz and 32bit mode ,so i think i have to use PKTEND to transfer short packets,then the problems come. i can't get the correct data, somebody can tell me about this problems? the handbook says that the PKTEND is used at the last word to be transfer, when i transfer a short packet , can i go on transfer a full packet or a short packet and go on and go on.....,

regards.

lint




Re: problem about slave fifo transfer with short packets

RSKV posted on 22 Sep 2012 09:34 PM PST
Cypress Employee
655 Forum Posts

What is the data that you are getting in the PC when you are committing a short packet using pktend signal?

Are you getting any extra data for a clock cycle or you are not getting any data?

Please let me know the behaviour that you are seeing at your end.

Regards,

sai krishna.



Re: problem about slave fifo transfer with short packets

lint posted on 22 Sep 2012 09:50 PM PST
Top Contributor
21 Forum Posts

 hello,sai krishna! thanks for your reply.

when i try to transfer one short packet, i can get it in a packet correctly but i found a extra 00 00 00 00 packet, but i just set one buffer in the FX3 ! 

another problem is that i set only one buffer for each dma channel , then when the short packet is write into the FX3, the FLAG does not show full , what does FLAG show? short packet doesn't make the FLAG show the buffer is full?

regards,

lint



Re: problem about slave fifo transfer with short packets

lint posted on 22 Sep 2012 09:56 PM PST
Top Contributor
21 Forum Posts

 you can tell me some of the problems you found and describe here for me , so i can compare them with my problem so i can try to solve it , thank you very much!






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.