Figure 4—The DAC value and RSET are used to set the current (I) in forumla a. Formula b shows how REFHIGH and REFLOW set the range between VHIGH and VLOW. Formula c sets a limit to VOUT so the current source operates linearly. Formula d is obtained after substituting all of the above in Equation 1. Rearranging, you arrive at e, where adjustable and measured parameters are on the left and system parameters are on the right. Use f to internally calibrate VREF by using ADCINT12.