Anonymous
Not applicable
Jun 20, 2016
11:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2016
11:22 PM
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!!
2 Replies
Anonymous
Not applicable
Jun 22, 2016
11:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 22, 2016
11:13 PM
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.
Jun 22, 2016
11:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 22, 2016
11:28 PM
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!!