SCM20100E: Reset external phy

What is the SCM20100E equivalent of:

    //Reset external phy.
    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);

PG3 does not exist on the SC20100.
Thanks.

the example is on SC20260. If SC20100 then SC20100.GpioPinPD8.

1 Like

Just for my own edification under what conditions does the PHY need to be reset?

No need to reset, but it need to be high.

You can also put it in reset state for low power :slight_smile: