2020-07-10 09:37 AM
I try to use the SAI on the STM32F469 Discovery Board in DMA Double Buffer TX Mode. The Interrupt is working and the buffers too - but there are no data arriving at the SAI ADR Register. My init function is:
HAL_DMAEx_MultiBufferStart(&hdma_sai1_a, (uint32_t) (&buff_01), (uint32_t)(SAI1_BASE + 0x20), (uint32_t) (&buff_02), Array_Size);
Has anybody an idea??
regards
Dave
2020-07-10 02:26 PM
Read our and check the SAI and relevant DMA registers' content.
JW
2020-07-11 02:43 AM
Thanks for help, JW. I found out (by comparing ti the ST Audio PB/REC example) that either the Debugger (Keil) can not access the ADR Register, or the data are "stolen" so fast by the FIFO, that they are not visible. So the SAI works, just some finetuning is necessary.
Dave