FYSETC / FYSETC-ERB

This is dedicated controller board for VORON ERCF (EnragedRabbitProject)
44 stars 6 forks source link

What is P1.27? #8

Open thisiscam opened 10 months ago

thisiscam commented 10 months ago

Hi,

I wonder why the config says

#diag_pin: ^P1.27      # Set to MCU pin connected to TMC DIAG pin

https://github.com/FYSETC/FYSETC-ERB/blob/main/config/ercf_hardware.cfg#L47

The X_DIAG appears to be connected to ercf:gpio13 so shouldn't this be:

#diag_pin: ecrf:gpio13

?

slightlysketch commented 7 months ago

It’s pin gpio19 If youre using the board for an ERCF it’s ERCF:gpio19

granted if you swap the motor and selector motors around and change the pin sets for everything and sort out the confit you can end up using the sensorless homing for the tool head sensor which eliminates an issue with using random tool heads that aren’t made for this, as getting a sensor and a bad hall sensor at that, into small spaces is a nightmare and I couldn’t for the life of me figure out how to disable using a tool head sensor without breaking other macros.