Commit 168a470
committed
motion: drive joint.N.index-enable only on edges
joint.N.index-enable is a HAL_IO pin: homing writes 1 to arm an index
search, the encoder driver writes 0 to clear it on the index pulse.
base_write_homing_out_pins wrote it every servo cycle, clamping a pin
homing does not exclusively own and holding it low after homing finished.
That fights any other writer on the signal. Netting it to
spindle.N.index-enable breaks G33/G33.1: idle homing overwrites the
spindle's sync request low and the move rapids instead of waiting for
the index.
Drive the pin only on homing's own edges (arm on rising, release on
falling) and otherwise leave it for the encoder to clear.1 parent 057ecf6 commit 168a470
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
562 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
563 | 573 | | |
564 | 574 | | |
565 | 575 | | |
| |||
0 commit comments