Unable to get data in SRAM1 when DMA1 is configured for I2S2, in STM32H753xx
Hi STM community,
I have created stm32 project in STMCubeIDE. I2S2 configured as Half duplex Master in receive mode, 16k audio frequency and 24 bit on 32 bit format. Able to receive data in polling mode.
But not able to receive data in SRAM1 memory when DMA1 stream 0 is configured in normal mode. Used HAL dma api for receiving I2S data.
Breakpoint hits DMA interrupt handler and RX Complete handler, but still there is no data in the destination address. Checked source and destination addresses and these are programmed as expected. Also able to get data in RX data register of I2S peripheral. But data is not copied to RAM. The DMA channel is also enabled for reception (RXDMAEN). The DMA stream request number is also as expected (39). DMA clock is also enabled.
I have tried creating project with STM32CubeIDE 1.5.0 and 1.6.0. However, DMA is not available for I2S2 on IDE version 1.7.0.
Please find the project in the attachment.
No idea why data is not received in the destination address/RX buffer array.
Thanks and regards
KM
