Adding a secondary feedback circuit can help resolve voltage-headroom and adjustment-resolution limitations when replacing an analog potentiometer with a digipot.