I2C Timeout
Moderator: serg
Re: I2C Timeout
I don't know if it is a strange place or not - but it is where Microchip does its clock stretching in hardware. Attached are two pages (in zipped pdf) from the Microchip data sheet showing the I2C waveform with clock stretching.
Re: I2C Timeout
Hi,
So have my last firmware worked?
So have my last firmware worked?
Re: I2C Timeout
Just checked it out. Your latest fix seems to take care of a short clock stretch (22mS), but not a long clock stretch (1000mS). The SUB-20 GUI seems to return the error message very quickly.
Re: I2C Timeout
Hi.
I have increased it to something about 2sec
Please try it.
I have increased it to something about 2sec
Please try it.
- Attachments
-
sub20-0.2.4-I2CTO3.INC
- (48.19 KiB) Downloaded 1263 times
Re: I2C Timeout
I tried your latest and found that it also does not work for me. When I checked the most recent waveform, the clock stretch was over 2 seconds (due to changes in the hardware that had to be compensated for in I2C firmware).
So if you could provide a version that provides for 5 seconds of clock stretch (as originally mentioned), that should take care of my needs.
So if you could provide a version that provides for 5 seconds of clock stretch (as originally mentioned), that should take care of my needs.
Re: I2C Timeout
Well you are tough guy.
I will prepare and post soon over 5sec delay version.
I will prepare and post soon over 5sec delay version.
Re: I2C Timeout
Here it is.
Please let me know how it worked this time.
Please let me know how it worked this time.
- Attachments
-
sub20-0.2.4-I2CTO4.INC
- (48.22 KiB) Downloaded 1273 times
Re: I2C Timeout
This seems to work now in my application. - Thanks.