DSPRelated.com
Forums

EDMA Setup Question (General)

Started by e90680 May 30, 2002
Hi,

Im chaining 3 EDMA blocks transfers.

For all 3 blocks, I have specifed the completion interrupt codes
(TCC) along with the link address (.rld) of the next block
(NULL for the last). For the first block I specified a external interrupt (4) as the
channel that starts the transfer ( EDMA_open(EXT_INT_4,
EDMA_OPEN_RESET) ) but what do I use for the channel on the
last 2 blocks?

TIA,
Erich



At 01:13 AM 5/30/2002 +0000, e90680 wrote:
>Hi,
>
>Im chaining 3 EDMA blocks transfers.
>
>For all 3 blocks, I have specifed the completion interrupt codes
>(TCC) along with the link address (.rld) of the next block
>(NULL for the last). >For the first block I specified a external interrupt (4) as the
>channel that starts the transfer ( EDMA_open(EXT_INT_4,
>EDMA_OPEN_RESET) ) but what do I use for the channel on the
>last 2 blocks?

Use TCC8 for EXT_INT_4 completion code. and TCC9 for EDMA_CHA_TCC8
completion code.

EDMA_open(EDMA_CHA_TCC8,)
EDMA_open(EDMA_CHA_TCC9,)

Andrew E.

>TIA,
>Erich >
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author
>of this message will receive your answer. You need to do a "reply all" if
>you want your answer to be distributed to the entire group.
>
>_____________________________________




Since my external interrupt is not hooked up yet,
I thought I would give it a test run by issuing a:
EDMA_setChannel(hndle_BLOCK1);
from withing a PRD (clock based) interrupt.

Unfortunately, the ISR defined for HWI_INT8 never
occurs. I have BLOCK1's TCC Field set to: EDMA_CHA_TCC8,
and it looks like the call to
EDMA_config(hndle_BLOCK1, &EDMA_CONFIG_VAR);
is in fact writing to the EDMA Parameter Table (0x01A00000).

To isolate the problem, I set the link field of BLOCK1 to
a NULL EDMA handle, but still no HWI_INT8.

Thanks,
Erich Date: Thu, 30 May 2002 08:47:24 -0400
From: "Andrew Elder" <>
Reply-To: "Andrew Elder" <>
To: "e90680" <>, <>
Subject: Re: [c6x] EDMA Setup Question (General)

At 01:13 AM 5/30/2002 +0000, e90680 wrote:
>Hi,
>
>Im chaining 3 EDMA blocks transfers.
>
>For all 3 blocks, I have specifed the completion interrupt codes
>(TCC) along with the link address (.rld) of the next block
>(NULL for the last). >For the first block I specified a external interrupt (4) as the
>channel that starts the transfer ( EDMA_open(EXT_INT_4,
>EDMA_OPEN_RESET) ) but what do I use for the channel on the
>last 2 blocks?

Use TCC8 for EXT_INT_4 completion code. and TCC9 for EDMA_CHA_TCC8
completion code.

EDMA_open(EDMA_CHA_TCC8,)
EDMA_open(EDMA_CHA_TCC9,)

Andrew E.

>TIA,
>Erich


----------------------
This message was sent using http://uk2.net
NEWS - CHEAPEST DEDICATED SERVERS IN THE WORLD - 25/month
FREE UK DIAL 0845 609 1370 - username uk2: - password: uk2
UK's FREE Domains, FREE Dialup, FREE Webdesign, FREE email