Hello all!
I was doing some basic testing with my at90can128 today. By basic I mean turning on and off pins (controlling a relay board (fully isolated with optocouplers)), and sending PWM signals to servos (the servos were on a different powersupply, so no high current draw from the main board)).
It was all going well until I realized the signaling LED's on PORTG started to randomly flash, the relays started to randomly turn on and off... for first I thought it was the code, but it wasn't...
Throught 1 hour of debugging, I've tried simple code like turning just the PORTG on and off, tried another powersupply, erased the flash, ext.
What could have cause for my microcontroller to "freak out" like that? Maybe the boards powersupply, crystal?
Thanks!