Forum Discussion
Altera_Forum
Honored Contributor
16 years agoYou have two options, packet and non-packet transfers. For non-packet transfers you specify the transfer length. Packet transfers rely on the EOP signal to tell the DMA that the transfer is complete. For ST-->MM this will be controlled by the streaming component connected to the SGDMA. For MM-->ST it's up to you to set the SOP and EOP bits because you have to tell the DMA how much data is in the packet and also let it know that you want the SOP and EOP bits to be controlled in hardware.
Now if you are always moving 24000 bytes at a time and don't need packet support as a result you can just not use it. The maximum burst length should be set to whatever the memory uses (or other bursting IP in your system). DDR2 SDRAM in full rate mode uses an Avalon-MM burst length of 2 and in halfrate mode it doesn't burst on the Avalon side. As a result you should either choose an SGDMA max burst length of 2 or non-bursting depending on what you need.