makerbase-mks / MKS-RUMBA32

MKS RUMBA32 is modified in Aus3D RUMBA32 version and a powerful 32-bit 3D printer control board with STM32F446VET6 , The main frequency is 180MHZ. Support Marlin2.0 , support MKS LCD12864B/MINI12864/2004/12864, support MKS TFT24/28/32/35/70 Screens. The motherboard integrates 6 AXIS interface, integrates SPI / UART interface…
16 stars 15 forks source link

X,Y,Z Endstops not triggering #16

Closed SaluzInside closed 4 years ago

SaluzInside commented 4 years ago

I'm experiencing issues with X_min, Y_min and Z_min that are not triggering when the switches are hit. I've just swapped from RUMBA to RUMBA32, where on the old board the switches are working fine.

If I execute M119 I always have:

Reporting endstop status
x_min: open
y_min: open
z_min: open

with or without the endstops switched or even if disconnected. On the old RUMBA, with the endswitches disconnected I have (as expected, as the switches are NC) :

Reporting endstop status
x_min: TRIGGERED
y_min: TRIGGERED
z_min: TRIGGERED

To try to better understand the issue, I ran the M43 - Debug Pins command: N15 M43*32 ... PIN: PB12 M42 P28 X_MIN_PIN protected ... PIN: PB15 M42 P31 Y_MIN_PIN protected ... PIN: PD9 M42 P57 Z_MIN_PIN protected ...

and enabled M43 E1 - Watch endstops command:

N16 M43 E1*119
endstop monitor enabled

but nothing is logged no matter the switches I test.

Everithing else seems is working fine (temps probes, TMC2209, axis movements, graphics display + TFT35, etc etc). I've tested multiple Marlin versions (always built with MS VS Code + Platformio):

  1. Marlin-bugfix-2.0.x (from MKS GitHub https://github.com/makerbase-mks/MKS-RUMBA32/archive/master.zip), built AS-IS
  2. Marlin-bugfix-2.0.x (updated, from Marlin GitHub)
  3. Marlin-dev-2.1.x (from Marlin GitHub)

always with the same results: none of the endpoints are working.

Any Ideas?

Thanks in advance, Federico (Italy)

SaluzInside commented 4 years ago

I have realized that the issue was related to the StepSticks I'm using, MKS TMC2209 v2.0, where DIAG Pins conflicts with the endswitches.

As I'm not interested in SENSORLESS_HOMING, I've removed/desoldered the pins from the StepSticks and now the EndStops are triggering as expected.

Thanks, Federico