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:
dtoverlay=mcp23017Rebooted the system.
After rebooting, I see the following error in the dmesg output:
[ 9.787178] mcp230xx 1-0020: error -EIO: can't write IOCON 32
[ 9.790285] mcp230xx: probe of 1-0020 failed with error -5
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?