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

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.

Statistics: Posted by 6by9 — Mon May 20, 2024 8:55 pm



Viewing all articles
Browse latest Browse all 4792

Trending Articles