I am using McBSP2 & SDMA for capturing the audio data from mic but I am hearing noisy output. I am sure that the McBSP2 configurations are correct.
I am copying 1024 bytes of data received using McBSP2 into application buffer using SDMA and doing fwrite to dump the data into a file. When I play the file I am hearing noisy output however the wave pattern change depending on the input. How can I debug the cause ? is there any source code that does this functionality & can anybody share the same ?