MCF52233 - polarity of the phy output led - LNKLED

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF52233 - polarity of the phy output led - LNKLED

1,037 Views
gilfine
Contributor II

Hi, I use MCF52233.

I an interested to invert the polarity of PHY led output (LNKLED) so that led is ON when link is not established and OFF otherwise.

Is there a way to do it ?

Thanks a lot,

Gil

Labels (1)
2 Replies

823 Views
TomE
Specialist II

In a word, no. Not in software, unless you reprogram the pins as GPIO and drive them from code. In the case of the Link Led this would be trivially simple as it doesn't have to blink with traffic like the other ones do.

Otherwise just wire the LED to the other rail or add an inverter or transistor!

Tom

823 Views
gilfine
Contributor II

Thanks a lot !

It was very helpful.

Gil

0 Kudos
Reply