Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
1 year 1 month ago #334826 by amanker
Update: limit switch working. As pointed out by scotta, it was defined as home switch not limit switch.

But still no sign of energy in steppers. Always joint following error.
Serial terminal don't show anything

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334844 by scotta
Is that the config file you have loaded? There are no TMC5160 driver configuration in your config. For each stepper you need to load a stepgen, as you have done, as well as configure the TMC driver. I'll share a config over the weekend.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334845 by Gusgus
Hi!
So the cnc is now moving and it was the SPI cable shielding!!! Thank you Scotta and tommylight!!!

But now we have another, issue, we are using 2 stepper motors for the Y-axis each of the stepper motors is connected to one stepper driver and we have the config setup in a way so that joint 1 pulses both, but that doesn't seem to be happening, only on Y motor moves, and the x axis moves as well, the z axis actually just doesn't move at all.
 

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334857 by scotta
Hi, LinuxCNC is very capable of handling this configuration with 4 joints and a X Y Y Z configuration. Check out the config below for my 3D printer that has dual Z axes.

github.com/scottalford75/Remora/tree/mai...figSamples/hypercube

The two joints won't jog together until they have been homed. I've found that out the hard way...
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #334859 by amanker
As I mentioned. First I am trying to test it with a4988/drv8825 drivers. That's why I didn't loaded tmc5160 modules. Testing it in step/dir mode only

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago - 1 year 1 month ago #334898 by scotta
I've tried to run your config. Firstly corrected

BASE_PERIOD = 1000000
SERVO_PERIOD = 5000000

to

BASE_PERIOD = 0
SERVO_PERIOD = 1000000

You config also seems to be setup for imperial yet using mm?

I can jog with that above correction without following errors.

For your DRV8825 have you added the micro stepping jumpers? The DRV8825 wont enable without this, which I tried on my SKR3EZ. I unfortunately killed my normal SKR3 so cannot test with that board.
Last edit: 1 year 1 month ago by scotta.

Please Log in or Create an account to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum