I'm building from the LWIP example.
I have configured GPIO48 (PortH_0) to be M_MIIPHYRST. Its settings are GPIO_DIR_MODE_HW and GPIO_PIN_TYPE_STD. I have verified that on my PHY chip, the associated pin is an input with a pullup. My Ethernet works after I manually ground the reset pin (with a wire), but I don't see the pin being pulled low by the example code. It appears that the SysCtlPeripheralReset() function only resets the registers and does not affect the M_MIIPHYRST pin:
SysCtlPeripheralReset(SYSCTL_PERIPH_ETH);
Is there some sort of API function or EMAC register I'm supposed to use to control the M_MIIPHYRST pin? Or should I just treat it as a GPIO and toggle it directly?
Thanks,
-Will