Texas-instruments TMS320DM646X DMSOC Manuale Utente

Navigare online o scaricare Manuale Utente per Hardware Texas-instruments TMS320DM646X DMSOC. Texas Instruments TMS320DM646X DMSOC User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - User's Guide

TMS320DM646x DMSoCAsynchronous External Memory Interface(EMIF)User's GuideLiterature Number: SPRUEQ7CFebruary 2010

Pagina 2 - SPRUEQ7C–February 2010

Architecturewww.ti.com2.3 Signal DescriptionsTable 1 describes the function of each of the EMIF pins.Table 1. EMIF PinsPins(s) I/O DescriptionEM_ A[22

Pagina 3

EM_CS[5:2]EM_WEEM_OEEM_RWEM_WAIT[5:2]EM_BA[1:0]EM_D[15:0]EM_A[22:0]EMIFEM_D[7:0]EM_A[21:0]EM_BA[1:0]DQ[7:0]A[23:2]A[1:0]EMIF 8−bitasynchronousmemorya)

Pagina 4

Architecturewww.ti.com2.5.2 Programmable Asynchronous ParametersThe EMIF allows a high degree of programmability for shaping asynchronous accesses. Th

Pagina 5

www.ti.comArchitectureTable 3. Description of the Asynchronous Configuration Register (ACFGn) (continued)Parameter DescriptionASIZE Asynchronous Devic

Pagina 6 - Read This First

Architecturewww.ti.com2.5.4 Read and Write Operations in Normal ModeNormal mode is the asynchronous interface's default mode of operation. The No

Pagina 7

Internal clockEM_CS[5:2]EM_A/EM_BAEM_DEM_OEEM_WEEM_RWSetupStrobeHold232AddressDatawww.ti.comArchitectureFigure 4. Timing Waveform of an Asynchronous R

Pagina 8

Architecturewww.ti.com2.5.4.2 Asynchronous Write Operations (Normal Mode)An asynchronous write is performed when any of the requesters mentioned in Se

Pagina 9 - 2.2 EMIF Requests

Internal clockEM_CS[5:2]EM_A/EM_BAEM_DEM_OEEM_WEEM_RWSetupStrobeHold232AddressDatawww.ti.comArchitectureFigure 5. Timing Waveform of an Asynchronous W

Pagina 10 - 2.4 Pin Multiplexing

Architecturewww.ti.com2.5.5 Read and Write Operations in Select Strobe ModeSelect Strobe mode is the EMIF's second mode of operation. The SS mode

Pagina 11 - Submit Documentation Feedback

Internal clockEM_CS[5:2]EM_A/EM_BAEM_DEM_OEEM_WEEM_RWSetupStrobeHold232AddressDatawww.ti.comArchitectureFigure 6. Timing Waveform of an Asynchronous R

Pagina 12 - Architecture

2SPRUEQ7C–February 2010Submit Documentation FeedbackCopyright © 2010, Texas Instruments Incorporated

Pagina 13

Architecturewww.ti.com2.5.5.2 Asynchronous Write Operations (Select Strobe Mode)An asynchronous write is performed when any of the requesters mentione

Pagina 14

Internal clockEM_CS[5:2]EM_A/EM_BAEM_DEM_OEEM_WEEM_RWSetupStrobeHold232AddressDatawww.ti.comArchitectureFigure 7. Timing Waveform of an Asynchronous W

Pagina 15

Architecturewww.ti.com2.5.6 NAND Flash ModeNAND Flash mode is the EMIF's third mode of operation. Each chip select space may be placed in NANDFla

Pagina 16

CLE_EM_A[16]ALE_EM_A[17]EM_CS[n]EM_WEEM_OEEM_D[7:0]EM_WAIT[n]EMIFCLEALECEWEOEIO[7:0]R/BNAND flasha) Connection to 8-bit NAND deviceb) Connection to 16

Pagina 17

Architecturewww.ti.com2.5.6.4 NAND Read and Program OperationsA NAND Flash access cycle is composed of a command, address, and data phase. The EMIF wi

Pagina 18

Bit 7Bit 7Bit 7Bit 7Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0Bit 6Bit 5 Bit 4 Bit 2Bit 3 Bit 1 Bit 0Bit 6Bit 6Bit 1Bit 3 Bit 2Bit 4Bit 5Bit 5 Bit 4 Bi

Pagina 19

EM_D[15:0]EM_RWEM_A[1:0]EM_WAITEM_OEEM_WEEM_CSEM_BA1GPIOxAEMIFHD[15:0]HR/WHCNTL[1:0]HRDYHDS1HCSHHWILHINTHDS2HASHPIENAHBEDAHBE1AHPI16VCCVCCVSSVSSArchit

Pagina 20

www.ti.comArchitecture2.5.8 Extended Wait Mode and the EM_WAIT PinThe Extended Wait mode is a mode in which the external asynchronous device may asser

Pagina 21

Architecturewww.ti.com2.5.11 Interrupt SupportThe EMIF has a single interrupt source (Table 13) mapped to the ARM interrupt controller. For moreinform

