May 9, 20251 yr Hello, I'm trying to connect an PCF8574 I2C adapter to my Orange Pi, but it doesn't show up in i2cdetect, only something at 0x30 on i2c0 and 0x36 on i2c1 that is labeled UU. I tried to connect it to arduino, and it found it on address 0x27 Connected on pins 3 and 5 root@orangepizero2w:~# sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@orangepizero2w:~# sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@orangepizero2w:~# ls -a /dev/i2c-* /dev/i2c-0 /dev/i2c-1 /dev/i2c-2 root@orangepizero2w:~# cat /boot/armbianEnv.txt verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun50i-h616 overlays=sun50i-h616-i2c1-pi rootdev=UUID=b9606c1d-3dea-4df8-940f-51cd0698eef4 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
May 9, 20251 yr Solution 40 minutes ago, Lvicek 007 said: overlays=sun50i-h616-i2c1-pi I think this line is wrong. I don't believe that the overlay_prefix should be included here, try with overlays=i2c1-pi I seem to recall mention of a bug in armbian-config that was doing the wrong thing regarding overlay_prefix when selecting overlays.
May 9, 20251 yr Author That fixed it, it's now detected on i2c3 (i2cdetect -y 3) Python also can interact with it root@orangepizero2w:~# i2cdetect -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- Thank you SteeMan❤️
May 10, 20251 yr 17 hours ago, SteeMan said: I think this line is wrong. I don't believe that the overlay_prefix should be included here, try with overlays=i2c1-pi It was solved https://github.com/armbian/configng/issues/344 , but It looks like bug with overlay_prefix back again
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.