I want to know if it is possible to connect multiple microcontrollers with W5100 by assigning individual sockets to each microcontroller and assigning the master role for the microcontrollers one at a time.
If the program is written in this manner, is it possible to connect 4 microcontrollers with W5100 each tied to an individual socket? Please let me know if any project is there which is done in a similar manner or if it is possible at all.
If the program is written in this manner, is it possible to connect 4 microcontrollers with W5100 each tied to an individual socket? Please let me know if any project is there which is done in a similar manner or if it is possible at all.
Theoretically this is possible but only with an immense hardware overhead. You have to separate each MCU's SPI bus from the others while it's not accessing the W5100. You cannot simply connect all 4 MCUs to one SPI bus, all acting as a master device as you would have short circuits on the CS, MOSI and SCKL pins.
So in reality your idea is not feasible. Buying 3 additional W5100 and a switch is much cheaper and less error prone by factors.