I am working with MK82FN256VLL15 MCU. I am trying to read the audio data from a MIC using SAI/I2S protocol.
Using a logic analyzer I could see the data being transmitted from mic to the MCU. But when I print the buffer I get only zeros.
I have attached the screenshot of from the logic analyzer and also the code.
Any help is very much appreciated.
Thank you in advance
Original Attachment has been moved to: i2s_mic.c.zip