How do I design the maximum current curve for a stepper motor?
The \$L6470H\$ controls the current in the motor indirectly by means of the voltage motor, then setting these values you are specifying the desired maximum torque the motor should deliver at each driver state.