Pagina 22

www.ti.comArchitecture2.5.11.2 Interrupt MultiplexingThe EMIF interrupt is supported by both the ARM and DSP. The interrupt is not multiplexed with an

Pagina 23

Preface ... 61 Int

Pagina 24

EM_CSEM_WEEM_OEA[18:0]EM_BA[1]EM_D[15:0]CEWEOELBUBA[19:1]A[0]DQ[15:0]VS SVSSEMIF TC5516100FT−12Use Caseswww.ti.com3 Use CasesThe EMIF allows a high de

Pagina 25

R_SETUP ) R_STROBE wǒtACC(m) ) tSUǓtcyc* 1R_SETUP ) R_STROBE ) R_HOLD wtRC(m)tcyc* 3R_HOLD wǒtH* tOH(m)Ǔtcyc* 1TA wtCOD(m)tcyc* 1www.ti.comUse Cases3.

Pagina 26

tRC(m)StrobeSetup HoldEM_CSEM_A[21:0]EM_BA[1:0]EM_OEEM_D[15:0]tACC(m)tSUtHtCOD(m)tOH(m)Use Caseswww.ti.comFigure 12. Timing Waveform of an ASRAM ReadF

Pagina 27

W_STROBE wtWP(m)tcyc* 1W_SETUP ) W_STROBE w maxǒtAW(m)tcyc,tDS(m)tcycǓ* 1W_HOLD w maxǒtWR(m)tcyc,tDH(m)tcycǓ* 1W_SETUP ) W_STROBE ) W_HOLD wtWC(m)tcyc

Pagina 28

R_SETUP ) R_STROBE wǒtEM_A) tACC(m) ) tSU) tEM_DǓtcyc* 1R_SETUP ) R_STROBE ) R_HOLD wtRC(m)tcyc* 3R_HOLD wǒtH* tEM_D* tOH(m) * tEM_AǓtcyc* 1TA wǒtEM_C

Pagina 29

1Setup2Strobe3Hold4EM_CSEM_CS (ASRAM)EM_A[21:0]/EM_BA[1:0]EM_A[21:0]/EM_BA[1:0] (ASRAM)EM_OEEM_OE (ASRAM)EM_D[15:0]EM_D[15:0](ASRAM)tCStCStRC(m)tEM_At

Pagina 30 - 3 Use Cases

W_STROBE wtWP(m)tcyc* 1W_SETUP ) W_STROBE w maxǒǒtEM_A) tAW(m) * tEM_WEǓtcyc,ǒtEM_D) tDS(m) * tEM_WEǓtcycǓ* 1W_HOLD w maxǒǒtEM_WE) tWR(m) * tEM_AǓtcyc

Pagina 31 - Use Cases

www.ti.comUse Cases3.1.4 Example Using TC5516100FT-12This section takes you through the configuration steps required to implement Toshiba’s TC55V1664F

Pagina 32

R_SETUP ) R_STROBE wǒtEM_A) tACC(m) ) tSU) tEM_DǓtcyc* 1 w(0.27 ) 12 ) 5 ) 0.45)10* 1 w 0.78R_SETUP ) R_STROBE ) R_HOLD wtRC(m)tcyc* 3 wǒ1210Ǔ* 3 w *

Pagina 33

www.ti.comUse CasesSince the value of the W_SETUP/R_SETUP, W_STROBE/R_STROBE, W_HOLD/R_HOLD, and TA fieldsare equal to EMIF clock cycles minus 1 cycle

Pagina 34

www.ti.comList of Figures1 EMIF Functional Block Diagram ... 92

Pagina 35

Use Caseswww.ti.com3.2.2 Meeting AC Timing Requirements for NAND FlashWhen configuring the EMIF to interface to NAND Flash, you must consider the AC t

Pagina 36

R_SETUP wtCLR(m)tcyc* 1R_STROBE w maxǒǒtREA(m) ) tSUǓtcyc,tRP(m)tcycǓ* 1R_SETUP ) R_STROBE wǒtCEA(m) ) tSUǓtcyc* 1R_HOLD wǒtH* tCHZ(m)Ǔtcyc* 1R_SETUP

Pagina 37

W_SETUP w maxǒtCLS(m)tcyc,tALS(m)tcyc,tCS(m)tcycǓ* 1W_STROBE wtWP(m)tcyc* 1W_SETUP ) W_STROBE wtDS(m)tcyc* 1W_HOLD w maxǒtCLH(m)tcyc,tALH(m)tcyc,tCH(m

Pagina 38

tCH(m)tWC(m)tALH(m)tCLH(m)tWP(m)EM_CSALE_EM_A[1]CLE_EM_A[2]EM_WEEM_D[7:0]tCS(m)tALS(m)tCLS(m)tDS(m)tDH(m)SetupStrobeHoldtCH(m)tWC(m)tALH(m)tCLH(m)tWP(

Pagina 39 - 3.2 Interfacing to NAND Flash

tCH(m)tWC(m)tALH(m)tCLH(m)tWP(m)EM_CSALE_EM_A[1]CLE_EM_A[2]EM_WEEM_D[7:0]tCS(m)tALS(m)tCLS(m)tDS(m)tDH(m)SetupStrobeHoldUse Caseswww.ti.comFigure 19.

Pagina 40

www.ti.comUse Cases3.2.3 Example Using Hynix HY27UA081G1MThis section takes you through the configuration steps required to implement Hynix’s HY27UA08

Pagina 41

R_SETUP wtCLR(m)tcyc* 1 wǒ1010Ǔ* 1 w 0R_STROBE w maxǒǒtREA(m) ) tSUǓtcyc,tRPtcycǓ* 1 wǒ6510Ǔ* 1 w 5.5R_SETUP ) R_STROBE wǒtCEA) tSUǓtcyc* 1 w(75 ) 5)1

