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.

Double buffering in Upp

Hi I have a pb with double buffering:

My uPP DMA setting:

Window Address = 0x11800000

UPID1r->value = 0x01000040; /* 1024 lines 64 bytes */

UPID2r->value = 0x00000040; /* no offset between lines */

(1024 * 64 bytes)

my Isr:

UPIERr->bits.EOWI = 1;

UPID0r->value= 0x11804000

UPID1r->value = 0x01000040; /* 1024 lines 64 bytes */

UPID2r->value = 0x00000040; /* no offset between lines */

UPEOIr->bits.EOI= 0;         /* write End of Interrupt */

And the problem is:

first buffer is OK but the 5 to 10 first value of the second Buffer are from the first buffer

My question is:

How I need to programme the DMA for the second buffer

thanks

PF