Subject: Re: i2c bitbanging
To: Jason Thorpe <thorpej@shagadelic.org>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 04/29/2007 20:39:00
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Apr 29, 2007, at 18:09, Jason Thorpe wrote:
> On Apr 27, 2007, at 8:56 PM, Michael Lorenz wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello,
>>
>> looks like the routines in dev/i2c/i2c_bitbang.c don't support
>> synchronisation ( as in - when raising SCL wait until the SCL line is
>> actually up )
>
> Well, some devices supported by that code can't really tell, IIRC,
> which is why it has delay loops instead.
I didn't take out the delay loops. With devices like that SCL would be
up immediately and the thing would behave as before.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRjU6pMpnzkX8Yg2nAQIXHgf/dBXvN0RJp5cLQuQhbbd++KnrQ0JzupYd
wqx5C3r4O+IfWFwEXHh4Remtl3QbtsQ5sVSwBa9r0ys4U5T4aBI3rjf1W4SGlK0Z
9zwi+7jODPysi1Kdublic1wKFXL6+BnAFxWRVM81Qnue9Met+TDbIEET0F3db4lK
okHd4VWlYwCveFjiZ4RWW1aWjuD14Tr09FjIZHkRF8Mmb5SlJut+QSaoEyZRLrGB
wusENwepSEqfbcKvqClj2Az3M1dAgZH6T8iowY7HH83d8HkXrPP16FH2Q+ujTXaU
8FYQ2h+VJxxVVtZGjUEm14cqCyvDyrfutm6ei8n/Lp3thyil592crg==
=uaIf
-----END PGP SIGNATURE-----