Electronic – Is PHY always needed

ethernetmicrocontrollerphy

If I'm sending UDP from a microcontroller to another (both have built in MAC, STM32f4 Discovery boards to be precise), must I have a PHY attached to both or can I get away with only sending a MII signal from one to the other? From what I have gathered, within small distances this should work.

On a larger scope, I'm trying to figure out what exactly makes UDP, well, UDP.

Best Answer

The following are the scenarios there such a connection can be established:

  • MAC-to-MAC full-duplex MII-based connection
  • MAC-to-MAC full-duplex GPSI(SNI)-based connection

The following are the scenarios there such a connection cannot be established:

  • MAC-to-MAC half-duplex MII-based connection
  • MAC-to-MAC half-duplex GPSI(SNI)-based connection
  • PHY-to-PHY any-duplex MII-based connection
  • PHY-to-PHY any-duplex GPSI(SNI)-based connection
  • MAC-to-MAC any-duplex RMII-based connection
  • PHY-to-PHY any-duplex RMII-based connection

Note: GPSI(SNI) is for 10 Mbps only, MII and RMII are for 10/100 Mbps.