cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

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,

   

Martin

0 Likes
Reply
1 Reply
Anonymous
Not applicable

in cycx3_uvc.c file, you need to replace the  

   

dmaCfg.consSckId[0]         = CX3_EP_VIDEO_CONS_SOCKET;

   

with

   

 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;

   


by

   

    dmaCfg.notification         = CY_U3P_DMA_CB_PROD_EVENT;

   

regards,

   

- Madhu Sudhan

0 Likes
Reply