I'm connecting a TS45315 light sensor on an Adafruit breakoutboard to the I2C bus of my Raspberry. I access the data through the following simple Python script: https://gist.github.com/splitbrain/babc1b21adb9a8599e4e
During rewiring my project I might have switched the connectors for SDA and SCL (not sure). Since this the sensor is not respnding to read or writes on the IC2 bus. All I get are I/O errors:
IOError: [Errno 5] Input/output error
However the sensor is still showing up on the bus at address 0x29:
$ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
I tried rebooting the Raspberry or disconnecting the sensor, but nothing helps. Did I fry the sensor or is there any way to reset it? Or some way to debug what's wrong?