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.

TLV320AIC3262: AIC3262 I2S configuration problem

Part Number: TLV320AIC3262

Hello TI,

We have a custom board with an AIC3262 and we are facing some difficulties and we can’t get the I2S communication working. We have 2x PDM mics attached to the audio codec, and the I2S stream should be fed into the ARM based host processor, so far without success.

The PDM mics seem to be correctly set up, and we can hear both mic’s when listening to the AIC3262 headphone output.

Are you able to provide any guidelines on the AIC3262 and I2S configuration?

Thanks!

Eggz

  • Hi Eggz,

    Could you please give us a little more information on the device configuration? Are you using ASI1 for interfacing to the host? AIC3262 is by default configured for slave-mode operation on the I2S bus with host processor providing the frame and bit clocks. Is that the case here too?

    Which GPIOs are being used for PDM clocks and data and how did you do the mic to headphone test - using loopback configuration or through some other mode?

    Best Regards.

  • Hi Diljith,

    Thanks for your quick reply. The developers and I are in different locations and I have not been able to obtain all answers to your questions. I hope I know more tomorrow. 
    We did use a loopback configuration in our PDM mic to headphone test, I know that much. PDM mic CLK is on GPIO02 and DATA is on GPIO01.
    I'll fill in the rest as soon as I know more.

    Thanks!

    Best regards,

    Eggz

  • Hi Diljith,

    Sorry for the delay. I received some input from our developer:

    Yes, we use ASI1.
    AIC3262 in master mode and nRF52 in slave mode. I don't know the reason but even test (pre-recorded) audio didn't work when nRF52 was in master mode.
    We tried to connect tone generator to i2s with the same result - this is a i2s issue, not pdm, pdm (loopback config) works fine.
    Thanks!
    Eggz
  • Hi Diljith,

    Finally success. We sorted out the master and slave configuration in I2S (AIC3262 as master) and found a simple, yet annoying routing conflict/error. Thanks for your assistance.