Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
1 year 6 months ago #325808 by Krimbles13
Sorry for the supid question but how do i check for that?
Sorry, this is my first time working with linuxcnc and remora.
Just for info, i'm using the ini and hal from the remora-octopus sample
 

File Attachment:

File Name: config-tmc...4-06.txt
File Size:1.43 KB
 

File Attachment:

File Name: consoleoutput.txt
File Size:754 B
 

File Attachment:

File Name: debugoutpu...TMCs.txt
File Size:3.38 KB

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

More
1 year 6 months ago #325819 by cakeslob
Hmm yeah the TMC drivers arent configuring, but that shouldnt be related to the SPI comms. Just remove the drivers until you can get it to connect.

The serial output looks good, and there is SPI stuff happening hmmm

in your halfile, try replacing this line to this line
Code:
loadrt remora-spi SPI_clk_div=32 PRU_base_freq=40000
The following user(s) said Thank You: Krimbles13

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

More
1 year 6 months ago #325826 by Krimbles13
Oh my god, thank you, it worked.
So I can get out of e-stop now, but my drivers are still not responding, but one thing at a time.

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

More
1 year 6 months ago #325830 by cakeslob
ok good,
the octopus you need to have power on the 2 spots in the power rail, the motor power and the main power

the jumpers so the 2209, i think there should just be the 1 jumper

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

More
1 year 6 months ago - 1 year 6 months ago #325832 by Krimbles13
Done that already and the thing i don't understand is, there is a current on the VS(24V) and the VIO(5V) pin of each driver but it still fails on the boot.
Also tried to use some TMC2209 v1.2 instead of the v1.3 i wanted but still no change.
Last edit: 1 year 6 months ago by Krimbles13.

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

More
1 year 6 months ago #325834 by cakeslob
Alright, the only other thing that stands out is the config. Im not sure if it would make an issue thought, but try anyways I guess. Flip around the order, not sure if it matters but I havent tested the other way.

Also, try hitting the reset button after stuff it booted, see if it does something
Code:
{ "Thread": "Base", "Type": "Stepgen", "Comment": "X - Joint 0 step generator", "Joint Number": 0, "Step Pin": "PF_13", "Direction Pin": "PF_12", "Enable Pin": "PF_14" }, { "Thread": "On load", "Type": "TMC2209", "Comment": "X - Joint 0 TMC driver", "RX pin": "PC_4", "RSense": 0.11, "Current": 800, "Microsteps": 16, "Stealth chop": "on", "Stall sensitivity":0 },
The following user(s) said Thank You: Krimbles13

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

Time to create page: 0.162 seconds
Powered by Kunena Forum