I'm using the TI TMS320F280049C microcontroller.
While testing its GPIO behavior during power on/off, I found a high to low transition on GPIO pin, on every power on/off.
I'm checking the waveform on the GPIO pin of the microcontroller itself.
I have used the same code provided by TI for GPIO initialization (C2000 examples)
// Initialization code as follows GpioCtrlRegs.GPAPUD.bit.GPIO3 = 0; // Enable pull-up on GPIO3 GpioDataRegs.GPASET.bit.GPIO3 = 1; // Load output Latch GpioCtrlRegs.GPAMUX1.bit.GPIO3 = 0; // GPIO3 = GPIO3 GpioCtrlRegs.GPADIR.bit.GPIO3 = 1; // GPIO3 = output
Waveform during power on/off: