DMACA GPIO to Memory transfer - Is it possible?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Should it be possible to perform 32-bit DMACA transfers

from:
&AVR32_GPIO.port[0].pvr (0xffff1060)
to:
INTRAM0 (0xff000000)
???

I've tried many permutations (including M2M without handshake, P2M with software handshake, etc.) with no success. If this should be possible, please let me know and I'll post the code in hopes that someone can help me figure this out.

Thanks,
Wade Dawson.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It is not clear witch MCU you are using so i presume one with Mem to Mem DMA.
Anyway to use DMA with hardware like the peripherals there are a need for flow control / handshake to tell the DMA when to do the transfer like a timer compare/overflow signal else it would kinda just do a transfer per clock cycle.

It would be a nice feature but it is not there yet.

You could use a external shift register and use the SPI.
It would how ever limit you to a port sample rate a little.

"It can NOT be solved in firmware later"