LMR38020SDDAR will generate a pulse when power loss
Yellow: input of LMR38020, waveform of capacitor, 24VDC
Green: Output of LMR38020, 5V output
Blue: TPS5432DDAR's output, 3.3V
we can see the input of LMR38020's capacitor is charging when power loss. it is very strange, why? what's the loop of charging?