Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 3:39 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:56 pm, edited 1 time in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5677
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 4:28 pm

It's a hardware bug, so it's not going away. You could use i2c-gpio as a workaround.

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 4:39 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:56 pm, edited 1 time in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5677
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 4:46 pm


Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 5:55 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:55 pm, edited 1 time in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5677
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 7:12 pm

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?

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 8:23 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:55 pm, edited 1 time in total.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5677
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 8:31 pm

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.

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 8:56 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:54 pm, edited 1 time in total.

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Tue Aug 14, 2018 9:13 pm

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:54 pm, edited 1 time in total.

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Wed Aug 15, 2018 1:57 am

NO OPTION TO DELETE MY ACCOUNT
Last edited by Insurmountable on Thu Dec 27, 2018 2:54 pm, edited 1 time in total.

Insurmountable
Posts: 33
Joined: Fri Oct 20, 2017 11:50 am

Re: I2C stretch bug. Been fixed or not?

Thu Aug 16, 2018 10:44 pm

NO OPTION TO DELETE MY ACCOUNT

Return to “Troubleshooting”