cancel
Showing results for 
Search instead for 
Did you mean: 

I2S DMA error in STM32 Nucleo H755ZI-Q

Varsha-Bijapur
Associate

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.



1 REPLY 1
KDJEM.1
ST Employee

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

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.