Hi,
I'm trying to connect a microphone to my raspberry pi zero 2 w using I2S PCM config.
Here's what I've done so far:
[*] Connected the microphone with pre-amplifier to an Audio card module which is connected to the raspberry PI GPIO pins (18,19,20).
[*] Enabled I2S connection in config.txt
[*] Enabled I2S-mic overlay
Basically here are the changes to the config.txt file I made:After restarting my raspberry PI and checking dtoverlay, it returns nothing.
I also check all the capture devices using "arecord -l" but it basically returns nothing.
Next step, I tried to create a overlay driver for the hardware, but after restarting my raspberry pi, I still don't see the "dtoverlay" being connected. Here's what I used for the overlay driver:
Any help is appreciated.
I'm trying to connect a microphone to my raspberry pi zero 2 w using I2S PCM config.
Here's what I've done so far:
[*] Connected the microphone with pre-amplifier to an Audio card module which is connected to the raspberry PI GPIO pins (18,19,20).
[*] Enabled I2S connection in config.txt
[*] Enabled I2S-mic overlay
Basically here are the changes to the config.txt file I made:
Code:
dtparam=i2s=ondtoverlay=i2s-mic
I also check all the capture devices using "arecord -l" but it basically returns nothing.
Next step, I tried to create a overlay driver for the hardware, but after restarting my raspberry pi, I still don't see the "dtoverlay" being connected. Here's what I used for the overlay driver:
Code:
/dts-v1/;/plugin/;/ { compatible = "brcm,bcm2835"; fragment@0 { target = <&i2s>; __overlay__ { status = "okay"; }; }; fragment@1 { target-path = "/"; __overlay__ { i2s_mic: i2s_mic { compatible = "simple-audio-card"; simple-audio-card,name = "i2s_mic"; simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&dailink_master>; simple-audio-card,frame-master = <&dailink_master>; simple-audio-card,cpu { sound-dai = <&i2s>; }; dailink_master: cpu { sound-dai = <&i2s>; }; }; }; };};
Any help is appreciated.
Statistics: Posted by soori — Tue Dec 24, 2024 8:06 am — Replies 0 — Views 2