Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I want to setup many producer to many consumers as below:
1. CY_U3P_UIB_SOCKET_PROD_2 and CY_U3P_CPU_SOCKET_CONS. DMA channel create mode isCY_U3P_DMA_TYPE_MANUAL_IN. this is for receive endpont 0x02 data for fx3 do command passer.
2. CY_U3P_CPU_SOCKET_PROD and CY_U3P_PIB_SOCKET_1. DMA channel create mode is CY_U3P_DMA_TYPE_MANUAL_OUT. this is fx3 passer command to write data to extern FPGA with P-port( use GPIF II master desgin )
3. CY_U3P_PIB_SOCKET_0 and CY_U3P_UIB_SOCKET_CONS_6. DMA channel create mode is CY_U3P_DMA_TYPE_AUTO. this is fx3 passer command to read data from extern FPGA with P-port.
4. CY_U3P_CPU_SOCKET_PROD and CY_U3P_UIB_SOCKET_CONS_6. DMA channel create mode isCY_U3P_DMA_TYPE_MANUAL_OUTCY_U3P_DMA_TYPE_MANUAL_OUT. this is fx3 passer command to send data from cpu to endpoint 0x86.
In my case, i use CyU3PDmaChannelDestroy function to transform dam mode but destroy dma need to spend too much time
How do I choice which use multi channel DMA mode to design for my need?