Is there a way to change the step pulse width?
Posted: Wed Aug 04, 2021 6:01 pm
I have a problem. I am trying to use UCCNC with a servo motor but it seems like the pulse width is too short if I have a kernel frequency of 200kHz, which I have happily used with my steppers for many years now. The servo requires a minimum of 2.5µs and that can only be done if the kernel frequency is set to 100kHz. I measured the pulses and it seems that 400kHz = 1.2µs, 200kHz = 2.5µs and 100kHz is 5µs. I suspect my oscilloscope did not measure with the best accuracy, so at 200kHz it can be (probably is) slightly less than 2.5µs which is why the servo is not turning at all in that case. Setting to 100kHz solves this, but I'd like to use 200kHz just like before.
Can this be solved somehow? Or is the only solution if I make a pulse stretcher circuit which extends the pulses to meet the minimum requirements of the servo? I know in Mach3 the pulse width can be set in the configuration, so why can't we do that in UCCNC?
Can this be solved somehow? Or is the only solution if I make a pulse stretcher circuit which extends the pulses to meet the minimum requirements of the servo? I know in Mach3 the pulse width can be set in the configuration, so why can't we do that in UCCNC?