Hello Everyone.
To begin this post, I have drawn a schematic since it is worth more than 100 words. Please find it in the attachments! If something is blaring out as a huge mistake, please let me know!
The regulator steps 5V down to 3.3V:
http://ww1.microchip.com/downloads/en/DeviceDoc/20001826C.pdfI had nothing loading the output except that ATXmega, and about 5uF total capacitance
I've used this 5V -> 3.3V setup for about a week, several hours every day without fault. Today after I plug in the programmer, it reads that the voltage is around 3.4-3.5V, so I thought no problem... HOWEVER when programming, it sets off a warning about the voltage being too high... so I probed with my fluke 115 MM... and it my programmer was not lying about the supply voltage being funny.
it was no longer that stable 3.314V I saw a week ago...
Obviously in circuits if something goes bad, it gets worse... so after investigating what happens upon reseting the microcontroller, i noticed that the voltage quickly becomes unstable, and jumps to 4.2V with no load... After about 1minute, the voltage becomes no longer stable, fluctuates about +50mV, +200mV after about 2 minutes... there is no periodic action (i checked with scope) it just randomly takes steps up or down...
Now onto the stranger part... in attempts to save the micro (which tolerates max 3.6V I believe ) I shorted the output of the regulator to ground... and that fixed it... for the next 5 minutes until the same thing started happening again.
I attempted to reduce load capacitance down to 2uF with the same phenomenon still occuring... I also added 3.3K resistor to load the output of the regulator even when microcontroller is reset, still with no help.
What did I do wrong/am doing wrong?
Thank you for any help!!
EDIT: Here are some snapshots of the signal from a cheap USB scope. These were all at different times. I wasn't touching the circuit or anything... just breathing.