Hi Conner,
The LwIP example included with the S32K3 RTD is configured for RMII.
This project can be modified - You must configure additional pins for MII, (TXD[2-3], RXD[2-3], RXC, optionally RX/TX_ER, CRS, COL) adjust the input clock (25 vs 50MHz with RMII). Note that the internal frequency should still be 25MHz for the EMAC peripheral. and change the mode within the GMAC driver.
bryan_brauchler_0-1714581358923.png
bryan_brauchler_2-1714581483510.png
bryan_brauchler_1-1714581409525.png
Finally, in some versions of the project LwIP you will have to remove the DCM configuration in device_init() that configures RMII clocking within EMAC:
bryan_brauchler_3-1714581592066.png
The scope captures look to still be in RMII mode, as the clock frequency generated on both TXC and RXC should be 25MHz in MII mode. RMII only generates 50MHz on REF_CLK (RXC pin)
Best,
Bryan