AnsweredAssumed Answered

Trouble using DMA triggered by GPIO

Question asked by Benjamin Schroeder on Oct 15, 2015
Latest reply on Oct 23, 2015 by Alice_Yang



I'm trying to investigate the capabilities of the DMA, and as an example, I'm trying to trigger the DMA by using a push button GPIO configured as an input.  The platform I'm using is the TWR-K60F120M.  I've been trying to use the processor expert since it helps greatly with the initialization code.


I've attached some screenshots of my settings.  I'm simply trying to detect a falling edge of the push button, and initiate a 32-bit memory transfer.  Can anyone point me to what I might be doing wrong?


For what it's worth, I know I've gotten the input GPIO working.  I previously had it generating an interrupt, and it was working perfectly.  It is only since I've tried to generate a DMA request instead of an interrupt that I've had issues.