I am a EE student from Denmark, in the middle of making a class D audio amplifier. In this matter, I have stumpled across a needed circuitry. I need a way to shut off my gate driver (essentially the output stage). The gate drivers I use have an active high disable pin. I will be running the logic on 5V.
In this sense, I for startes need to be able to use a switch turning off the gate-driver using the disable pin, whilst it turns on an LED.
The picture above shows my temporary try. I use an opamp, because I will eventually implement OT protection etc. Thus starting out with an op-amp, makes that addition easy.
Here I thought I would be able to feed the disable labelled wire to the disable pin, whilst it turns on the LED. However whilst simulating, I cannot get it to work properly. I cannot draw more than approximately 2 mA in the LED.
Do you guys have any suggestions, if so I am welcoming them gratefully.
It should be noted, that the opamp is a rail-to-rail output THS4222, and it is supplied with 5V.
Thanks in advance.