Forums

begginer's question - DMA of TI TMS320VC5510 dsk

Started by kruvytz May 13, 2004
Hello,

This massage comes from two electrical enginnering students
from Israel (please excuse our english).

This is the problem:

We're trying to write a simple assembly program for 
TMS320VC5510 dsk, using CCS, not using DSP/BIOS and CSL.
Only plain, direct, control registers modifications.
The program is meant to make the DMA transfer the content
of the count register (TIM0) of TIMER0, into some allocated
address in DARAM.  it's not working.

The program was brought to a position of having the DMA 
successfuly transferring data from DARAM to DARAM.
In order to update the source address of the DMA channel,
the SRC bits of DMACSDP were modified to 0011b - periphrels,
the source start address register was modified to (#2004h)
(the byte address of TIM0).

Could the reason be related to the idle status of the peripheral bus?

Thanks for reading,
God bless you...
avishvish@hotmail.com (kruvytz) wrote:

>Hello, > >This massage comes from two electrical enginnering students >from Israel (please excuse our english). > >This is the problem: > >We're trying to write a simple assembly program for >TMS320VC5510 dsk, using CCS, not using DSP/BIOS and CSL. >Only plain, direct, control registers modifications. >The program is meant to make the DMA transfer the content >of the count register (TIM0) of TIMER0, into some allocated >address in DARAM. it's not working. > >The program was brought to a position of having the DMA >successfuly transferring data from DARAM to DARAM. >In order to update the source address of the DMA channel, >the SRC bits of DMACSDP were modified to 0011b - periphrels, >the source start address register was modified to (#2004h) >(the byte address of TIM0).
And the source index register for DMA? Set to "no increment"? Robert www.gldsp.com ( modify address for return email ) www.numbersusa.com www.americanpatrol.com