Manual Texas Instruments TMS320C6457

43 pages 0.23 mb
Download

Go to site of 43

Summary
  • Texas Instruments TMS320C6457 - page 1

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

  • Texas Instruments TMS320C6457 - page 2

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

  • Texas Instruments TMS320C6457 - page 3

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

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ............ ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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) ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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) ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 = ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

  • Texas Instruments TMS320C6457 - page 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 ...

Manufacturer Texas Instruments Category Network Router

Documents that we receive from a manufacturer of a Texas Instruments TMS320C6457 can be divided into several groups. They are, among others:
- Texas Instruments technical drawings
- TMS320C6457 manuals
- Texas Instruments product data sheets
- information booklets
- or energy labels Texas Instruments TMS320C6457
All of them are important, but the most important information from the point of view of use of the device are in the user manual Texas Instruments TMS320C6457.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Texas Instruments TMS320C6457, service manual, brief instructions and user manuals Texas Instruments TMS320C6457. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Texas Instruments TMS320C6457.

A complete manual for the device Texas Instruments TMS320C6457, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Texas Instruments TMS320C6457 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Texas Instruments TMS320C6457.

A complete Texas Instruments manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Texas Instruments TMS320C6457 - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Texas Instruments TMS320C6457, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Texas Instruments TMS320C6457, that we can find in the current document
3. Tips how to use the basic functions of the device Texas Instruments TMS320C6457 - which should help us in our first steps of using Texas Instruments TMS320C6457
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Texas Instruments TMS320C6457
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Texas Instruments TMS320C6457 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Texas Instruments TMS320C6457?

Use the form below

If you did not solve your problem by using a manual Texas Instruments TMS320C6457, ask a question using the form below. If a user had a similar problem with Texas Instruments TMS320C6457 it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)