Hi
i'm currently working on Omap-L138 getting data from a Uart device which sends at 460800baud
i try to configure a circular buffer to keep getting frames from the device
my buffer is in the size of 8448 and i set it up to with 4 paramsets (except for the first one which is set on the Uart paramset)
paramSet.destAddr=(unsigned int)&buffer[0];
paramSet.linkAddr = (unsigned short)EDMA3CC_OPT(125);
EDMA3SetPaRAM(SOC_EDMA30CC_0_REGS, 124, ¶mSet);
paramSet.destAddr=(unsigned int)&buffer[2112];
paramSet.linkAddr = (unsigned short)EDMA3CC_OPT(126);
EDMA3SetPaRAM(SOC_EDMA30CC_0_REGS, 125, ¶mSet);
paramSet.destAddr=(unsigned int)&buffer[4224];
paramSet.linkAddr = (unsigned short)EDMA3CC_OPT(127);
EDMA3SetPaRAM(SOC_EDMA30CC_0_REGS, 126, ¶mSet);
paramSet.destAddr=(unsigned int)&buffer[6336];
paramSet.linkAddr = (unsigned short)EDMA3CC_OPT(124);
EDMA3SetPaRAM(SOC_EDMA30CC_0_REGS, 127, ¶mSet);
that each will make the destenation buffer just to its next location after receiving data with link to self...
8(Uart0)->125->126->127->124->125->.......
and so on...
what happens right now is that i trigger after finishing one cycle... after i get 4 frames (when i get back to paramset 124)
how can i set it up that i will get triggered after each linking?
(after 2112 and not after 8448)
thanks in advance
Maor