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.

PCMD3140: PCMD3140 Linux driver program

Part Number: PCMD3140

Hello everyone!

this is my first time dealing with audio. I have chosen the PCMD3140 chip. The ti official website provides a driver for the TLV320ADCX140 chip based on Linux 5.0 and above. I have modified this driver, and the register settings should be correct. However, regarding the definition and declaration of the audio framework protocol part, I don't know how to modify it. I am using the Linux 4.9 kernel version. Does anyone have a modified version that can be sent to me? Or provide relevant materials for my study and reference.  Thank you! My email is 492468755@qq.com. Thank you!

  • 您好

    已经收到了您的案例,调查需要些时间,感谢您的耐心等待

  • Hi

    That driver was developed for the kernel version 5.0 and above, I am not sure if it will work for 4.9 and I do not think we have the expertise to help with a back compatibility issue. It should work with the PCMD3140 chip out of the box, you may just need to change the title of the chips supported to allow pcmd3140 and take a look at which registers you need to change - some registers are reserved for the PCMD chip and not for the ADC chip and vice versa. Let me know if you need some more specific help here. If you are not able to get the driver working for your Linux system, you can always write I2C commands to achieve the configuration you want, it just will not directly integrate with ALSA without the driver.

  • Only one microphone is working properly. Could you please take a look? Thank you!

  • 您好

    如果您打算使用两个 PDM 原理图或任何模拟原理图、您能否附上原理图或进行更多说明? 在寄存器0x75-0x77中、它显示所有 PDM 通道均已断电、但看起来您确实指定了 CH2作为数字麦克风、PDM 输入为寄存器0x41。 如果您将0xc0写入寄存器0x73、这可能会解决您的问题。 请告诉我这里会发生什么情况。