0
\$\begingroup\$

Can someone explain me from the following table on how to get the DAC output.enter image description here

\$\endgroup\$
0
\$\begingroup\$

The "Test Value" is the "Current value" from the previous row OR'd with the "Test bit" from the current row.

The "DAC output" is the "Test Value" converted to a range of 0 to +5V.

$$\text{DAC Output} = 5V \frac{\text{Test Value}}{256}$$

And finally, if the output of the comparator is 1 (unknown input > DAC Output), then the "Test Value" becomes the new "Current value".

\$\endgroup\$
  • \$\begingroup\$ Thanks a lot!This was very helpful! \$\endgroup\$ – Jarvis Ferns Apr 9 at 21:40
  • \$\begingroup\$ sorry for asking late, but how to get the test value? ,does it remain same for different input voltage, if so then I'm good. \$\endgroup\$ – Jarvis Ferns Apr 11 at 8:39
  • \$\begingroup\$ No, it doesn't. See edit above. \$\endgroup\$ – Dave Tweed Apr 11 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.