I need to create a high side switch to drive a 2.5W resistive load, which must be referenced to ground. I'm planning to use a P-MOSFET as load switch. The problem is there I have an inconstant voltage source from a battery (from 4.2V to 2.5V) and my logic works at 3.3 V. I use a step-up/step-down converter to stabilize voltage at my microcontroller. I therefore would like to use a N-MOSFET as a driver for the P-MOSFET to ensure that the P-MOSFET will always be closed and open whenever I need. I will drive the N MOSFET woth a PWM signal at 500 Hz. Will this topology work?
simulate this circuit – Schematic created using CircuitLab