Some background. I am attempting to build a oscillator circuit for use in HV power supply. Using a 555 to create a PWM to switch a MOSFET and then to either transformer or buck converter.
I have gotten the 555 to produce a clean square signal but the waveform output of the MOSFET is not a square wave. It is this:
This is the circuit I've made:
I have used 2 different MOSFETS and both give the same result.
What is causing the issue and what can I do to produce a nice clean square wave from the MOSFET?
Any help would be greatly appreciated.