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.

Distorted output when miniDSP is used

Other Parts Discussed in Thread: TLV320AIC3254, TLV320AIC3254EVM-K

Hello 

I am using the TLV320AIC3254 audio codec.

When I use processing blocks (PRB_R1 and PRB_P8) using the High Performance Stereo Playback Configuration,  the output wave form is as expected.

However when I use miniDSP for signal processing, high frequency (>5000Hz) signals get distorted. (as shown in the image bellow)

I think this is a issue with the clock settings used for CODEC_CLK_IN.

My application requires the use of the miniDSP.

Could you please provide me with a solution for this.

Thank you in advance,

  • Hi, Niroshan,

    I've asked my colleague to work with you on this issue next week.

    -d2

  • Hi, Niroshan,

    I will help you on this issue.

    1.Your test it on our EVM or your own board. if you are testing on our EVM, Which EVM you are using? EVM-K, is it?

    2.You mentioned you use miniDSP for signal processing,I am sorry,Could you explain it more clear? which siganl processing you are using? if you use AIC3254CS to configure,could you tell me how you configure mini dsp and then get distortion.

    I want to know these ,so that I can reproduce on our evm to help you.

    Thanks,

    Flora Wang

     

  • Hello Flora

    Thank you for the response.

    I think I found the solution. I was using the AIC3254App8x4x framework. In the Framework Help I found that Matching Components were Dec4xIn, Int8xOut, DSP_D_DSP_A DSP_A_DSP_D. However in my PPS project I was using Int2xOut as the output instead of Int8xOut. Changing the proper output seams to solve the problem. 

    Any way to answer you questions,

    1.Your test it on our EVM or your own board. if you are testing on our EVM, Which EVM you are using? EVM-K, is it?

    Yes I am using the TLV320AIC3254EVM-K Evaluation Board

     

    2.You mentioned you use miniDSP for signal processing,I am sorry,Could you explain it more clear? which siganl processing you are using? if you use AIC3254CS to configure,could you tell me how you configure mini dsp and then get distortion.

    In order to test the functionality I created the following test project,

      Changing the proper Input/Outputs seams to solve the problem.

    However my actual project requires, getting audio data through I2S and doing audio enhancement and outputting through analog interface. Therefore would the following be correct with the AIC3254App8x4x framework?

    I2S_In -> Audio enhancement blocks -> Int8xOut

    Or am I missing some other point here ?

    Thank you

    Niroshan 

  • Hi,Niroshan,

    Yes,you can do it in PPS like this:

    I2S_In -> Audio enhancement blocks -> Int8xOut

    You don't need use DSP_D_DSP_A,this componet is used for passing data from miniDSP D to miniDSP A.But currently you only need DAC,so what you only need use miniDSP in DAC.

    When you cilck the DRC,it will show:

    See you are using miniDSP_D,if you are using miniDSP_A,it will report error after you connect and download it.

     

    Thanks,

    Flora Wang