Hi there,
I am investigating possibilities of the UPP. I am using experimenter kit. I am trying to transfer in loopback mode some data between channels. I am using SYS/BIOS and writing low level code for it. So I have configured the UPP as following:
1. UPCTL
IWB = 1
DPWB = 2
DPFA = 0
DPWA = 2
IWA = 1
CHN = 1
MODE = 2
2. UPICR
CLKDIVB = 15
ENAA = 1
ENAB = 1
WAITA = 1
WAITB = 1
STARTA = 1
STARTB = 1
3. UPIVR
VALB = 0x1000;
VALA = 0x0000;
4. UPTCR = 0
5. UPDLB
BA = 1; //loopback B->A
6.UPIES
EOWI = 1;
7. UPPCR
EN = 1
RTEMU = 1
SOFT = 1
And later configured transmitter DMA as a 1 line and 128 bytes per line which is sending in task loop. The receiver DMA is configured as a 16 line and 128 bytes per line.
In this configuration everything is working fine - every 16th loop count the interrupt is triggered, the receiver DMA is configured again and the data flows properly.
Now when I am changing the configuration and removing STARTA = 1 and STARTB = 1 so the receiver doesn't take into account the START signal the interrupt is
triggered on every loop count. I would like to know why? Is the ENABLE signal not enough for properly transferring in this window configuration? Why the End-Of-Window
interrupt for the receiver is triggered after each line?
Best regards,
Damian Gowor