DSPRelated.com
Forums

Format and send message using McBSP/EDMA

Started by Nuno November 15, 2004


I need to format and send a message buffer utilizing the EDMA and
McBSP of the 6416. Here is the catch: I cannot use TI's Chip
Support Library. I have configured the McBSP/EDMA/Timer writing
directly to the registers (the old fashioned way!). However, I
can't seem to see the data from DXR0 of the McBSP. I am probing the
pin and writing directly to DXR0 but no data. Has anyone ever done
this with a C6000 chip? Seems like TI pushes the CSL and we cannot
use it, this is non-negotiable.

Any assistance is greatly appreciated.





Nuno wrote:

>
>
> I need to format and send a message buffer utilizing the EDMA and
> McBSP of the 6416. Here is the catch: I cannot use TI's Chip
> Support Library. I have configured the McBSP/EDMA/Timer writing
> directly to the registers (the old fashioned way!). However, I
> can't seem to see the data from DXR0 of the McBSP. I am probing the
> pin and writing directly to DXR0 but no data. Has anyone ever done
> this with a C6000 chip? Seems like TI pushes the CSL and we cannot
> use it, this is non-negotiable.
>
> Any assistance is greatly appreciated.

Hi Nuno,

I'm using McBSP on C6713 with CSL. I think it must be possible by
writing directly to the registers, after all that's the only way CSL can
do it. Although I wonder why you cannot use CSL?

This is the order in which I do it:
- configure EDMA
- enable EDMA channel interrupt
- configure McBsp
- start McBsp sample rate generator
- wait a while
- enable McBSP rx/tx
- enable McBSP frame sync
- enable EDMA channel

I'm using McBSP as UART. There is a spra633 which I used as a starting
point.

HTH

Gustl





Nuno,

Did you have a look at this document? Are you following all these steps.

http://focus.ti.com/lit/an/spra488c/spra488c.pdf

Hope this helps
Tarang On Tue, 16 Nov 2004 08:06:20 +0100, Bernhard 'Gustl' Bauer
<> wrote:
>
> Nuno wrote:
>
> >
> >
> > I need to format and send a message buffer utilizing the EDMA and
> > McBSP of the 6416. Here is the catch: I cannot use TI's Chip
> > Support Library. I have configured the McBSP/EDMA/Timer writing
> > directly to the registers (the old fashioned way!). However, I
> > can't seem to see the data from DXR0 of the McBSP. I am probing the
> > pin and writing directly to DXR0 but no data. Has anyone ever done
> > this with a C6000 chip? Seems like TI pushes the CSL and we cannot
> > use it, this is non-negotiable.
> >
> > Any assistance is greatly appreciated.
>
> Hi Nuno,
>
> I'm using McBSP on C6713 with CSL. I think it must be possible by
> writing directly to the registers, after all that's the only way CSL can
> do it. Although I wonder why you cannot use CSL?
>
> This is the order in which I do it:
> - configure EDMA
> - enable EDMA channel interrupt
> - configure McBsp
> - start McBsp sample rate generator
> - wait a while
> - enable McBSP rx/tx
> - enable McBSP frame sync
> - enable EDMA channel
>
> I'm using McBSP as UART. There is a spra633 which I used as a starting
> point.
>
> HTH
>
> Gustl >
>
> _____________________________________
> 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.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links