Texas Instruments TMS320DM644x Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Texas Instruments TMS320DM644x herunter. Texas Instruments TMS320DM644x User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - User's Guide

TMS320DM644x DMSoCMultimedia Card (MMC)/Secure Digital (SD)Card ControllerUser's GuideLiterature Number: SPRUE30BSeptember 2006

Seite 2 - Submit Documentation Feedback

www.ti.comStatusandregistersDMA requestsInterruptsARM CPUFIFOMMC/SDinterfaceCLKdividerMMC/SDcardinterface1.4 Supported Use Case Statement1.5 Industry

Seite 3 - Contents

www.ti.comNative packetsNativesignalsCMDCLKDAT0 or DAT0−3MMC/SDcontrollerARMEDMAMemoryMMCs or SD cardsSD_CLKSD_CMDSD_DATA0SD_DATA1SD_DATA2SD_DATA3MMC/

Seite 4

www.ti.com2.1 Clock ControlMMCCLK(CLKRT)Function clock forMMC/SD controllerMMC/SD controllerMMC/SDinput clockcardMMC/SDMemory clockon CLK pinPeriphera

Seite 5

www.ti.com2.2 Signal Descriptions2.3 Protocol Descriptions2.3.1 MMC/SD Mode Write SequencePeripheral ArchitectureTable 1 shows the MMC/SD controller p

Seite 6

www.ti.com2 CRC bytesBusylowStartbitEndbitStartbitEndbitCMDDataCLK2.3.2 MMC/SD Mode Read SequencePeripheral ArchitectureFigure 5. MMC/SD Mode Write Se

Seite 7 - Read This First

www.ti.comStartbitEndbitCMDDataCLK1 transfersource bit2 CRCbytes2.4 Data Flow in the Input/Output FIFOPeripheral ArchitectureFigure 6. MMC/SD Mode Rea

Seite 8 - Trademarks

www.ti.comARM/EDMA reads/writesWrite ReadFIFO8−bit x 32(256−bit)FIFOEDMA event128 or 256 bit128 or 256 bitEDMA eventEDMA eventthe end of atransferPoin

Seite 9 - Controller

www.ti.com2.5 Data Flow in the Data Registers (MMCDRR and MMCDXR)1st2nd3rd4th34th 3rd 2nd 1stSupport byten = ”1111”Support byten = ”0111”3rd2nd1st33rd

Seite 10 - 2 Peripheral Architecture

www.ti.com1st2nd3rd4th34th3rd2nd1stSupport byten = ”1111”Support byten = ”1110”3rd2nd1st33rd2nd1stSupport byten = ”1100”1st2nd32nd1st0Support byten =

Seite 11 - Peripheral Architecture

www.ti.com2.6 FIFO Operation During Card Read Operation2.6.1 EDMA Reads2.6.2 CPU ReadsPeripheral ArchitectureThe FIFO controller manages the activitie

Seite 12 - 2.1 Clock Control

2 SPRUE30B – September 2006Submit Documentation Feedback

Seite 13 - 2.3 Protocol Descriptions

www.ti.comFIFO Check1/StartFIFOfull?Counter=FIFOLEV?YesNoCapture data,no DMA pendingIncrement counterNoYesGenerate DMAReset counterFIFO check 2YesNo?f

Seite 14

www.ti.com2.7 FIFO Operation During Card Write Operation2.7.1 EDMA Writes2.7.2 CPU WritesPeripheral ArchitectureThe FIFO controller manages the activi

Seite 15

www.ti.comFIFO Check1/StartFIFOfull?Counter=FIFOLEV?YesNoCapture data,no DMA pendingIncrement counterNoYesGenerate DMAReset counterFIFO check 2YesNo?f

Seite 16

www.ti.com2.8 Reset Considerations2.8.1 Software Reset Considerations2.8.2 Hardware Reset Considerations2.9 Initialization2.9.1 MMC/SD Controller Init

Seite 17

www.ti.com2.9.3 Initializing the Clock Controller Registers (MMCCLK)2.9.4 Initialize the Interrupt Mask Register (MMCIM)2.9.5 Initialize the Time-Out

Seite 18

