I have a project where I need to add current monitoring protection to a motor controller.
A microcontroller reads the shunt or hall sensor voltage and throttles back the current if the limit is exceeded.
The problem comes if a short circuit occurs. Way before the uC has time to go trough the loop and actuate, a mosfet is already blow. I currently use discrete logic to detect such events, trigered to a interrupt pin. But is there a way I could use the uC without aditional external logic in order to simplify the project?