|
From: andy p. <bod...@gm...> - 2013-09-24 20:28:57
|
On 24 September 2013 20:56, propcoder <mar...@gm...> wrote: > There are so many parameters (instead of 1 actually needed IMO): > current-minlim, maxlim > current-scalemax > nvmaxcurrent > > Maybe current-scalemax should be equal to 1? The way the 8i20 works is that it is sent a signed 16-bit number, and 32768 = the max current that the drive is set to. This 16-bit number is calculated using scalemax. So if you want to set scalemax to 1, that is entirely reasonable. Then a PID output of 1 would give you nvmaxcurrent amps. The maxlim and minlim values are provided to limit the value. Bear in mind that the 8i20 uses the same driver as every other smart-serial device, and they all have exactly the same pins. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto |