I have a current-shunt monitor using INA202 between a 5V power supply and loads. The current monitor should turn off a MOSFET switch and disconnects the loads if the load current goes over 150mA.
I have problem when I connect one of the loads. It is an accelerometer (which should consume only 350µA), powered via a 2.5V LDO regulator. Whenever I connect it, the current monitor shows overcurrent and disconnects the loads. But it doesn't happen if I first connect the accelerometer and then power on the power supply. Also it doesn't have the problem with other resistive loads.
I solved the problem by putting a resitor and zener diode, making a 4.3V regulator, in front of LDO. Although it solves the problem, I didn't understand what was causing the problem. I would like to know what could be the cause.
Edit: Here is the rough circuit: