Forums

Connecting DS80C410 to TMS320VC5509A using HPI port

Started by llurpol August 6, 2007
DS80C410 is master.TMS320VC5509A is slave.
Address Signals of DS80C410 was used as control signals.
Data bus signals[7:0] of DS80C410 was connected to HPI data bus
(HPI.HD).
Address and data signals was transmit using HPI.HD when Host
(DS80C410) access DSP.
HPI port work at Multiplexed Mode(Address and data share one bus).
The HPI.HAS# Signal(Address strobe signal) is Tied High in the
Multiplexed Mode.

Other Signal Connections as following:

P7.1---P7.0 DS80C410 Address[1:0]------HPI.HCNTL[1:0] HPI access
control signals.

P7.3---P7.2 A[3:2]------HPI.HBE#[1:0] Host byte-enable
signals.

P7.4 A[4]------HPI.HR/W# HPI read/write signal.

P5.5 Peripheral Chip Enable1 PCE1#------HPI.HCS# HPI chip-
select signal.

P3.6 External Data Memory Write Strobe WR#------HPI.HDS1# HPI
data strobe signal.

P3.7 External Data Memory Read Strobe RD#------HPI.HDS2# HPI
data strobe signal.

P1.5 External Interrupt 3 (Negative Edge Detect) INT3#------
HPI.HINT# DSP-to-Host interrupt signal.

There is no Ready Signal on the Host;
Should any bidirectional I/O Pin be OK, when it is connected to -----
-HPI.HRDY ???(if OK, it can get the state of the pin and then
determine whether the next accessing to DSP initiate in user code,
doesn't? HPI.HRDY will turn to High when the current access to DSP
is over.)

DS80C410 data bus(DSbus) was connected to HPI Data bus (HD[15:0]);
DS80C410 data bus is 8 bits width, and HPI 16bits.

In the case that DS80C410 data bus[7:0] was connected to HPI.HD
[7:0],
it seems that the host cannot get MSByte from DSP to DS80C410 data
bus[7:0],as the
instruction about HBE# signals on "TMS320VC5503/5507/5509 DSP Host
Port Interface (HPI) Reference Guide" page17.
Can U give me a suggestion of the connections HPI.HRDY and HPI.HD
[15:0]?
Thanks a lot!
--shannon
Cindy-

> In the case that DS80C410 data bus[7:0] was connected to HPI.HD
> [7:0],
> it seems that the host cannot get MSByte from DSP to DS80C410 data
> bus[7:0],as the
> instruction about HBE# signals on "TMS320VC5503/5507/5509 DSP Host
> Port Interface (HPI) Reference Guide" page17.

Yes I agree. I see these options:

-find a 16-bit data path from the 8051

-use /HBE lines to control two (2) external bus
switches so you can implement an 8-bit HPI

-use 5502 which allows 8-bit HPI

-change design method, maybe the LAN91C111 device
you had previously

On 550x designs I've seen that use HPI, /HBE lines are always grounded. I don't see
how they can be helpful unless used to control external bus switches (option 2).

-Jeff

> DS80C410 is master.TMS320VC5509A is slave.
> Address Signals of DS80C410 was used as control signals.
> Data bus signals[7:0] of DS80C410 was connected to HPI data bus
> (HPI.HD).
> Address and data signals was transmit using HPI.HD when Host
> (DS80C410) access DSP.
> HPI port work at Multiplexed Mode(Address and data share one bus).
> The HPI.HAS# Signal(Address strobe signal) is Tied High in the
> Multiplexed Mode.
>
> Other Signal Connections as following:
>
> P7.1---P7.0 DS80C410 Address[1:0]------HPI.HCNTL[1:0] HPI access
> control signals.
>
> P7.3---P7.2 A[3:2]------HPI.HBE#[1:0] Host byte-enable
> signals.
>
> P7.4 A[4]------HPI.HR/W# HPI read/write signal.
>
> P5.5 Peripheral Chip Enable1 PCE1#------HPI.HCS# HPI chip-
> select signal.
>
> P3.6 External Data Memory Write Strobe WR#------HPI.HDS1# HPI
> data strobe signal.
>
> P3.7 External Data Memory Read Strobe RD#------HPI.HDS2# HPI
> data strobe signal.
>
> P1.5 External Interrupt 3 (Negative Edge Detect) INT3#------
> HPI.HINT# DSP-to-Host interrupt signal.
>
> There is no Ready Signal on the Host;
> Should any bidirectional I/O Pin be OK, when it is connected to -----
> -HPI.HRDY ???(if OK, it can get the state of the pin and then
> determine whether the next accessing to DSP initiate in user code,
> doesn't? HPI.HRDY will turn to High when the current access to DSP
> is over.)
>
> DS80C410 data bus(DSbus) was connected to HPI Data bus (HD[15:0]);
> DS80C410 data bus is 8 bits width, and HPI 16bits.
>
> In the case that DS80C410 data bus[7:0] was connected to HPI.HD
> [7:0],
> it seems that the host cannot get MSByte from DSP to DS80C410 data
> bus[7:0],as the
> instruction about HBE# signals on "TMS320VC5503/5507/5509 DSP Host
> Port Interface (HPI) Reference Guide" page17.
> Can U give me a suggestion of the connections HPI.HRDY and HPI.HD
> [15:0]?
> Thanks a lot!
> --shannon