Remora - Rpi Software Stepping Using External Microcontroller via SPI

  • AlessandroEmm
  • Away
  • Junior Member
  • Junior Member
More
17 Feb 2026 18:30 #343101 by AlessandroEmm
Hey there

After having successfully used a NVEM flashed Remora via Ethernet for a while, I want to use an old 3d printer board (SKR E3 Mini v2.0) via SPI for my Plasma. It took me a while but eventually i got it to respond correctly via UART, and am currently sitting at

Starting the SERVO thread
Registering interrupt for interrupt number = 28
        power on Timer 2

## Entering IDLE state


Problem is that I struggle to make any communication via SPI. I think I triple checked every wire. As the SKR Mini Configuration in the repo seems to be for a version 1.2 of the board i modified the pins both in the firmware and config.txt, taking care of not using anything that may conflict with other function. But so far no nothing. 

Is there any way to approach debug/test anything further to narrow down why the comms doesn't seem to work?

Thanks a lot,
Alessandro

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

More
17 Feb 2026 18:49 #343104 by amanker
You should post complete serial console output. It will make diagnosis easier.
You should start LinuxCNC from terminal. And terminal window what msg you get when you press estop button in lcnc gui. Is it spi_payload = 0 or something else?
Did you compiled and installed remora-spi lcnc component from same repository?

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

  • AlessandroEmm
  • Away
  • Junior Member
  • Junior Member
More
17 Feb 2026 19:20 - 17 Feb 2026 19:48 #343109 by AlessandroEmm
Not really sure whats going on now as I run into segfaults. I havent changed a thing on linuxcnc side, i just changed the config.txt on the SD Card

line 977: 2610 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS

Before that I haven't seen anything in the terminal or anywhere, thats why I'm a bit puzzled. Yes I compiled it from main branch, using OS6 Version for the Firmware and likewise for the hal component.

Is there a way to just test it with the halcmd? I tried loading the remora component, but struggle beyond. Show pins shows no active session.

Both the debug file and the regular logfile are basically empty with no specifics concerning the error.

Thanks!
Last edit: 17 Feb 2026 19:48 by AlessandroEmm.

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

  • AlessandroEmm
  • Away
  • Junior Member
  • Junior Member
More
17 Feb 2026 20:13 #343113 by AlessandroEmm
So in the meanwhile, without working UI I tried to test comms with halcmd.

Does
4 bit IN TRUE remora.SPI-enable
4 bit IN TRUE remora.SPI-reset
4 bit OUT TRUE remora.SPI-status

actually mean there was some comms? UART doesnt show anything though.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum