I'm working on nrf5340 DK and I wanted to use a mic for sound detection. To do so I installed the X-nucleo-IKS02A1 shield on my board because I have seen that it is compatible with Arduino R3 format. But since then it's impossible to find good software resources to make things work as I want... I use zephyr RTOS but the sound possibilities are very limited and have no good examples.
I tried 2 ways, based on what i have seen for other nrf boards :
- using the DMIC driver of zephyr RTOS : I think the ports are not well defined, I get an configuration error an I don't know how to fix it. Maybe the 5340 board is not compatible ?
- Creating a PDM input : it goes well and without any errors but I don't have anything when I print my PDM data (only zeros...), maybe I'm not using the right ports ?
Is there any working examples of this hardware configuration working for mic sound recording ? It would be very useful