Texas Instruments TMS320 DSP Computer Hardware User Manual


 
www.ti.com
A.5DMAGuidelines
DMAGuidelines
Guideline12AllC6xalgorithmsshouldbesuppliedinbothlittle-andbig-endianformats.(See
Section5.3.1)
Guideline13Onprocessorsthatsupportlargeprogrammodelcompilations,aversionofthealgorithm
shouldbesuppliedthataccessesallcorerun-timesupportfunctionsasnearfunctionsandall
algorithmsasfarfunctions(mixedmodel).(SeeSection5.4.2)
Guideline14AllC55xalgorithmsshouldnotassumeanyspecificstackconfigurationandshouldwork
underallthethreestackmodes.(SeeSection5.5.1)
DMAGuideline1ThedatatransfershouldcompletebeforetheCPUoperationsexecutinginparallel
(DMAguideline).(SeeSection6.6)
DMAGuideline2Allalgorithmsshouldminimizechannel(re)configurationoverheadbyrequestinga
dedicatedlogicalDMAchannelforeachdistincttypeofDMAtransferitissues,andavoidcalling
ACPY2configureandpreferringthenewfastconfigurationAPIswherepossible.(SeeSection6.12)
DMAGuideline3Toensurecorrectness,AllC6000algorithmsthatimplementIDMA2needtobe
suppliedwiththeinternalmemorytheyrequestfromtheclientapplciationusingalgAlloc().(See
Section6.13.1)
DMAGuideline4Tofacilitatehighperformance,C55xalgorithmsshouldrequestDMAtransferswith
sourceanddestinationsalignedon32-bitbyteaddresses.(SeeSection6.14.1)
DMAGuideline5C55xalgorithmsshouldminimizechannelconfigurationoverheadbyrequestinga
separatelogicalchannelforeachdifferenttransfertype.TheyshouldalsocallACPY2_configure
whenthesourceordestinationaddressesbelonginadifferenttypeofmemory(SARAM,DARAM,
External)ascomparedwiththatofthemostrecenttransfer.(SeeSection6.14.2)
SPRU352GJune2005RevisedFebruary2007RulesandGuidelines79
SubmitDocumentationFeedback