This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPL0401A-10: Incorrect read and unable to write wiper position register

Part Number: TPL0401A-10

I am trying to read & write to the wiper register as per instructions in datasheet using i2c_read_device function in python pigpio library. The read command returns b'\x7f\xff\xff\xff....' instead of the powerup default expected b'\x40

I tried writing different values to wiper register (no error) but read command still returns the same response. Can anyone help me identify cause? Code as below:

import pigpio

pi=pigpio.pi()

handle=pi.pi.i2c_open(1,0x2E)

print(pi.i2c_read_device(handle,10))

I have 4.7k pullup resistors connected to SDA & SCL pins

  • Hello, 

    Can you share a screenshot of the SDA and SCL lines on an oscilloscope for a write and a read command? Do you see the output change when you write to the device? And what is the VIO level of the I2C lines and what is the VDD supply for the TPL?

    Best,

    Katlynne Jones