Hello,
I made PICstep driver with FW with torque compensation but this SW not work. FW without compensation worked but if I testing max rpm i working gut only one side rotation.
I write my own FW. I lost many months development, because bug is mainly in datasheet for LMD18245. Very difficult is timing algoritmus for generating outputs for bridge.
Unfortunately my driver is comercial project and I cant public source code for PIC16F628.
My driver is public on my web http://www.cncnet.info/view.php?naze...nku=2006050002
Parameters Bistep:
-------------------------------
microstepping: 1/2 1/4 1/8 1/16 for step
input frequence: 45kHz
optocouplers on inputs compatible directly with LPT
current settings: 0.5 - 3A step 0.5A
DC supply: 12-48V...driver has on board step-down converter for 5V logic
timeout: is not implemented
By testing this driver with bipolar motor 3V/1.5A rotate above 1500rpm with full strong.
Pinout PIC16F628A with my FW is compatible with original version Picstep.
RadekCX