Texas Instruments TMS320C6457 manual Introduction to the HPI

Page 7

User's Guide

SPRUGK7A – March 2009 – Revised July 2010

Host Port Interface (HPI)

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 DSP resources (including internal and external memory) using a 16-bit (HPI16) or 32-bit (HPI32) interface.

1Introduction to the HPI

The HPI provides a parallel port interface through which an external host processor (host) can access DSP resources. The HPI enables a host device and CPU to exchange information via internal or external memory. Dedicated address and data registers (HPIA and HPID respectively) within the HPI provide the data path between the external host interface and the processor resources. An HPI control register (HPIC) is available to the host and the CPU for various configuration and interrupt functions.

Figure 1 is a high-level block diagram showing how the HPI connects a host (left side of figure) and the DSP internal resources (right side of figure). The host functions as a master to the HPI. Host activity is asynchronous to the internal clock that drives the HPI. When HPI resources are temporarily busy or unavailable, the HPI informs the host by deasserting the HPI-ready (HRDY) output signal.

Figure 1. HPI Position in the Host-DSP System

Host

Data

Address

ALE

R/W

Chip select

Data strobes

IRQ

Ready

 

 

 

 

 

DSP

 

 

HPI

 

 

Internal

 

HD[31:0]/HD[15:0]

 

 

memory

 

 

 

 

 

 

 

 

 

(if needed)

 

HPID

 

 

 

HHWIL

R/W FIFOs

 

 

 

 

 

 

 

C64x+

HCNTL0

 

 

logic

 

Access

 

Switched

megamodule

 

HPIA

 

HCNTL1

DMA

central

 

type

 

 

 

 

resource

 

 

 

 

HPI

 

External

 

 

 

 

memory

 

 

 

Increment

 

I/F

(optional)

HAS

 

 

 

 

 

 

 

 

 

 

HR/W

HPIC

 

 

Other

 

HCS

 

 

 

peripherals

 

HDS1, HDS2

 

 

 

 

 

HINT

 

 

 

 

 

HRDY

 

 

 

EDMA3

 

 

 

 

 

SPRUGK7A –March 2009 –Revised July 2010

Host Port Interface (HPI)

7

Copyright © 2009–2010, Texas Instruments Incorporated

Image 7
Contents Users Guide SPRUGK7A -March 2009 -Revised July HDS2 HDS1 HCS Appendix aHas List of Figures List of Tables Notational Conventions About This ManualRelated Documentation From Texas Instruments Introduction to the HPI Summary of the HPI Registers HPI Signals Summary of the HPI SignalsSummary of HPI Registers Hstrb HR/WI Hhwili HasiSingle-HPIA Mode Using the Address RegistersDual-HPIA Mode HPI Operation Host-HPI Signal ConnectionsHhwil HPI Configuration and Data Flow Available Host Data Strobe Pins Options for Connecting Host and HPI Data Strobe PinsHDS2, HDS1, and HCS Data Strobing and Chip Selection Cycle Type Access Types Selectable by the Hcntl SignalsCycle Types Selectable With the Hcntl and HR/W Signals HCNTL10 and HR/W Indicating the Cycle TypeHas Forcing the HPI to Latch Control Information Early Hrdy a Hhwil HCS HasHrdya Hhwil HCS Has HR/WHstrb HR/W Performing a Multiplexed Access Without hasBit Multiplexed Mode Host Write Cycle With has Tied High Hardware Handshaking Using the HPI-Ready Hrdy Signal Single-Halfword Hpic Cycle in the 16-Bit Multiplexed ModeHrdy Hrdy Behavior During 16-Bit Multiplexed Read OperationsHR/W Hhwil Hrdy Behavior During 16-Bit Multiplexed Write OperationsHrdy Behavior During 32-Bit Multiplexed Read Operations Hpia Write HPID+ Reads Hrdy Behavior During 32-Bit Multiplexed Write OperationsHpia Write Hpid ReadHpia Write Hpid Write Hpia Write HPID+ Writes Polling the Hrdy Bit Software Handshaking Using the HPI Ready Hrdy BitDSPINT=0 Interrupts Between the Host and the CPUDspint Bit Host-to-CPU Interrupts Hint Bit CPU-to-Host InterruptsCPU-to-Host Interrupt State Diagram Read Bursting FIFOs and BurstingWrite Bursting Fifo Flush Conditions Fifo Behavior When a Hardware Reset or Software Reset OccursEmulation Modes Emulation and Reset ConsiderationsSoftware Reset Considerations Hardware Reset ConsiderationsIntroduction HPI RegistersHost Port Interface HPI Registers Soft Power and Emulation Management Register PwremumgmtSoft Free R/W-0 R/W-0 Bit Field Value DescriptionHost Port Interface Control Register Hpic HPID/HPIC/HPIAR/HPIAW DualhpiaFetch For host write cycleAddress Host Port Interface Address Registers Hpiaw and HpiarBit Field Value Description 31-0 HPI data Data Register HpidData Register Hpid Field Descriptions DataTMS320C6457 HPI Revision History Appendix a Revision HistorySeeAdditions/Modifications/Deletions Rfid Products Applications

TMS320C6457 specifications

The Texas Instruments TMS320C6457 is a high-performance digital signal processor (DSP) designed for demanding applications in telecommunications, industrial control, and video processing. As part of the TMS320C6000 family, the C6457 combines advanced features with impressive processing capabilities, making it a popular choice among developers looking for efficient and robust solutions.

One of the key features of the TMS320C6457 is its architecture, which is based on the super Harvard architecture. This design separates program and data memory paths, allowing for parallel instruction execution. The C6457 operates at clock speeds of up to 1 GHz, enabling it to deliver peak performance of over 6,000 MIPS (Million Instructions Per Second) and 12,000 MADDs (Multiply-Accumulate operations per second). Such high throughput makes the C6457 suitable for real-time processing applications that require rapid data handling.

The C6457 DSP integrates a rich set of on-chip resources, including up to 1MB of on-chip SRAM, which serves as a fast cache for data and instructions. The device features multiple high-speed interfaces, such as 10/100/1000 Ethernet, Serial RapidIO, and PCI-Express, facilitating seamless connectivity with other devices and systems. Furthermore, the TMS320C6457 supports various communication protocols, allowing it to adapt to a wide range of application scenarios.

In terms of power efficiency, the TMS320C6457 is designed with sophisticated power management features. It includes dynamic voltage and frequency scaling, which adjust power consumption based on workload requirements without compromising performance. This capability is particularly valuable in battery-operated devices or environments where thermal management is critical.

The TMS320C6457 also benefits from extensive software support, including the Texas Instruments DSP/BIOS real-time operating system and Code Composer Studio integrated development environment. Developers can leverage these tools for efficient code development, debugging, and system optimization. Additionally, Texas Instruments provides a range of libraries and algorithms optimized for the C6457, facilitating rapid application development.

Overall, the Texas Instruments TMS320C6457 DSP stands out due to its robust architecture, high processing capabilities, comprehensive connectivity options, and power management features. These attributes make it a versatile solution for a broad spectrum of applications in digital signal processing, where performance and efficiency are paramount. As technology continues to advance, the TMS320C6457 remains a relevant and potent option for developers seeking to push the boundaries of digital signal processing.