I'm gonna consider that. I'm also going to check my codeHave you tried using pull-up resistors on the MCU's pins? It's possible that somehow too much current is being demanded from the chip, and it's behaving strangely because of that.
A good value for that would be 4.7k