- Posts: 959
- Thank you received: 0
Remora - Rpi Software Stepping Using External Microcontroller via SPI
Cncninja wrote: Yep got it loaded, do i still now need to open a terminal with it running and load loadrt [KINS]KINEMATICS and so on?
No, just run LinuxCNC and select the config you would like to run.
Please Log in to join the conversation.
Cncninja wrote: SKRv14_TMC2209/config.txt I'm unable to find this sample only skr1.3 I'm running the 1.4 turbo with 2209s
Thanks
For the TMC2209 you will need to use the TMC_testing branch for both the firmware bin and config.txt
github.com/scottalford75/Remora/blob/TMC...LPC1769/firmware.bin
github.com/scottalford75/Remora/blob/TMC...4_TMC2209/config.txt
Please Log in to join the conversation.
Please Log in to join the conversation.
for one, after creating the rPi image on the uSD, I mount the rootfs partition and get Remora into the home/pi directory. THEN I switched to the TMC_testing branch, make sure it is updated and then copy out the SKR controller firmware.bin file and the config.txt file. You must have the proper firmware and config.txt files on your other uSD card which you put into your controller.
The other important thing is when you boot your rPi, you open a console/terminal and go into the LinuxCNC directory where remora.c is and you run halcompile command from there.
Change where I used the ender3 config to the remora-xyz config and it shoiud work if you got your SPI cable working correctly.
Please Log in to join the conversation.
It gives you info about the configurations if it loaded it or if there are errors.
Secondly for me it takes 2 hits of my e stop to bring up my machine. If you run linux cnc from terminal take a look at the what happens when you hit the estop.
And paste it here.
In the mean time make a simple config. No encoders or pid temp sensor just simple 3 axis.
Please Log in to join the conversation.
Cncninja wrote: I've made great progress but got a bit stuck. Thanks for all the help i downloaded the 64bit img from Doogie post with 2.9.0 pre-loaded. i followed the documentation to git clone Remora and HAL compile. i moved the XYZ sample Configs/sim axis folder loaded Linux cnc and picked the Remora XYZ example. Linux CNC loaded up and says axis.ngc-AXIS 2.9.0~pre0 on Remora-XYZ. For the SKR side i Downloaded the Config.txt for the skr1.3 and firmware bin for the LPC1769 copied to a fresh SD card and installed i hooked the SPI up per the DOC ( i did not hook up the serial monitor). Powered both up and Linuxcnc seams to be stuck in estop. I tried the new firmware and config for the 2209 and same response it seams to be locked into estop looking at the HAL meter Remora status shows false. I did notice the Firmware file on the SKR sd card switched to a Cursor file type. Is there anything else i can check? thanks again for your help and work on this.
This was me a few pages back, scott walked me through, but hooking up uart is helpful. Load basic everything and go from there. Strip your config to everything except reset and maybe basic stepgen and work from there.
Stripped my config file to something like this
Then started with remora-xyz, and work from there.
Please Log in to join the conversation.
thanks
Please Log in to join the conversation.
BR
Scott
Please Log in to join the conversation.
Please Log in to join the conversation.
Trying to set up a small BLDC/encoder with driver for axis, using aarons config as reference. The encoder is 100ppr, 2 channels. Max Rpm is 3000-6000. Im getting a little confused reading through the 2 github threads, is 100ppr/2channels going to be too much?
github.com/scottalford75/Remora/issues/12
github.com/scottalford75/Remora/issues/13
The pinout
PWN - pwn, 0v is max rpm, 5v is 0rpm
RUN/BRAKE - i/o output
CW/CCW - i/o output
EN_A - encoder count
EN_B - encoder count
, so encoder config looks straight forward, but how do I do the control pins? Am I hooking up PWM to a servo pin and then RUN to x enable pin? How can I handle the cw/ccw output io?
Please Log in to join the conversation.
