1 Reply Latest reply on Jul 24, 2016 7:11 AM by madhul_36

    How to use the cx3's multichannel dma?

      Hi all,


      I'm using CX3 UVC and have some questions as below.


      Q :  1. Is it possible to connect the GPIF socket0,socket1 with SPI consumer's socket? If possible, would you please let me know how to code the multichannel DMA?


            2. How to do programming and receive the signal of CY_U3P_DMA_CB_PROD_EVENT only. But with no need of the signal data of  cusumer's event(CY_U3P_DMA_CB_CONS_EVENT)  in cycx3_uvc.c?


      Thanking in advance for your kindness and prompt response,


      Sincerely yours,



        • 1. Re: How to use the cx3's multichannel dma?

          in cycx3_uvc.c file, you need to replace the  


          dmaCfg.consSckId[0]         = CX3_EP_VIDEO_CONS_SOCKET;




           dmaCfg.consSckId[0]         = CY_U3P_LPP_SOCKET_SPI_CONS;


          Also, in order to receive only Prod Event and not the cons Evnt, you need to replace:


              dmaCfg.notification         = CY_U3P_DMA_CB_PROD_EVENT | CY_U3P_DMA_CB_CONS_EVENT;




              dmaCfg.notification         = CY_U3P_DMA_CB_PROD_EVENT;




          - Madhu Sudhan