Re: OMAP5912 and McBSP2 with DMA

Steve Poulsen
2007-07-21T15:14:06Z

Many thanks. The TIPB seemed to work fine, but only after I changed the
DMA element size to 16-bit and wrote to DXR1. I could not get 32-bit
transfers to work at all.

I may double check your recommendation to see if I can get 32-bit
working that way.

Steve

andrzej zaborowski wrote:
> Hi,
>
> On 17/07/07, Steve Poulsen <spoulsen@css-design.us> wrote:
>> Could someone tell me what the port should be for DMA with McBSP2?
>> Since it is an ARM peripheral (as opposed to McBSP1 and McBSP3), then I
>> expect it to be as follows. However, I get a timeout error.
>>
>> omap_set_dma_dest_params(cs4384_data.dma_tx_ch,
>> OMAP_DMA_PORT_TIPB,
>> OMAP_DMA_AMODE_CONSTANT,
>> OMAP1610_MCBSP2_BASE + OMAP_MCBSP_REG_DXR2,
>> 0, 0);
>
> I believe McBSP2 is on the TIPB-MPUI port, which has the value of 5
> (as opposed to 3 for TIPB) but I don't remember the macro name.
>
> Cheers
>