- Posts: 23
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Replied by andypugh on topic Trying to get Mesa 5i25 to generate steps for G540
PortlandGTS wrote:
setp hm2_5i25.0.stepgen.03.steplen 1
setp hm2_5i25.0.stepgen.03.stepspace 0
PCW has already pointed out that this is the problem. But I thought I would explain what has happened.
Stepconf uses the parallel port "reset" function to create the step pulses. This is a bit of code that runs a fixed number of nS after the parallel port write, and writes 0 back to any pins with the reset flag set.
This means that the system can create a step pulse every base period, rather than every two base-periods.
In this scenario the actual step pulse length is set by the reset time, and the step space length is simply the rest of the base period time. The step length and space are set to nominal values so as not to interfere with this timing.
In the case of a FPGA card, it really can do a 1nS pulse length, but that won't operate the drive. So you need the real pulse and space lengths in those parameters.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.