cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469 Discovery SAI DMA DB problem

DBrow
Associate II

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

2 REPLIES 2

Read our and check the SAI and relevant DMA registers' content.

JW

DBrow
Associate II

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