Texas Instruments TMS320DM644x Camera Accessories User Manual


 
Contents
Preface...............................................................................................................................7
1Introduction................................................................................................................9
1.1PurposeofthePeripheral.......................................................................................9
1.2Features...........................................................................................................9
1.3FunctionalBlockDiagram.......................................................................................9
1.4SupportedUseCaseStatement..............................................................................10
1.5IndustryStandard(s)ComplianceStatement...............................................................10
2PeripheralArchitecture..............................................................................................10
2.1ClockControl....................................................................................................12
2.2SignalDescriptions.............................................................................................13
2.3ProtocolDescriptions...........................................................................................13
2.4DataFlowintheInput/OutputFIFO..........................................................................15
2.5DataFlowintheDataRegisters(MMCDRRandMMCDXR).............................................17
2.6FIFOOperationDuringCardReadOperation..............................................................19
2.7FIFOOperationDuringCardWriteOperation..............................................................21
2.8ResetConsiderations..........................................................................................23
2.9Initialization......................................................................................................23
2.10InterruptSupport................................................................................................27
2.11DMAEventSupport............................................................................................28
2.12PowerManagement............................................................................................28
2.13EmulationConsiderations.....................................................................................28
3ProceduresforCommonOperations...........................................................................29
3.1CardIdentificationOperation..................................................................................29
3.2MMC/SDModeSingle-BlockWriteOperationUsingCPU................................................32
3.3MMC/SDModeSingle-BlockWriteOperationUsingtheEDMA.........................................34
3.4MMC/SDModeSingle-BlockReadOperationUsingtheCPU...........................................34
3.5MMC/SDModeSingle-BlockReadOperationUsingEDMA..............................................35
3.6MMC/SDModeMultiple-BlockWriteOperationUsingCPU..............................................36
3.7MMC/SDModeMultiple-BlockWriteOperationUsingEDMA............................................38
3.8MMC/SDModeMultiple-BlockReadOperationUsingCPU..............................................38
3.9MMC/SDModeMultiple-BlockReadOperationUsingEDMA............................................39
4Registers..................................................................................................................40
4.1MMCControlRegister(MMCCTL)...........................................................................41
4.2MMCMemoryClockControlRegister(MMCCLK).........................................................42
4.3MMCStatusRegister0(MMCST0)..........................................................................43
4.4MMCStatusRegister1(MMCST1)..........................................................................45
4.5MMCInterruptMaskRegister(MMCIM).....................................................................46
4.6MMCResponseTime-OutRegister(MMCTOR)...........................................................47
4.7MMCDataReadTime-OutRegister(MMCTOD)..........................................................48
4.8MMCBlockLengthRegister(MMCBLEN)..................................................................49
4.9MMCNumberofBlocksRegister(MMCNBLK)............................................................50
4.10MMCNumberofBlocksCounterRegister(MMCNBLC)..................................................50
4.11MMCDataReceiveRegister(MMCDRR)...................................................................51
4.12MMCDataTransmitRegister(MMCDXR)..................................................................51
SPRUE30BSeptember2006TableofContents3
SubmitDocumentationFeedback