-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dual X / Y breaks E0 motor direction #16973
Comments
I think I have confirmed this is a bug. |
Thanks for your investigation! Is this something that can be fixed in the near future? Or is there more pressing issues to fix first? |
have patience, I've only just begun to look into this!
|
The brightness of the LED I have on X2_DIR_PIN is not on or off, but something else. I suspect this pin is not getting initialized and is still in input mode. |
You have #define SERIAL_PORT 2 in Configuration.h
X2_DIR_PIN is P0_11, Ie Serial2 RX!!! |
See if #16981 helps catch the issue. It checks for some conflicts at compile time. |
Thanks for your help! I have been trying to figure this one out for weeks and you figure it out in less than a day! I do have one last question for you, I would like to add the BTT TFT 35 3.0 screen to my build but it requires a serial... Which one would I want to use? Thanks again for your hard work. |
I have figured out my last question, I simply used serial 0 and everything is working as it should be for the BTT TFT 35. Before this last update, I was getting a lot of errors when trying to use serial 0. So thanks for your guy's continued work of this great piece of open source code! |
Unfortunatly I still have the same problem on my SKR 1.4 Turbo board. I am uing latest firmware. I use the TMC5160 drivers. It seems to be a firmware issue, the DIRE0 pin is always high, the connection to the LPC1769 is correct, no soldering problem. I also replaced the TMC5160 driver. I only use The serial 2 is deactivated Inside the pins_BTT_SKR_V1_4.h the configuration of E0 is correct (i assume..) #define E0_STEP_PIN P2_13 I use the E0 as dual Z, added #define Z2_STEP_PIN P2_13 It seems that the pin P0_11 is configured as input, the state is always high (3.3V), measured at the driver input. The M122 check does not show an error. The movement of the Z-Axis is correct but it moves only in one direction. I checked the M43 command: I can toggle the pin with M43 T I LP0.9 W500 Here my configuration |
@CNCmarlin is the issue still there? |
Lack of Activity |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Description
All motors function correctly except motor connected to E0 which only moves in one direction.
My Configurations
Configuration.zip
Configuration_adv.zip
Required: Please include a ZIP file containing your
Configuration.h
andConfiguration_adv.h
files.Steps to Reproduce
[First Step]
Configure marlin for dual x-axis and dual y-axis motor configuration.
[Second Step]
flash configuration onto mks 1.4 turbo board
[and so on...]
move each individual axis forward and backward
Expected behavior: [What you expect to happen]
each axis would move forward and backward
Actual behavior: [What actually happens]
each axis except the motor attached to the driver from E0 moves forward and backward, while E0 only moves in one direction.
Additional Information
in my configuration.h , I have zero extruders, I disabled min and max software endstops (I plan on using stall guard for endstops), and changed the steppers to my tmc2209. In configuration_adv.h I turned on dual x and y axis, enabled a few tmc debug and status options, and changed the voltage for my motors.
I also bought a new MKS 1.4_TURBO board and fixed none of my issues.
I have tried many things to find if this was hardware or software-related. I swapped motor wires from the E0 driver and E1 driver, the issue still affected the motor attached to the E0 driver. I swapped drivers similar to the motors wires and had the same issue the motor that was connected to E0 would only move in one direction.
Thanks for any and all help!
The text was updated successfully, but these errors were encountered: