Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

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



Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.
Moderator:
RSKV

Post Reply
Follow this topic



Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

ainiludeer posted on 16 Mar 2012 5:07 AM PST
Member
4 Forum Posts

Hi!

Here is a quite strange phenomenon which has been confusing me...

Things goes like this:

I feed the Slave FIFO with the external logic FPGA when a key is pressed.

Before the key is pressed down,  FIFO_FULL_FLAG is high and FIFO_EMPTY_FLAG is low.

After the key is pressed,  FIFO_FULL_FLAG is low and FIFO_EMPTY_FLAG is high.  Obviously,it is normal. 

However, when I access the data in the SLAVE FIFO through the control pannel, the FIFO_FULL_FLAG remains low and the  FIFO_EMPTY_FLAG remains high.          \

How can i fix it?




Re: Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

Gayathri posted on 17 Mar 2012 12:01 PM PST
Cypress Employee
428 Forum Posts

 Hi,

 

Please post your code. I would like to take a look into the same.

 

Regards,

Gayathri



Re: Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

PRJI posted on 17 Mar 2012 12:06 PM PST
Cypress Employee
333 Forum Posts

Hi,

       Please check your Endpoint buffer configuration whether its valid or not. For more information on valid endpoint configurations go through section 1.17 EZ USB endpoint Buffers of TRM.

Thanks

Prajith



Re: Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

ainiludeer posted on 20 Mar 2012 04:57 AM PST
Member
4 Forum Posts

I used the asynchronous mode. And the fequency of  pusle clock of SLWR was too high.

It seems that there is liminition for the frequnency of SLWR...



Re: Strangely, I can CONTINUOUSLY get the data in the Slave FIFO , BUT I just fill the FIFO once with the external logic-FPGA.

PRJI posted on 20 Mar 2012 07:44 AM PST
Cypress Employee
333 Forum Posts

 Hi,

      Please see this http://www.cypress.com/?docID=33732.

Thanks

Prajith






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20