This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am working on a project using TM4C1292NCPDT.
In the project, it is necessary to utilize Ethernet, so I plan to use LAN9303m as a PHY chip.
Interface is RMII.
But, currently the project is in the trouble.
The difficulty is that Ethernet is not working.
The circuit configuration is configured by checking the TM4C1292NCPDT data sheet, and the software uses CCS.

I'm curious about the following:
1. If 50MHz is input to “EN0REF_CLK” among several pins of TM4C1292NCPDT, is it correct that MDC signal is generated?
2. As shown below, the pin setting for using the RMII interface and the definition for using the external PHY are applied. Is this correct?
- GPIO PIN SETTING
MAP_GPIOPinConfigure(GPIO_PG3_EN0TXEN);
MAP_GPIOPinConfigure(GPIO_PG5_EN0TXD1);
MAP_GPIOPinConfigure(GPIO_PG4_EN0TXD0);
MAP_GPIOPinConfigure(GPIO_PG7_EN0RXDV);
MAP_GPIOPinConfigure(GPIO_PQ5_EN0RXD0);
MAP_GPIOPinConfigure(GPIO_PQ6_EN0RXD1);
//GPIOPinConfigure(GPIO_PK4_EN0INTRN);
MAP_GPIOPinConfigure(GPIO_PF2_EN0MDC);
MAP_GPIOPinConfigure(GPIO_PF3_EN0MDIO);
MAP_GPIOPinConfigure(GPIO_PM4_EN0RREF_CLK);
MAP_GPIOPinTypeEthernetMII(GPIO_PORTG_BASE, GPIO_PIN_3|GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_7);
MAP_GPIOPinTypeEthernetMII(GPIO_PORTQ_BASE, GPIO_PIN_5|GPIO_PIN_6);
MAP_GPIOPinTypeEthernetMII(GPIO_PORTF_BASE, GPIO_PIN_2|GPIO_PIN_3);
MAP_GPIOPinTypeEthernetMII(GPIO_PORTM_BASE, GPIO_PIN_4);
- EXTERNAL PHY SETTING
#if define(EMAC_PHY_IS_EXT_RMII) => lwipopts.h
I have no experience of connecting PHY chip to MCU.
Currently, I am not doing anything at all. please please please help me please!!!
Thank you!!!
Hello Seonghoon,
Our Ethernet expert is out until tomorrow so please expect a response tomorrow regarding this topic.
In the meantime, perhaps this E2E thread could give you some details - note it was for an older version of TivaWare so some of these changes may have been applied, but you might find some useful insights/settings to try from it: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/559297/tm4c129dncpdt-with-external-phy-through-mii
Best Regards,
Ralph Jacobi
Thanks for the quick response.
Sorry, but I have an additional question.
Currently, I have confirmed that the MDC signal is generated and that the address of the PHY is also recognized.
However, there seems to be a problem in obtaining an IP through DHCP.
There is a problem that the IP cannot be obtained.
I'm looking at the netif.c source, but I don't know about the process of getting the IP.
Could you please tell me something about this issue?
Also, it would be appreciated if you could tell us why the "tcp_bind()" function works correctly despite the failure to obtain the IP address.
Thank you!!!
Hi,
Did you have a chance to run one of the Ethernet examples from TivaWare library?
Hi,
I have not heard back from you. I assume you have resolved the issue. I will close this thread for now. If there is any update from your side, simply write back to this post and the thread will reopen.