I have some problems while using the upp in receive mode
1:Before I program the dma register,I check the UPIS2 register,the PEND bit was 0,,but after I program UPID0-UPID2 one by one,the DPE interrupt occured;
2:When a dma transfer finished,we can get an end of window interrupt,but the ACTIVE bit in UPIS2 register and DB bit in UPPCR register were still 1,while PEND bit in UPIS2 was zero. If I start a new dma task,I found the new one should have a large window size,otherwise the task would not be finished,the end of line and end of window interrupt of the dma task did't occure.
Any suggestion ?