www.ti.com2.9.7 Monitoring Activity in the MMC/SD Mode2.9.7.1 Determining Whether New Data is Available in MMCDRR2.9.7.2 Verifying that MMCDXR is Read

Seite 19

www.ti.com2.9.7.8 Determining When Last Data has Been Written to Card (SanDisk SD cards)2.9.7.9 Checking For a Data Transmit Empty Condition2.9.7.10 C

Seite 20

www.ti.com2.10 Interrupt Support2.10.1 Interrupt Events and Requests2.10.2 Interrupt MultiplexingPeripheral ArchitectureThe MMC/SD controller generate

Seite 21

www.ti.com2.11 DMA Event Support2.12 Power Management2.13 Emulation ConsiderationsPeripheral ArchitectureThe MMC/SD controller is capable of generatin

Seite 22

www.ti.com3 Procedures for Common Operations3.1 Card Identification Operation3.1.1 MMC Card Identification ProcedureProcedures for Common OperationsBe

Seite 23 - 2.8 Reset Considerations

ContentsPreface ... 71 Int

Seite 24

www.ti.com3.1.2 SD Card Identification ProcedureProcedures for Common OperationsFigure 12. MMC Card Identification ProcedureThe SD card identification

Seite 25

www.ti.comProcedures for Common Operations6. Repeat step 4 and step 5 to identify and retrieve relative addresses from all remaining SD cards untilno

Seite 26

www.ti.com3.2 MMC/SD Mode Single-Block Write Operation Using CPUProcedures for Common OperationsTo perform a single-block write, the block length must

Seite 27 - 2.10 Interrupt Support

www.ti.comARG HIGHRCA ADDRESS HIGHSTATUS 0NEXT DATA BYTEDATA TXMMC controllerregister contentMMC controllerregisterRCA ADDRESS LOWARG LOWSEL/DESEL. CA

Seite 28 - 2.13 Emulation Considerations

www.ti.com3.3 MMC/SD Mode Single-Block Write Operation Using the EDMA3.4 MMC/SD Mode Single-Block Read Operation Using the CPUProcedures for Common Op

Seite 29

www.ti.comARG HIGHRCA ADDRESS HIGHSTATUS 0NEXT DATA BYTEDATA TXMMC controllerregister contentMMC controllerregisterRCA ADDRESS LOWARG LOWSEL/DESEL. CA

Seite 30

www.ti.com3.6 MMC/SD Mode Multiple-Block Write Operation Using CPUProcedures for Common OperationsTo perform a multiple-block write, the same block le

Seite 31

www.ti.comARG HIGHRCA ADDRESS HIGHSTATUS 0NEXT DATA BYTEDATA TXMMC controllerregister contentMMC controllerregisterRCA ADDRESS LOWARG LOWSEL/DESEL. CA

Seite 32

www.ti.com3.7 MMC/SD Mode Multiple-Block Write Operation Using EDMA3.8 MMC/SD Mode Multiple-Block Read Operation Using CPUProcedures for Common Operat

Seite 33

www.ti.comARG HIGHRCA ADDRESS HIGHSTATUS 0NEXT DATA BYTEDATA TXMMC controllerregister contentMMC controllerregisterRCA ADDRESS LOWARG LOWSEL/DESEL. CA

Seite 34

4.13 MMC Command Register (MMCCMD) ... 524.14 MMC Argument Register (MMCARGHL) ...

Seite 35

www.ti.com4 RegistersRegistersTable 5 lists the memory-mapped registers for the multimedia card/secure digital (MMC/SD) cardcontroller. See the device

Seite 36

www.ti.com4.1 MMC Control Register (MMCCTL)RegistersThe MMC control register (MMCCTL) is used to enable or configure various modes of the MMC controll

Seite 37

www.ti.com4.2 MMC Memory Clock Control Register (MMCCLK)RegistersThe MMC memory clock control register (MMCCLK) is used to:• Select whether the CLK pi

Seite 38

www.ti.com4.3 MMC Status Register 0 (MMCST0)RegistersThe MMC status register 0 (MMCST0) records specific events or errors. The transition from 0 to 1

Seite 39

www.ti.comRegistersTable 8. MMC Status Register 0 (MMCST0) Field Descriptions (continued)Bit Field Value Description5 CRCWR Write-data CRC error.0 A w

