Ivan Dama Posted May 29, 2017 Posted May 29, 2017 Hello, I'm trying to interface an I2C device to Orange Pi Zero with armbian. By running i2cdetect I obtain the following result: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- I've tried to load i2c-dev module but I don't see it in lsmod... Also after that I've run I2c detect I found a lot of those lines in dmesg: [ 58.110105] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77) I0ve already checked the script.bin and seems that twi are all enabled. Can you help me? Thanks a lot
kris777 Posted May 29, 2017 Posted May 29, 2017 I also had this result until we changed the order of the cables : SDA / SCL i2cdetect -y 0 i2cdetect -y 1 Look here: i2c--smbus-and-armbian-linux i2c interface on orange pi lite Orange Pi I2C orange pi / I2C / LCD 2x16 / internetradio Lcdproc also works .... but it requires compiling under the driver: hd44780 hd44780.so-Armbian-5.25-Ubuntu-xenial-3.4.11 Or your own compilation according to this howto https://bbs.nextthing.co/t/lcdproc-with-20-character-by-4-line-lcd/8789
Recommended Posts