Hello,
At first I must say sorry for my english, please ask me if you can't understand something that I'm writing
I'm designing a circuit to heat a nichrome coil using PWM and a mosfet. Supply source are two 18650 high drain batteries in series.
Also I need to sense current across the wire and detect short circuit to stop PWM signal and turn off the mosfet
I'm using an Attiny1616 as mcu
This is my circuit:

Q3 is for reverse battery protection.
Q1 is for swiching, Frequency is 1,2Khz
INA381 sense the current, set the Alert threshold with Vref (from Attiny1616 DAC) and Alert is attached to an Interrupt pin of the Attiny
OUT net is attached to Attiny ADC pin to mesure current
MCP1703 is the LDO for Attiny and INA381 Vin
The circuit works great, PWM heat up the wire, I can sense current without problem, I can set current limit with Vref, the interrupt is triggered and turn off the mosfet
but the issue is when I try short circuit protection.
When I force a short circuit, Attiny resets and sometimes MCP1703 blow up.
I think may be a negative spike or voltage sag in the battery are guilty of this behavior but I'm a newbie with electronics so need your help to figure out waht is the cause of this
Thanks in advance
At first I must say sorry for my english, please ask me if you can't understand something that I'm writing
I'm designing a circuit to heat a nichrome coil using PWM and a mosfet. Supply source are two 18650 high drain batteries in series.
Also I need to sense current across the wire and detect short circuit to stop PWM signal and turn off the mosfet
I'm using an Attiny1616 as mcu
This is my circuit:

Q3 is for reverse battery protection.
Q1 is for swiching, Frequency is 1,2Khz
INA381 sense the current, set the Alert threshold with Vref (from Attiny1616 DAC) and Alert is attached to an Interrupt pin of the Attiny
OUT net is attached to Attiny ADC pin to mesure current
MCP1703 is the LDO for Attiny and INA381 Vin
The circuit works great, PWM heat up the wire, I can sense current without problem, I can set current limit with Vref, the interrupt is triggered and turn off the mosfet
but the issue is when I try short circuit protection.
When I force a short circuit, Attiny resets and sometimes MCP1703 blow up.
I think may be a negative spike or voltage sag in the battery are guilty of this behavior but I'm a newbie with electronics so need your help to figure out waht is the cause of this
Thanks in advance