Dear All,
I think I am experiencing a DMA conflict between the DM365 internal voice codec CQ93VC and the HDVICP or the VICP.
When I run H264 VENC and AEC I see DMA Event Missed Error events on DMA channels 2 and 3, used by voice codec.
After a while the audio is damaged (robot like voice).
If I disable H264 VENC or AEC, DMA errors does not happen.
I recompiled the kernel in order to be sure that the DMA channels for the voice codec are reserved and I also released some channel I don't use.
#define DM365_DMACH2EVENT_MAP0 0x0000003Cu //default: 0xCC00303Cu
#define DM365_DMACH2EVENT_MAP1 0x80000F00u //default: 0x80000F00u
I suppose that the H.264 encoder exploits the same channels of the audio codec.
I am looking for a way (maybe with the EDMA3 module) to prevent the H.264 and AEC encoder to use these channels.
I am using DVSDK2.
The H.264 encoder is the latest 2.10.0.6.
The applications also exploits resizer, AEC, and TVP5158 capture through mcvip driver (DVR reference framework)
The voice code registers before and after the issue appears are the same.
Any idea or suggestion will be extremely appreciated.