• Three hardware address pins allow use of up to eight devices
The last three LSb of the 7-bit address are user-defined (see Table 1-4). Three hardware pins (<A2:A0>) define these bits.TABLE 1-4: DEVICE ADDRESSCode: [Select]0 1 0 0 A2 A1 A0
0 1 0 0 A2 A1 A0
And if you want more than 8 you can actually feed the I2C bus through a data selector.
If you have not used I2C before, check out Nick Gammon website for information he recently posted.http://www.gammon.com.au/forum/?id=10896With the quote above, I do not believe you need that complexity. The I2C bus with MCP can have 8 devices on one SS (select) line. To create another set on the same bus, share the MISO/MOSI/SCK lines, but create another CS (SS) select line for the next set of devices.
the replacement MCP23017
Additionally, I have a shield for the MCP23017 readymade with 4 chips on the board, plus cable and breakout boards for getting the 64 I/O out to a breadboard or screw terminals.
It is not an I2C MUX.
Can you give example code for 4053?