Getting I2S microphone on nanopi
Posted: Thu May 27, 2021 1:27 pm
Good day. I'm trying to connect and use INMP441 I2S microphone with H3 nanopi board. My knowledge of DAI/Codecs is very limited, and I'm hitting a wall. Asking for a help from anyone with expertise.
So, here is what I've done so far:
- wired I2S Mic to the board.
- built codec driver - https://raw.githubusercontent.com/raspb ... ics43432.c
- created DT overlay, disabled pcm5102a and creaded the mic device - https://pastebin.com/vfTi35hc
after reboot I do see the mic device:
But any attempt to use the mic gives an error:
I don't even know what direction to look. Any help is very welcome. Thanks!
So, here is what I've done so far:
- wired I2S Mic to the board.
- built codec driver - https://raw.githubusercontent.com/raspb ... ics43432.c
- created DT overlay, disabled pcm5102a and creaded the mic device - https://pastebin.com/vfTi35hc
after reboot I do see the mic device:
Code: Select all
arecord -l
**** List of CAPTURE Hardware Devices ****
card 4: I2Smicmaster [I2S-mic-master], device 0: 1c22000.i2s-ics43432-hifi ics43432-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
But any attempt to use the mic gives an error:
Code: Select all
ASoC: ics43432-hifi <-> 1c22000.i2s No matching formats
I don't even know what direction to look. Any help is very welcome. Thanks!