L297 and L298 problems

Hi LMRians!

I do not know how should i chose the amount of resistors needed for the currents sense pin of both L297 and L298! It seems that they control the amount of current flows through the winds of the connected stepper motor. right? but how much resistance they need? Surley, it is related to the stepper motor. how is it related mathematically?

Moreover, in L297, What is the pin Vref? How it should be used and what is its application? How the voltage should be chosen? (I don't know what is the chopper circuit in this IC)

Thanks,

Start by reading the

Start by reading the datasheet. There is an according application information shown.

I have read the datasheet!

I have read the datasheet! there is not enough data about my questions! or not understandable for amatures like me!