DSPRelated.com
Forums

EDMA problem on DM642.

Started by TM July 1, 2008
Hi,
I have a custom DM642 board. I am using the Video Port 2 for Video In.
McASP0 for audio and McBSP1 configured as UART.
1).McASP0 +EDMA ( Ch 12 , Ch 13)is configured for audio transmit and
receive. The code has been taken from the "echo" Project under the evmDM642

examples for audio and modified.
2). McBSP1 + EDMA( Ch14 , Ch15) is configured as UART for RS485 TX & RX.

The problem is that the McBSP1 transmit happens but i dont recieve any
recieve RX interrupt. The Rx interrupt occurs when i comment the audio code
initialization for the McASP0+EDMA.
Later i found out that even though i assign the EDMA channels 12 and 13 for
the Audio Tx and Rx, by debugging it was found the EDMA Ch 13 was configured
and EDMA Ch 15 was configured( but even though i set channel 12 in the
code). Why does this happen.
Could any of you help me on this.

--
Regards,
Thiyana
Thiyana,

On Tue, Jul 1, 2008 at 9:41 AM, TM wrote:
>
> Hi,
> I have a custom DM642 board. I am using the Video Port 2 for Video In.
> McASP0 for audio and McBSP1 configured as UART.
> 1).McASP0 +EDMA ( Ch 12 , Ch 13)is configured for audio transmit and
> receive. The code has been taken from the "echo" Project under the evmDM642
> examples for audio and modified.
> 2). McBSP1 + EDMA( Ch14 , Ch15) is configured as UART for RS485 TX & RX.
>
> The problem is that the McBSP1 transmit happens but i dont recieve any
> recieve RX interrupt. The Rx interrupt occurs when i comment the audio code
> initialization for the McASP0+EDMA.
> Later i found out that even though i assign the EDMA channels 12 and 13 for
> the Audio Tx and Rx, by debugging it was found the EDMA Ch 13 was configured
> and EDMA Ch 15 was configured( but even though i set channel 12 in the
> code). Why does this happen.
> Could any of you help me on this.

Does your project use DSP/BIOS??
If yes, then BIOS is configuring the interrupts. Check the
configuration [CDB or TCF file].

If you are not using BIOS, you are using a configuration that was
already setup [your setup could have a problem] OR there is some code
somewhere that is overwriting your setup.

mikedunn
> --
> Regards,
> Thiyana

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php