g2 shield m1_step pin is attached to DUE pin 2.
Arduino DUE pin 2 is low current pin. Max current output is 9 ma.
When step frequency getting high, stepper driver is not saturate enough!
My offer is use SAM3X8E C Port for maximum secure stepping. C Port Pins is power current output.