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.

TM4C1292NCPDT: Please tell me how to use TM4C1292NCPDT RMII interface!!!

Part Number: TM4C1292NCPDT
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!!!