Home/Support/Support Forum/I want to reverse Ethernet LEDs with each other?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

I want to reverse Ethernet LEDs with each other?

0 votes
Hi,

I would like to get access to eth_activity functions.
I want to connect green led to Eth_activity and orange one to eth_link.
In another world I want to swap this two LED with each other.
I checked eth_netos.c and found some function to control LED but I don't know how to just change functionality of orange LED with green LED, Is there anywhere that they have been defined as GPIO and I can inverse them?
can anyone help me?
I am using connect core 9P 9215, Net+OS 7.5.

Thanks
asked Jul 28, 2014 in NET+OS by armantoop2000_at_yahoo.com New to the Community (5 points)
edited Jul 28, 2014 by armantoop2000_at_yahoo.com

Please log in or register to answer this question.

2 Answers

0 votes
I don't think you can, atleast not easily. those LED's are not controlled directly by CPU, instead, they are controlled by Erthernet PHY ICS1893CKILF on module -
P0AC (pin 49 of U10) = ETH_ACTIVITY
P2LI (pin 52 of U10) = ETH_LINK

you'd have to go through PHY's HRM and figure out how those are programmed and if they can be changed. Quick look at the HRM here:

ICS1893CKILF HRM suggests that those might be hardcoded:
Table 8-10. ICS1893CK Multifunction Pins: PHY Address and LED Pins
Signal Name Pin No. Signals Description
P4RD 56 PHYAD[4] / Receive LED
P3TD 54 PHYAD[3] / Transmit LED
P2LI 52 PHYAD[2] / Link LED
P1CL 51 PHYAD[1] / Collision LED
P0AC 49 PHYAD[0] / Activity LED
answered Aug 26, 2014 by LeonidM Veteran of the Digi Community (2,821 points)
0 votes
I don't think you can, atleast not easily. those LED's are not controlled directly by CPU, instead, they are controlled by Erthernet PHY ICS1893CKILF on module -
P0AC (pin 49 of U10) = ETH_ACTIVITY
P2LI (pin 52 of U10) = ETH_LINK

you'd have to go through PHY's HRM and figure out how those are programmed and if they can be changed. Quick look at the HRM here:

ICS1893CKILF HRM suggests that those might be hardcoded:
Table 8-10. ICS1893CK Multifunction Pins: PHY Address and LED Pins
Signal Name Pin No. Signals Description
P4RD 56 PHYAD[4] / Receive LED
P3TD 54 PHYAD[3] / Transmit LED
P2LI 52 PHYAD[2] / Link LED
P1CL 51 PHYAD[1] / Collision LED
P0AC 49 PHYAD[0] / Activity LED
answered Aug 26, 2014 by LeonidM Veteran of the Digi Community (2,821 points)
...