Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Device Tree • enable I2S mic SPH0645 on RPi 4B board?

$
0
0
I just installed what I believe to be the current RPi OS on a RPi 4B board.

Code:

pi@rp62:~ $ uname -aLinux rp62 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
I am looking for a way to get an I2S mono mic input working, specifically the fairly common SPH0645LM4H for which Adafruit and others make a board. I would like to do sampling at 24 kHz as I have done in the past on RPi boards with this device.

With ChatGPT's overconfident "help" I have tried about 15 different setups in /boot/firmware/config.txt but "arecord -l" shows nothing.
In ages past, I could put "dtparam=i2s=on" and then get

Code:

$ arecord -l**** List of CAPTURE Hardware Devices ****card 0: sndrpii2scard [snd_rpi_i2s_card], device 0: simple-card_codec_link snd-soc-dummy-dai-0 [simple-card_codec_link snd-soc-dummy-dai-0]  Subdevices: 0/1  Subdevice #0: subdevice #0
I understand this is no longer the way. So what is the way?

Statistics: Posted by jbeale — Mon Feb 02, 2026 10:19 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles