Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I'm using the PSoC 5LP to overlay pixels on a 8-bit parallel (BT.656) video stream. I need to synchronize my DMA with the vertical sync signal embedded in the video stream. I'm using one DMA channel with four TD's. What is the proper way to reset the entire chain? Currently, I have the vertical sync signal generating an interrupt. Here is the ISR:
CyDmaChSetRequest(DMA1_Chan, CY_DMA_CPU_TERM_CHAIN); // Terminate the entire chain of TD's
while(CyDmaChGetRequest(DMA1_Chan)); // Wait for the request to be processed.
CyDmaChEnable(DMA1_Chan, 1); // Re-enable the DMA channel.