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.

TLV5636: Equation Question

Part Number: TLV5636


Team,

Equation under Genera Function says full scale voltage is 2*REF*CODE/(2^n). It says the max for CODE is 2^(n-1), n=12.  This reduces to just REF, correct?  Figure 2 is showing output voltage of ~2V with a 1V internal reference and code=4095.  Am I missing something?  It appears that I would have to apply a 2V ext reference to get a 2V output but with an internal reference of 1V I can get a 2V output.  Is the equation correct?

Thank you.

  • Hi Brad,

    That is a typo in the definition of MAX CODE.  Max code should be (2^n)-1, not 2^(n-1).  For clarity, this is a 12-bit device: 2^12 = 4096.  But if you think about it, 4096 needs 13 bits to be expressed in binary (0b'1000000000000).  The max value that can be represented by 12 bits is 4095. 

    So with a 1V reference and input code of 4095, the output should be 2×1V×4095/4096 = 1.9995V.

    Does this clarify things? I will ping the systems team about getting this typo corrected.

    Thanks,

    Paul