Am pretty sure it's an other example where unused pin are left floating...
Microchip says.. assign unused pin as Output will be sufficient... that's s h i t. Unused input must bie tie somewhere VCC or Ground. Via resistor will reduce the current consumption.
I had that problem often in many noisy environement. What i did to solve the problem, tie unused pins to ground and assign them to inputs. PCB should have some kind of ground plane around and under to screen the MCU from external noise/spark.. call it as you want.
I also see many time PIC destroyed by the environement noise. Yup. So everybody must be tie those unused pin to somewhere....
Also be sure your voltage regulator output/input is very well spark protectected.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks