Hi there,
I am integrating a multi-channel DVR using DM365 (voice codec applied) and TVP5158.
The DVR (Voice/TVP5158 capture & H264 encode) can work repeatedly (create,free,create,free...) fine.
The PLAYBACK (Voice/VPBE output & H264 decode) also can work repeatedly fine.
However the inter-operability test (DVR->PLAYBACK->DVR->PLAYBACK->...) fails in the 2nd round DVR in capture.
For TVP5158 capture, EDMA channel 4 (EDMA_VPSS_EVT1) is allocated for manually-initiated DMA.
PaRAM #66 and beyond 94sets are allocated for chain-triggered DMA following the manual initiation.
I am sure EDMA channel 4 and all PaRAM sets are freed after the last (normal) completion, ISIF is disabled, and then TVP5158 is disabled.
PLAYBACK doesn't apply EDMA channel 4 but the reason the 2nd round DVR fails in capture is CER.E4 and SER.E4 get asserted right after TVP5158 is enabled.
How to identify the source of this undesired chain event and get rid of it ?
What are the reasons that CER.E4 and SER.E4 get asserted unexpectedly after a 10seconds of irrelative PLAYBACK
instead of asserted and stopping the 2nd round DVR in the repeated DVR test ?
Thanks in advance!