Hi all,
I am trying to transplant the driver named "c6x1x_edma_mcasp.c" to the DM642 for the purpose to collect the audio data.But I find my program runs to an unexpected address when existing the following statement :
EDMA_link(pramPtr, chan->loophEdma); existing in the function named "linkPacket()" .
And chan->loophEdma with the following configuration structure is for realizing that If the McASP is left to free running, this loop job is running when there is no data to transfer.
the configuration structure is :
OPT=0X20000003; CNT =0X00000001; DST = 0X00000940; RLD=0X00010000; SRC is the address of the Receive Buffer Regiesters;
I tried to find the cause by many method but not successed . Do anyone give me suggestion!
Many thanks!
Radella.