Seite 40 - 4 Registers

www.ti.com4.4 MMC Status Register 1 (MMCST1)RegistersThe MMC status register 1 (MMCST1) records specific events or errors. There are no interruptsasso

Seite 41 - Registers

www.ti.com4.5 MMC Interrupt Mask Register (MMCIM)RegistersThe MMC interrupt mask register (MMCIM) is used to enable (bit = 1) or disable (bit = 0) sta

Seite 42

www.ti.com4.6 MMC Response Time-Out Register (MMCTOR)RegistersTable 10. MMC Interrupt Mask Register (MMCIM) Field Descriptions (continued)Bit Field Va

Seite 43

www.ti.com4.7 MMC Data Read Time-Out Register (MMCTOD)RegistersThe MMC data read time-out register (MMCTOD) defines how long the MMC controller waits

Seite 44

www.ti.com4.8 MMC Block Length Register (MMCBLEN)RegistersThe MMC block length register (MMCBLEN) specifies the data block length in bytes. This value

Seite 45

List of Figures1 MMC/SD Card Controller Block Diagram ... 102 MMC/SD Contr

Seite 46

www.ti.com4.9 MMC Number of Blocks Register (MMCNBLK)4.10 MMC Number of Blocks Counter Register (MMCNBLC)RegistersThe MMC number of blocks register (M

Seite 47

www.ti.com4.11 MMC Data Receive Register (MMCDRR)4.12 MMC Data Transmit Register (MMCDXR)RegistersThe MMC data receive register (MMCDRR) is used for s

Seite 48

www.ti.com4.13 MMC Command Register (MMCCMD)RegistersNote: Writing to the MMC command register (MMCCMD) causes the MMC controller to send theprogramme

Seite 49 - WRITE_BL_LEN field for write

www.ti.comRegistersTable 18. MMC Command Register (MMCCMD) Field Descriptions (continued)Bit Field Value Description12 STRMTP Stream enable.0 If WDATX

Seite 50

www.ti.com4.14 MMC Argument Register (MMCARGHL)RegistersNote: Do not modify the MMC argument register (MMCARGHL) while it is being used for anoperatio

Seite 51

www.ti.com4.15 MMC Response Registers (MMCRSP0-MMCRSP7)RegistersEach command has a preset response type. When the MMC controller receives a response,

Seite 52

www.ti.comRegistersTable 21. R1, R3, R4, R5, or R6 Response (48 Bits)Bit Position of Response Register47-40 MMCCIDX39-24 MMCRSP723-8 MMCRSP67-0 MMCRSP

Seite 53 - Table 19. Command Format

www.ti.com4.16 MMC Data Response Register (MMCDRSP)4.17 MMC Command Index Register (MMCCIDX)RegistersAfter the MMC controller sends a data block to a

Seite 54

www.ti.com4.18 MMC FIFO Control Register (MMCFIFOCTL)RegistersThe MMC FIFO control register (MMCFIFOCTL) is shown in Figure 39 and described in Table

Seite 55

www.ti.comAppendix A Revision HistoryAppendix ATable A-1 lists the changes made since the previous version of this document.Table A-1. Document Revisi

Seite 56

List of Tables1 MMC/SD Controller Pins Used in Each Mode ... 132 MMC/SD Mode Wr

Seite 57

www.ti.comAppendix ARevision History60 SPRUE30B – September 2006Submit Documentation Feedback

Seite 58

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,enhancements, improvemen

Seite 59 - Appendix A Revision History

PrefaceSPRUE30B – September 2006Read This FirstAbout This ManualThis manual describes the multimedia card (MMC)/secure digital (SD) card controller in

Seite 60 - Appendix A

www.ti.comRelated Documentation From Texas InstrumentsSPRU871 — TMS320C64x+ DSP Megamodule Reference Guide. Describes the TMS320C64x+ digitalsignal pr

Seite 61

1 Introduction1.1 Purpose of the Peripheral1.2 Features1.3 Functional Block DiagramUser's GuideSPRUE30B – September 2006Multimedia Card (MMC)/Sec

Kommentare zu diesen Handbüchern

Keine Kommentare