Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
Texas Instruments TMS320DM646X DMSOC manuale d’uso - BKManuals

Texas Instruments TMS320DM646X DMSOC manuale d’uso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Texas Instruments TMS320DM646X DMSOC. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Texas Instruments TMS320DM646X DMSOC o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Texas Instruments TMS320DM646X DMSOC descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso Texas Instruments TMS320DM646X DMSOC dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Texas Instruments TMS320DM646X DMSOC
- nome del fabbricante e anno di fabbricazione Texas Instruments TMS320DM646X DMSOC
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Texas Instruments TMS320DM646X DMSOC
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Texas Instruments TMS320DM646X DMSOC non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Texas Instruments TMS320DM646X DMSOC e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Texas Instruments in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Texas Instruments TMS320DM646X DMSOC, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Texas Instruments TMS320DM646X DMSOC, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Texas Instruments TMS320DM646X DMSOC. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    TMS320DM646x DMSoC Asynchronous External Memory Interface (EMIF) User's Guide Literature Number: SPRUEQ7C February 2010[...]

  • Pagina 2

    2 SPRUEQ7C – February 2010 Submit Documentation Feedback Copyright © 2010, Texas Instruments Incorporated[...]

  • Pagina 3

    Preface ....................................................................................................................................... 6 1 Introduction ........................................................................................................................ 8 1.1 Purpose of the Peripheral ....................................[...]

  • Pagina 4

    www.ti.com List of Figures 1 EMIF Functional Block Diagram .......................................................................................... 9 2 EMIF Asynchronous Interface ........................................................................................... 11 3 EMIF to 8-bit and 16-bit Memory Interfaces ............................[...]

  • Pagina 5

    www.ti.com List of Tables 1 EMIF Pins .................................................................................................................. 10 2 Behavior of EM_CS Signal Between Normal Mode and Select Strobe Mode ..................................... 10 3 Description of the Asynchronous Configuration Register (ACFG n ) ................[...]

  • Pagina 6

    Preface SPRUEQ7C – February 2010 Read This First About This Manual This document describes the asynchronous external memory interface (EMIF) in the TMS320DM646x Digital Media System-on-Chip (DMSoC). The EMIF supports a glueless interface to a variety of external devices. Notational Conventions This document uses the following conventions. • Hex[...]

  • Pagina 7

    www.ti.com Related Documentation From Texas Instruments SPRU871 — TMS320C64x+ DSP Megamodule Reference Guide. Describes the TMS320C64x+ digital signal processor (DSP) megamodule. Included is a discussion on the internal direct memory access (IDMA) controller, the interrupt controller, the power-down controller, memory protection, bandwidth manage[...]

  • Pagina 8

    User's Guide SPRUEQ7C – February 2010 Asynchronous External Memory Interface (EMIF) 1 Introduction This document describes the operation of the asynchronous external memory interface (EMIF) in the TMS320DM646x Digital Media System-on-Chip (DMSoC). 1.1 Purpose of the Peripheral The purpose of this EMIF is to provide a means to connect to a va[...]

  • Pagina 9

    EM_CS[5:2] EM_OE EM_RW EM_W AIT[5:2] EM_WE EM_BA[1:0] EM_D[15:0] EM_A[22:0] EMIF SCR VICP DSP ARM EDMA3 Master peripherals www.ti.com Architecture 1.3 Functional Block Diagram Figure 1 illustrates the connections between the EMIF and its internal requesters, along with the external EMIF pins. Section 2.2 contains a description of the entities inter[...]

  • Pagina 10

    Architecture www.ti.com 2.3 Signal Descriptions Table 1 describes the function of each of the EMIF pins. Table 1. EMIF Pins Pins(s) I/O Description EM_ A[22:0] O EMIF address bus. These pins are used in conjunction with the EM_BA pins to form the address that is sent to the device. EM_BA[1:0] O EMIF bank address. These pins are used in conjunction [...]

  • Pagina 11

    EM_CS[5:2] EM_WE EM_OE EM_RW EM_W AIT[5:2] EM_BA[1:0] EM_D[15:0] EM_A[22:0] EMIF EM_D[7:0] EM_A[21:0] EM_BA[1:0] DQ[7:0] A[23:2] A[1:0] EMIF 8−bit asynchronous memory a) EMIF to 8-bit memory interface EM_D[15:0] EM_A[21:0] EM_BA[1] DQ[15:0] A[22:1] A[0] EMIF 16−bit asynchronous memory b) EMIF to 16-bit memory interface www.ti.com Architecture 2[...]

  • Pagina 12

    Architecture www.ti.com 2.5.2 Programmable Asynchronous Parameters The EMIF allows a high degree of programmability for shaping asynchronous accesses. The programmable parameters are: • Setup: The time between the beginning of a memory cycle (address valid) and the activation of the output enable or write enable strobe • Strobe: The time betwee[...]

  • Pagina 13

    www.ti.com Architecture Table 3. Description of the Asynchronous Configuration Register (ACFG n ) (continued) Parameter Description ASIZE Asynchronous Device Bus Width. This field determines the data bus width of the asynchronous interface in the following way: • ASIZE = 0 selects an 8-bit bus • ASIZE = 1 selects a 16-bit bus The configuration [...]

  • Pagina 14

    Architecture www.ti.com 2.5.4 Read and Write Operations in Normal Mode Normal mode is the asynchronous interface's default mode of operation. The Normal mode is selected when the SS bit in the asynchronous configuration register (ACFG n ) is cleared to 0. In this mode, the EM_CS signal operates as a chip enable signal, active throughout the du[...]

  • Pagina 15

    Internal clock EM_CS[5:2] EM_A/EM_BA EM_D EM_OE EM_WE EM_R W Setup Strobe Hold 2 3 2 Address Data www.ti.com Architecture Figure 4. Timing Waveform of an Asynchronous Read Cycle in Normal Mode 15 SPRUEQ7C – February 2010 Asynchronous External Memory Interface (EMIF) Submit Documentation Feedback Copyright © 2010, Texas Instruments Incorporated[...]

  • Pagina 16

    Architecture www.ti.com 2.5.4.2 Asynchronous Write Operations (Normal Mode) An asynchronous write is performed when any of the requesters mentioned in Section 2.2 request a write to asynchronous memory. In the event that the write request cannot be serviced by a single access cycle to the external device, multiple access cycles will be performed by[...]

  • Pagina 17

    Internal clock EM_CS[5:2] EM_A/EM_BA EM_D EM_OE EM_WE EM_R W Setup Strobe Hold 2 3 2 Address Data www.ti.com Architecture Figure 5. Timing Waveform of an Asynchronous Write Cycle in Normal Mode 17 SPRUEQ7C – February 2010 Asynchronous External Memory Interface (EMIF) Submit Documentation Feedback Copyright © 2010, Texas Instruments Incorporated[...]

  • Pagina 18

    Architecture www.ti.com 2.5.5 Read and Write Operations in Select Strobe Mode Select Strobe mode is the EMIF's second mode of operation. The SS mode is selected when the SS bit in the asynchronous configuration register (ACFG n ) is set to 1. In this mode, the EM_CS pin functions as a strobe signal and is therefore only active during the strob[...]

  • Pagina 19

    Internal clock EM_CS[5:2 ] EM_A/EM_BA EM_D EM_OE EM_WE EM_R W Setup Strobe Hold 2 3 2 Address Data www.ti.com Architecture Figure 6. Timing Waveform of an Asynchronous Read Cycle in Select Strobe Mode 19 SPRUEQ7C – February 2010 Asynchronous External Memory Interface (EMIF) Submit Documentation Feedback Copyright © 2010, Texas Instruments Incorp[...]

  • Pagina 20

    Architecture www.ti.com 2.5.5.2 Asynchronous Write Operations (Select Strobe Mode) An asynchronous write is performed when any of the requesters mentioned in Section 2.2 request a write to memory in the asynchronous bank of the EMIF. In the event that the write request cannot be serviced by a single access cycle to the external device, multiple acc[...]

  • Pagina 21

    Internal clock EM_CS[5:2 ] EM_A/EM_BA EM_D EM_OE EM_WE EM_R W Setup Strobe Hold 2 3 2 Address Data www.ti.com Architecture Figure 7. Timing Waveform of an Asynchronous Write Cycle in Select Strobe Mode 21 SPRUEQ7C – February 2010 Asynchronous External Memory Interface (EMIF) Submit Documentation Feedback Copyright © 2010, Texas Instruments Incor[...]

  • Pagina 22

    Architecture www.ti.com 2.5.6 NAND Flash Mode NAND Flash mode is the EMIF's third mode of operation. Each chip select space may be placed in NAND Flash mode individually by setting the appropriate CS n NAND bit in the NAND Flash control register (NANDFCR). Table 11 displays the bit fields present in NANDFCR and briefly describes their use. Whe[...]

  • Pagina 23

    CLE_EM_A[16] ALE_EM_A[17] EM_CS[n] EM_WE EM_OE EM_D[7:0] EM_W AIT[n] EMIF CLE ALE CE WE OE IO[7:0] R/B NAND flash a) Connection to 8-bit NAND device b) Connection to 16-bit NAND device EM_W AIT[n] EM_D[15:0] EM_OE EM_WE EM_CS[n] ALE_EM_A[17] CLE_EM_A[16] EMIF CE IO[15:0] R/B OE WE NAND flash CLE ALE www.ti.com Architecture 2.5.6.2 Connecting to NAN[...]

  • Pagina 24

    Architecture www.ti.com 2.5.6.4 NAND Read and Program Operations A NAND Flash access cycle is composed of a command, address, and data phase. The EMIF will not automatically generate these three phases to complete a NAND access with one transfer request. To complete a NAND access cycle, multiple single asynchronous access cycles (as described above[...]

  • Pagina 25

    Bit 7 Bit 7 Bit 7 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 6 Bit 5 Bit 4 Bit 2 Bit 3 Bit 1 Bit 0 Bit 6 Bit 6 Bit 1 Bit 3 Bit 2 Bit 4 Bit 5 Bit 5 Bit 4 Bit 2 Bit 3 Bit 1 Bit 0 Bit 0 p8o p8o p8e p8e p16e p16o p32e Byte 1 Byte 2 Byte 3 Byte 4 Bit 6 Bit 6 Bit 6 Bit 6 Byte 2 Bit 7 Byte 4 Byte 3 Bit 7 Bit 7 Byte 1 Bit 7 Bit 1 Bit 3 Bit 2 Bit 4[...]

  • Pagina 26

    EM_D[15:0] EM_RW EM_A[1:0] EM_W AIT EM_OE EM_WE EM_CS EM_BA1 GPIOx AEMIF HD[15:0] HR/W HCNTL[1:0] HRDY HDS1 HCS HHWIL HINT HDS2 HAS HPIENA HBED A HBE1 A HPI16 VCC VCC VSS VSS Architecture www.ti.com 2.5.6.7 NAND Flash Status Register (NANDFSR) The NAND Flash status register (NANDFSR) indicates the raw status of the EM_WAIT n pin. The EM_WAIT n pin [...]

  • Pagina 27

    www.ti.com Architecture 2.5.8 Extended Wait Mode and the EM_WAIT Pin The Extended Wait mode is a mode in which the external asynchronous device may assert control over the length of the strobe period. The Extended Wait mode can be entered by setting the EW bit in the asynchronous configuration register (ACFG n ). When the EW bit is set, the EMIF mo[...]

  • Pagina 28

    Architecture www.ti.com 2.5.11 Interrupt Support The EMIF has a single interrupt source ( Table 13 ) mapped to the ARM interrupt controller. For more information on the ARM interrupt controller (AINTC), see the TMS320DM646x DMSoC ARM Subsystem Reference Guide ( SPRUEP9 ). Table 13. EMIF Interrupt ARM Event Acronym Source 60 EMIFAINT EMIF The EMIF s[...]

  • Pagina 29

    www.ti.com Architecture 2.5.11.2 Interrupt Multiplexing The EMIF interrupt is supported by both the ARM and DSP. The interrupt is not multiplexed with another interrupt and is therefore always available. 2.5.12 Program Execution Since the EMIF does not have byte enable or data mask pins, byte accesses to memory are not supported when the data bus w[...]

  • Pagina 30

    EM_CS EM_WE EM_OE A[18:0] EM_BA[1] EM_D[15:0] CE WE OE LB UB A[19:1] A[0] DQ[15:0] V S S V S S EMIF TC5516100FT−12 Use Cases www.ti.com 3 Use Cases The EMIF allows a high degree of programmability for shaping asynchronous accesses. As previously stated, the shape and duration of the asynchronous access is determined by controlling the widths of t[...]

  • Pagina 31

    R_SETUP ) R_ST ROBE w ǒ t ACC (m ) ) t SU Ǔ t cyc * 1 R_SETUP ) R_ST ROBE ) R_HOLD w t RC (m ) t cyc * 3 R_HOLD w ǒ t H * t OH (m) Ǔ t cyc * 1 TA w t COD (m) t cyc * 1 www.ti.com Use Cases 3.1.2 Meeting AC Timing Requirements for ASRAM When configuring the EMIF to interface to ASRAM, you must consider the AC timing requirements of the ASRAM as [...]

  • Pagina 32

    t RC (m) Strobe Setup Hold EM_CS EM_A[21:0] EM_BA[1:0] EM_OE EM_D[15:0] t ACC (m) t SU t H t COD (m) t OH (m) Use Cases www.ti.com Figure 12. Timing Waveform of an ASRAM Read For a write access, Table 18 lists the AC timing specifications that must be satisfied. Table 18. ASRAM Input Timing Requirements for a Write Parameter Description t WP Write [...]

  • Pagina 33

    W_ST ROBE w t W P (m) t cyc * 1 W_SET UP ) W_ST ROB E w max ǒ t AW ( m) t cyc , t DS (m) t cyc Ǔ * 1 W_HOLD w max ǒ t WR (m) t cyc , t DH (m ) t cyc Ǔ * 1 W_SET UP ) W_ST ROB E ) W_HOLD w t W C (m) t cyc * 3 t WC (m) Strobe Setup Hold t WR (m) t WP (m) t A W (m) t DS (m) t DH (m) EM_CS EM_A[21:0] EM_BA[1:0] EM_WE EM_D[15:0] www.ti.com Use Cases[...]

  • Pagina 34

    R_SETUP ) R_ST ROBE w ǒ t EM_A ) t A CC (m) ) t SU ) t E M_D Ǔ t cyc * 1 R_SETUP ) R_ST ROBE ) R_HOLD w t RC (m ) t cyc * 3 R_HOLD w ǒ t H * t EM_D * t OH (m) * t EM_A Ǔ t cyc * 1 TA w ǒ t EM_CS ) t COD (m) ) t EM _D Ǔ t cyc * 1 Use Cases www.ti.com 3.1.3 Taking Into Account PCB Delays The equations described in Section 3.1.2 are for the idea[...]

  • Pagina 35

    1 Setup 2 Strobe 3 Hold 4 EM_CS EM_CS (ASRAM) EM_A[21:0]/ EM_BA[1:0] EM_A[21:0]/ EM_BA[1:0] (ASRAM) EM_OE EM_OE (ASRAM) EM_D[15:0] EM_D[15:0] (ASRAM) t CS t CS t RC (m) t EM_A t EM_A t EM_OE t EM_OE t SU t EM_D t ACC (m) t EM_D t OH (m) t H t COD (m) www.ti.com Use Cases Figure 14. Timing Waveform of an ASRAM Read with PCB Delays From Figure 15 , t[...]

  • Pagina 36

    W_ST ROBE w t W P (m) t cyc * 1 W_SET UP ) W_ST ROB E w max ǒ ǒ t EM_A ) t AW ( m) * t EM_W E Ǔ t cyc , ǒ t EM _D ) t DS (m) * t E M_WE Ǔ t cyc Ǔ * 1 W_HOLD w max ǒ ǒ t EM_WE ) t WR (m ) * t EM_A Ǔ t cyc , ǒ t EM_WE ) t DH (m) * t E M_D Ǔ t cyc Ǔ * 1 W_SET UP ) W_ST ROB E ) W_HOLD w t W C (m) t cyc * 3 1 Setup 2 Strobe 3 Hold 4 EM_CS EM[...]

  • Pagina 37

    www.ti.com Use Cases 3.1.4 Example Using TC5516100FT-12 This section takes you through the configuration steps required to implement Toshiba’s TC55V1664FT-12 ASRAM with the EMIF. The following assumptions are made: • ASRAM is connected to chip select space 3 (EM_CS[3]) • EMIF clock speed is 100 MHZ (t cyc = 10 nS) Table 20 lists the data shee[...]

  • Pagina 38

    R_SETUP ) R_ST ROBE w ǒ t EM_A ) t A CC (m) ) t SU ) t E M_D Ǔ t cyc * 1 w ( 0. 27 ) 12 ) 5 ) 0.45 ) 10 * 1 w 0.78 R_SETUP ) R_ST ROBE ) R_HOLD w t RC (m ) t cyc * 3 w ǒ 12 10 Ǔ * 3 w * 1.8 R_HOLD w ǒ t H * t EM_D * t OH (m) * t EM_A Ǔ t cyc * 1 w ( 0 * 0.45 * 3 * 0.27 ) 10 * 1 w * 1. 37 TA w ǒ t EM_CS ) T COD (m) ) t EM _D Ǔ t cyc * 1 w ( [...]

  • Pagina 39

    www.ti.com Use Cases Since the value of the W_SETUP/R_SETUP, W_STROBE/R_STROBE, W_HOLD/R_HOLD, and TA fields are equal to EMIF clock cycles minus 1 cycle, the A2CR should be configured as in Table 23 . In this example, the EM_WAIT signal is not implemented; therefore, the asynchronous wait cycle configuration register (AWCCR) does not need to be pr[...]

  • Pagina 40

    Use Cases www.ti.com 3.2.2 Meeting AC Timing Requirements for NAND Flash When configuring the EMIF to interface to NAND Flash, you must consider the AC timing requirements of the NAND Flash as well as the AC timing requirements of the EMIF. These can be found in the data sheet for each respective device. The read and write asynchronous cycles are p[...]

  • Pagina 41

    R_SETUP w t CLR (m ) t cyc * 1 R_STROB E w max ǒ ǒ t REA (m ) ) t SU Ǔ t cyc , t RP (m) t cyc Ǔ * 1 R_SETUP ) R_ST ROBE w ǒ t CEA (m) ) t SU Ǔ t cyc * 1 R_HOLD w ǒ t H * t CHZ (m) Ǔ t cyc * 1 R_SETUP ) R_ST ROBE ) R_HOLD w t RC (m ) t cyc * 3 TA w max ǒ t CHZ (m) t cyc , t RHZ (m) * (R_HOLD ) 1)t cyc t cyc Ǔ * 1 Setup Strobe Hold t RC (m)[...]

  • Pagina 42

    W_SET UP w max ǒ t CLS (m ) t cyc , t A LS (m ) t cyc , t CS (m) t cyc Ǔ * 1 W_ST ROBE w t W P (m) t cyc * 1 W_SET UP ) W_ST ROB E w t DS (m) t cyc * 1 W_HOLD w max ǒ t CLH (m) t cyc , t ALH (m) t cyc , t CH (m ) t cyc , t DH (m) t cyc Ǔ * 1 W_SET UP ) W_ST ROB E ) W_HOLD w t W C (m) t cyc * 3 Use Cases www.ti.com To determine the required EMIF[...]

  • Pagina 43

    t CH (m) t WC (m) t ALH (m) t CLH (m) t WP (m) EM_CS ALE_EM_A[1] CLE_EM_A[2] EM_WE EM_D[7:0] t CS (m) t ALS (m) t CLS (m) t DS (m) t DH (m) Setup Strobe Hold t CH (m) t WC (m) t ALH (m) t CLH (m) t WP (m) EM_CS ALE_EM_A[1] CLE_EM_A[2] EM_WE EM_D[7:0] t CS (m) t ALS (m) t CLS (m) t DS (m) t DH (m) Setup Strobe Hold www.ti.com Use Cases Figure 17. Ti[...]

  • Pagina 44

    t CH (m) t WC (m) t ALH (m) t CLH (m) t WP (m) EM_CS ALE_EM_A[1] CLE_EM_A[2] EM_WE EM_D[7:0] t CS (m) t ALS (m) t CLS (m) t DS (m) t DH (m) Setup Strobe Hold Use Cases www.ti.com Figure 19. Timing Waveform of a NAND Flash Data Write 44 Asynchronous External Memory Interface (EMIF) SPRUEQ7C – February 2010 Submit Documentation Feedback Copyright ?[...]

  • Pagina 45

    www.ti.com Use Cases 3.2.3 Example Using Hynix HY27UA081G1M This section takes you through the configuration steps required to implement Hynix’s HY27UA081G1M NAND Flash with the EMIF. The following assumptions are made: • NAND Flash is connected to chip select space 2 (EM_CS[2]) • EMIF clock speed is 100 MHZ (t cyc = 10 nS) Table 28 lists the[...]

  • Pagina 46

    R_SETUP w t CLR (m ) t cyc * 1 w ǒ 10 10 Ǔ * 1 w 0 R_STROB E w max ǒ ǒ t REA (m ) ) t SU Ǔ t cyc , t RP t cyc Ǔ * 1 w ǒ 65 10 Ǔ * 1 w 5.5 R_SETUP ) R_ST ROBE w ǒ t CEA ) t S U Ǔ t cyc * 1 w (75 ) 5) 10 * 1 w 7 R_HOLD w ǒ t H * t CHZ (m) Ǔ t cyc * 1 w ( 0 * 20) 10 * 1 w * 3 R_SETUP ) R_ST ROBE ) R_HOLD w t RC (m ) t cyc * 3 w ǒ 80 10 Ǔ[...]

  • Pagina 47

    www.ti.com Use Cases Since the value of the W_SETUP/R_SETUP, W_STROBE/R_STROBE, W_HOLD/R_HOLD, and TA fields are equal to EMIF clock cycles minus 1 cycle, the A1CR should be configured as in Table 30 . In this example, although the EM_WAIT signal is connected to the R/B signal of the NAND Flash the Extended Wait mode of the EMIF is not used, theref[...]

  • Pagina 48

    Registers www.ti.com 4 Registers The external memory interface (EMIF) is controlled by programming its internal memory-mapped registers (MMRs). Table 32 lists the memory-mapped registers for the EMIF. See the device-specific data manual for the memory address of these registers. All other register offset addresses not listed in Table 32 should be c[...]

  • Pagina 49

    www.ti.com Registers 4.1 Revision Code and Status Register (RCSR) The revision code and status register (RCSR) is shown in Figure 20 and described in Table 33 . Figure 20. Revision Code and Status Register (RCSR) 31 30 29 16 Reserved MODID R-x R-Fh 15 8 7 0 REVMAJ REVMIN R-2h R-2h LEGEND: R = Read only; - n = value after reset; -x = value is indete[...]

  • Pagina 50

    Registers www.ti.com 4.2 Asynchronous Wait Cycle Configuration Register (AWCCR) The asynchronous wait cycle configuration register (AWCCR) is used to configure the parameters for extended wait cycles. Both the polarity of the EM_WAIT[5:2] pins and the maximum allowable number of extended wait cycles can be configured. the AWCCR is shown in Figure 2[...]

  • Pagina 51

    www.ti.com Registers Table 34. Asynchronous Wait Cycle Configuration Register (AWCCR) Field Descriptions (continued) Bit Field Value Description 17-16 CS2_WAIT 0-3h EM_WAIT[5:2] pin map for chip select 2. By default, the EM_WAIT[2] pin is used for chip select 2. 0 EM_WAIT[2] pin is used. 1h EM_WAIT[3] pin is used. 2h EM_WAIT[4] pin is used. 3h EM_W[...]

  • Pagina 52

    Registers www.ti.com 4.3 Asynchronous n Configuration Registers (A1CR-A4CR) The asynchronous configuration register (ACFG n ) is used to configure the shaping of the address and control signals during an access to asynchronous memory. It is also used to program the width of asynchronous interface and to select from various modes of operation. This [...]

  • Pagina 53

    www.ti.com Registers 4.4 EMIF Interrupt Raw Register (EIRR) The EMIF interrupt raw register (EIRR) is used to monitor and clear the EMIF’s hardware-generated interrupts. The bits in EIRR are set when an interrupt condition occurs, regardless of the status of the EMIF interrupt mask set register (EIMSR) and EMIF interrupt mask clear register (EIMC[...]

  • Pagina 54

    Registers www.ti.com 4.5 EMIF Interrupt Mask Register (EIMR) Similar to the EMIF interrupt raw register (EIRR), the EMIF interrupt mask register (EIMR) is used to monitor and clear the status of the EMIF’s hardware-generated interrupts. The main difference between the two registers is that when the bits in EIMR are set, an active-high pulse is se[...]

  • Pagina 55

    www.ti.com Registers Table 37. EMIF Interrupt Mask Register (EIMR) Field Descriptions (continued) Bit Field Value Description 0 ATM Asynchronous Timeout Masked. This bit is set to 1 by hardware to indicate that during an extended asynchronous memory access cycle the EM_WAIT n pin did not go inactive within the number of cycles defined by the MEWC f[...]

  • Pagina 56

    Registers www.ti.com 4.6 EMIF Interrupt Mask Set Register (EIMSR) The EMIF interrupt mask set register (EIMSR) is used to enable the interrupts. If a bit is set to 1, the corresponding bit in the EMIF interrupt mask register (EIMR) is set and an interrupt is generated when the associated interrupt condition occurs. If a bit is cleared to 0, the the[...]

  • Pagina 57

    www.ti.com Registers Table 38. EMIF Interrupt Mask Set Register (EIMSR) Field Descriptions (continued) Bit Field Value Description 0 ATMSET Asynchronous Timeout Mask Set. This bit enables the asynchronous timeout interrupt. Writing a 1 to this bit sets this bit and the ATMCLR bit in the EMIF interrupt mask clear register (EIMCR), and enables the as[...]

  • Pagina 58

    Registers www.ti.com 4.7 EMIF Interrupt Mask Clear Register (EIMCR) The EMIF interrupt mask clear register (EIMCR) is used to disable the interrupts. If a bit is read as 1, the corresponding bit in the EMIF interrupt mask register (EIMR) is set and an interrupt is generated when the associated interrupt condition occurs. If a bit is read as 0, the [...]

  • Pagina 59

    www.ti.com Registers Table 39. EMIF Interrupt Mask Clear Register (EIMCR) Field Descriptions (continued) Bit Field Value Description 0 ATMCLR Asynchronous Timeout Mask Clear. This bit determines whether or not the asynchronous timeout interrupt is enabled. Writing a 1 to this bit clears this bit and the ATMSET bit in the EMIF interrupt mask set reg[...]

  • Pagina 60

    Registers www.ti.com 4.8 NAND Flash Control Register (NANDFCR) The NAND Flash control register (NANDFCR) is shown in Figure 27 and described in Table 40 . Figure 27. NAND Flash Control Register (NANDFCR) 31 16 Reserved R-0 15 12 11 10 9 8 Reserved CS5ECC CS4ECC CS3ECC CS2ECC R-0 R/W-0 R/W-0 R/W-0 R/W-0 7 43210 Reserved CS5NAND CS4NAND CS3NAND CS2NA[...]

  • Pagina 61

    www.ti.com Registers 4.9 NAND Flash Status Register (NANDFSR) The NAND Flash status register (NANDFSR) is shown in Figure 28 and described in Table 41 . Figure 28. NAND Flash Status Register (NANDFSR) 31 16 Reserved R-0 15 4 3 0 Reserved WAITST R-0 R-0 LEGEND: R = Read only; - n = value after reset Table 41. NAND Flash Status Register (NANDFSR) Fie[...]

  • Pagina 62

    Registers www.ti.com Figure 29. NAND Flash n ECC Register (NANDECC n ) 31 28 27 26 25 24 Reserved P2048O P1024O P512O P256O R-0 R-0 R-0 R-0 R-0 23 22 21 20 19 18 17 16 P128O P64O P32O P16O P8O P4O P2O P1O R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 15 12 11 10 9 8 Reserved P2048E P1024E P512E P256E R-0 R-0 R-0 R-0 R-0 76543210 P128E P64E P32E P16E P8E P4E P2E [...]

  • Pagina 63

    www.ti.com Appendix A Revision History Table 43 lists the changes made since the previous version of this document. Table 43. Document Revision History Reference Additions/Modifications/Deletions Figure 1 Changed figure. Table 1 Changed table. Figure 2 Changed figure. Section 2.5.6.2 Changed paragraph. Figure 8 Changed figure. 63 SPRUEQ7C – Febru[...]

  • Pagina 64

    IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders[...]