Texas Instruments TMS320C6455 manual

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

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Texas Instruments TMS320C6455. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Texas Instruments TMS320C6455 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Texas Instruments TMS320C6455 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Texas Instruments TMS320C6455, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Texas Instruments TMS320C6455 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Texas Instruments TMS320C6455
- nombre de fabricante y año de fabricación del dispositivo Texas Instruments TMS320C6455
- condiciones de uso, configuración y mantenimiento del dispositivo Texas Instruments TMS320C6455
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Texas Instruments TMS320C6455 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Texas Instruments TMS320C6455 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Texas Instruments en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Texas Instruments TMS320C6455, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Texas Instruments TMS320C6455, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Texas Instruments TMS320C6455. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    TMS320C6455/C6454 DSP DDR2 Memory Controller User ' s Guide Literature Number: SPRU970G December 2005 – Revised June 2011[...]

  • Página 2

    2 SPRU970G – December 2005 – Revised June 2011 Submit Documentation Feedback Copyright © 2005 – 2011, Texas Instruments Incorporated[...]

  • Página 3

    Contents Preface ....................................................................................................................................... 7 1 Introduction ........................................................................................................................ 9 1.1 Purpose of the Peripheral ...........................[...]

  • Página 4

    www.ti.com List of Figures 1 Device Block Diagram .................................................................................................... 10 2 DDR2 Memory Controller Signals ....................................................................................... 12 3 DDR2 MRS and EMRS Command ............................................[...]

  • Página 5

    www.ti.com List of Tables 1 DDR2 Memory Controller Signal Descriptions ......................................................................... 12 2 DDR2 SDRAM Commands .............................................................................................. 13 3 Truth Table for DDR2 SDRAM Commands ............................................[...]

  • Página 6

    6 List of Tables SPRU970G – December 2005 – Revised June 2011 Submit Documentation Feedback Copyright © 2005 – 2011, Texas Instruments Incorporated[...]

  • Página 7

    Preface SPRU970G – December 2005 – Revised June 2011 Read This First About This Manual This document describes the DDR2 memory controller in the TMS320C6455/C6454 digital signal processors (DSPs). Notational Conventions This document uses the following conventions. • Hexadecimal numbers are shown with the suffix h. For example, the following [...]

  • Página 8

    8 Read This First SPRU970G – December 2005 – Revised June 2011 Submit Documentation Feedback Copyright © 2005 – 2011, Texas Instruments Incorporated[...]

  • Página 9

    User ' s Guide SPRU970G – December 2005 – Revised June 2011 C6455/C6454 DDR2 Memory Controller 1 Introduction 1.1 Purpose of the Peripheral The DDR2 memory controller is used to interface with JESD79-2B standard compliant DDR2 SDRAM devices. Memory types such as DDR1 SDRAM, SDR SDRAM, SBSRAM, and asynchronous memories are not supported. Th[...]

  • Página 10

    L1 S1 M1 D1 Data path A Register file A Register file B D2 Data path B S2 M2 L2 L1 data memory controller Cache control Memory protection Interrupt and exception controller Power control Instruction decode 16/32−bit instruction dispatch Instruction fetch SPLOOP buf fer C64x+ CPU IDMA Bandwidth management Cache control L1 program memory controller[...]

  • Página 11

    www.ti.com Peripheral Architecture 2 Peripheral Architecture The DDR2 memory controller can gluelessly interface to most standard DDR2 SDRAM devices and supports such features as self-refresh mode and prioritized refresh. In addition, it provides flexibility through programmable parameters such as the refresh rate, CAS latency, and many SDRAM timin[...]

  • Página 12

    DED[31:0] DDR2 Memory Controller DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DSDDQS[3:0] DEA[13:0] V REFSSTL DSDDQGA TE[3:0] DSDDQS[3:0] DEODT[1:0] DDRSLRA TE Peripheral Architecture www.ti.com Figure 2. DDR2 Memory Controller Signals Table 1. DDR2 Memory Controller Signal Descriptions Pin Description DED[31:0] Bidire[...]

  • Página 13

    www.ti.com Peripheral Architecture 2.4 Protocol Description(s) The DDR2 memory controller supports the DDR2 SDRAM commands listed in Table 2 . Table 3 shows the signal truth table for the DDR2 SDRAM commands. Table 2. DDR2 SDRAM Commands Command Function ACTV Activates the selected bank and row. DCAB Precharge all command. Deactivates (precharges) [...]

  • Página 14

    COL MRS/EMRS BANK DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDCAS DBA[2:0] DEA[13:0] Peripheral Architecture www.ti.com 2.4.1 Mode Register Set (MRS and EMRS) DDR2 SDRAM contains mode and extended mode registers that configure the DDR2 memory for operation. These registers control burst type, burst length, CAS latency, DLL enable/disable, sin[...]

  • Página 15

    REFR DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:0] www.ti.com Peripheral Architecture 2.4.2 Refresh Mode The DDR2 memory controller issues refresh commands to the DDR2 SDRAM device ( Figure 4 ). REFR is automatically preceded by a DCAB command, ensuring the deactivation of all CE spaces and banks selected. Fol[...]

  • Página 16

    ACTV BANK ROW DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:0] Peripheral Architecture www.ti.com 2.4.3 Activation (ACTV) The DDR2 memory controller automatically issues the activate (ACTV) command before a read or write to a closed row of memory. The ACTV command opens a row of memory, allowing future accesses ([...]

  • Página 17

    DCAB DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:1 1,9:0] DEA[10] www.ti.com Peripheral Architecture 2.4.4 Deactivation (DCAB and DEAC) The precharge all banks command (DCAB) is performed after a reset to the DDR2 memory controller or following the initialization sequence. DDR2 SDRAMs also require this cycle[...]

  • Página 18

    DEAC DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:1 1,9:0] DEA[10] Peripheral Architecture www.ti.com The DEAC command closes a single bank of memory specified by the bank select signals. Figure 7 shows the timings diagram for a DEAC command. Figure 7. DEAC Command 18 C6455/C6454 DDR2 Memory Controller SPRU97[...]

  • Página 19

    DED[31:0] DSDDQS[3:0] COL BANK DEA[10] CASLatency D0 D1 D2 D3 D4 D5 D6 D7 DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:0] www.ti.com Peripheral Architecture 2.4.5 READ Command Figure 8 shows the DDR2 memory controller performing a read burst from DDR2 SDRAM. The READ command initiates a burst read operation t[...]

  • Página 20

    DED[31:0] DSDDQS[3:0] COL BANK DQM7 Sample D0 D1 D2 D3 D4 D5 D6 D7 DQM1 DQM2 DQM3 DQM4 DQM5 DQM6 DQM8 WriteLatency DEA[10] DDR2CLKOUT DDR2CLKOUT DCE0 DSDCKE DSDRAS DSDWE DSDDQM[3:0] DSDCAS DBA[2:0] DEA[13:0] Peripheral Architecture www.ti.com 2.4.6 Write (WRT) Command Prior to a WRT command, the desired bank and row are activated by the ACTV com[...]

  • Página 21

    DDR2 memory controller data bus DED[31:24] (Byte Lane 3) DED[23:16] (Byte Lane 2) DED[15:8] (Byte Lane 1) DED[7:0] (Byte Lane 0) 32-bit memory device 16-bit memory device www.ti.com Peripheral Architecture Figure 10 shows the byte lanes used on the DDR2 memory controller. The external memory is always right aligned on the data bus. Figure 10. Byte [...]

  • Página 22

    Peripheral Architecture www.ti.com Figure 11 and Figure 12 show how the logical address bits map to the row, column, bank, and chip select bits all combinations of IBANK and PAGESIZE values. Note that the upper three bits of the logical address cannot be used for memory addressing, as the DDR2 memory controller has a maximum addressable memory rang[...]

  • Página 23

    Col. 0 Col. 1 Col. 2 Col. 3 Col. 4 Col. M−1 Col. M Row 0, bank 0 Row 0, bank 1 Row 0, bank 2 Row 0, bank P Row 1, bank 1 Row 1, bank 0 Row 1, bank 2 Row 1, bank P Row N, bank 2 Row N, bank 1 Row N, bank 0 Row N, bank P www.ti.com Peripheral Architecture Ending the current access is not a condition that forces the active DDR2 SDRAM row/page to be [...]

  • Página 24

    0 1 2 3 M Bank 0 Row 0 Row 1 Row 2 Row N C o l l C o l C o l C o Row 0 Row N Row 1 Row 2 C C Bank 1 l l 0 2 1 o o C C l l 3 M o o Row 0 Row N Row 1 Row 2 C C Bank 2 l l 0 2 1 o o l l l l Row N Row 2 Row 0 Row 1 Bank P 0123 M C C l l 3 M o o o C o C o C o C Peripheral Architecture www.ti.com Figure 14. DDR2 SDRAM Column, Row, and Bank Access A M is [...]

  • Página 25

    Command/Data Scheduler Command FIFO W rite FIFO Read FIFO Registers Command to Memory W rite Data to Memory Read Data from Memory Command Data EDMA BUS www.ti.com Peripheral Architecture Figure 15. DDR2 Memory Controller FIFO Block Diagram 2.7.1 Command Ordering and Scheduling, Advanced Concept The DDR2 memory controller performs command re-orderin[...]

  • Página 26

    Peripheral Architecture www.ti.com Next, the DDR2 memory controller examines each of the commands selected by the individual masters and performs the following reordering: • Among all pending reads, selects reads to rows already open. Among all pending writes, selects writes to rows already open. • Selects the highest priority command from pend[...]

  • Página 27

    www.ti.com Peripheral Architecture 2.7.3 Possible Race Condition A race condition may exist when certain masters write data to the DDR2 memory controller. For example, if master A passes a software message via a buffer in DDR2 memory and does not wait for indication that the write completes, when master B attempts to read the software message it ma[...]

  • Página 28

    Peripheral Architecture www.ti.com 2.9 Self-Refresh Mode Setting the self refresh (SR) bit in the SDRAM refresh control register (SDRFC) to 1 forces the DDR2 memory controller to place the external DDR2 SDRAM in a low-power mode (self refresh), in which the DDR2 SDRAM maintains valid data while consuming a minimal amount of power. When the SR bit i[...]

  • Página 29

    www.ti.com Peripheral Architecture • Following a write to the two least-significant bytes in the SDRAM configuration register (SDCFG); see Section 2.11.3 . At the end of the initialization sequence, the DDR2 memory controller performs an auto-refresh cycle, leaving the DDR2 memory controller in an idle state with all banks deactivated. When the i[...]

  • Página 30

    Peripheral Architecture www.ti.com 2.11.2 DDR2 SDRAM Initialization After Reset After a hard or a soft reset, the DDR2 memory controller will automatically start the initialization sequence. The DDR2 memory controller will use the default values in the SDRAM timing 1 and timing 2 registers and the SDRAM configuration register to configure the mode [...]

  • Página 31

    www.ti.com Using the DDR2 Memory Controller 3 Using the DDR2 Memory Controller The following sections show various ways to connect the DDR2 memory controller to DDR2 memory devices. The steps required to configure the DDR2 memory controller for external memory access are also described. 3.1 Connecting the DDR2 Memory Controller to DDR2 SDRAM Figure[...]

  • Página 32

    DDR2CLKOUT DDR2CLKOUT DSDCKE DCE0 DSDWE DSDRAS DSDCAS DSDDQM0 DSDDQM1 DSDDQS0 DSDDQS1 DBA[2:0] DEA[13:0] DED[15:0] ODT0 DSDDQS0 DSDDQS1 CK CK CKE CS WE RAS CAS LDM LDQS UDQS BA[2:0] A[12:0] DQ[15:0] ODT V REF LDQS UDQS DDR2 Memory x16-bit DDR2 Memory Controller ODT1 DSDDQGA TE0 (A) DSDDQGA TE1 (A) DSDDQGA TE2 (A) DSDDQGA TE3 (A) DDRSLRA TE DED[31:1[...]

  • Página 33

    DDR2CLKOUT DDR2CLKOUT DSDCKE DCE0 DSDWE DSDRAS DSDCAS DSDDQM0 DSDDQM1 DSDDQS0 DSDDQS1 DBA[2:0] DEA[13:0] DED[15:0] V REFSSTL ODT0 DSDDQS0 DSDDQS1 CK CK CKE CS WE RAS CAS LDM UDM LDQS UDQS BA[2:0] A[12:0] DQ[15:0] ODT V REF LDQS UDQS DDR2 Memory x16-bit V REF DDR2 Memory Controller ODT1 DSDDQGA TE0 (A) DSDDQGA TE1 (A) DSDDQGA TE2 (A) DSDDQGA TE3 (A)[...]

  • Página 34

    DDR2CLKOUT DDR2CLKOUT DSDCKE DCE0 DSDWE DSDRAS DSDCAS DSDDQM0 DSDDQM1 DSDDQS0 DSDDQS1 DBA[2:0] DEA[13:0] DED[7:0] V REFSSTL ODT0 DSDDQS0 DSDDQS1 CK CK CKE CS WE RAS CAS DM DQS RDQS BA[2:0] A[13:0] DQ[7:0] ODT DQS RDQS DDR2 Memory x8-bit V REF DDR2 Memory Controller ODT1 DSDDQGA TE0 (A) DSDDQGA TE1 (A) DSDDQGA TE2 (A) DSDDQGA TE3 (A) DDRSLRA TE DED[[...]

  • Página 35

    www.ti.com Using the DDR2 Memory Controller 3.2 Configuring DDR2 Memory Controller Registers to Meet DDR2 SDRAM Specifications The DDR2 memory controller allows a high degree of programmability for shaping DDR2 accesses. This provides the DDR2 memory controller with the flexibility to interface with a variety of DDR2 devices. By programming the SDR[...]

  • Página 36

    Using the DDR2 Memory Controller www.ti.com Table 12 displays the DDR2-533 refresh rate specification. Table 12. DDR2 Memory Refresh Specification Symbol Description Value t REF Average Periodic Refresh Interval 7.8 μ s Therefore, the value for the REFRESH-RATE can be calculated as follows: REFRESH_RATE = 250 MHz × 7.8 μ s = 1950 = 79Eh Table 13[...]

  • Página 37

    www.ti.com Using the DDR2 Memory Controller Table 15. SDTIM2 Configuration DDR2 SDRAM Data Register Field Sheet Parameter Data Sheet Formula (Register Field Name Name Description Value Field Must Be ≥ ) Value T_ODT t AOND t AOND specifies the ODT turn-on 2 (t CK cycles) t AOND 2 delay T_XSNR t XSNR Exit self refresh to a non-read 137.5 ns (t XSNR[...]

  • Página 38

    DDR2 Memory Controller Registers www.ti.com 4 DDR2 Memory Controller Registers Table 17 lists the memory-mapped registers for the DDR2 memory controller. For the memory address of these registers, see the device-specific data manual. Table 17. DDR2 Memory Controller Registers Offset Acronym Register Description Section 00h MIDR Module ID and Revisi[...]

  • Página 39

    www.ti.com DDR2 Memory Controller Registers 4.1 Module ID and Revision Register (MIDR) The Module ID and Revision register (MIDR) is shown in Figure 19 and described in Table 18 . Figure 19. Module ID and Revision Register (MIDR) 31 30 29 16 Reserved MOD_ID R-0x0 R-0x0031 15 8 7 0 MJ_REV MN_REV R-0x03 R-0x0F LEGEND: R/W = Read/Write; R = Read only;[...]

  • Página 40

    DDR2 Memory Controller Registers www.ti.com 4.2 DDR2 Memory Controller Status Register (DMCSTAT) The DDR2 memory controller status register (DMCSTAT) is shown in Figure 20 Figure 20. DDR2 Memory Controller Status Register (DMCSTAT) 31 30 29 16 BE Rsvd Reserved R-0x0 R-0x1 R-0x0 15 3 2 1 0 Reserved IFRDY Reserved R-0x0 R-0x0 R-0x0 LEGEND: R/W = Read[...]

  • Página 41

    www.ti.com DDR2 Memory Controller Registers 4.3 SDRAM Configuration Register (SDCFG) The SDRAM configuration register (SDCFG) contains fields that program the DDR2 memory controller to meet the specification of the DDR2 memory. These fields configure the DDR2 memory controller to match the data bus width, CAS latency, number of internal banks, and [...]

  • Página 42

    DDR2 Memory Controller Registers www.ti.com Table 20. SDRAM Configuration Register (SDCFG) Field Descriptions (continued) Bit Field Value Description 11-9 CL CAS latency. The value of this field defines the CAS latency, to be used when accessing connected SDRAM devices. A write to this field will cause the DDR2 Memory Controller to start the SDRAM [...]

  • Página 43

    www.ti.com DDR2 Memory Controller Registers 4.4 SDRAM Refresh Control Register (SDRFC) The SDRAM refresh control register (SDRFC) is used to configure the DDR2 memory controller to: • Enter and Exit the self-refresh state. • Meet the refresh requirement of the attached DDR2 device by programming the rate at which the DDR2 memory controller issu[...]

  • Página 44

    DDR2 Memory Controller Registers www.ti.com 4.5 SDRAM Timing 1 Register (SDTIM1) The SDRAM timing 1 register (SDTIM1) configures the DDR2 memory controller to meet many of the AC timing specification of the DDR2 memory. Note that DDR2CLKOUT is equal to the period of the DDR2CLKOUT signal. For information on the appropriate values to program each fi[...]

  • Página 45

    www.ti.com DDR2 Memory Controller Registers Table 22. SDRAM Timing 1 Register (SDTIM1) Field Descriptions (continued) Bit Field Value Description 5-3 T_RRD These bits specify the minimum number of DDR2CLKOUT cycles from an activate command to an activate command in a different bank, minus 1. The value for these bits can be derived from the t rrd AC[...]

  • Página 46

    DDR2 Memory Controller Registers www.ti.com 4.6 SDRAM Timing 2 Register (SDTIM2) Like the SDRAM timing 1 register (SDTIM1), the SDRAM timing 2 register (SDTIM2) also configures the DDR2 memory controller to meet the AC timing specification of the DDR2 memory. For information on the appropriate values to program each field, see the DDR2 memory secti[...]

  • Página 47

    www.ti.com DDR2 Memory Controller Registers 4.7 Burst Priority Register (BPRIO) The Burst Priority Register (BPRIO) helps prevent command starvation within the DDR2 memory controller. To avoid command starvation, the DDR2 memory controller momentarily raises the priority of the oldest command in the command FIFO after a set number of transfers have[...]

  • Página 48

    DDR2 Memory Controller Registers www.ti.com 4.8 DDR2 Memory Controller Control Register (DMCCTL) The DDR2 memory controller control register (DMCCTL) resets the interface logic of the DDR2 memory controller. The DMCCTL is shown in Figure 26 and described in Table 25 . Figure 26. DDR2 Memory Controller Control Register (DMCCTL) 31 16 Reserved R-0x50[...]

  • Página 49

    www.ti.com Revision History Revision History This revision history highlights the technical changes made to the document in this revision. See Additions/Modifications/Deletions Table 1 Modified Description for DEODT[1:0] Pins Table 10 Modified Descriptions for Bits 6 and 2 Figure 16 Modified ODT pins in figure Figure 17 Modified ODT pins in figure [...]

  • Página 50

    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[...]