How to clear the DmaChannel Buffer and Endpoint memory?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

    we use SlaveFifoSync this example,How to clear the DmaChannel Buffer and Endpoint memory,
I use CyFxSlFifoApplnStop () andCyFxSlFifoApplnStart() to do, Spend a long time.

   

LIAN,Thanks.

0 Likes
1 Reply
Anonymous
Not applicable

 Hi Lian,

   

Please try calling the below mentioned APIs to clear the Endpoint and to set the DMA channel up again.

   

CyU3PUsbFlushEp(), CyU3PDmaChannelReset() and CyU3PDmaChannelSetXfer() .

   

 

   

Thanks,

   

sai krishna. 

0 Likes