I2C and GPIO stopped working - why? - Raspberry Pi Forums


hallo,

i'm porting arduino project raspberry pi 3. have home-made shield 3 i2c break-out boards, 16-ch pwm board, rtc , adc board connected via bidirectional level shifter. enabled i2c , run smooth. able see boards i2cdetect , address boards python programs. same gpio pins. 1 day stopped working, , have no idea why. thats current state:
- ls -l /dev/i2c* gives me:
-crw-rw---- 1 root i2c 89, 0, nov 15 21:40 /dev/i2c-0
- , same untill: /dev/i2c-1

tells me devices there, right?
if gpio readall, see both pins th ename sda.1 and scl.1 in mode alt0. i2cdetect finds nothing, , need 1 sec per address scan, find strange. hooked oscilosope scl , there dolid 3.3v line, nothing clocking. same happening on i2c0.
if use shell commands change of gpio pins, shows direction changing in/out (when using gpio readall), i'm not able chang value. pins show "0" in gpio readall or cat command. accepts echo "1" > /sys/class/gpio/gpio29/value, voltage reading unaltered.
idea happened? did somehow destroyed gpio's. had nothing attached it.
reloading os issue?

advices , beste regards, olaf.



raspberrypi



Comments