Hello all, I’m testing some network features with a SCM2026D Dev Rev C
I using the following code from the docs:
var gpioController = GpioController.GetDefault();
var resetPin = gpioController.OpenPin(SC20260.GpioPin.PG3);
resetPin.SetDriveMode(GpioPinDriveMode.Output);
resetPin.Write(GpioPinValue.Low);
Thread.Sleep(100);
resetPin.Write(GpioPinValue.High);
Thread.Sleep(100);
I have a couple questions about this code, what is the reset pin doing (I guess it is clearing the PHY transceiver?), how can I check if it is working properly?
And the last question is: my final desing will use the SCM20260E, the reset remains in the same pin?
Just tested quickly, the lights on network port go off immediately right after I set the pin to low.
You may set that pin high somewhere in your code so even comment out the line above, the light still on.
For sure, instead of comment out, just set the pin low.
If you are using custom board, you may wire those lights not correct yet.
And we are not talking about the lights on router or hub port side which we don’t control them at all:))