AD5372 offset using iio

Hello,

I'm controlling an EVAL-AD5372 board using a Raspberry Pi 4 running ADI's Linux distribution and kernel with a reference voltage of 5V.  The default offset results in a range of  -6.6V to 11.2V but I need -10V to 10V.   I'm able to set the correct offset to achieve the range, then set the raw output so that the channels all sit at 0V.  Since there's a delay between setting the offset and setting the output, I fear the temporary voltage spike may damage the equipment I'm controlling.   Is there a way to set the offset in the device tree or the kernel driver?

Thank you for your advice.

Parents Reply Children