DMA is not working with SAI
hi,
I am using stm32h743zit6.
I am having problems with DMA in my code. First i have a code that is not mine that takes data from a peripheral (a microphone) using SAI and then via DMA inserts this data into an array (a buffer). To do this memory is modified to do this.
I am doing the same configuration in other code to try to do this, in the original one the data refreshes automatically and in my own code, it just takes the first read.
ALIGN_32BYTES (int32_t __attribute__((section (".dmapart"))) dmaArray[data]);
HAL_SAI_Receive_DMA(&hsai_BlockA3,(uint8_t)* dmaArray, (uint16_t) data);
All the GPIO is ok because i just copied the same code. SCB_EnableIcache() is written in the main..., I don't know why is not updating the data in my array and is working well in the other code. Anyone have any idea why is not updating in my code?
If any of you need more info about the code tell me please.
Thank you so much, i am desperating.
