Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
06 Apr 2025 21:16 #325838 by Krimbles13
Thanks a lot, it kinda works now or at least i can move the motors. Only weird thing is motor0 and motor1 aren't working but the other 6 do, so that's a good thing i guess.
Oh and sorry again for my stupid questions.
see ya

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

More
06 Apr 2025 22:06 #325843 by cakeslob
What part worked?

The motors will move even if the TMC doesnt configure. motor0 and motor 1 are connected to the same output buffer, if the buffer is damaged motors0 and 1 wont get the enable signal it looks like

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

More
07 Apr 2025 08:28 #325859 by Krimbles13
Ah okay, so just because the motors are moving doesn't mean the firmware configured right?
So the problem is still there

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

More
07 Apr 2025 14:11 #325865 by cakeslob
If there was an issue with the motor0/1 not working at all, that could explain why the TMC drives werent working but maybe not. Just start up and check the remora serial output as you have been doing, and look for " TMC drivces OK" or something like that.

If the TMC drives dont get configured, they load the default settings, so your microsteps and current might not be what they are supposed to be.

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

More
07 Apr 2025 15:35 #325868 by Krimbles13
Even on the other motor ports the TMCs aren't responding.
The serial output didn't change.

 

File Attachment:

File Name: Debugoutput.txt
File Size:3 KB
Attachments:

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

More
07 Apr 2025 19:00 #325880 by cakeslob
Hmm I see the level shifter for the UART pins on the PRO is not present on the regular octopus v1.1(where i tested more stuff). I am having issues with another board that has a level shifter on the UART, so I will ask around if its working and test out this week and will report back

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

More
08 Apr 2025 01:32 #325892 by cakeslob
Hmm ok that confirms it. I did most of my octopus functionality testing on the octopus v1.1, I didnt like the buzzer on the pro. The octopus PRO has level shifters on the UART lines. When I jumper the TMC UART line to another pin, it configures fine. That is the only thing I can think of. But this overlaps with another issue Im having with another board, that also has a level shifting circuit on the UART line.

Scott, if you can provide input/assistance on this issue, it would be appreciated.

Im trying to support this mellow flyCDY3 board, but the uart isnt working. I tried changing the baudrate, but no luck. Thankfully my buddy mdroberts is much smarter than me, so he collected some data for me on the issue.

It looks like i cant upload the excel file he made, but here is what he said

Further to the TMC2209 read-back. I used the scope UART decode feature to confirm that the programmed values sent to the TMC2209 seem reasonable and consistent with the registers, but the TMC2209 doesn't put any data out after a register read is requested. The sequence after resetting the board is provided in the attached.

I just don't see any output from the 2209 when a register read is done.

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

More
11 Apr 2025 16:52 #326087 by Krimbles13
So nothing i can do against it right now? :/
 

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

More
12 Apr 2025 23:42 #326200 by scotta
For those who may be interested. I've updated the remora-spi component to now interrogate the device tree to determine the hardware being used.

github.com/scottalford75/Remora/tree/mai...omponents/Remora-spi
The following user(s) said Thank You: cakeslob

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

Time to create page: 0.120 seconds
Powered by Kunena Forum