This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PDM working??

Hello, 

I've been posting PDM questions for a while now and I think I finally have something, but I'm not sure.

When I run my code w/ the PDM Mic connected I get this output on the monitor.

However when I go through the debugger and set up these breakpoints

These are my outputs after the last breakpoint for RAM, pdm_buf [ ], and on the monitor.

Alternatively, when I disconnect the mic (removing the CLK and DATA lines to the DK)

I get this for outputs

I'm rather confused as to why my output looks the same when it's connected to the DK and when it's not (at least on the monitor side) if I just run with no breakpoints and why my output is so very different when I step through the code. 

Any help is appreciated. Thank you