Quantcast
Viewing all articles
Browse latest Browse all 4829

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

Do you have a touch and/or camera attached to that interface or why does it need to be I2C-10?

An't you use i2c0-overlay with pins_44_45 parameter?

Code:

Name:   i2c0Info:   Change i2c0 pin usage. Not all pin combinations are usable on all        platforms - platforms other then Compute Modules can only use this        to disable transaction combining.        Do NOT use in conjunction with dtparam=i2c_vc=on. From the 5.4 kernel        onwards the base DT includes the use of i2c_mux_pinctrl to expose two        muxings of BSC0 - GPIOs 0&1, and whichever combination is used for the        camera and display connectors. This overlay disables that mux and        configures /dev/i2c0 to point at whichever set of pins is requested.        dtparam=i2c_vc=on will try and enable the mux, so combining the two        will cause conflicts.Load:   dtoverlay=i2c0,<param>=<val>Params: pins_0_1                Use pins 0 and 1 (default)        pins_28_29              Use pins 28 and 29        pins_44_45              Use pins 44 and 45        pins_46_47              Use pins 46 and 47        combine                 Allow transactions to be combined (default                                "yes")
i would avoid jumping through all the hoops and simply have a custom overlay added.

Statistics: Posted by aBUGSworstnightmare — Thu Nov 07, 2024 5:38 am



Viewing all articles
Browse latest Browse all 4829

Trending Articles