Skip to main content
Visitor II
April 5, 2025
Question

I2S DMA error in STM32 Nucleo H755ZI-Q

  • April 5, 2025
  • 1 reply
  • 422 views

Hello Community;
we are trying to integrate INMP441 microphone on Nucleo H755ZI-Q board via I2S2 and USART3 through DMA.
I2S2 configuration:

VarshaBijapur_0-1743891111902.pngVarshaBijapur_1-1743891130617.pngVarshaBijapur_2-1743891151685.png

Clock configuration:

VarshaBijapur_3-1743891210123.png


USART3 configuration:

VarshaBijapur_4-1743891295023.pngVarshaBijapur_5-1743891310553.png


Output:

VarshaBijapur_0-1743891918874.png


We tried to get the audio signals via I2S DMA through ping-pong buffer, the serial monitor output we are getting is just zeros.
We have checked the hardware and DCache is disabled.

We have attached the project for your reference. Kindly provide us a solution.



    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 21, 2025

    Hello @Varsha-Bijapur and welcome to the Community;

     

    Does the problem remain the same without using DMA?

    Please take a look at this FAQ "DMA is not working on STM32H7 devices" , precisely "3. Solution example 1: Simple placement of all memory to D1 domain" section and "4. Solution example 2: Placing buffers in separated memory part" section, may help you to solve the issue. 

    I hope this help you.

    Thank you.

    Kaouthar