STM32F4 I2S DMA
Hello everyone,
I am currently implementing an audio synthesizer. My DAC requires the I2S protocol, which is supported by my device (F446). I want to setup a circular buffer to feed the I2S peripheral using DMA. Idealy, i want to set it up and let the DMA increases the read pointer and handle the wraparound). I require the read pointer to avoid buffer overflows, so it is crucial that i have it. I am not sure if this is possible. The circular dma mode seems like exactly what i need, but i have not found a way to make it work with a ring buffer... Is there another way to do it properly? If i simply could access the internal read pointer from the DMA..
I thought about using a double buffer and having an interrupt fire every time a buffer is completely send.
I am thankful for every input
Chees
