- Posts: 12169
- Thank you received: 4153
Please Log in or Create an account to join the conversation.
Hi PCW,Note that none of the stepgen pins needs any changes
as they are addressed as stepgen 0..4 in the hal file
not by pin number so there are only a few GPIO changes
needed (1/14 - GPIO 0,1 and 16/17 = GPIO 5/7)
There's a lot of Tormach specific code on the hal file that
IMHO is best removed (especially the shared probe/limit pins
and the spindle control stuff)
You will also need to delete all the step output inversions
since the G540 has active high step inputs:
# P3 pin 3 gpio 004
# X step
setp hm2_[HOSTMOT2](BOARD).0.gpio.004.invert_output 1
^^^^^^^^^^^^ delete all lines like this
This is using a deprecated (GPIO dependent) way to invert the step outputs
but you dont want inversion at all
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.
Please Log in or Create an account to join the conversation.