FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

mSGDMA current address

Altera_Forum
Honored Contributor II
813 Views

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!
0 Kudos
0 Replies
Reply