we are using an esp32c6 controller, 2 rotary encoders, one w5500 ethernet, 2 mcp23017 , and an stm32, i need 12 inputs to esp32 through mcp23017 and 12 outputs from stm32, 2 inputs directly to esp32 for 2 motion sensors, and connections for w5500 eth module, also we need power input from 220vAC to 5VDC and 3V3