XIAO MG24 Sense Microphone wiki instruction not working

Hi everyone,

Has anyone managed to use the microphone on the MG24 Sense?

I followed the instructions on the official wiki step-by-step:

  1. Installed the Seeed Arduino Mic Library.

  2. Downloaded the gsdk.a replacement file and placed it in this path:

/Users/yourname/Library/Arduino15/packages/SiliconLabs/hardware/silabs/2.2.0/variants/xiao_mg24/ble_silabs/.

However, even after following these steps, I still cannot get the microphone to work when running the example code provided in the wiki.

Has anyone encountered a similar issue or successfully used the MG24’s microphone? I’d appreciate any advice or suggestions!

Thanks in advance!

What is the link to the wiki you are reading?

The link is at the microphone section of this page:

And the error message is:
25 | #error “This library targets only Wio Terminal boards at the moment”

I tried it and got the same results as you.
I will have to wait for the Wiki to be updated.

edit:
After carefully following the Wiki instructions, I no longer get the compile error.
However, I still cannot see the waveforms.

Hi there,

So , FWIW I had similar situation with the IMU , I would get an SPI divide by clock error, @Chunchun put out a new UPDATED LIB and Everything is working IMU related, so I would wager that is the case here too. Hang tight they will get to it, as it’s just a couple weeks new.:+1:

HTH
GL :slight_smile: PJ :v:

The IMU library was also using the wrong Wire bus. It is fixed now.