From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Poulsen Subject: Re: OMAP5912 and McBSP2 with DMA Date: Sat, 21 Jul 2007 10:14:06 -0500 Message-ID: <46A222BE.1080407@css-design.us> References: <469CA007.5090003@css-design.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: andrzej zaborowski Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org 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 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 >