我使用VDMA,AXI互连器和DDR3进行了设计,以实现视频帧缓冲。
我遇到了一个问题,即在完成第一帧之后,VDMA卡在第二帧的开头。
我通过AXI lite读取了VDMA的寄存器来检查状态:
34h S2MM_DMASR.FrmCnt_Irq成为“1”并保持“1”。
我检查了VDMA PG020,它指出:“帧计数中断。当设置为1时,表示生成了帧计数中断事件。这是在传输DMACR.FrameCount帧时发生的。”
这非常令人困惑。
什么意思是“DMACR.FrameCount框架已被转移”?
生成此事件后,我应该怎么做才能清除它以使VDMA继续工作?
谢谢。
以上来自于谷歌翻译
以下为原文
I made a design with VDMA, AXI interconnector, and DDR3 to achieve a video frame buffer.
I confronted a problem that after completed the first frame, the VDMA is stuck at the beginning of 2nd frame.
I read of the registers of VDMA through AXI lite read to check the states:
34h S2MM_DMASR.FrmCnt_Irq becomes "1" and keeps "1". I checked the VDMA PG020, it states: "Frame Count Interrupt. When set to 1, indicates a Frame Count interrupt event was generated. This occurs when DMACR.FrameCount frames have been transferred."
This is very confusing. What does mean " DMACR.FrameCount frames have been transferred"? After this event generated, what should I do to clear it to make VDMA con
tinuing work?
Thanks.