To match motor current:
1. Select sense resistors to roughly fit desired motor current
2. You can adapt Globalscaler in a range of 128..255 (preferred range) to reach maximum desired application motor current with CS at 31.
Leave these values fixed for the application
3. CS is more for situation adaptation. Also CoolStep uses CS. Therefore it is best, if CS remains relatively high.