Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Synchronous Slave FIFO Thread Addressing

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



Synchronous Slave FIFO Thread Addressing
Moderator:
RSKV

Post Reply
Follow this topic



Synchronous Slave FIFO Thread Addressing

dschneider posted on 31 Oct 2011 8:01 PM PST
Senior Member
17 Forum Posts

We have a synchronous slave fifo set up and running at 40 MHz, with the active thread selected by the A0 and A1 pins.

It seems that when starting the state machine in the RESET state, writes will always go to thread 0, even if the address pins say, for example, thread 2.  Once pktend asserts for the first time, though, the write will start going to the correct thread as specified by the pins.

We have found that by starting the state machine in IDLE, however, the first write goes to the correct thread as it should.

What is different about the RESET state such that it does not work properly, while IDLE does?




Re: Synchronous Slave FIFO Thread Addressing

aasi posted on 02 Nov 2011 11:40 PM PST
Cypress Employee
1073 Forum Posts

Hi,

I assume you're using CyU3PGpifSMStart with RESET as startindex and facing this issue. Please confirm.

How did you find out that it is getting written to Thread 0? The API should be started with startindex as IDLE, this is indicated in the API Guide. I'll check if there is any pre-requisites if we use the API with other state as startindex and update here.

Regards,

Anand



Re: Synchronous Slave FIFO Thread Addressing

dschneider posted on 02 Nov 2011 01:05 PM PST
Senior Member
17 Forum Posts

Thanks.

I am starting with RESET.  The demos were doing the same thing, and it seems the documentation says to start in state 0, which is RESET.

To find out which thread it is writing to, I used DMA auto channels to send the contents over to two different USB endpoints, and saw the behavior described.



Re: Synchronous Slave FIFO Thread Addressing

aasi posted on 04 Nov 2011 04:40 AM PST
Cypress Employee
1073 Forum Posts

Hi,

Have a chat with the engineers who've extensively worked on this. We've not seen this issue before.

Please create a tech support case (MyAccount -> MyCases) so that one of our engineers can analyze this issue.

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.