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.

How to use AIC3101 in the DM365 linux-2.6.32-rc2-davinci, dvsdk_3_10_00_12?

Hello everyone:

          There is  problem in the use of AIC3101 on the Leopardboard 365(http://designsomething.org/leopardboard/default.aspx ,AIC3104 has used in this board,but I replace it to AIC3101,and the CLKOUT1 was used  when 27M crystal was used in DVEVM board,so I set the CLKOUT1 to output 24M,aslo the sysclk was chage to 24000000 in dvsdk/git/sound/soc/davinci/davinci-evm.c inorder to match this paltform).

         When I use the decode to play the .g711 audio like davincieffect.g711,it's work perfect,but if I use the encode the get a test.g711 audio file,and then to play it,I cant hear anything but a litter noise at the begining.

./decode -s data/sounds/davincieffect.g711
Decode demo started.
ARM Load: 8% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 64 kbps Time: 00:00:01 Demo: Decode Display: D1 NTSC Video Codec: N/A Resolution: N/A Sound Codec: G.711 Speech Sampling Freq: 8 KHz samp rate

----its works perfect,BCLK=256k  WCLK=8k

./encode -s test.g711
Decode demo started.
ARM Load: 8% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 64kbps Time: 00:00:01 Demo: Encode Display: D1 NTSC Video Codec: N/A Resolution: N/A Sound Codec: G.711 Speech Sampling Freq: 8 KHz samp rate./decode -s test.g711
Decode demo started.
ARM Load: 8% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 64 kbps Time: 00:00:01 Demo: Decode Display: D1 NTSC Video Codec: N/A Resolution: N/A Sound Codec: G.711 Speech Sampling Freq: 8 KHz samp rate

----only some noise can be heared at the begin,BCLK=256k  WCLK=8k,the MICBIAS output 0V

Is there anybody had used the AIC3101 in the linux-2.6.32-rc2-davinci,can you tell me the problem I had made,thanks!