I2S master RX with DMA transfer to memory
Hi,
I am using STM32CubeIDE for audio application development. In my application STM32 will be working as I2S Master Receiver so I wanted to collect data continuously without losing any data.
I have configured DMA with circular mode enabled.
Looking at some document with respect to stm32, I have got an answer that when we configure circular mode then DBM bit from DMA_SxCR Register should be set and followed by second memory address. but auto code genrated by the tool does not allowing for circular transfer.
DMA_SxCR -> DBM bit is set with 0 in the DMA_SetConfig function.
Can anyone help me this ASAP.
I have to avoid data loss because it is an Audio application.
Regards,
Suresh.