cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

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.

0 Likes
Reply
1 Reply
Anonymous
Not applicable

Hi,

   

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

   

Regards,

   

Anand

0 Likes
Reply