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-LAUNCHXL: cc3200 I2S interface in CPU mode

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200, TLV320AIC3106

hi, i am working on tlv320aic3106 audio codec interface with cc3200 i successfully  configure the audio codec registers using I2C  then i try to read I2S data from audio codec but the I2S handler cannot read any data

I can see signals on I2S bitclock, I2S word clock and I2S data line using an oscilloscope. i am using CPU mode with out RTOS Please check below circuit and configurations.

 

Pinmux configuration

void
PinMuxConfig(void)
{
    //
    // Enable Peripheral Clocks
    //
    MAP_PRCMPeripheralClkEnable(PRCM_I2S, PRCM_RUN_MODE_CLK);
    MAP_PRCMPeripheralClkEnable(PRCM_UARTA0, PRCM_RUN_MODE_CLK);
    MAP_PRCMPeripheralClkEnable(PRCM_I2CA0, PRCM_RUN_MODE_CLK);
    MAP_PRCMPeripheralClkEnable(PRCM_GPIOA1, PRCM_RUN_MODE_CLK);
    MAP_PRCMPeripheralClkEnable(PRCM_GPIOA2, PRCM_RUN_MODE_CLK);
       MAP_PRCMPeripheralClkEnable(PRCM_GPIOA0, PRCM_RUN_MODE_CLK);
       MAP_PinTypeGPIO(PIN_60, PIN_MODE_0, false);
       MAP_GPIODirModeSet(GPIOA0_BASE, GPIO_PIN_5, GPIO_DIR_MODE_OUT);
    //
    // Configure PIN_55 for UART0 UART0_TX
    //
    MAP_PinTypeUART(PIN_55, PIN_MODE_3);
    //
    // Configure PIN_57 for UART0 UART0_RX
    //
    MAP_PinTypeUART(PIN_57, PIN_MODE_3);
    //
    // Configure PIN_64 for MCASP0 D0
    //
    MAP_PinTypeI2S(PIN_64, PIN_MODE_7); //PIN_MODE_7
    //
    // Configure PIN_62 for MCASP0 McAFSX CLK
    //
    MAP_PinTypeI2S(PIN_62, PIN_MODE_13);
    //
    // Configure PIN_63 for MCASP0 wclk (sync)
    //
    MAP_PinTypeI2S(PIN_63, PIN_MODE_7);
    //
    // Configure PIN_50 for MCASP0 D1
    //
    MAP_PinTypeI2S(PIN_50, PIN_MODE_6); //PIN_MODE_6
    //
    // Configure PIN_01 for I2C0 I2C_SCL
    //
    MAP_PinTypeI2C(PIN_01, PIN_MODE_1);
    //
    // Configure PIN_02 for I2C0 I2C_SDA
    //
    MAP_PinTypeI2C(PIN_02, PIN_MODE_1);
    //
    // Configure PIN_04 for GPIOInput
    //
    MAP_PinTypeGPIO(PIN_04, PIN_MODE_0, false);
    MAP_GPIODirModeSet(GPIOA1_BASE, 0x20, GPIO_DIR_MODE_IN);
    //
    // Configure PIN_15 for GPIOInput
    //
    MAP_PinTypeGPIO(PIN_15, PIN_MODE_0, false);
    MAP_GPIODirModeSet(GPIOA2_BASE, 0x40, GPIO_DIR_MODE_IN);
}