Texas-instruments TMS320DM646X DMSOC Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Hardware Texas-instruments TMS320DM646X DMSOC. Texas Instruments TMS320DM646X DMSOC User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - User's Guide

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

Strany 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

Strany 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)

Strany 4

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

Strany 5

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

Strany 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

Strany 7

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 12 - Architecture

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

Strany 13

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

Strany 14

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 19

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

Strany 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

Strany 21

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

Strany 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

Strany 23

Preface ... 61 Int

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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 *

Strany 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

Strany 34

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

Strany 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

Strany 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

Strany 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

Strany 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(

Strany 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.

Strany 40

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

Strany 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

Strany 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

Strany 43

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

Strany 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

Strany 45

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

Strany 46

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

Strany 47

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

Strany 48 - 4 Registers

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

Strany 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

Strany 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

Strany 51

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

Strany 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

Strany 53

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

Strany 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

Strany 55

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

Strany 56

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

Strany 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.

Strany 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

Strany 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

Strany 60

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

Strany 61

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

Strany 62

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

Strany 63 - Appendix A Revision History

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

Strany 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

Komentáře k této Příručce

Žádné komentáře