Direction pin doesn't change state
Posted: Fri May 21, 2021 1:46 pm
I'm using UCCNC with a UC400ETH and a Gecko g540. It *almost* worked out of the box - a near 'plug and play' setup. However, the X axis only moves in one direction. I found a thread here on a similar issue that ended up being an additional function assigned to the direction pin. That does not appear to be my problem. Here's what I've done so far:
Through all of this, the actual voltage on pin 3, on either port 1 or port 2, stays stubbornly at 0.0V
Where else can I look? This limits the parts that I can make
- With the g540 disconnected, verified that port 1 pin 3 does not change voltage regardless of the axis move direction. Pins 5 and 7 behave as expected.
- Complained to CNCDrive that my UC400ETH might be bad. Got reply that they're 100% tested, and maybe it's a configuration issue.
- Found a thread here about a similar problem caused by two functions on the same pin. I manually checked for that problem, and used the pin mapping plugin to verify that there's no extra function mapped to pin 3.
- Moved X, Y, Z, and spindle to port 2. I get the exact same behavior. That should rule out a hardware problem, I think.
- Verified that the UCCNC software thinks that pin 3 is in the correct state. It shows it high when it should be, and low when it should be.
Through all of this, the actual voltage on pin 3, on either port 1 or port 2, stays stubbornly at 0.0V
Where else can I look? This limits the parts that I can make