There are many things that can cause that error. It means that the I2C device is not replying to its address on the buss.
It could be a wiring error, the I2C device is not hooked up correctly. The BeagleBone has three I2C busses. You could be looking on the wrong bus. It could mean there are no pull up resistors on the I2C bus. It could mean that the part is busy. This would mean that it answers some times and not others. It is very common for EEPROMs to not answer when they are busy writing to the internal memory, or parts with data converters to not answer when they are busy doing a conversion. The solution to the busy problem is to wait a few milliseconds, then try again, perhaps a maximum of ten times before giving up. --- Graham == > >> On Tue, Nov 15, 2016 at 10:35 PM, zaenal abidin <[email protected] >> <javascript:>> wrote: >> >>> tomorrow i can running thermal with i2c in bbb ,therefor im clean one >>> file.there are file erased. >>> when i run file again .showed >>> >>> thermal1= bus.read_byte_data(address, reg1) >>> IOError: [Errno 121] Remote I/O error >>> >>> >>> anyone know to fix it? >>> >>> -- >>> >>> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/491955ad-f2d8-433a-94b8-fd5ea4ee820d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
