I'm making a power-supply circuit for some MCUs using a battery charging-discharging protect module MH-CD42 (both input and output is 5 V).
The module's datasheet says it has a 0.3 seconds switch time when connecting or disconnecting the DC power input, so I use a 10 F super capacitor to make sure those MCUs don't power off due to power loss. But when I power the circuit, it triggers the module's overcurrent protection (2.1 A).
I have tried to add a resistor between the module and the capacitor, but it still doesn't work.
Here are my circuits, with and without resistor.
What should I add or how can I change my circuit to solve the problem?