Hello all,
I'm working AD5122a and set the wiper to maximum (0x7f) and tested resistance between w1 and b1 terminals of AD5122A then i got 0.9 Kilo ohm instead of 100 kilo ohm.
My code:
i2c_write(0xd0, 0x09); // set control register of potentiometer mode, i2c burst mode
i2c_write(0x90, 0x80); // set to normal mode
i2c_write(0xc0, 0x00); // set to normal mode
i2c_write(0x10, 0x7f); // set rdac register with highest value.
AD5122A -- AD5122ABCPZ100-RL7
R A,B ---100 Kilo ohm
Resolution --- 128
Interface --- I2C
Please guide me where I'm doing mistake.
Thanks,
Ashok.