2025-03-05 7:27 PM
Hello,
I am a beginner trying to create my first STM32 project using the STM32F407G Discovery Board. I am trying to receive audio input through I2S, delay one of the channels, and then output the result to the audio jack. I can get a simple sine wave to play through the headphones, but when I try to use two SPH0645LM4H-B microphones, I only get a beeping noise through the headphones. This even happens when I don't use the delay and simply try to play the microphone input through the headphones. Sometimes making noise near the microphones has an effect on the volume of the noise. I have the microphones connected just like it says to on the datasheet and I have been trying to fix the problem for weeks with no progress. Any help or suggestions would be greatly appreciated, I am coming up on a deadline for the project and I don't know what to do. I've attached the main file and the I2C drivers to this post. Thank you for any help!
2025-04-22 2:14 AM
Hi @joelnberns ,
Just some hints, not really the solution to your issue.
I would suggest you start with the source files provided in the STM32Cube package dedicated for the cs43l22 component:
That would be easy to integrate in a project you can generate from STM32CubeMX based on the required configuration you have.
-Amel
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.