I have some problem with a P-channel mosfet used as high-side load switch. Everything works fine beneath the power up moment.
You can find the schematic in the picture below.
During Powering the circuit with 28V the following happens (blue channel: Gate; green channel: Drain):
I suppose that this flicker occurs because of the Gate Capacitance of the MOSFET, but I am not sure. Does somebody of you have an idea on how to solve this problem? During this period the output signal should stay at GND level.
Furthermore, I want to tell that on the input there will be a 5 kHz PWM coming from a Microcontroller. As I said before, after the power-up, there are no problems. Edit: The PWM is started after some ms.