STM32F469 Discovery SAI DMA DB problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-10 9: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
- Labels:
-
DMA
-
SAI
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-10 2:26 PM
Read our and check the SAI and relevant DMA registers' content.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-11 2: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
