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
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 and consSckId in your DMA Channel create function. In the multi channel commit buffer API, you do not have the option to choose this.
Thank you for your reply.
Is there any parameter in CyU3PDmaMultiChannel structure I can check ? Which consumer will be next to commit ?