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.

PCM1865: PCM1865

Part Number: PCM1865
Other Parts Discussed in Thread: PCM1864, PCM1863, PCM1862

We are currently on a project in which we are using the TI PCM1865DBT audio codec. For audio input we are using a digital microphones (MEMS) which are connected to the DMIN(20) and DMCLK(21) of PCM1865. We are also using ADC Channels for audio input. Please refer the attached screenshot of connection diagram for reference. We are interfacing PCM1865 with the ARM64 based SOM with debian Linux OS.

Linux OS have the PCM186X drivers that we have verified with the following commands

1. modinfo snd_soc_pcm186x_i2c
root@imx8mn-var-som:~# modinfo snd_soc_pcm186x
filename: /lib/modules/5.4.142-HB-Wenger+/kernel/sound/soc/codecs/snd-soc-pcm186x.ko
license: GPL v2
description: PCM186x Universal Audio ADC driver
author: Andrew F. Davis <afd@ti.com>
author: Andreas Dannenberg <dannenberg@ti.com>
depends: snd-pcm,snd-soc-core
intree: Y
name: snd_soc_pcm186x
vermagic: 5.4.142-HB-Wenger+ SMP preempt mod_unload aarch64

2. modinfo snd_soc_pcm186x_i2c

root@imx8mn-var-som:~# modinfo snd_soc_pcm186x_i2c
filename: /lib/modules/5.4.142-HB-Wenger+/kernel/sound/soc/codecs/snd-soc-pcm186x-i2c.ko
license: GPL v2
description: PCM186x Universal Audio ADC I2C Interface Driver
author: Andrew F. Davis <afd@ti.com>
author: Andreas Dannenberg <dannenberg@ti.com>
alias: i2c:pcm1865
alias: i2c:pcm1864
alias: i2c:pcm1863
alias: i2c:pcm1862
alias: of:N*T*Cti,pcm1865C*
alias: of:N*T*Cti,pcm1865
alias: of:N*T*Cti,pcm1864C*
alias: of:N*T*Cti,pcm1864
alias: of:N*T*Cti,pcm1863C*
alias: of:N*T*Cti,pcm1863
alias: of:N*T*Cti,pcm1862C*
alias: of:N*T*Cti,pcm1862
depends: snd-soc-pcm186x
intree: Y
name: snd_soc_pcm186x_i2c
vermagic: 5.4.142-HB-Wenger+ SMP preempt mod_unload aarch64

We need support on how we can configure PCM1865 driver and ALSA for getting audio data from a digital microphones connected to DMIN and DMCLK of audio codec.

 

  • Hi Akash,

    Sorry for the delay. After installing the Linux driver, you can use alsamixer tool, we have added many useful Kcontrol in driver to make alsamixer be very flexible to configure the channels and volume, also you can use arecord command and related usages to get audio data, kindly use arecord -h to get usage.

    Thanks