I am choosing parts to add Ethernet to a microcontroller board. Some microcontrollers are described as having an "Ethernet MAC" and still need an external "PHY" chip, while modules such as the W5500 seem to need nothing else except the connector. The datasheets mention MII, RMII and MDIO without explaining how they fit together.
What does each block do, why are they usually separate chips, and how many pins does each interface take?




