Texas Instruments TMS320C6457 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

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 TMS320C6457. 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 TMS320C6457 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 TMS320C6457 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 TMS320C6457, 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 TMS320C6457 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Texas Instruments TMS320C6457
- nombre de fabricante y año de fabricación del dispositivo Texas Instruments TMS320C6457
- condiciones de uso, configuración y mantenimiento del dispositivo Texas Instruments TMS320C6457
- 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 TMS320C6457 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 TMS320C6457 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 TMS320C6457, 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 TMS320C6457, 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 TMS320C6457. 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

    TMS320C6457 DSP Host Port Interface (HPI) User's Guide Literature Number: SPRUGK7A March 2009 – Revised July 2010[...]

  • Página 2

    2 SPRUGK7A – March 2009 – Revised July 2010 Copyright © 2009–2010, Texas Instruments Incorporated[...]

  • Página 3

    Preface ....................................................................................................................................... 6 1 Introduction to the HPI ......................................................................................................... 7 1.1 Summary of the HPI Registers .....................................[...]

  • Página 4

    www.ti.com List of Figures 1 HPI Position in the Host-DSP System ................................................................................... 7 2 Example of Host-DSP Signal Connections When Using the HAS Signal in the 32-Bit Multiplexed Mode .... 12 3 Example of Host-DSP Signal Connections When the HAS Signal is Tied High in the 32-Bit Multi[...]

  • Página 5

    www.ti.com List of Tables 1 Summary of HPI Registers ................................................................................................ 9 2 HPI Signals .................................................................................................................. 9 3 Options for Connecting Host and HPI Data Strobe Pins ............[...]

  • Página 6

    Preface SPRUGK7A – March 2009 – Revised July 2010 Read This First About This Manual This guide describes the host port interface (HPI) on the TMS320C6457 digital signal processors (DSPs). The HPI enables an external host processor (host) to directly access the internal or external memory of the DSP using a 16-bit (HPI16) or 32-bit (HPI32) inter[...]

  • Página 7

    HPID R/W FIFOs HPIA Increment HPIC Access type HD[31:0]/HD[15:0] HDS1 , HDS2 HR/W HAS HCNTL0 HCNTL1 (optional) HINT HRDY HPI Host Data Address ALE R/W IRQ Ready HCS Chip select DSP HPI DMA logic HHWIL (if needed) Data strobes Switched central resource C64x+ megamodule External memory I/F Other peripherals EDMA3 Internal memory User's Guide SPR[...]

  • Página 8

    Introduction to the HPI www.ti.com The HPI uses multiplexed operation, meaning the data bus carries both address and data. When the host drives an address on the bus, the address is stored in the address register (HPIA) in the HPI, so that the bus can then be used for data. The HPI supports two interface modes: HPI16 and HPI32 mode. DSP selects eit[...]

  • Página 9

    www.ti.com Introduction to the HPI Table 1. Summary of HPI Registers Host Access CPU Access Read/Write Access Requirements Read/Write Offset Register Description Permissions Permissions Address PWREMU_MGMT Power and Emulation None - Read/Write 04h Management Register HPIC Host Port Interface Control Read/Write HCNTL1 low Read: All bits 30h Register[...]

  • Página 10

    Introduction to the HPI www.ti.com Table 2. HPI Signals (continued) Signal State (1) Host Connection Description HCNTL[1:0] I Address or control pins The HPI latches the logic levels of these pins on the falling edge of HAS or internal HSTRB (for details about internal HSTRB, see Section 3.3 ). The four binary states of these pins determine the acc[...]

  • Página 11

    www.ti.com Using the Address Registers 2 Using the Address Registers The HPI contains two 32-bit address registers: one for read operations (HPIAR) and one for write operations (HPIAW). These roles are unchanging from the position of the HPI DMA logic. HPI DMA logic collects the address from HPIAR when reading from DSP internal/external memory and [...]

  • Página 12

    Address or I/O Read/W rite Chip select Data strobe A Data/address Interrupt Ready HCNTL[1:0] HR/W HCS HDS1 HDS2 HD[31:0] HINT HRDY HPI Host Address latch enable HAS No connect HHWIL Logic high 2 32 DSP HPI Operation www.ti.com 3 HPI Operation 3.1 Host-HPI Signal Connections Figure 2 and Figure 3 show examples of signal connections for the 32-bit mu[...]

  • Página 13

    Address or I/O Read/W rite Chip select Data strobe A Data/address Interrupt Ready HCNTL[1:0] HR/W HCS HDS1 HDS2 HD[31:0] HINT HRDY HPI Host Logic high HAS No connect HHWIL Logic high 2 32 DSP Read/W rite Chip select Data strobe A Data/address Interrupt Ready HCNTL[1:0] HR/W HCS HDS1 HDS2 HD[15:0] HINT HRDY HPI DSP Host Address latch enable HAS HHWI[...]

  • Página 14

    Read/W rite Chip select Data strobe A Data Interrupt Ready HCNTL[1:0] HR/W HCS HDS1 HDS2 HD[15:0] HINT HRDY HPI DSP Host HAS HHWIL Logic high Logic high Address or I/O HD[31:16] No connect 2 16 16 HPI Operation www.ti.com Figure 5. Example of Host-DSP Signal Connections When the HAS Signal is Tied High in the 16-Bit Multiplexed Mode A Data strobing[...]

  • Página 15

    HDS1 HDS2 HCS HRDY Internal HSTRB Internal HRDY www.ti.com HPI Operation If the host wants to read data from the DSP internal/external memory, the HPI DMA logic reads the memory address from HPIAR and retrieves the data from the addressed memory location. When the data has been placed in HPID, the HPI drives the data onto its HD bus. The HRDY signa[...]

  • Página 16

    HPI Operation www.ti.com 3.4 HCNTL[1:0] and HR/W: Indicating the Cycle Type The cycle type consists of: • The access type selected by the host by driving the appropriate levels on the HCNTL[1:0] pins of the HPI. Table 4 describes the four available access types. • The transfer direction that the host selects with the HR/W pin. The host must dri[...]

  • Página 17

    www.ti.com HPI Operation 3.5 HHWIL: Identifying the First and Second Halfwords in 16-Bit Multiplexed Mode In the 16-bit multiplexed mode, each host cycle consists of two consecutive halfword transfers. For each transfer, the host must specify the cycle type with HCNTL[1:0] and HR/W, and the host must use HHWIL to indicate whether the first or secon[...]

  • Página 18

    Data 2 Data 1 HCS HAS HSTRB HR/W HCNTL[1:0] HD[15:0] HRDY A HHWIL Internal HPI latches control information Host latches data HPI latches control information Host latches data HPI Operation www.ti.com Figure 7. 16-Bit Multiplexed Mode Host Read Cycle Using HAS A Depending on the type of write operation (HPID without autoincrementing, HPIA, HPIC, or [...]

  • Página 19

    HCS HAS HSTRB HR/W HCNTL[1:0] HRDY A HHWIL Data 1 Data 2 HD[15:0] Internal HPI latches control information HPI latches data HPI latches control information HPI latches data www.ti.com HPI Operation Figure 8. 16-Bit Multiplexed Mode Host Write Cycle Using HAS A Depending on the type of write operation (HPID without autoincrementing, HPIA, HPIC, or H[...]

  • Página 20

    Data 2 Data 1 HCS HSTRB HR/W HCNTL[1:0] HD[15:0] HRDY A HHWIL Internal HPI latches control information Host latches data HPI latches control information Host latches data HPI Operation www.ti.com 3.7 Performing a Multiplexed Access Without HAS The HAS signal is not required when the host processor has dedicated signals (address lines or bit I/O) ca[...]

  • Página 21

    HCS HSTRB HRDY A HR/W HCNTL[1:0] HHWIL Data 1 Data 2 HD[15:0] Internal HPI latches control information HPI latches data HPI latches control information HPI latches data www.ti.com HPI Operation Figure 10. 16-Bit Multiplexed Mode Host Write Cycle With HAS Tied High A Depending on the type of write operation (HPID without autoincrementing, HPIA, HPIC[...]

  • Página 22

    Data 1 HCS HSTRB HR/W HCNTL[1:0] HD[15:0] HRDY HHWIL Internal V alid 00 V alid HPI Operation www.ti.com 3.8 Single-Halfword HPIC Cycle in the 16-Bit Multiplexed Mode In 16-bit multiplexed mode, the lower 16 bits of the HPIC registers are duplicated on the upper 16 bits during HPIC host accesses. Therefore, the host only needs to perform a single ha[...]

  • Página 23

    1st halfword 00 or 10 00 or 10 2nd halfword Internal HD[15:0] HRDY HHWIL HR/W HCNTL[1:0] HCS HSTRB HCS HCNTL[1:0] HR/W HHWIL Internal HSTRB HD[15:0] HRDY 1st halfword 2nd halfword 1st halfword 2nd halfword 1 1 1 1 10 10 HPIA write HPID read HCS Internal HRDY HD[15:0] HR/W HCNTL[1:0] HHWIL 10 10 01 01 01 1st halfword 2nd halfword 1st halfword 2nd ha[...]

  • Página 24

    1st halfword 2nd halfword 00 00 Internal HD[15:0] HRDY HHWIL HR/W HCNTL[1:0] HCS HSTRB 10 10 1 1 11 1st halfword 2nd halfword 2nd halfword 1st halfword Internal HSTRB HD[15:0] HRDY HHWIL HR/W HCNTL[1:0] HCS HPIA write HPID write 10 10 01 01 01 1st halfword 2nd halfword 1st halfword 2nd halfword 1st halfword Internal HSTRB HD[15:0] HRDY HHWIL HR/W H[...]

  • Página 25

    10 10 01 01 01 1st halfword 2nd halfword 1st halfword 2nd halfword 1st halfword Internal HSTRB HD[15:0] HRDY HHWIL HR/W HCNTL[1:0] HCS HPIA write HPID+ writes 00 or 10 HCNTL[1:0] HD[31:0] HRDY HR/W Internal HSTRB HCS www.ti.com HPI Operation Figure 18. HRDY Behavior During a Data Write Operation in the 16-Bit Multiplexed Mode (Case 3: Autoincrement[...]

  • Página 26

    1 1 10 HPIA W rite HPID Read HCNTL[1:0] HD[31:0] HRDY HR/W Internal HSTRB HCS 10 01 01 01 HPIA W rite HPID+ Reads HD[31:0] HRDY HCS A HCNTL[1:0] HR/W Internal HSTRB HPI Operation www.ti.com Figure 20. HRDY Behavior During a Data Read Operation in the 16-Bit Multiplexed Mode (Case 1: HPIA Write Cycle Followed by Nonautoincrement HPID Read Cycle) Fig[...]

  • Página 27

    00 HCNTL[1:0] HD[31:0] HRDY HR/W Internal HSTRB HCS 10 1 1 HPIA W rite HPID W rite HRDY HR/W Internal HSTRB HCS HCNTL[1:0] HD[31:0] www.ti.com HPI Operation Figure 22. HRDY Behavior During an HPIC Write Cycle in the 32-Bit Multiplexed Mode Figure 23 shows an HPIA (HCNTL[1:0] = 10b) write access followed by an HPID (HCNTL[1:0] = 11b) write access fo[...]

  • Página 28

    10 01 01 01 HPIA W rite HPID+ W rites HCNTL[1:0] HD[31:0] HRDY HR/W Internal HSTRB HCS A 10 01 01 01 HPIA W rite HPID+ W rites HD[31:0] HRDY Internal HSTRB HCS A HCNTL[1:0] HR/W HPI Operation www.ti.com Figure 24. HRDY Behavior During a Data Write Operation in the 32-Bit Multiplexed Mode (Case 2: Autoincrementing Selected, FIFO Empty Before Write) [...]

  • Página 29

    www.ti.com Software Handshaking Using the HPI Ready (HRDY) Bit 4 Software Handshaking Using the HPI Ready (HRDY) Bit In addition to the HRDY output signal, the HPI contains an HRDY bit in the control register (HPIC). This bit is useful for software polling when the host does not have an input pin to connect to the HRDY pin. In some cases, the host [...]

  • Página 30

    DSPINT=0 DSPINT=1 CPU writes 1 to DSPINT bit Interrupt pending Host writes 0 to DSPINT bit No interrupt/ interrupt cleared Host writes 0 or 1 to DSPINT bit CPU writes 0 to DSPINT bit CPU writes 0 or 1 to DSPINT bit Host writes 1 to DSPINT bit (interrupt generated to CPU) (A) Interrupts Between the Host and the CPU www.ti.com 5 Interrupts Between th[...]

  • Página 31

    HINT bit=0 HINT signal is high is low HINT signal HINT bit=1 CPU writes 1 to HINT bit Host writes 1 to HINT bit Interrupt active CPU writes 0 to HINT bit No interrupt/ interrupt cleared Host writes 0 or 1 to HINT bit CPU writes 0 or 1 to HINT bit Host writes 0 to HINT bit www.ti.com Interrupts Between the Host and the CPU Figure 27. CPU-to-Host Int[...]

  • Página 32

    W rite FIFO control logic Host write pointer HPI DMA read pointer W rite FIFO Host writes Read FIFO reads Host control logic Read FIFO Host read pointer HPI DMA write pointer HPI DMA logic Switched central Burst writes reads Burst resource DSP internal/ external memory FIFOs and Bursting www.ti.com 6 FIFOs and Bursting The HPI data register (HPID) [...]

  • Página 33

    www.ti.com FIFOs and Bursting If the host initiates an HPID read cycle with autoincrementing, the HPI DMA logic performs two 4-word burst operations to fill the read FIFO. The host is initially held off by the deassertion of the HRDY signal until data is available to be read from the read FIFO. Once data is available in the read FIFO, the host can [...]

  • Página 34

    FIFOs and Bursting www.ti.com 6.3 FIFO Flush Conditions When specific conditions occur within the HPI, the read or write FIFO must be flushed to prevent the reading of stale data from the FIFOs. When a read FIFO flush condition occurs, all current host accesses and direct memory accesses (DMAs) to the read FIFO are allowed to complete. This include[...]

  • Página 35

    www.ti.com Emulation and Reset Considerations 7 Emulation and Reset Considerations 7.1 Emulation Modes The FREE and SOFT bits of the power and emulation management register (PWREMU_MGMT) determine the response of the HPI to an emulation suspend condition. If FREE = 1, the HPI is not affected, and the SOFT bit has no effect. If FREE = 0 and SOFT = 0[...]

  • Página 36

    HPI Registers www.ti.com 8 HPI Registers 8.1 Introduction Table 6 lists the memory-mapped registers for the Host Port Interface (HPI). See the device-specific data manual for the memory address of these registers. Table 6. Host Port Interface (HPI) Registers Offset Acronym Register Description See 0004h PWREMU_MGMT Power and Emulation Management Re[...]

  • Página 37

    www.ti.com HPI Registers 8.2 Power and Emulation Management Register (PWREMU_MGMT) The power management and emulation register is shown in Figure 29 and described in Table 7 . Figure 29. Power and Emulation Management Register (PWREMU_MGMT) 31-16 Reserved R-0 15-2 1 0 Reserved SOFT FREE R-0 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n =[...]

  • Página 38

    HPI Registers www.ti.com 8.3 Host Port Interface Control Register (HPIC) The HPIC register stores control and status bits used to configure and operate the HPI peripheral. The bit positions of the HPIC register and their functions are illustrated in Table 8 . In 16-bit multiplexed mode, the lower 16 bits of the HPIC register are duplicated on the u[...]

  • Página 39

    www.ti.com HPI Registers Table 8. Host Port Interface Control Register (HPIC) Field Descriptions (continued) Bit Field Value Description 9 DUALHPIA Dual-HPIA mode bit (configured by the host). 0 Single-HPIA mode. From the host's perspective, there is one 32-bit HPIA register. A host HPIA write cycle places the same value in both HPIAR and HPIA[...]

  • Página 40

    HPI Registers www.ti.com 8.4 Host Port Interface Address Registers (HPIAW and HPIAR) There are two 32-bit HPIA registers: HPIAW for write operations and HPIAR for read operations. The HPI can be configured such that HPIAW and HPIAR act as a single 32-bit HPIA (single-HPIA mode) or as two separate 32-bit HPIAs (dual-HPIA mode) from the perspective o[...]

  • Página 41

    www.ti.com HPI Registers 8.5 Data Register (HPID) The 32-bit register HPID provides the data path between the host and the HPI DMA logic. During a host write cycle, the host fills HPID with 32 bits, and then the HPI DMA logic transfers the 32-bit value to the internal memory of the DSP. During a host read cycle, the HPI DMA logic fills HPID with 32[...]

  • Página 42

    www.ti.com Appendix A Revision History This revision history highlights the technical changes made to the document in this revision. Table 11. TMS320C6457 HPI Revision History See Additions/Modifications/Deletions Table 6 Modified table 42 Revision History SPRUGK7A – March 2009 – Revised July 2010 Copyright © 2009–2010, Texas Instruments Inc[...]

  • Página 43

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