This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200 I2S问题

Other Parts Discussed in Thread: CC3200

ti工程师们好:

         我参考ti的wifi_audio_app,想要实现播放内存中存放的音频的功能,使用的编解码芯片是WM8960。I2S和DMA配置跟demo中配置的一样,现在遇到的问题是只要一使能I2S,还没给缓冲区buffer填充数据,就会一直进入I2S中断函数DMAPingPongCompleteAppCB_opt()中。该函数中I2SIntClear(I2S_BASE,I2S_INT_XDMA)已经清除中断标志位,I2S的几根线就算不接也是这样的情况,与I2S和DMA有关的函数如下:

AudioInit();

PRCMPeripheralReset(PRCM_I2S);

UDMAInit();

UDMAChannelSelect(UDMA_CH5_I2S_TX,NULL);

SetupPingPongDMATransferRx(audiodev.i2sbuf1,audiodev.i2sbuf2,WAV_I2S_TX_DMA_BUFSIZE);

AudioSetupDMAMode(DMAPingPongCompleteAppCB_opt,CB_EVENT_CONFIG_SZ);

AudioCaptureRendererConfigure(16,44100,2,1);

MAP_I2SEnable(I2S_BASE,I2S_MODE_TX_ONLY);

在这里卡了很久了,反复查看后还是不知道I2S和DMA的配置哪里出了问题,希望工程师们不吝赐教!