Quantcast
Viewing all articles
Browse latest Browse all 4730

Interfacing (DSI, CSI, I2C, etc.) • Using the i2c-10 to connect to arduino

I am planning on using the i2c connection found on the dsi/csi ports to control an led and I was researching and these pins are gpio44 and 45 which require i2c-10. I connected the Arduino to i2c-1 and I was able to successfully light up an LED but when I swapped the SDA and SCL to gpio44/45 or SCL0/SDA0, I couldn't run my python script and I got a bunch of errors.

I have deduced by reading this viewtopic.php?t=294770 that I somehow need to enable i2c-10 and by default, i2c-10 was not present when I ran i2cdetect -l.

My output is:

Code:

i2cdetect -li2c-0   i2c             Synopsys DesignWare I2C adapter         I2C adapteri2c-1   i2c             Synopsys DesignWare I2C adapter         I2C adapteri2c-4   i2c             Synopsys DesignWare I2C adapter         I2C adapteri2c-11  i2c             107d508200.i2c                          I2C adapteri2c-12  i2c             107d508280.i2c                          I2C adapter
i2c-4 is the touch screen ic (not what I need).

I then tried add this overlay/code to my /boot/firmware/config.txt file, but nothing changed.

Code:

dtoverlay=i2c-rtc,i2c_csi_dsidtparam=i2c_vc=ondtparam=i2c_arm=on
Please let me know if what I am trying to do is feasible, does i2c communication through the i2c-10 controller work?

Statistics: Posted by help_bio — Wed Nov 06, 2024 11:02 pm — Replies 1 — Views 43



Viewing all articles
Browse latest Browse all 4730

Trending Articles