AnsweredAssumed Answered

memory to memory working but not memory to peripheral (DMA)

Question asked by gorge on Jul 1, 2016
Latest reply on Jul 1, 2016 by wolff.roger
I tried editing the simple DMA example in STM32Cube_FW_F7_V1.4.0\Projects\STM32F746ZG-Nucleo\Examples\DMA\DMA_FLASHToRAM

I changed the DMA direction register so its memorytoperipheral
instead of memorytomemory. And I changed the destination
memory address to one of the GPIO ports. For some reason its not working though. The GPIO pins aren't being written to at all.


It does however write to the ODR register if I leave it as memory_to_memory. 
The problem with this though is that I can't then have the memory pointer not increment for the destination address with each write.

ideone.com/KJTf1v

Outcomes