There are 8 messages in this thread.
You are currently looking at messages 1 to .
Is this discussion worth a thumbs up?
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______________________________
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______________________________
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 >______________________________
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 >______________________________
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 >______________________________
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 > >______________________________
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 >______________________________
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 > >______________________________