scales11
Posts: 20
Joined: Tue Oct 09, 2012 2:54 pm

PiZeroW i2c microphone Stretch Issue

Thu Jun 20, 2019 2:21 pm

Hello all.

I am trying to get an i2c microphone working on my raspberry pi zero. The module and tutorial are from Adafruit:
https://learn.adafruit.com/adafruit-i2s ... g-and-test
but I can only get it working on Debian Jessie.

I think the kernel compiles ok when I run "rpi-source --skip-gcc"...it asked me a few questions (none of which I was smart enough to write down) and now it says it's already loaded so I don't think I can re-run it without a fresh install. The trouble I am having is that when I try and compiles PaulCesars i2c module, I get:

Code: Select all

pi@raspberrypi:~/rpi-i2s-audio $ make -C /lib/modules/$(uname -r )/build M=$(pwd) modules
make: Entering directory '/home/pi/linux-2f8d963db206ce596f9a9e951ec425e9c3e1b4d9'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "__sanitizer_cov_trace_pc" [/home/pi/rpi-i2s-audio/my_loader.ko] undefined!
make: Leaving directory '/home/pi/linux-2f8d963db206ce596f9a9e951ec425e9c3e1b4d9'

pi@raspberrypi:~/rpi-i2s-audio $ sudo insmod my_loader.ko          insmod: ERROR: could not insert module my_loader.ko: Unknown symbol in module

pi@raspberrypi:~/rpi-i2s-audio $
Maybe it's not compatible with Stretch?

Can anyone offer advice on how to use this microphone with Debian Stretch?

scales11
Posts: 20
Joined: Tue Oct 09, 2012 2:54 pm

Re: PiZeroW i2c microphone Stretch Issue

Thu Jun 27, 2019 5:18 pm

Any help?

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: PiZeroW i2c microphone Stretch Issue

Thu Jun 27, 2019 6:14 pm

You could try: https://www.raspberrypi.org/forums/view ... p?t=173640

Or, more simply, enable eg the Google Voice HAT overlay, which similarly contains i2s mems microphones. There may be other overlays which work; possibly a typo but it's an i2s (fast digital audio), not i2c (slow serial open collector) mems mic you have.

Return to “General discussion”