This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1808/L138 uPP DMA problem

My uPP DMA setting:

Window Address = 0x80004000

Byte Count  = 0x8010

Line Count = 3

Line Offset Address = 0x8010

And the problem is:

first line the data from uPP is ok but the second line the data from uPP is wrong.

I found when fist line finished (by setting Line Count = 1), DMA Current Address become 0x7FFFC010 instead of 0x8000C010.

if I set Line Offset Address = 0x7000, DMA Current Address become 0x8000B000, that's no problem.

My question is:

Is the Line Offset Address using twos complement, or there is a bug in my codes?

what should I do to find my problem and correct it?