I am sure this will be an easy question for you guys.
I get the power of generating steps from hardware instead of letting LinuxCNC do it, Thats not the issue for me. I am confused about how this works on a hardware level.
How does LinuxCNC tell the hardware what to generate, or how does the hardware know?
How does HAL know if the position is reached? When we use the stepgen, "feedback" is given to stepgen (I think) to let it think the loop is closed. So how does the loop close with hardware generators?
I have been pondering over this ever since I read about it, and since I have yet to come across the answer, I guess its time to ask.