DMA S3C2410A
8-14
S/W Work-Around
The DMA auto-reload is occurred only when the DMA request is issued after the DMA counter reaches 0. So, the
following code should be used in the DMA done interrupt handler before setting the DMA source address, destination
address and counter register for the next auto-reload. This code will wait until the first DMA request is issued and the
previous auto-reload value is loaded.
while((rDSTATn&0xfffff)==0);