Help with MCP23s17 port expanders #21393
-
Hi - I know that I2C port expanders (MCP23008 and MCP23017) are supported for quite a long time. I use the great tasmocompiler to build my own firmwares - and I tried to include the MCP23s17 driver with Tasmota 13.4.0. When only adding When adding Using this firmware on a NodeMCU Amica v2 (8266 4M) with SPI configured as SSPI, there is a console message after boot: 00:00:00.093 SPI: Software using GPIO14(CLK), GPIO13(MOSI) and GPIO12(MISO) "CS" is configured on GPIO15 and I also tried with "MCP23Sxx CS" "1" on GPIO15, but both without any success. Like mentioned in the docs, Tasmota complained about missing Mode-2 config, so I added a file mcp23x.dat No more complains, but no success though. Do I miss something? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
What's the output of command I2Cdriver ? |
Beta Was this translation helpful? Give feedback.
-
Try hardware SPI ( |
Beta Was this translation helpful? Give feedback.
-
I need to chk if MCP23s is supported on esp8266. I prefer I2C ofcourse. |
Beta Was this translation helpful? Give feedback.
Try latest dev which removed the SPI CS test.
Keep A0,A1 and A2 to Gnd and use
MCP23Sxx CS 1