Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Received data from i2s (c6748/McASP/EDMA3)

$
0
0

Hi,

I'm a newbie in DSP processing. I'm now using c6748(LCDK) to receive/transmit I2S data by McASP and EDMA3.

The sample code mcasp_c674x_c6748_lcdkC6748 is working fine for playback the audio through codec(AIC3106) and c6748. But when I read the data in rxBuf0~3 with memory browser in CCS v5 debug mode, I noticed that the value is a little bit strange:

1. The data will always be positive and the right/left channel has different value although there are no any audio input, just like below:

rxBuf0
0000000010000110    0000000000000000
0000000000110111    0000000000000000
0000000010000110    0000000000000000
0000000000110110    0000000000000000....

I supposed that the value should be around zero and may alternative in positive and negative because of some noise?

2. As the data shown in first point, the channel swapped and always a 16-bit 0 in every 4 bytes. But the slot and word size are both set to be 16-bit width. I ensure the value 10000110 is the right channel since it will be zero when I disconnect the LINE-IN R to the R-ADC, so do the left channel and the value 110111.

I have tried so many solutions I can found in this TI E2E forum but nothing can figure out my problem.

All the c6748/McASP/EDMA3/AIC3106 setting didn't changed just as the sample code is.

Can someone help me or should I provide more detail information to clarify my question?

Thank you!!


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>