Closed aeropagz closed 2 years ago
It is not possible to configure the MCP23S17 chip. Writes are ignored.
ESP_ERROR_CHECK(mcp23x17_port_set_mode(&dev, 0xFFFF)); ESP_ERROR_CHECK(mcp23x17_port_get_mode(&dev, &val)); ESP_LOGI(TAG, "Mode %d\n", val);
val is 0x7FFF which is unexpected. Tested with different MCP23S17 chips.
esp-idf
4.4
mcp23S17
No response
Solved the issue by lower the SPi Frequency to SPI_MASTER_FREQ_8M
SPI_MASTER_FREQ_8M
The issue
It is not possible to configure the MCP23S17 chip. Writes are ignored.
val is 0x7FFF which is unexpected. Tested with different MCP23S17 chips.
Which SDK are you using?
esp-idf
Which version of SDK are you using?
4.4
Which build target have you used?
Component causing the issue
mcp23S17
Anything in the logs that might be useful for us?
No response
Additional information or context
No response
Confirmation