cancel
Showing results for 
Search instead for 
Did you mean: 

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

frackers
Senior

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!!

1 REPLY 1
Piranha
Chief II

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.