ArmDeveloperEcosystem / microphone-library-for-pico

Capture audio from a microphone on your Raspberry Pi Pico or any RP2040 based board. 🎤
Apache License 2.0
253 stars 50 forks source link

Fail to run PDM example #4

Closed LetterLiGo closed 3 years ago

LetterLiGo commented 3 years ago

Thanks for your great work. While I fall in trouble running the PDM example. I've examined the GPIO output and found the CLK output nothing.

And I tried the official pico-examples/clocks/hello_gpout, it works with GPIO 21 output rectangular wave. Other official examples' codes also work well.

Could you please help me?

LetterLiGo commented 3 years ago

btw, I'm using a MEMS PDM microphone MP34DT01 made by Adafruit Inc.

LetterLiGo commented 3 years ago

It's okay, I should program pico with usb_microphone.uf2