I have a circuit and when I put a big capacitor (330uF) near the atmega, the atmega gets stuck after running for a while. When I discharge the capacitor the circuit works again for a while and then stops again. On oscylloscope, i saw that the circuit stops working after the capacitor charges.
As i pondered before, it was more like a coincidence that the circuit stopped working and it worked again when I discharged the capacitor.It stops working long time after the capacitor charges completelly... It has a ripple noise of around 100mV... There are also some 300mV spikes..
I don't understand this bit. Until the capacitor charges, the processor does not have full VCC voltage, right? So it shouldn't be working before it charges. And you are saying it doesn't work *after* it charges. So it doesn't work at all, basically?