From: rrnairamc on
Dear all
i am trying to implement a McBSP transfer through DMA . i can transmit data
through MCBsp using DMA but couldn't receive . i checked by polling the
RXRD bit, data is coming , but when i changed it to DMA it is not working
. hope experts in this group can help me in this case


Thanks in advance for your valuable time

Raj


From: Tim Wescott on
On 05/25/2010 07:27 AM, rrnairamc wrote:
> Dear all
> i am trying to implement a McBSP transfer through DMA . i can transmit data
> through MCBsp using DMA but couldn't receive . i checked by polling the
> RXRD bit, data is coming , but when i changed it to DMA it is not working
> . hope experts in this group can help me in this case
>
>
> Thanks in advance for your valuable time

1: There are a lot of different processors in the world, and they all
have different peripherals. Even calling the peripheral a McBSP only
narrows it down to one company (TI?), but within that companies product
line you can still expect wide variation. You need to say what
processor you're using.

2: This is really more a DSP algorithms group, although quite a few of
us do implement those algorithms on embedded DSP chips. You may find a
larger group of people to help with this on comp.arch.embedded -- were I
to ask a question like this I would cross post it (_not_ multiple post!)
over there in hopes of netting an answer.

If it is a TI part then you have a bazillion manuals to read; regardless
of whether it's TI or Analog or FreeScale chances are high that you have
failed to set up one important bit or another, and you just have to flog
the manuals and the software until you figure out what you've done.
Make sure that all the relevant sections are turned on, and that any
inter-section signaling is turned on. You may want to make sure that
you can receive data _without_ DMA if that's an option -- usually that's
easier, and it's a good way to verify that you have everything working
right up to the point of getting the DMA transfer going.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
From: Randy Yates on
Tim Wescott <tim(a)seemywebsite.now> writes:

> 2: This is really more a DSP algorithms group,

I've been here since 1993 and, while there are definitely more algorithm
discussions than hardware discussions, this group has traditionally
encompassed (and welcomed) both.
--
Randy Yates % "I met someone who looks alot like you,
Digital Signal Labs % she does the things you do,
mailto://yates(a)ieee.org % but she is an IBM."
http://www.digitalsignallabs.com % 'Yours Truly, 2095', *Time*, ELO
From: Randy Yates on
"rrnairamc" <rrnairamc(a)n_o_s_p_a_m.yahoo.com> writes:

> Dear all
> i am trying to implement a McBSP transfer through DMA . i can transmit data
> through MCBsp using DMA but couldn't receive . i checked by polling the
> RXRD bit, data is coming , but when i changed it to DMA it is not working
> . hope experts in this group can help me in this case

We possibly could, but you need to give us quite a bit more
information. For example, which processor are you using and how exactly
are you setting up the DMA?
--
Randy Yates % "With time with what you've learned,
Digital Signal Labs % they'll kiss the ground you walk
mailto://yates(a)ieee.org % upon."
http://www.digitalsignallabs.com % '21st Century Man', *Time*, ELO
From: Jerry Avins on
On 5/26/2010 10:03 PM, Randy Yates wrote:
> Tim Wescott<tim(a)seemywebsite.now> writes:
>
>> 2: This is really more a DSP algorithms group,
>
> I've been here since 1993 and, while there are definitely more algorithm
> discussions than hardware discussions, this group has traditionally
> encompassed (and welcomed) both.

Welcomed here, of course, but comp.arch.embedded is a too-often
overlooked resource.

Jerry
--
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������