Skip to main content
Visitor II
March 6, 2025
Question

I2S Microphone Output Problems

  • March 6, 2025
  • 1 reply
  • 974 views

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!

 

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 22, 2025

    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