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.

TLV320AIC3106: Serial Digital in, Analog out

Part Number: TLV320AIC3106
Other Parts Discussed in Thread: 66AK2G02

Hello,

I'm currently working with the K2G EVM development board using the 66AK2G02 processor that has its MCASP lines connected to the serial data ports of the codec.  I'm trying to get audio data in from the serial data only and output it through the DAC to the HPOUT channels.  It's not clear to me how you choose the input path to the DAC and control switches "SW-D1" and "SW-D2" shown in section 11.2 "Functional block diagram" in the codec datasheet. I'm currently running example code provided in the PDK for Audio streaming to the codec.  The example code is "MCASP_Audio_evmK2G_c66ExampleProject" created by using the:

" pdkProjectCreate.bat K2G EVMK2G little mcasp dsp" command in my PDK directory.   I have the MCASP input working just fine and I can record data through microphone inputs I've connected but I cannot get them to stream properly out through the codec.   

I'm looking for guidance on where in this codec driver I should be properly configuring the AiC3106 to stream the serial data in out through the codec, since my attempts have yet to produce a working result.

Thanks!

  • HI, Francisco,

    I have notified my colleague to help you with this question. In the meantime, If you have the TLV320AIC3106EVM I would recommend you to use the evaluation software where you can find some example scripts used to configure the device DACs. We have a document that also can be used as reference, please refer to  SLAA403 app note  for information about getting started with the TLV320AIC310x family of audio Codecs.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thanks for the links but the application note is too general and I'm using a different EVM. Also the software is simply a GUI which does not help my situation/application.
  • Hi, still waiting on any guidance.
  • Hi Francisco,
    Sorry for the delayed response.
    As far as the specific PDK code example is concerned, it is not supported by the Audio converter group and hence will not be able to comment in specific to that query.

    However, we can definitely help you with the specific question regarding configuration of the AIC3106 is concerned. The SW D1-D2 is applicable to RECORD-ONLY application scenario. As outlined in the DS, this can be achieved by first DISABLING the DAC by writing to Page 0.Register 37.Bit D7-D6 to '0' and then ENABLE digital filter pathway for ADC by writing to Page 0.Register 107.Bit D3 to '1'.

    Best regards,
    Ravi
  • Hi Ravi,

    I'm trying to receive data from the serial data input (audio bus) and output it through the DAC to the HPOUT's. It's not obvious to me from the data sheet on how to configure this input path to the DAC and disable the Line and Mic inputs. I see how to configure the bit and word clocks as inputs, but not how to connect "DIN-> DAC -> HPOUT".
  • Hello again,

    What is the issue with the support? I was told "within 24 hour" response. At this rate it will take a month to have a conversation. Is there any way I can get more direct support?

    Thanks