Jump to content

I2C device not detected on PI Zero H2 (stable kernel)


Ivan Dama

Recommended Posts

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines