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,
in cycx3_uvc.c file, you need to replace the
dmaCfg.consSckId = CX3_EP_VIDEO_CONS_SOCKET;
dmaCfg.consSckId = 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