赛灵思
直播中

王波

7年用户 270经验值
私信 关注
[问答]

什么会导致VDMA(AXI视频直接存储器访问)的S2MM中的帧计数器中断?

我使用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 continuing work?

Thanks.

回帖(1)

钱丘宝

2019-3-14 15:38:17
我知道这已经老了,但你有没有想过这个?
当我启用中断时,s2mm和mm2s都会转换为高电平,然后卡在那里。

以上来自于谷歌翻译


以下为原文

i know this is old but did you ever figure this out? When I enable my interrupts both the s2mm and mm2s transition high and then get stuck there.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分