Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Clear the data in the MultiChannel

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



Clear the data in the MultiChannel
Moderator:
RSKV

Post Reply
Follow this topic



Clear the data in the MultiChannel

tickyy posted on 22 Mar 2012 7:10 PM PST
Member
7 Forum Posts

I  have created a MultiChannel using  the type of DMA_TYPE_AUTO_MANY_TO_ONE.I used 2 PIB socket as the producer and 1 UIB socket as consumer.I used this make  the slavefifo.Before I restart the slavefifo,I want to reset the channel and socket to clear the data.

But now I find that  the FLAG of the producer bacome  full after  I write a few data. The number of data I have written is less than the buffer size when I creat the channnel .So I think there are some data in the producer socket which I have't flush.

I did the reset operation as follow:

1.Make the FPGA on the state of reset.

2.Reset the channel by CyU3PDmaMultiChannelReset.

3.Set a non-finite transfer  by CyU3PDmaMultiChannelSetXfer.

4.Resum the channel by CyU3PDmaMultiChannelResume.

5.Start the FPGA.

So how to reset the PIB procducer of MultiChannel.How to clear all the data in the channel and socket.




Re: Clear the data in the MultiChannel

aasi posted on 27 Mar 2012 09:32 AM PST
Cypress Employee
1073 Forum Posts

Hi,

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

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.