Electronic – Microcontroller – potential damage to IO pin

microcontrollerprotection

I'm revisiting a design I made.

The circuit is powered by 24V with polarity protection.

I placed a power loss detection before the polarity protection:

enter image description here

In case the power pins were replaced, the 3v3 zener diode will have forward voltage of ~1V.

will this pin go through R32 to the "unpowered microcontroller" and destroy its IO pin?

The absolute maximum is -0.3V in the mcu:

enter image description here

It's only 100uA limited by R32, but I can't be sure.

Is there such detailed information about the IO pin?

Best Answer

Usually the datasheets, in the absmax section, give an information like "-0.3 V or -10 mA, whichever occurs first", but unfortunately not in this case; therefore a proper answer is not possible, but I can give a bit of insight.

The -0.3V limit is there because for each pin there is a diode from ground to the pin, and from the pin to vdd. With 10 kOhm in series, this is a non issue; I would expect almost any IC to be able to handle at least a few mA in the protection diodes, and here you have a 10 kOhm resistor in series. You can even bump the resistor up to 100 kOhm, if I understand your circuit correctly.

To sum it up, with your series resistor you are not violating the absmax because the diode will conduct and block the voltage around -0.3 V, probably even less. With 100 uA you can sleep safe.