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.

TAA5212: AGC Control and Setting

Part Number: TAA5212
Other Parts Discussed in Thread: TAC5212

Tool/software:

Hi,

Regarding TAA5212, there are some differences in terms of AGC setting register, in which AGC max gain register is 4-bit (on the left figure) and 32-bit (on the right figure). Which version should customer follow? 

Besides that, do we have any application note or user guide to configure and use AGC setting?

Thanks.


  • Hi Lakshmi, 

    Good day to you!

    Since Lakshmi is out of office until 26 May, can I seek your help to allocate someone to answer this E2E post for me? My customer needs "Using the Automatic Gain Controller (AGC) in TAx5x1x Family application report" today. 

    The application shown in datasheet is not directed to TAx5x1x devices.
    Link: Using the Automatic Gain Controller in the TLV320ADCx140/PCMx140-Q1 (Rev. A)

    Thanks.

    Regards,

    John

  • Hi John,

    My apologies, we don't have an app note on this to share yet. But we can still enable the customer.

    The app note link you shared contains the same IP as what is used in TAA5212. The description and meanings of all the parameters are the same. The only thing that's different is how the values are programmed. Table 2-4 and 2-5 you have highlighted is wrong and I've confirmed the correct table is the picture on the right: the Page 27 programmable coefficient register. I've brought this up with our systems team to fix in the datasheet.

    In order to program the correct values, what we recommend is customers use the PPC3 tool to generate the coefficients. PPC3 can be used even without an EVM to generate configuration code. PPC3 can calculate the necessary I2C writes to program the Page 27 coefficients based on the desired settings.

    To get to the AGC window in PPC3
    1) Click "Advanced" in the top left
    2) Click the check mark to bring down a drop down menu
    3) Check AGC
    4) An AGC tab option will now appear. Click it to pull up the AGC panel
    5) All AGC parameters are now easily controllable. My logging any non default values, code can be generated.

    In order to log the I2C code,
    1) Click "I2C" monitor at the bottom of the screen. The window will pop up.
    2) Make sure "Log" tab is selected, and press the green button to turn the button red. Now the logger is armed.
    3) All further I2C writes will be captured by the logger. The customer can now change the AGC parameters as desired to generate the I2C code in real time through the I2C monitor.

    Let me know if any further clarity is needed.

    Best regards,
    Jeff McPherson

  • Hi Jeff, 

    As per customer's feedback, in their code, they use API to adjust the parameters, and it is not PPC3 which solidifies the value in ROM.

    In this case, they still need to know the exact formula of TAA5212 registers. Can we provide the document of those formula to them? 

    Thanks. 

    Regards,

    John

  • Hi Jeff,

    Below is the list of formula needed by my customer, thanks!

    Regards,

    John

  • Hi John,

    Thanks. I saw your email. I will close the thread for now and if there are further questions outside of the AGC formula you can ask them here.

    Best regards,
    Jeff McPherson

  • Hi Jeff,

    Good day!

    As mentioned in the chat, my customer did not see AGC tab after switching the device to TAA5212. There is AGC tab for TAC5212. 

    I checked TAA5212 datasheet, there is AGC feature supported. 

    May I know what is the reason? Is there a bug in PPC3? 

    Thanks. 

  • Hi John,

    See the mail I sent you. At this time the AGC is not in the public build (will be released in the next version soon). I've passed along an internal version with the AGC supported to help enable the customer.

    Best regards,
    Jeff McPherson

  • Hi Jeff, 

    Thanks for the help!

    Regards,

    John