Skip to main content
frackers
Senior
May 6, 2019
Question

F7 run out of DMA channels - can I use DMA2D as byte mode mem2mem?

  • May 6, 2019
  • 1 reply
  • 653 views

Title says it all really - just enabled hardware jpeg decode and I've lost my last mem2mem DMA channel. Various image manipulations (creating BMP file from camera image for example) requires moving a lot of data about for which up to now I've used mem2mem DMA.

Is there a mode I can put the DMA2D engine into to use it as a straight forward byte copy. I'm struggling to get past the alpha channel and windowing at present!!

This topic has been closed for replies.

1 reply

Piranha
Principal III
May 7, 2019

Do You really need all streams (not channels on F7) of DMA "simultaneously"? If no, then I have to ask a silly question - do You know that one can disable-reconfigure-enable DMA stream at run-time when needed?

P.S. Physically "simultaneous" access to the same memory/bus isn't possible anyway.