Hi,
It's been a while (+- 8y) since I've fiddled around with a raspberry pi but decided to give it another go. I want to be able record audio with a Raspberry Pi Zero 2W and an SPH0645 from Adafruit.
I'm unable to get the audio recording working. This is my pin layout (SPH0645 -> Pi ZERO 2W):
SEL -> GND (PIN 9)
LRCL -> GPIO19 (PIN 35)
DOUT -> GPIO21 (PIN 40)
BCLK -> GPIO18 (PIN 12)
GND -> GND (PIN 6)
3V -> 3.3V (PIN 1)
I'm running the latest raspbian lite image (bookworm).
I've followed this tutorial:
https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test
Also tried running this script:
https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/main/i2smic.py
I also tried installing
raspberrypi-kernel-headers seperately and not updating the device.
When running
arecord -l the recording device shows up. When running
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav the volume meter stays at zero.
I'm quite stuck at this point. Anyone who could help me out or got any ideas on what I did wrong?