Giter Site home page Giter Site logo

Comments (14)

dresco avatar dresco commented on August 30, 2024

I'll get a logic analyser hooked up to my SKR3 board and investigate..

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

Sorry, another typo, just pushed a fix;

diff --git a/Src/driver.c b/Src/driver.c
index 3e41828..49777d3 100644
--- a/Src/driver.c
+++ b/Src/driver.c
@@ -615,7 +615,7 @@ inline static __attribute__((always_inline)) void stepperSetDirOutputs (axes_sig
     dir_outbits.mask ^= settings.steppers.dir_invert.mask;
     DIGITAL_OUT(X_DIRECTION_PORT, X_DIRECTION_BIT, dir_outbits.x);
     DIGITAL_OUT(Y_DIRECTION_PORT, Y_DIRECTION_BIT, dir_outbits.y);
-    DIGITAL_OUT(Y_DIRECTION_PORT, Z_DIRECTION_BIT, dir_outbits.z);
+    DIGITAL_OUT(Z_DIRECTION_PORT, Z_DIRECTION_BIT, dir_outbits.z);
  #ifdef GANGING_ENABLED
     dir_outbits.mask ^= settings.steppers.ganged_dir_invert.mask;
   #ifdef X2_DIRECTION_PIN

The outputs look correct to me with that applied?

G0 X10
G0 Y10
G0 Z10
G0 X0
G0 Y0
G0 Z0

image

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

Missing M4, i'm using 4 axis XYZA plus Y2 on M4.

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

Ok, reconfigured for N_AXIS=4 plus ganged Y, still looks good here?

G0 X10
G0 Y10
G0 Z10
G0 A10
G0 X0
G0 Y0
G0 Z0
G0 A0

image

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

Hello Dresco,

I have updated the SKR3, now the Z axis is moving in both way, but the Y2 is stuck in one direction. I tried to remove the A axis, so Y2 is now on M3, but same result.
Before A axis direction was working.

This is very strange, I have Ganged axis & Auto square, I'll try without auto square.

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

Just for reference, these are the symbols I have defined (building latest master with no other updates);

image

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

I reload the Git, use your symbols, the Y2 dir pin seems to stay in input mode, I get 3.0V with multimeter, on Y dir pin I have 0.0V or 3.3V

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

Strange, here is my binary - is that any different?
grblHAL Driver STM32H7xx.zip

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

Hello Jon,

My bad! The copper in the direction wire was broken! Thanks for your help, the router is working, now I have to test the dual spindle and the probe.

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

The copper in the direction wire was broken! Thanks for your help, the router is working

Good news! Thanks for the update..

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

Here is the router !!

IMG_20221208_162725

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

Thanks to you, I use now my 8 port logic analyser :-)

from stm32h7xx.

dresco avatar dresco commented on August 30, 2024

Cool, glad it's working for you! I keep wondering about putting a diode laser module on mine as a 2nd spindle, would be interested to hear how you get on..

from stm32h7xx.

JoachimF avatar JoachimF commented on August 30, 2024

from stm32h7xx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.