I am programing a MC9S08GT16A to operate an allegro driver turning on a 12 v driver. At random times I get a reset. By disabling stop mode seems to make the internal resets less common but they still happen. I can not find a maximum current draw on the allegro part but the freescale data sheets says it can source upto 25 mA. Just before an interupt occurs the output on the motor driver drops. I am pretty sure this is a hardware isssue but I need some input on what is going on.