Question
memory to memory working but not memory to peripheral (DMA)
Posted on July 01, 2016 at 04:14
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.