Sign in

username or email:

password:



Not a member?
Forgot your password?

Search compdsp



Search tips

Ads

Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGA

Discussion Groups | Comp.DSP | DAT_copy limit in TI TMS...C64x

There are 8 messages in this thread.

You are currently looking at messages 1 to .


Is this discussion worth a thumbs up?

0

DAT_copy limit in TI TMS...C64x - G Narayan - 2004-07-01 08:04:00

Hi all,

This query is with regard to the "DAT" module in any TMS320C64x
processor.
Is there an upper limit to the number of "DAT_copy" calls that can be
initiated at a time (async DMA), without "DAT_wait"ing (for completion
of transfer) on the transfer IDs they return ?
If there's a limit, has it been documented anywhere ? 

Best regards,
-Gopal Narayan
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - Kiebler - 2004-07-01 19:00:00



Gopal

Yes, there is a limit.  I believe that it is 4.

When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA engine)
use to determine when a transfer has been completed.  Additionally, the TCCs
are used in DAT_copy(), if all of the allocated TCCs are queued the
DAT_copy() routine blocks until one is available.

Regards

Jeff


"G Narayan" <g...@gmail.com> wrote in message
news:9...@posting.google.com...
> Hi all,
>
> This query is with regard to the "DAT" module in any TMS320C64x
> processor.
> Is there an upper limit to the number of "DAT_copy" calls that can be
> initiated at a time (async DMA), without "DAT_wait"ing (for completion
> of transfer) on the transfer IDs they return ?
> If there's a limit, has it been documented anywhere ?
>
> Best regards,
> -Gopal Narayan


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - G Narayan - 2004-07-02 01:27:00

Jeff,

Thanks a heap for that. 

Are there any documents that describe the operation of the DAT APIs ?
The C6000 CSL (Chip Support Library) document (spru401.pdf) talks
about the usage of the APIs, but says nothing about their operation.

Best Regards,
-Gopal Narayan


"Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<G...@comcast.com>...
> Gopal
> 
> Yes, there is a limit.  I believe that it is 4.
> 
> When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
> Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA engine)
> use to determine when a transfer has been completed.  Additionally, the TCCs
> are used in DAT_copy(), if all of the allocated TCCs are queued the
> DAT_copy() routine blocks until one is available.
> 
> Regards
> 
> Jeff
>
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - G Narayan - 2004-07-02 01:28:00

Jeff,

Thanks a heap for that. 

Are there any documents that describe the operation of the DAT APIs ?
The C6000 CSL (Chip Support Library) document (spru401.pdf) talks
about the usage of the APIs, but says nothing about their operation.

Best Regards,
-Gopal Narayan


"Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<G...@comcast.com>...
> Gopal
> 
> Yes, there is a limit.  I believe that it is 4.
> 
> When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
> Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA engine)
> use to determine when a transfer has been completed.  Additionally, the TCCs
> are used in DAT_copy(), if all of the allocated TCCs are queued the
> DAT_copy() routine blocks until one is available.
> 
> Regards
> 
> Jeff
>
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - G Narayan - 2004-07-02 02:13:00

Jeff,

Thanks a heap for that. 

Are there any documents that describe the operation of the DAT APIs ?
The C6000 CSL (Chip Support Library) document (spru401.pdf) talks
about the usage of the APIs, but says nothing about their operation.

Best Regards,
-Gopal Narayan


"Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<G...@comcast.com>...
> Gopal
> 
> Yes, there is a limit.  I believe that it is 4.
> 
> When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
> Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA engine)
> use to determine when a transfer has been completed.  Additionally, the TCCs
> are used in DAT_copy(), if all of the allocated TCCs are queued the
> DAT_copy() routine blocks until one is available.
> 
> Regards
> 
> Jeff
>
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - Kiebler - 2004-07-02 16:31:00

Gopal

None that I have found....

But TI does give you the source code for the modules...  Look for c6000.src
in the TI directory.  Make sure to only look at the EDMA version of the
code.  Older processors (ie C620x) use the DMA module.

Good luck


Jeff

"G Narayan" <g...@gmail.com> wrote in message
news:9...@posting.google.com...
> Jeff,
>
> Thanks a heap for that.
>
> Are there any documents that describe the operation of the DAT APIs ?
> The C6000 CSL (Chip Support Library) document (spru401.pdf) talks
> about the usage of the APIs, but says nothing about their operation.
>
> Best Regards,
> -Gopal Narayan
>
>
> "Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<G...@comcast.com>...
> > Gopal
> >
> > Yes, there is a limit.  I believe that it is 4.
> >
> > When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
> > Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA
engine)
> > use to determine when a transfer has been completed.  Additionally, the
TCCs
> > are used in DAT_copy(), if all of the allocated TCCs are queued the
> > DAT_copy() routine blocks until one is available.
> >
> > Regards
> >
> > Jeff
> >


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - G Narayan - 2004-07-03 02:01:00

Jeff,

Thanks for the help. It has given me a start. I'm using a C6415. 

Thanks again.

Best Regards,
-Gopal Narayan


"Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<i...@comcast.com>...
> Gopal
> 
> None that I have found....
> 
> But TI does give you the source code for the modules...  Look for c6000.src
> in the TI directory.  Make sure to only look at the EDMA version of the
> code.  Older processors (ie C620x) use the DMA module.
> 
> Good luck
> 
> 
> Jeff
>
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: DAT_copy limit in TI TMS...C64x - Piyush Kaul - 2004-07-03 03:48:00

DAT module is a wrapper on top of QDMA. You can find QDMA detail in
peripheral reference guide.

Regards
Piyush
g...@gmail.com (G Narayan) wrote in message
news:<9...@posting.google.com>...
> Jeff,
> 
> Thanks a heap for that. 
> 
> Are there any documents that describe the operation of the DAT APIs ?
> The C6000 CSL (Chip Support Library) document (spru401.pdf) talks
> about the usage of the APIs, but says nothing about their operation.
> 
> Best Regards,
> -Gopal Narayan
> 
> 
> "Kiebler" <k...@comcastspamthis.net.com> wrote in message
news:<G...@comcast.com>...
> > Gopal
> > 
> > Yes, there is a limit.  I believe that it is 4.
> > 
> > When you perform a DAT_open() it allocates only 4 EDMA Transfer Complete
> > Codes (TCC).  The TCC allocation is what the DAT calls (and the EDMA engine)
> > use to determine when a transfer has been completed.  Additionally, the TCCs
> > are used in DAT_copy(), if all of the allocated TCCs are queued the
> > DAT_copy() routine blocks until one is available.
> > 
> > Regards
> > 
> > Jeff
> >
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.