Hi All, I have a small problem I cannot figure out why exactly this is happening due to lack of knowledge and experience in things like this:
Here is what's going in.
I have one battery source (3AAs in series) and two voltage regulators connected to this source. One regulator is supplying 3.3V voltage for microprocessor (top one) and another regulator (bottom one) supplying variable voltage to peripherals, you can see I placed red resistor and switch in parallel to one of the feedback resistors so I can chose one of two output voltages 2V or 7V.
The problem is that if I apply power to this setup it stars up just fine, but once I attempt to switch from 2V to 7V by closing that red switch, - microcontroller dies. I tried to study why and it seems that this is because once I enable that switch, battery voltage drops by 2V for about 500uS and I think it sucks charge from first regulator's input capacitors (I think) so it temporarily fails to supply power to microcontrolles and it dies.
What would you recommend to fix this issue?
Thank you in advance.