cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi,

   

  I want to setup a multi channel DMA.One producer to multi consumers with manual mode.

   

How do I choice which consumer that I want to commit in my callback function ?

   

 

   

Producer : CY_U3P_PIB_SOCKET_0

   

Consumers : CY_U3P_UIB_SOCKET_CONS_2   CY_U3P_UIB_SOCKET_CONS_9

   

Thank you!!

0 Likes
Reply
2 Replies
Anonymous
Not applicable

You cannot choose this while committing the data. It will be done in a round robin fashion based on which socket you define as consSckId[0] and consSckId[1] in your DMA Channel create function. In the multi channel commit buffer API, you do not have the option to choose this. 

0 Likes
Reply
Anonymous
Not applicable

Hi,

   

Thank you for your reply.

   

Is there any parameter in  CyU3PDmaMultiChannel structure I can  check ? Which  consumer will be next to commit ?

   

currentConsIndex ?

   

 

   

Thank you!!

0 Likes
Reply