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

Device Tree • Re: MCP23017 overlay error -EIO: can't write IOCON 32

$
0
0
tested with the download attached

Code:

dtoverlay=swi2c-dummy-rev1,bus=11
but getting this error now

Code:

sudo i2cdetect -y 11     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- 55 -- -- -- -- 5a -- -- 5d -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --dmesg [    8.020223] i2c 11-0020: Fixed dependency cycle(s) with /i2c@b/mcp@20/pinmux[    9.756315] mcp230xx 11-0020: could not map pin config for "mygpio0"[    9.759323] mcp230xx 11-0020: could not map pin config for "mygpio1"[    9.762063] mcp230xx 11-0020: could not map pin config for "mygpio2"[    9.819884] mcp230xx 11-0020: could not map pin config for "mygpio3"[    9.837601] mcp230xx 11-0020: could not map pin config for "mygpio4"[    9.840279] mcp230xx 11-0020: could not map pin config for "mygpio5"[    9.860631] mcp230xx 11-0020: could not map pin config for "mygpio6"[    9.865807] mcp230xx 11-0020: could not map pin config for "mygpio7"[    9.868351] mcp230xx 11-0020: could not map pin config for "mygpio8"[    9.870600] mcp230xx 11-0020: could not map pin config for "mygpio9"[    9.872802] mcp230xx 11-0020: could not map pin config for "mygpio10"[    9.874874] mcp230xx 11-0020: could not map pin config for "mygpio11"[    9.876878] mcp230xx 11-0020: could not map pin config for "mygpio12"[    9.878820] mcp230xx 11-0020: could not map pin config for "mygpio13"[    9.880684] mcp230xx 11-0020: could not map pin config for "mygpio14"[    9.882534] mcp230xx 11-0020: could not map pin config for "mygpio15"[    9.884307] mcp230xx 11-0020: error claiming hogs: -22[    9.885982] mcp230xx 11-0020: could not claim hogs: -22[    9.887661] mcp230xx 11-0020: error -EINVAL: can't register controller[    9.891609] mcp230xx: probe of 11-0020 failed with error -22
i'm no longer replaying to posts with log snippest only, as you've might have cut-off the part of interrest.

Your GPIO18 is connected to the interrupt signal?
Sorry, but as I don't have this GPIO controller and never worked with it in the past I can't offer any further support.
Look at the devicetree bindings, must be something wrong/missing there.

Statistics: Posted by aBUGSworstnightmare — Wed Dec 18, 2024 6:50 pm



Viewing all articles
Browse latest Browse all 5114

Trending Articles