Hi All:
Referrence DM365 EVM, I build my DM365 Board. In my board, I use SPI0(config to slave and DMA mode) to communicate with other CPU.
I can request DMA and communicate successfully when only run SPI communicate program. But once run av_capture(It's base on communicate), SPI communicate program cannot run successfully and request DMA failed.
if (davinci_request_dma(spi_slave->dma_channels.dma_tx_sync_dev, "SPISlave TX",
davinci_spislave_dma_tx_callback,
dev,
&dev->dma_channels.dma_tx_channel,
&tcc,
dev->dma_channels.eventq))
{
printk("Unable to request DMA channel for MibSPI TX\n.\n");
return;
}
and spi0 DMA channel number is 16.
I don't know what's problem. is it conflict with av_capture?
Thanks a lot