I am using the TPL0102 digital pot. I am bit banging an I2C bus since I used my UARTs for other comms. I can write to the digital pot without any trouble. However, when I try to read the device it does not send a status.
I send: <start> <0xA0> <Ack> <0x00> <Ack> <start> <0xA1> <Ack> <expected data here><nack><stop>. All my address bit are tied low so the chip ID should be b1010000X (A0 for write A1 for read) and I am writing or reading the A wiper so it's address is b00000000. I am watching the bit packets with an oscope and everything looks good. However the expected data on the read is always b000000000. I have also tried sending <start> <0xA0> <Ack> <0x00><Ack> <stop>.<start> <0xA1> <Ack> <expected data here><nack><stop> since the data sheet does not state what a restart is. I have double checked my timing and it complies to the data sheet. Also the Ack is read from the TPL0102 and is not forced by the processor code.
Do you have any idea what is wrong?