You are here

How to use the cx3's multichannel dma? | Cypress Semiconductor

How to use the cx3's multichannel dma?

Summary: 1 Reply, Latest post by Madhu Sudhan on 24 Jul 2016 07:11 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
wangbak's picture
1 post

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,


mady's picture
Cypress Employee
964 posts

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

Log in to post new comments.