Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Problem about PKTEND & Flag

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



Problem about PKTEND & Flag
Moderator:
RSKV

Post Reply
Follow this topic



Problem about PKTEND & Flag

Zakkary posted on 11 Jul 2012 11:45 PM PST
Member
5 Forum Posts

Hello,

      I have a problem about pktend# usage with short packet.

       when I wants to send a short packet, I assert pktend# with last word, FlagA and FlagB will be low, and never update




Re: Problem about PKTEND & Flag

RSKV posted on 11 Jul 2012 05:18 AM PST
Cypress Employee
655 Forum Posts

 Could you please give more details on this problem.

What is the master device that is connected to FX3 and I am assuming that you are using the example firmware (SlaveFifoAsyc) directly without doing any changes.

On the master side, assuming that you are writing a short packet to the slave then you need to assert CS (chip select), WR (write) and the PKTEND signal.

Regards,

sai krishna.



Re: Problem about PKTEND & Flag

Zakkary posted on 11 Jul 2012 05:43 PM PST
Member
5 Forum Posts

1.The master device is FPGA

2.i use only one thread in the firmware to get date from the fpga,and both the flag a and b are configgured to indicate the status of the currently addressed thread.

3.of course,i asserted CS,WR and PKTEND signal.

my question is why the input pktend signal can affect output Flag signal.



Re: Problem about PKTEND & Flag

RSKV posted on 12 Jul 2012 10:36 PM PST
Cypress Employee
655 Forum Posts

 In SlaveFifoAsync example, the flags will be indicating whether the socket buffer on the slave side is full or not in the case of write from master. Master continuously write till the flags say that buffer is full. That is why here in case of shart packets, you are not seeing any change in the flag status.

Regards,

sai krishna.






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.