Hi community,
I’m trying to set up an MCP23017 GPIO expander on my Raspberry Pi running latest raspbian, but I’ve run into an issue. Here’s what I’ve done:
I updated the /boot/firmware/config.txt file as follows:Rebooted the system.
After rebooting, I see the following error in the dmesg output:My setup:
Raspberry Pi zero w running latest openhabian.
MCP23017 connected via I2C.
Questions:
What does this error mean (-EIO: can't write IOCON 32)?
Could this be a wiring or addressing issue with the I2C bus?
Are there additional steps or configurations required to properly load the MCP23017 overlay?
Any help would be greatly appreciated!
Thanks in advance.
I’m trying to set up an MCP23017 GPIO expander on my Raspberry Pi running latest raspbian, but I’ve run into an issue. Here’s what I’ve done:
I updated the /boot/firmware/config.txt file as follows:
Code:
dtoverlay=mcp23017
After rebooting, I see the following error in the dmesg output:
Code:
[ 9.787178] mcp230xx 1-0020: error -EIO: can't write IOCON 32[ 9.790285] mcp230xx: probe of 1-0020 failed with error -5
Raspberry Pi zero w running latest openhabian.
MCP23017 connected via I2C.
Questions:
What does this error mean (-EIO: can't write IOCON 32)?
Could this be a wiring or addressing issue with the I2C bus?
Are there additional steps or configurations required to properly load the MCP23017 overlay?
Any help would be greatly appreciated!
Thanks in advance.
Statistics: Posted by koerli — Sun Dec 15, 2024 6:36 pm — Replies 0 — Views 18