Well seems like I got it working, I was using the USB to power the 5V to the atmega1284p and the 5v of the pololu driver, switched to the 5V of the PSU and then the stepper started to sing so I shut off the PSU then put in the Multimeter inline with the coil and fired it back up, the meter then stayed stable so I adjusted the pot to 0.7 amps and then hooked it up to the uC digital pins D2 + D3 and ran the sample code.
The stepper happily started spinning at a steady rate.
I left it running to check to see if the 4988 was getting hot but was chilled to the touch.
So I left it running for a few seconds and then it started to sputter and jitter then stop.
Flicked off the power supply for a few seconds then hit it up again and the motor started to spin again but for a shorter amount of time, then the sputter, then jitter then stopped.
Motor never gets hot same with the stepper driver.
Have you seen anything like this before?
Checked the data lines from the uC and see the data flowing with the scope.
See power on the 12V rails and 5V rail.
checked voltage on the sleep/reset pin while running there is just under 5v there, when it quits there is 0.3v.
The stepper coil pins have 0.015v on them when it quits.
Is the driver going into a fail safe sleep of some sort from a problem?
When I put the scope on the stepper coil pins it shows no pulse action just flat lines. when it cuts out and when it’s jittering you see it pulse spastically.
*just to note I noticed I didn’t have the enable pin on digital pin 4 (had it set to GND) so I change that from this picture and it still did the same thing.