2024-12-11 12:17 AM
Can the memory generated by DMA be accessed and used as data? And how?
Solved! Go to Solution.
2024-12-11 12:29 AM
Hello @macam1 ,
If you mean data transfer from memory to DAC with DMA, yes it's possible.
You didn't mention the exact STM32F4 part number.
This is for STM32F4x7 using DMA1:
2024-12-11 12:29 AM
Hello @macam1 ,
If you mean data transfer from memory to DAC with DMA, yes it's possible.
You didn't mention the exact STM32F4 part number.
This is for STM32F4x7 using DMA1:
2024-12-11 12:36 AM
thank you for your response, yes using stm32f405. can you give an explanation about this dma memory access, I'm so blind.
2024-12-11 12:50 AM
What explanation you need?
You need to configure DMA and DAC especially to choose the correct DMA stream and DMA channel (see the figure I shared above).
Please refer to this example. It's using DMA and DAC for signal generation: