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.

Tas3204 vumeter read out will be always 0x00,0x00,0x00,0x00 , and how to use the vumeter's function?



Hello everybody, Ti's experts,

Please see the below purepath processflow

By the content help , it should be read out the vumeter value through the register 0x74

 Now VUMETER OutputEnable already Enabled and the ADC input 1k sine signal .

Then read the register 0x74,  but always the value be 0x00,0x00,0x00,0x00 the state of disable ,

but the processflow is enable !  and will i enable it  once again?

 This is what happened?

and what is the correct way to use the vumeter function ?

Please the experts help me

Thanks

  • I've never used this component before, so I looked into the source code and found out this component is not well-written. 

    I suggest you don't waste time on this.

    Susan

  • Susan

    Thank you! 

    I have tried the LEVEL DETECTOR compent too before.  for some issue in it so i have to use the VUMETER Compent...

    If i insert the LEVEL DECTECTOR compent in the processflow,  for the input sine signal will be Serious distortion!

    could you explain the method  to use the LEVEL DETECTRO by the way?

    if  both the two method have some issue in it,  and how  to  detect the input signal level that ?

    thanks

  • Yuri,

    Which level detector you were trying?  peak or RMS?  I've used both before and they're working fine.  But keep in mind that they're very simple running average algorithms, can't handle very sophitisticated situation.

    Let me know how you use it, then I could help.

    Susan

  • Susan,

    thanks for your great help!

    the below is my detail processflow

    Now all comment works fine..   the signal to DAC final is good.

    at last , I want to detect the peak of the signal after the comment delay (befor input the DAC)

    How to edit the processflow so insert the Peak Detector

    and I tried it before insert the comment after the DELAY , and  the output to DAC will be Serious distortion!

    I think my do it wrong ,

    and how to use it correctly,  how to read the value from the mapped register?

    Thanks

  • Yuri,

    I guess you might have understood the functionality of the component wrong.  Peak detector is more of an envelope detector than to detect the peak of the signal, maybe that's why you heard the distortion when inserted before the output since it's a low pass filtered signal.

    We don't have a component that will store the max of the signal for later reference.  If you want to have some idea about your signal level in DAP, you could use I2C probe point, but it's not the real signal, but down sampled signal, since it can only run @ 15Hz max.

    See whether that can help.  BTW, you could easily write a component youself to do the max detection you wanted.  ( but still, it will always take longer than expected for the first time).

    Susan

  • Hi Susan,

    Thank you for reply so rapidly

    I will try to write a compnent  in my free time!

    but now my project is urgent!

    So i want to know if  insert a peak detector compnent,  how to read the mapped register including the result peak value?

    and i found the comment only one register ,it's setting the alpha value ! 

    which register i will read ?

    Thanks

  • Yuri,

    There is only 1 run-time configurable parameter in the peak detector.  The output of the component is the result of the peak detector which is actually the esitmated envelope of the signal, not the real sample of the signal.  I think this is not what you need, since you want to detect the max value of the signal, right?

    Susan