On 04/02/2018 09:36 PM, Chris Albertson wrote:

How to generate pulses with 50nS jitter? Use hardware, not software. The uP has 10 hardware counter/compare timers built in and you can
program them to divide down the a 1MHz clock.
If you have a 1 MHz clock, then you can't have any pulses with finer resolution than 1 us. So, a 100 KHz step pulse train will have an ~10% velocity jump to go to the next faster or slower velocity.

My Universal Stepper Controller has a 10 MHz clock to the step generators, so that has 100 ns resolution. I recommend a 300 KHz maximum step rate with it, so the next higher or lower velocity is about a 3% jump.

Jon

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to