Extracting the Audio Signal from I2S integration

Good day! I have a nRF52840 based board that I interfaced with a MEMS microphone (SPH0645) through I2S interfacing. I got to the point where sounds made near the microphone affects the data being fed through the board. I assumed that the interfacing is successful.

However, I want to make sure that these data are really sound. How can I extract the PCM data on the I2S buffer to listen to the sound from the microphone, in order to make sure that I was getting the right sound signals?

I am using NCS 2.6.0 and the Seeed Studio Xiao (nRF52840) BLE board. Attached below is the code I am currently using.

/cfs-file/__key/communityserver-discussions-components-files/4/echo_5F00_2.zip

Thank you!

Related