Pagina 42

www.ti.comUse CasesSince the value of the W_SETUP/R_SETUP, W_STROBE/R_STROBE, W_HOLD/R_HOLD, and TA fieldsare equal to EMIF clock cycles minus 1 cycle

Pagina 43

Registerswww.ti.com4 RegistersThe external memory interface (EMIF) is controlled by programming its internal memory-mapped registers(MMRs). Table 32 l

Pagina 44

www.ti.comRegisters4.1 Revision Code and Status Register (RCSR)The revision code and status register (RCSR) is shown in Figure 20 and described in Tab

Pagina 45

www.ti.comList of Tables1 EMIF Pins ...

Pagina 46

Registerswww.ti.com4.2 Asynchronous Wait Cycle Configuration Register (AWCCR)The asynchronous wait cycle configuration register (AWCCR) is used to con

Pagina 47

www.ti.comRegistersTable 34. Asynchronous Wait Cycle Configuration Register (AWCCR) Field Descriptions (continued)Bit Field Value Description17-16 CS2

Pagina 48 - 4 Registers

Registerswww.ti.com4.3 Asynchronous n Configuration Registers (A1CR-A4CR)The asynchronous configuration register (ACFGn) is used to configure the shap

Pagina 49 - Registers

www.ti.comRegisters4.4 EMIF Interrupt Raw Register (EIRR)The EMIF interrupt raw register (EIRR) is used to monitor and clear the EMIF’s hardware-gener

Pagina 50

Registerswww.ti.com4.5 EMIF Interrupt Mask Register (EIMR)Similar to the EMIF interrupt raw register (EIRR), the EMIF interrupt mask register (EIMR) i

Pagina 51

www.ti.comRegistersTable 37. EMIF Interrupt Mask Register (EIMR) Field Descriptions (continued)Bit Field Value Description0 ATM Asynchronous Timeout M

Pagina 52

Registerswww.ti.com4.6 EMIF Interrupt Mask Set Register (EIMSR)The EMIF interrupt mask set register (EIMSR) is used to enable the interrupts. If a bit

Pagina 53

www.ti.comRegistersTable 38. EMIF Interrupt Mask Set Register (EIMSR) Field Descriptions (continued)Bit Field Value Description0 ATMSET Asynchronous T

Pagina 54

Registerswww.ti.com4.7 EMIF Interrupt Mask Clear Register (EIMCR)The EMIF interrupt mask clear register (EIMCR) is used to disable the interrupts. If

Pagina 55

www.ti.comRegistersTable 39. EMIF Interrupt Mask Clear Register (EIMCR) Field Descriptions (continued)Bit Field Value Description0 ATMCLR Asynchronous

Pagina 56

PrefaceSPRUEQ7C–February 2010Read This FirstAbout This ManualThis document describes the asynchronous external memory interface (EMIF) in the TMS320DM

Pagina 57

Registerswww.ti.com4.8 NAND Flash Control Register (NANDFCR)The NAND Flash control register (NANDFCR) is shown in Figure 27 and described in Table 40.

Pagina 58

www.ti.comRegisters4.9 NAND Flash Status Register (NANDFSR)The NAND Flash status register (NANDFSR) is shown in Figure 28 and described in Table 41.Fi

Pagina 59

Registerswww.ti.comFigure 29. NAND Flash n ECC Register (NANDECCn)31 28 27 26 25 24Reserved P2048O P1024O P512O P256OR-0 R-0 R-0 R-0 R-023 22 21 20 19

Pagina 60

www.ti.comAppendix A Revision HistoryTable 43 lists the changes made since the previous version of this document.Table 43. Document Revision HistoryRe

Pagina 61

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

Pagina 62

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

Pagina 63 - Appendix A Revision History

User's GuideSPRUEQ7C–February 2010Asynchronous External Memory Interface (EMIF)1 IntroductionThis document describes the operation of the asynchr

Pagina 64 - IMPORTANT NOTICE

EM_CS[5:2]EM_OEEM_RWEM_WAIT[5:2]EM_WEEM_BA[1:0]EM_D[15:0]EM_A[22:0]EMIFSCRVICPDSPARMEDMA3Master peripheralswww.ti.comArchitecture1.3 Functional Block

Commenti su questo manuale

Nessun commento