- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
- Krimbles13
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
04 Apr 2025 10:14 - 04 Apr 2025 10:18 #325667
by Krimbles13
Replied by Krimbles13 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hey,
sorry to bother you with this but i can't get this to work and i'm kinda frustrated.
I can't get out of e-stop and get a bad spi payload = 646174
My hardware:
Raspberry Pi 4B
BTT Octopus Pro v1.1 with stm32f446
TMC2209 Drivers with jumpers in SPI mode
I did the wiring acording to the docs and also the installation.
With cutecom i get the output in the attached file for the octopus xyz.hal.
SPI and UART are activated on the Pi and i already did a rewiring of the whole thing.
I'm tottaly new to LinuxCNC so i would really appreciate your help on this.
Thanks! peter
sorry to bother you with this but i can't get this to work and i'm kinda frustrated.
I can't get out of e-stop and get a bad spi payload = 646174
My hardware:
Raspberry Pi 4B
BTT Octopus Pro v1.1 with stm32f446
TMC2209 Drivers with jumpers in SPI mode
I did the wiring acording to the docs and also the installation.
With cutecom i get the output in the attached file for the octopus xyz.hal.
SPI and UART are activated on the Pi and i already did a rewiring of the whole thing.
I'm tottaly new to LinuxCNC so i would really appreciate your help on this.
Thanks! peter
Attachments:
Last edit: 04 Apr 2025 10:18 by Krimbles13.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 849
- Thank you received: 248
04 Apr 2025 18:54 #325704
by cakeslob
try doing it without the drivers configured in SPI, but they should also probably be configured with UART instead if they are 2209. The Remora Octopus firmware doesnt support SPI drivers anyway. If you are planning to use TMC2209 drivers, they need to be configured in the config.txt file.
how long is the cable that connects the octopus to the rpi? Also what RPi? I dont think you need to have SPI enabled in the RPi software either. Your serial output looks perfect though, but you will need to configure the TMC drives.
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
TMC2209 Drivers with jumpers in SPI mode
try doing it without the drivers configured in SPI, but they should also probably be configured with UART instead if they are 2209. The Remora Octopus firmware doesnt support SPI drivers anyway. If you are planning to use TMC2209 drivers, they need to be configured in the config.txt file.
how long is the cable that connects the octopus to the rpi? Also what RPi? I dont think you need to have SPI enabled in the RPi software either. Your serial output looks perfect though, but you will need to configure the TMC drives.
Please Log in or Create an account to join the conversation.
- Krimbles13
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
05 Apr 2025 04:49 #325745
by Krimbles13
Replied by Krimbles13 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
My cables are ~3in/7,5cm long and i use a Rpi 4b with the official LinuxCNC image.
Tried it with the jumpers in UART mode and the config from below, still the same error.
It tries to connect to the TMCs but fails according to the debugging.
Maybe my pin names for the rx pins are wrong but i can't find them in the BTT docs, only the CS pins are there.
.
Tried it with the jumpers in UART mode and the config from below, still the same error.
It tries to connect to the TMCs but fails according to the debugging.
Maybe my pin names for the rx pins are wrong but i can't find them in the BTT docs, only the CS pins are there.
.
Attachments:
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 849
- Thank you received: 248
05 Apr 2025 15:16 #325767
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
There needs to be motor power on for the TMC drives to configure. the CS pins are the Rx pins, but leave them in uart mode. the TMC spi is on the same channel as the comms SPI so idk what will happen if they interfere or something.
but first step is working out comms
does it connect to linuxcnc yet with the drivers in uart?
but first step is working out comms
does it connect to linuxcnc yet with the drivers in uart?
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Time to create page: 0.134 seconds