Aaron,
Thanks for the information. Can you tell me where the flag
is documented?
I need to understand how it works because it fixed my
problem of "throttling
the dma engine," but introduced a problem of causing
all DMA transfers after
the first to fail.
Thanks,
Steve
On 5/9/06, aaron durbin <aarondurbin basler.com> wrote:
>
> Steve,
>
> The flag is the "precise increment" flag.
It is used to throttle the dma
> engine on just dumping data into the fifos of the DSPI.
>
> -Aaron
>
> -----Original Message-----
> From: ColdFire lists.wildrice.com [mailto:ColdFire lists.wildrice.com]On
> Behalf Of Steve Joiner
> Sent: Tuesday, May 09, 2006 8:42 AM
> To: aaron durbin
> Subject: [ColdFire] DSPI DMA Issue
>
>
> I tried posting this to the Coldfire forum on the
Freescale site, but I
> didn't get a response. I'm hoping I'll have better
luck here.
>
> I'm trying to convert the Linux DSPI driver to use
DMA. I found the
> DSPI_DMA_Example.zip code posted on the Freescale
forum, and it was
> helpful. In particular, there's some magic on lines
152 and 171 of
> DSPI_Drv.c in the flags argument to MCD_startDma(), and
it looks like
> this:
>
> MCD_SINGLE_DMA | 0x40
>
> That 0x40 helped me solve one of my problems but
introduced another.
> However, I don't know how to proceed since I have no
idea what the 0x40
> is.
> I can't find it documented anywhere. Can anyone point
me in the right
> direction on this?
>
> Thanks,
> Steve
>
------------------------------------------------------------
--------
> To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
> To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
> For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
>
>
------------------------------------------------------------
--------
> To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
> To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
> For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
>
>
------------------------------------------------------------
--------
To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
|