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.
Part Number: TLV320AIC3111
We have developed a code on PPS-GDE to perform filtering on analog microphone input and output it on the speaker left channel, headphones and I2S channels. Using a digital oscilloscope(image below) and recording on Audacity, we were able to verify I2S output and filtering according to our needs. The red is the WCLK and Yellow is DOUT.
We then generated a header file on PPS and used I2C to the header instructions through the I2C channel. On doing so, we are getting an audio output on speaker and headphones but it seems like the output is not filtered and we are not getting any kind of output on the I2S channel DOUT as shown on the oscilloscope or Audacity as below. The red is the WCLK and Yellow is DOUT. As you can see, nothing is being transmitted on the DOUT line of I2S.
Below is my PFW on PPS-GDE. Also, I have attached the header file generated and Configuration file data. I suspect that the miniDSP A and D need to be turned on or enabled somehow when we use a master microcontroller or there is some standby mode that is handled by PPS by default but needs to be looked at by the user when using a microcontroller. I am using the paper titled 'Using the MSP430 Launchpad as a Standalone I2C Host' for designing the I2C code.
for Audio Products'
Header file generated by PPS
Any insight or help will be greatly appreciated!
I'm not sure I understand your issue. Purepath studio uses I2C to talk to your device, and it exports the same configuration that it writes.
are you saying that you don't get any sound while the I2C is writing? or are you saying that you don't get sound when you write to the device from your processor instead of PPS?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Steve-Wilson:
I'm not getting an i2s output when the codec is being controlled by an external processor. Also the audio output I get through the speakers and headphones doesn't sound filtered like it does when controlled using PPS.
In reply to Souvik Saha:
Are the clock frequencies the same as they are on the EVM? or did you change them to match the clocks coming from the External processor?
I'm not too sure about this. I haven't supplied any external clocks from the processor and I've still got the USB-MODEVM connected, which is flashed at 44.1kHz.
I've only connected gnd scl and sck between the evm and the processor.
Right now, I urgently require the codec to give filtered output on speaker and headphone, while it is being controlled by the processor on the i2c bus (i2c clock rate is 400kHz).
Purepath Studio would put the required register writes in the .h file. have you checked by reading some registers to ensure that they are actually being written?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.