You are here

Clear the data in the MultiChannel | Cypress Semiconductor

Clear the data in the MultiChannel

Summary: 1 Reply, Latest post by aasi on 27 Mar 2012 11:32 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
tickyy's picture
7 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.

aasi's picture
Cypress Employee
1166 posts


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



Log in to post new comments.