Hi,
I’m using Zoom-Omap L-138 EVM module and i try to modify Audio test example. I’m testing it in Debug mode?
But when I put even a small signal processing code, i loose program flow, it stuck at while(!CHK…..). Here I put a simple for loop it.
If make it to 70 I can see audio loopthrough, but when I make to 75 i loose signal.
// wait for recv ready and send a sample to the left channel.
while (!CHKBIT(MCASP->SRCTL11, XRDY)) {}
MCASP->XBUF11 = dat;
dat = MCASP->XBUF12;
for(i=0;i<75;i++)
x=3;
// wait for recv ready and send a sample to the right channel.
while (!CHKBIT(MCASP->SRCTL11, XRDY)) {}
MCASP->XBUF11 = dat;
dat = MCASP->XBUF12;
Where do think problem is (is it MCASP, or thread scheduling), and how can I solve it?
Any helps will appreciate.
Volkan