Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAPL138 Multiple Audio Channels(2RX+2TX) not work

$
0
0

 I am trying to set  multiple serializers (2 TX and 2 RX) in OMAPL138 McASP0. I am using the linux-2.6.37-psp03.21.00.04.sdk that has code for 1 channel (1 TX and 1 RX ) only. I have gotten 1 TX and 1 RX working  very well in my board using omapl138 McASP. But when I set 2tx + 2rx to this framework, I see that DMA IRQ is not coming. Following are the modifications I made to the default architecture. Please tell me if I am missing something?

/* davinci da850 evm audio machine driver */
static u8 da850_iis_serializer_direction[] = {
 INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
 INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
 TX_MODE, TX_MODE, RX_MODE, RX_MODE,
 INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
};

static struct snd_platform_data da850_evm_snd_data = {
 .tx_dma_offset = 0x2000,
 .rx_dma_offset = 0x2000,
 .op_mode = DAVINCI_MCASP_IIS_MODE,
 .num_serializer = ARRAY_SIZE(da850_iis_serializer_direction),
 .tdm_slots = 4,
 .serial_dir = da850_iis_serializer_direction,
 .asp_chan_q = EVENTQ_0,
 .version = MCASP_VERSION_2,
 .txnumevt =2,
 .rxnumevt =2,
};


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>