This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C5505: DMA get Stacked up

Guru 24520 points
Part Number: TMS320C5505

Hi TI Experts,

My customer is faced the following issue.
[Issue]
When the CPU updated the SARAM data and get the audio data from I2S and it transfered by DMA, there was unexpected data on I2S output data on memory. It seems that the DMA did not transfer/erase the I2S data when the timing of accessing the SRAM overlap.

Have you ever seen this phenomenon? Would you please provide the cause of this issue?
My customer code and enviroments are as below.

[Code]
void foo(void) {
int32_t * srcL = AD_DATA_SARAM_L0;
int32_t * srcR = AD_DATA_SARAM_R0;
int32_t * dstL = AD_DATA_SARAM_L1;
int32_t * dstR = AD_DATA_SARAM_R1;
int I;

for(i=0;i<256;++i) {
*dstL++ = *srcL++;
*dstR++ = *srcR++;
}
}

[Environment]
-Hardware
Customer equipment
-Software
DSP/BIOS:5.42.01.09
CSL:3.06
Complier Version:4.4.1
CCS Version:7.3.0

[Result]

Confirmed the same data as previous I2S data when this issue happened.


Best regards.
Kaka