Texas Instruments TMS320C6457 manual Dualhpia, Fetch, For host write cycle, Hpid/Hpic/Hpiar/Hpiaw

Page 39

www.ti.comHPI 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 HPIAW. During autoincrementing, both

 

 

 

HPIAR and HPIAW are incremented. A host HPIA read cycle retrieves the value from HPIAR.

 

 

1

Dual-HPIA mode. The host sees two 32-bit HPIA registers: HPIAR for read addresses and HPIAW

 

 

 

for write addresses.

 

 

 

 

8

HWOBSTAT

 

HWOB status bit. HWOBSTAT reflects the value of the HWOB bit (see bit 0).

 

 

0

HWOB bit = 0 (first halfword is most significant)

 

 

1

HWOB bit = 1 (first halfword is least significant)

 

 

 

 

7

HPIRST

 

HPI software reset bit (set by CPU).

 

 

0

Host: Reads of HPIRST always return 0.

 

 

 

CPU: Once the CPU has written 1 to HPIRST, reads return 0 until the FIFOs are completely reset.

 

 

 

Writing 0 before the reset process is complete will not stop the reset from occurring.

 

 

1

CPU: Writing 1 causes the read and write FIFOs and the associated FIFO logic to be reset. As

 

 

 

described in Section 7.2, an active host cycle is allowed to complete before the reset process

 

 

 

begins. When HPIRST = 1, the

HRDY

pin is deasserted (not ready), thereby holding off all host

 

 

 

accesses. The CPU must set HPIRST = 0 to allow host accesses.

 

 

 

 

 

 

6-5

Reserved

0

The host must write 0s to these bits. The CPU cannot modify these bits.

 

 

 

 

 

 

4

FETCH

 

Host data fetch command bit (set by host).

 

 

0

CPU/Host: Reads of FETCH always return 0.

 

 

1

Host: Write 1 to tell the HPI DMA logic to pre-fetch data into the read FIFO.

 

 

 

 

 

 

3

HRDY

 

HPI-ready indicator (read-only).

 

 

0

Host: Internal HRDY is low. The HPI is not ready to complete a host cycle.

 

 

 

CPU: Reads of HRDY always return 0.

 

 

1

Host: Internal HRDY is high. The HPI is ready to complete a host cycle.

 

 

 

Note: HRDY bit is not the same as the HRDY pin status. Refer to Section 4 for details.

 

 

 

 

 

 

2

HINT

 

Host interrupt bit (set by the CPU, cleared by the host).

 

 

0

CPU/Host: Writing 0 has no effect.

 

 

1

CPU: Writing 1 to HINT generates a CPU-to-host interrupt. HINT remains 1 until it is cleared by the

 

 

 

host or by a hardware reset.

 

 

 

Host: Writing 1 to HINT clears HINT to 0, to acknowledge the CPU-to-host interrupt.

 

 

 

 

 

 

1

DSPINT

 

DSP interrupt bit (set by the host, cleared by the CPU).

 

 

0

CPU/Host: Writing 0 has no effect.

 

 

1

CPU: Writing 1 to DSPINT clears DSPINT to 0, to acknowledge the host-to-CPU interrupt.

 

 

 

Host: Writing 1 to DSPINT generates a host-to-CPU interrupt. DSPINT remains 1 until it is cleared

 

 

 

by the CPU or by a hardware reset.

 

 

 

 

 

 

0

HWOB

 

Halfword order bit (configured by the host). This bit is applicable only in the 16-bit multiplexed

 

 

 

mode. HWOB must be initialized by the host before the first data or address register access. The

 

 

 

status of HWOB is also reflected in HWOBSTAT (see bit 8).

 

 

 

For host write cycle:

 

 

0

The first halfword received from the bus is most significant (written to the high half of

 

 

 

HPID/HPIC/HPIAR/HPIAW). The second halfword is least significant (written to the low half of

 

 

 

HPID/HPIC/HPIAR/HPIAW).

 

 

1

The first halfword received from the bus is least significant (written to the low half of

 

 

 

HPID/HPIC/HPIAR/HPIAW). The second halfword is most significant (written to the high half of

 

 

 

HPID/HPIC/HPIAR/HPIAW).

 

 

 

For host read cycle:

 

 

0

The first halfword transmitted on the bus is most significant (taken from the high half of

 

 

 

HPID/HPIC/HPIAR/HPIAW). The second halfword is least significant (taken from the low half of

 

 

 

HPID/HPIC/HPIAR/HPIAW).

 

 

1

The first halfword transmitted on the bus is least significant (taken from the low half of

 

 

 

HPID/HPIC/HPIAR/HPIAW). The second halfword is most significant (taken from the high half of

 

 

 

HPID/HPIC/HPIAR/HPIAW).

 

 

 

 

 

 

SPRUGK7A –March 2009 –Revised July 2010

Host Port Interface (HPI)

39

Copyright © 2009–2010, Texas Instruments Incorporated

Image 39
Contents Users Guide SPRUGK7A -March 2009 -Revised July Appendix a HDS2 HDS1 HCSHas List of Figures List of Tables About This Manual Notational ConventionsRelated Documentation From Texas Instruments Introduction to the HPI Summary of the HPI Registers Summary of the HPI Signals HPI SignalsSummary of HPI Registers Hstrb HR/WI Hhwili HasiUsing the Address Registers Single-HPIA ModeDual-HPIA Mode HPI Operation Host-HPI Signal ConnectionsHhwil HPI Configuration and Data Flow Options for Connecting Host and HPI Data Strobe Pins Available Host 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 ConsiderationsHPI Registers IntroductionHost 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 cycleHost Port Interface Address Registers Hpiaw and Hpiar AddressBit Field Value Description 31-0 HPI data Data Register HpidData Register Hpid Field Descriptions DataAppendix a Revision History TMS320C6457 HPI 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.