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.

Is it possible to use the Linux codec for TLV320AIC32 with the TLV320ADC32?

Other Parts Discussed in Thread: AM3517, TLV320DAC32

Hi,

We have a custom board with an AM3517 processor and a TLV320DAC32 Audio DAC. We are running Linux as the OS, using the source from the AM35x-OMAP35x-PSP-04.02.00.07 support package. I haven't found a Linux driver for the TLV320DAC32, but the Linux source includes the codec driver tlv320aic3x. The tlv320aic3x is a driver for both the aic32 and aic33 for which the TLV320ADC32 is software-compatible.

So we are trying to use the tlv320aic3x driver with the TLV320ADC32, is this possible?

At the moment I have set it up and when running the ALSA speaker-test program as below. I believe the TLV320ADC32 is configured to master mode and when measuring the pins I have 26MHz on MCLK, 48KHz on WCLK and 1.5MHz on BLCK and I have data on the DIN pin. But I have no signal to the speaker. Do I need to do some modifications of the tlv320aic3x driver to make is work with the TLV320ADC32?

# speaker-test -c2

speaker-test 1.0.23
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 640 to 32768
Period size range from 8 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
 1 - Front Right
Time per period = 5.079498
 0 - Front Left
 1 - Front Right

Regards,
Anders