[U-Boot-Users] [PATCH] soft_i2c/i2c_probe(): Perform reads instead of writes

Peter Korsgaard jacmet at sunsite.dk
Sat Jun 11 16:41:43 CEST 2005

>>>>> "Tolunay" == Tolunay Orkun <listmember at orkun.us> writes:

Hi, and sorry for the slow response!

 Tolunay> Peter, I believe the implementation was correct but the
 Tolunay> comment was wrong. It should be a write transaction with
 Tolunay> just address byte. After the address byte is transmitted the
 Tolunay> I2C slave will acknowledge (if present) and we finish the
 Tolunay> transaction by generating the stop condition. i.e. fake
 Tolunay> write.

Why write? Wouldn't a zero byte read transaction be safer?

Bye, Peter Korsgaard

More information about the U-Boot mailing list