Texas Instruments TMS320C6454 Computer Hardware User Manual


 
www.ti.com
PRODUCT PREVIEW
7.9DDR2MemoryController
7.9.1DDR2MemoryControllerDevice-SpecificInformation
TMS320C6454
Fixed-PointDigitalSignalProcessor
SPRS311AAPRIL2006REVISEDDECEMBER2006
The32-bitDDR2MemoryControllerbusoftheC6454isusedtointerfacetoJESD79D-2A
standard-compliantDDR2SDRAMdevices.TheDDR2externalbusonlyinterfacestoDDR2SDRAM
devices;itdoesnotsharethebuswithanyothertypesofperipherals.ThedecouplingofDDR2memories
fromotherdevicesbothsimplifiesboarddesignandprovidesI/Oconcurrencyfromasecondexternal
memoryinterface,EMIFA.
TheinternaldatabusclockfrequencyandDDR2busclockfrequencydirectlyaffectthemaximum
throughputoftheDDR2bus.TheclockfrequencyoftheDDR2busisequaltotheCLKIN2frequency
multipliedby10.TheinternaldatabusclockfrequencyoftheDDR2MemoryControllerisfixedata
divide-by-threeratiooftheCPUfrequency.ThemaximumDDR2throughputisdeterminedbythesmaller
ofthetwobusfrequencies.Forexample,iftheinternaldatabusfrequencyis333MHz(CPUfrequencyis
1GHz)andtheDDR2busfrequencyis250MHz(CLKIN2frequencyis25MHz),themaximumdatarate
achievablebytheDDR2memorycontrolleris2.0Gbytes/sec.TheDDR2busisdesignedtosustaina
maximumthroughputofupto2.0Gbytes/secata533-MHzdatarate(250-MHzclockrate),aslongas
datarequestsarependingintheDDR2MemoryController.
TheapproachtospecifyinginterfacetimingfortheDDR2memorybusisdifferentthanonotherinterfaces
suchasEMIF,HPI,andMcBSP.Fortheseotherinterfacesthedevicetimingwasspecifiedintermsof
datamanualspecificationsandI/Obufferinformationspecification(IBIS)models.
FortheC6454DDR2memorybus,theapproachistospecifycompatibleDDR2devicesandprovidethe
printedcircuitboard(PCB)solutionandguidelinesdirectlytotheuser.TexasInstruments(TI)has
performedthesimulationandsystemcharacterizationtoensureallDDR2interfacetimingsinthissolution
aremet.ThecompleteDDR2systemsolutionisdocumentedintheImplementingDDR2PCBLayouton
theTMS320C6454applicationreport(literaturenumberSPRAAA7).
TIonlysupportsdesignsthatfollowtheboarddesignguidelinesoutlinedintheSPRAAA7
applicationreport.
TheDDR2MemoryControllerpinsmustbeenabledbysettingtheDDR2_ENconfigurationpin(ABA0)
highduringdevicereset.Formoredetails,seeSection3.1,DeviceConfigurationatDeviceReset.
TheODT[1:0]pinsofthememorycontrollermustbeleftunconnected.TheODTpinsontheDDR2
memorydevice(s)mustbeconnectedtoground.
TheDDR2memorycontrollerontheC6454devicesupportsthefollowingmemorytopologies:
A32-bitwideconfigurationinterfacingtotwo16-bitwideDDR2SDRAMdevices.
A16-bitwideconfigurationinterfacingtoasingle16-bitwideDDR2SDRAMdevice.
AraceconditionmayexistwhencertainmasterswritedatatotheDDR2memorycontroller.Forexample,
ifmasterApassesasoftwaremessageviaabufferinexternalmemoryanddoesnotwaitforindication
thatthewritecompletes,whenmasterBattemptstoreadthesoftwaremessage,thenthemasterBread
maybypassthemasterAwriteand,thus,masterBmayreadstaledataand,therefore,receivean
incorrectmessage.
Somemasterperipherals(e.g.,EDMA3transfercontrollers)willalwayswaitforthewritetocomplete
beforesignalinganinterrupttothesystem,thusavoidingthisracecondition.Formastersthatdonothave
hardwareguaranteeofwrite-readordering,itmaybenecessarytoguaranteedataorderingviasoftware.
IfmasterAdoesnotwaitforindicationthatawriteiscomplete,itmustperformthefollowingworkaround:
1.Performtherequiredwrite.
2.PerformadummywritetotheDDR2memorycontrollermoduleIDandrevisionregister.
3.PerformadummyreadtotheDDR2memorycontrollermoduleIDandrevisionregister.
4.IndicatetomasterBthatthedataisreadytobereadaftercompletionofthereadinstep3.The
completionofthereadinstep3ensuresthatthepreviouswritewasdone.
SubmitDocumentationFeedbackC64x+PeripheralInformationandElectricalSpecifications147