Honored Contributor II
04-24-2014 08:01 AM
Hi,I am using mSGDMA to transfer audio data from I2S interface's sample buffer to SDRAM on Cyclone V board. (I am trying to write ALSA driver for Linux) However, I can't seem to define my *_pcm_pointer function since it seems to require reading current physical address to which DMA is operating (whether it is reading/writing). Is there any way I can do that? At first I was going to use Response Port since it contains "actual bytes transferred" so I could just read that and add it to initial address to write/read to/from, but it seems that it only works on ST->MM connection. I am using OpenCores I2S interface which use Memory-Mapped sample buffer. Thanks!