Loading simulator…
The motor must run only when both MCU_RUN and ENABLE are HIGH. Two N-channel MOSFETs in series form a hardware AND function for the motor's ground return, so either LOW input interrupts current without software logic.
Q_RUN and Q_ENABLE in series between MOTOR and ground. Both devices are N-channel MOSFETs; neither alone can complete the load path.RG_RUN = 330 Ω and RG_ENABLE = 330 Ω sit in series with their respective control inputs. PD_RUN = 100 kΩ and PD_ENABLE = 100 kΩ pull each gate to its local source node, keeping the MOSFET off when its control is LOW or disconnected.V_MOTOR close to 12 V.D_FLY provides a flyback path across the inductive motor when current is interrupted, reducing the voltage spike at the MOSFETs. With either control LOW, the motor’s path is open and V_MOTOR approaches 0 V.Test all four combinations of MCU_RUN and ENABLE at 0 V/3.3 V. Expect in magnitude for three OFF states and when both are HIGH. Try dropping either input while the other remains HIGH.