gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > ARM7 DMA vs ARM9 DMA

#147427 - simonjhall - Thu Dec 20, 2007 2:43 pm

I need to transfer some data from slot-2 memory to main memory (in the order or tens of kb) and I happen to be on the ARM7 at the time.
Forgetting any IPC overhead etc etc, what's the difference in speed going to be if this DMA is started from the ARM7 or from the AMR9? Is the transfer speed determined by the relavent CPU clock or the bus clock? Or is there in fact no difference between the two, eg the DMA controller lives on the bus?

Anyone have any experience with doing this sort of thing before?

EDIT: just a tip for people who are wondering why their data ain't coming back right - DMA on ARM7 can't handle the same address and sizes ranges as ARM9 DMA. Just wasted an hour finding that out ;-)
_________________
Big thanks to everyone who donated for Quake2

#147473 - chishm - Fri Dec 21, 2007 7:01 am

Since the ARM9's external clock is the same as the ARM7's and they both share the bus to EXRAM and SLOT-2, I'd guess that you'll get almost identical speed results.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com