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.

LAUNCHCC3235MOD: I2C issue with TLV320AIC3254 audio codec

Part Number: LAUNCHCC3235MOD
Other Parts Discussed in Thread: TLV320AIC3254, CC3235MODSF,


I am having an issue with setting the volume of a TLV320AIC3254 audio codec from a CC3235MODSF MCU, and following a question in the audio forum it was suggested I raise it here as the issue appears to be related to I2C communication

I am now testing with a LAUNCHCC3235MOD board with an AUDBOOST board fitted to it, and running the i2secho example included with the CC32XX SDK. Whilst the i2secho example appears to run correctly this I2C readback is returning an error:

static unsigned long AudioCodec_regWrite(unsigned char ulRegAddr, unsigned char ucRegValue)

    // Ensure that the write value matches the read value
    if (readDataBuf[0] != ucRegValue)
        stat = AudioCodec_STATUS_I2C_FAIL;

    return stat;

I have ordered an I2C analyzer to investigate further, but it seems odd that this error would occur with standard hardware and TI example code, and I am wondering if it is unrelated to the error I am seeing in my code?