- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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