Page 1 of 1

I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 3:39 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 4:28 pm
by ShiftPlusOne
It's a hardware bug, so it's not going away. You could use i2c-gpio as a workaround.

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 4:39 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 4:46 pm
by ShiftPlusOne

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 5:55 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 7:12 pm
by ShiftPlusOne
If you provide a little more information about your setup maybe I could help more. What software are you talking about? What does your config.txt look like? What does 'ls /dev/i2c-*' say?

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 8:23 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 8:31 pm
by ShiftPlusOne
Insurmountable wrote:
Tue Aug 14, 2018 8:23 pm
added the following to my config.txt.

dtoverlay=i2c-gpio,i2c_gpio_sda=<18>,i2c_gpio_scl=<17>

rebooted

i2cdetect -y 3

It detects nothing, but my logic analyser shows both pins at 0v.

I then check both pins by switching them using GPIO.output, they work OK.
Remove the <> brackets. Please also answer the other questions in the previous post.

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 8:56 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Tue Aug 14, 2018 9:13 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Wed Aug 15, 2018 1:57 am
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT

Re: I2C stretch bug. Been fixed or not?

Posted: Thu Aug 16, 2018 10:44 pm
by Insurmountable
NO OPTION TO DELETE MY ACCOUNT