Page 1 of 1
Why this delay ?
Posted: Mon Jan 29, 2018 12:23 pm
by ylanchec
Hi,
In I2C lib, at the end of the STOP there is a big delay, why ?
- stop.png
- (92.81 KiB) Downloaded 1438 times
Thank you
Yannick
Re: Why this delay ?
Posted: Mon Jan 29, 2018 1:27 pm
by LeighM
Some devices seem to need it.
But the delay can be enabled or disabled in the component ..

- i2c_stop.jpg (16.83 KiB) Viewed 3859 times
Re: Why this delay ?
Posted: Mon Jan 29, 2018 2:14 pm
by ylanchec
Hi LeighM,
Sorry, I had not seen this possibility !
Thank you for your help.
Yannick
Re: Why this delay ?
Posted: Wed Jan 31, 2018 1:33 pm
by Benj
Some early PIC and AVR devices can lock up if the delay is not present, i.e. if you try and start before the stop has finished being output by the peripheral.
On most newer devices you can remove the stop delay without any issues via the property Leigh mentioned.