2024-02-09 12:03 PM
Hello everyone,
I am new to hardware programming so please excuse my basic question. Can someone please point me to the right resource to obtain data from an external pdm microphone (https://learn.adafruit.com/adafruit-pdm-microphone-breakout?view=all) from STM32H7 using arduino? Is that possible? I could not find good tutorials for this. Is learning Cube to be able to implement SAI- PDM the only option for this project? I did find the following discussion on arduino forum: https://forum.arduino.cc/t/audio-input-pdm-portenta-vision-shield/1084627 but I wanted to clarify.
Solved! Go to Solution.
2024-02-09 12:35 PM
Hello @yshetty and welcome to the ST Community :smiling_face_with_smiling_eyes:.
First, i suggest you follow this tutorial to understand how to set up the Arduino Portenta H7 to Arduino IDE. Then you can try to adapt the example on the Arduino firmware of the component (the first link you shared on your post) to your board.
If this can't solve your issue. Please ask this question on our STM32DUINO Forum. They may can give more details.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-09 12:35 PM
Hello @yshetty and welcome to the ST Community :smiling_face_with_smiling_eyes:.
First, i suggest you follow this tutorial to understand how to set up the Arduino Portenta H7 to Arduino IDE. Then you can try to adapt the example on the Arduino firmware of the component (the first link you shared on your post) to your board.
If this can't solve your issue. Please ask this question on our STM32DUINO Forum. They may can give more details.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-09 08:36 PM
I have used the Portenta H7: if you use the extension called "Portanta H7 Vision Shield" (which I need for ETH connector: it has already TWO PDM MICs aboard.
And I can confirm: these MICs are working (I can get the audio via USB Audio to host PC).
Consider to use the "Portenta H7 Vision Shield" (and no need for external wiring).
2024-02-12 08:53 AM
Thank you, it is a really good tip. I will check that out and get back.
2024-02-12 08:57 AM
..but I was also wondering if it is possible to connect an external PDM microphone breakout board as well. The thing is I have few PDM microphone breakout boards and I want to analyze the signal from each of them to compare performance, etc. Do you think I need the vision shield for this task?