Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Interfacing (DSI, CSI, I2C, etc.) • Re: i2cset not working on sc16is752

$
0
0
Hyperpixel displays are using a bit-bashed I2C on GPIO10/11. That get's asigned to I2C0
https://github.com/raspberrypi/linux/bl ... l.dtsi#L80

Code:

__overlay__ {i2c_gpio: i2c@0 {compatible = "i2c-gpio";gpios = <&gpio 10 0 /* sda */ &gpio 11 0>; /* scl */
post the output of below command and the full content of your config.txt

Code:

i2cdetect -l
No, the use of the node i2c@0 in DT is totally independent of how it is exposed to userspace.
If you wish to assign a particular userspace /dev/i2c-N to a bus, you need to add an alias to it.
and which I2C bus does it show in userspace?
You have a display in front of you, i don't own one (and I also need ro say that I've never used a SW I2C on Pi).

Statistics: Posted by aBUGSworstnightmare — Mon May 20, 2024 9:13 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles