1.7 Data Link Layer Configuration

  1. Click the Data Link button to choose the data link layer configuration options.

    The MPLAB Harmony TCP/IP stack lists different MAC and PHY components that are supported.

  2. Add a Network Interface.
    Click the “+” sign on the “Network Interface” block located in the “Active Components” area.

    This action adds a NETCONFIG instance.

  3. Add a MAC component to this demo.
    1. Drag and drop “GMAC” from “Available Components” (“MAC Components”) into the MAC block in the “Active Components” area.
    2. Connect “NETCONFIG-0” with “GMAC” by dragging the orange diamond from “NETCONFIG-0” to the orange square on “GMAC”.

      The two orange indicators will then turn green.

  4. Add a LAN867x and an MIIM driver to this demo.
    1. Drag and drop “LAN867x” and “MIIM Driver” from “Available Components” (“PHY Components”) into the PHY block in the “Active Components” area.
    2. Make the connections as shown below.