Get DMA status,busy or idle

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

cross mob
Anonymous
Not applicable

 Hello everyone 

   

The issue as follows:

   

Develop with SDKv1.2. 

   

I want to transfer data by USB3.0 with DMA mode. I create 3 DMA chanels.and two for data transfer the third for command transfer.

   

As we know just one DMA channel can work at the same time.But I want to transfer command during data transfer.Data transfer is not continue.So I want to transfer command in data transmission interval. So the DMA for command transfer must be CY_U3P_DMA_TYPE_MANUAL mode .Before command transfer I should check if other two DMA channels are busy or idle.

   

Is there any function to get the DMA status .Does somebody get me an sample .And does my scheme word?

   

thanks

   

ayi 

0 Likes
6 Replies