The result I am looking for is the digital code scaling the output, but with the range being variable by (RefP - RefN):
V_Out = Digital code * (RefP - RefN)
However I need to be able to have both voltages varying, sometimes with RefN > RefP, and positive voltages on both RefP and RefN.
e.g. RefN and RefP both varying between 3V-0V independently
Are there any parts where this is possible?
Any help much appreciated!