Electronic – which interface to use TBI, GMII or MII? (FPGA)

ethernetfpgainterfacemacmicrosemi-fpga

I am working with the SoC FPGA Smartfusion2 M2S010-MKR-KIT. It is intended to exchange some data between the SoC and the PC. For that reason, I aim to use Ethernet.

As far as I understood, in order to establish a proper communication using Ethernet, an interface TBI or GMII or MII should be programmed in the fabric in as means to communicate between the MAC and the Ethernet PHY.

Based on what should we decide which interface to use: TBI, GMII or MII?

Best Answer

Well, what Ethernet PHY are you using? Pick an Ethernet PHY, then implement the interface that the PHY wants. Most likely this will be MII or GMII, depending on the speed.

Edit: according to the schematic for your board (https://www.digikey.com/eewiki/download/attachments/64422068/DIGIKEY%20MAKER%20KIT%20REVA1_0_20170606.pdf?version=1&modificationDate=1514924814090&api=v2), the PHY chip is set up in GMII mode.