Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Discussion Groups

Discussion Groups | TMS320C6x | Host to issue an interrupt to C6415 via PCI

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

Host to issue an interrupt to C6415 via PCI - Jay Huang - Aug 23 6:25:00 2002



Dear DSPers,

I need to design a communication scheme for C6415 to
be able to communicate with a host processor. I am
wondering someone could explain to me how to do this
for C6415 ?

Host
--------
(1) put information to DSP internal memmory.
(2) to generate an interrupt to DSP via PCI port ?

Thank you very much for your information and help.

Sincerely,

Jay Huang





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Host to issue an interrupt to C6415 via PCI - John Campbell - Aug 23 13:27:00 2002

Jay,
If the 6415 uses the same bridge as the 6205 be careful of a potential
race condition. The memory cycle is fifo'ed. The register cycle (to cause
the dsp interrupt), is not.
jrc

John R Campbell
March Networks Corporation
Tower B, Suite 330, 555 Legget Drive
Kanata, Ontario K2K 2X3
T (613) 591-8228 Ext 5809
F (613) 591-3113




(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Host to issue an interrupt to C6415 via PCI - Zhang Zhenghao - Aug 24 1:01:00 2002

Jay,

Basically you need write a host driver to do that.

You can access your DSP target memeory through the
Base Addess 0 space. Also you can use DMA to let C6415
read/write host memory as a PCI bus master. I would
sugguest you use DMA whenever possible because the
host access to DSP may not write to the target
correctly when other PCI activiy is in the bus due to
the problem in c6415's PCI interface.
In order to interrupt the DSP from host, just
write the DSPINT bit in HDCR regiseter through the
Base Address 2 memory. Writing this bit will cause the
HOSTSW interrupt if it is enabled in the PCI interrupt
enable register (PCIIEN).

Regards,
William

--- Jay Huang <> wrote:
> Dear DSPers,
>
> I need to design a communication scheme for C6415 to
> be able to communicate with a host processor. I am
> wondering someone could explain to me how to do this
> for C6415 ?
>
> Host
> --------
> (1) put information to DSP internal memmory.
> (2) to generate an interrupt to DSP via PCI port ?
>
> Thank you very much for your information and help.
>
> Sincerely,
>
> Jay Huang >
> _____________________________________ __________________________________________________





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Host to issue an interrupt to C6415 via PCI - jfbuggen - Aug 27 12:38:00 2002

Hello,

> read/write host memory as a PCI bus master. I would
> sugguest you use DMA whenever possible because the
> host access to DSP may not write to the target
> correctly when other PCI activiy is in the bus due to
> the problem in c6415's PCI interface.

What do you mean with "due to the problem in c6415's PCI interface" ?

Thanks

J-F





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Host to issue an interrupt to C6415 via PCI - jfbuggen - Sep 4 6:52:00 2002

Hello,

Please find below the answer that I just got from TI,
to be included in next release of the errata file.

J-F

>> What do you mean with "due to the problem in c6415's PCI
>> interface" ?
>
> Hello,
>
> There is a silicon bug in C6415 PCI interface. TI
> is actually working on it. I did a street test to
> write/read the DSP memory from host using DSP as PCI
> target, the data read back are not exactly same as
> wrote sometimes. The error rate is more than 1% if
> there is other PCI activity on the bus meanwhile.
>
> Regards,
> William
--------------
ANSWER FROM TI
--------------
3 - Silicon Revision 1.03 Known Design Exceptions to Functional
Specifications
and Usage Notes :
3.1 Usage Notes for Silicon Revision 1.03.

PCI: Bursts of 11 Words Sometimes Corrupt Data
On silicon revision 1.03 and earlier, when doing a PCI burst slave
write to the DSP that is 11 words long, the data
may get corrupted. When the data corruption occurs, the eleventh word
of the burst ends up in memory where the
first word goes, and the memory location where the eleventh word
should have gone is left untouched. The data
corruption issue has only been observed in systems where there are
several devices on the PCI bus (for example, a PC).





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )