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.

TM4C1294NCPDT: Ethernet LED's configuration

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Hello,

How do the ethernet LED's work? The EK-TM4C1294XL launchpad uses EN0LED0 and EN0LED1, but then what does EN0LED2 do? can the two LED functions be multiplexed to any of the three LED's (i.e. use EN0LED1 & EN0LED2 instead of EN0LED0 & EN0LED1 if the pin usage of the MCU leaves neither of the EN0LED0 pins available)?

Thank you,

svl123

  • The schematic for the EK-TM4C1294XL board is in the back of the User's Guide. The four LEDs are connected to pins D1-PN1, D2-PN0, D3-PF4 and D4-PF0. When used as Ethernet LEDs D3 and D4 use the EN0LED1 and EN0LED0 functions. EN0LED2 function is available on pin PF1 or PK5. Neither of those pins are connected to an LED on the EK-TM4C1294XL Launchpad.

  • Hi Bob,

    Thank you for the explanation. My question is - what does EN0LED2 do? Can I reconfigure the pinouts such that ethernet LED's are controlled by pins PK4 (EN0LED0) and PK5 (EN0LED2) instead of the PF0 and PF4 that have LED's on the launchpad?

    I modified the code in "EK_TM4C1294XL.c" file EK_TM4C1294XL_initEMAC function from:

        GPIOPinConfigure(GPIO_PF0_EN0LED0);  /* EK_TM4C1294XL_USR_D3 */
        GPIOPinConfigure(GPIO_PF4_EN0LED1);  /* EK_TM4C1294XL_USR_D4 */
        GPIOPinTypeEthernetLED(GPIO_PORTF_BASE, GPIO_PIN_0 | GPIO_PIN_4);

    to:

        GPIOPinConfigure(GPIO_PK4_EN0LED0);  /* EK_TM4C1294XL_USR_D3 */
        GPIOPinConfigure(GPIO_PK5_EN0LED2);  /* EK_TM4C1294XL_USR_D4 */
        GPIOPinTypeEthernetLED(GPIO_PORTK_BASE, GPIO_PIN_4 | GPIO_PIN_5);

    but see nothing on pins PK4 and PK5. My goal is to hook up the two ethernet LED's to PK4 and PK5 and control them on these pins instead of PF0 and PF4. Is this possible?

    Thank you,

    svl123

  • You need a different board other than the EK-TM4C129XL. One that has an LED attached to terminal PK5. EN0LED2 is for use on custom boards that are designed with an LED on terminal PK5 or PF1.
  • Bob,

    Yes, I plan on doing that. However I should still see the digital pulses on pins PK4 and PK5 of the launchpad using an oscilloscope even if there are no LED's attached.
    However, I do not see such pulses and am not sure if my configuration of the LED's is incorrect (above code) or there is something else I am missing.

    -svl123