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.

Codec interface issue with TMS320VC5416

Other Parts Discussed in Thread: TMS320VC5416, TLV320AIC26

Dear Sir..

                 I am Hariprakash working as a DSP Engg ... I am facing some technical issue for interfacing TLV320AIC26 with TMS320VC5416. i am using MCBSP0 as SPI control lines and MCBSP1 as I2s lines. I referred SLAA214.pdf document for codec and mcbsp configuration. based on this document i can do all the initializations. but still not i didn't get any response from my codec.. please help me for rectify this issue... otherwise if you have any same code please sent it to me....

                                                Thank you. 

  • Hello Hari prakash,

    Did you check all the interface level signals like BCLK, LRCK etc is that all appearing as expected ?

    If you have followed  the details mentioned in "slaa214.pdf " it should work.

    Also, please refer the spru302b section 2.3.4.7, this provides certain information related to codec interfacing.

    Hope the above information helps .

    Regards

     Vasanth

     

  • Sir,

             I refereed the spru302b section 2.3.4.7, based on the document i made a program .... I configure codec sampling rate 48KHz  i get BCLK at 1.5MHz and LRCK at 48KHz .

              I send dummy data 0x7FFF in BDX1 and MCBSP1 . But i didn't received any output from codec side . If i send the read command data through SPI I got the response from codec.But I2S Mode am not get output from the codec 

             Please help me ....Otherwise send in sample code for configure MCBSP as I2S Mode ..

                                               Thanking You ,

    Regards,

    R.HariPrakash  

     

            

  • Hello HariPrakash,

    I wouldn't have a example code related to C5416 McBSP . But you could refer to the CSL 3.03 example in the below mentioned link. That's the closest & this package has the CSL example code related to McBSP and Codec, again the examples are meant for other C55xx device, but this could be a good reference. 

    sprc133

    Once you download the package refer McBSP example code -  McBSP_Master_AIC3204_48kbps*

    Hope the above helps you.

    Regards

     Vasanth

     

  • Hello Vasanth

                   Really thank you i got codec output interface through 5416 DSP. but codec output is more noisy. in hardware i can add one RC low pass filter(R - 47K and C - 10uF). Still i got noisy output only.. its possible use filter coefficient in TLV320AIC26 control register. How can set these values. else i consider anyother parameters? ......

    Regards

    R. HariPrakash

  • hello ..

                i still now i am waiting for your reply.....please share any ideas or having any related document please send me urgently.....

    Regards,

    R. HariPrakash

  • Hi,

     I am not very familiar with AIC26,  but couple of pointers for you to check.

     1. If you want to change / set filter coefficient you could do it through SPI interface. 

    •  I could see tools to calculate coefficient in - Tools & Software section, referred from this link  TLV320AIC26   

     2.    Also have you taken care the below mentioned requirement in your hardware ?

    The ’AIC26 architecture offers no inherent rejection of noise or voltage variation in regards to using an external reference input. This is of particular concern when the reference input is tied to the power supply. Any noise and ripple from the supply appears directly in the digital results. While high frequency noise can be filtered out, voltage variation due to line frequency (50 Hz or 60 Hz) can be difficult to remove.

     The ground pins must be connected to a clean ground point. In many cases, this is the analog ground. Avoid connections which are too near the grounding point of a microcontroller or digital signal processor. If needed, run a ground trace directly from the converter to the power supply entry or battery connection point. The ideal layout includes an analog ground plane dedicated to the converter and associated analog circuitry.

     Hope you can proceed further with this information.

     Regards

     Vasanth

  • hi  Vasanth...

            i am really thank you for your kind support.. now my codec is working fine.... i have made some mistake in I2S configuration.. now i solved my problem...   Thanks for your reply...

    Regards,

    R. HariPrakash