I used non-OS example code of AD5755-1 from ADI web site, and try to evaluate the performance of the AD5755-1 board. It not always gets the correct result as expected and it cannot be changed output value after first configured. The evaluated code is as follows,
AD5755_SetRegisterValue(AD5755_DREG_WR_GAIN, AD5755_DAC_A, 0xFFFF);
AD5755_SetRegisterValue(AD5755_DREG_WR_OFFSET, AD5755_DAC_A, 0x8000);
AD5755_SetRegisterValue(AD5755_DREG_WR_CLR_CODE, AD5755_DAC_A, 0x0000);
// The above codes sometimes run as expected, but sometimes run unpredictable.
// The following codes do not effect the output value of the AD5755-1 board
fVal += 0.2;
if (fVal >4.0)
In the circuit of AD5755-1 board, both LDAC and CLEAR pins are pulled-down to ground with a 10K resistor, respectively.
In the test, it sometimes runs as expected, but sometimes runs unpredictable. And I tried to change the output value of the AD5755-1, it didn't work. What step was I missing ?