Tool/software:
Hello,
I am currently writing a library for the DAC1282, so far I can read and write into registers successfully. What I write is what I read. Now I am trying to make the DAC work on DC mode but there are some part of the datasheet I have a hard time to understan. Can anyone explain the Table 5 on section 8.2.2.2 of the datasheet ?
Also, I fail to understand how the first 3 bits ( DCG0, DCG1, DCG2 ) of the DGC[0] register works. Should they be considered as the digital gain values ? If so, what are the expected values and what does they mean ? Does it mean the DAC is only a 21 bits dac ?
Maybe it would help me if some of you could provide an equation to set the DCG value depending on the voltage I need ( the one on Table 5 isn't helpful ) or better, an official library or implementation from TI.
Thanks for your help.
EDIT: Here is the datasheet I am talking about www.ti.com/.../dac1282.pdf