Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
21 Dec 2022 22:03 #260042 by scotta

Hello,
I am eager to know what is the fastest stepgen rate STM32F4 board support.

Remorea-flexi-hal is running at 120khz by the looks.

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

More
31 Dec 2022 19:44 #260674 by TimGow
Hello Scott,
Thank you for providing Remora; I suspected that there was a sensible way to create a motion controller, great job.

I have had an MKS SBASE v1.3 on the shelf for a couple of years and would like to utilise it for Remora.  The chip is LPC1768FBD100.
In 'github.com/scottalford75/Remora/Firmware/FirmwareBin' there is SKRV1_4 but no MKS SBASE v1.3; as they are both LPC1768 chips will this firmware.bin work with the MKS SBASE v1.3?

In the documentation for MKS SBASE v1.3 there is a wire connection from RPi GPIO 25 to Px.x; I'm assuming that this is optional in case an additional pin is to read from the MKS board, is this correct?

Kind regards,
Tim

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

More
01 Jan 2023 00:12 #260688 by scotta

Hello Scott,
Thank you for providing Remora; I suspected that there was a sensible way to create a motion controller, great job.

I have had an MKS SBASE v1.3 on the shelf for a couple of years and would like to utilise it for Remora.  The chip is LPC1768FBD100.
In 'github.com/scottalford75/Remora/Firmware/FirmwareBin' there is SKRV1_4 but no MKS SBASE v1.3; as they are both LPC1768 chips will this firmware.bin work with the MKS SBASE v1.3?

In the documentation for MKS SBASE v1.3 there is a wire connection from RPi GPIO 25 to Px.x; I'm assuming that this is optional in case an additional pin is to read from the MKS board, is this correct?

Kind regards,
Tim

Hi Tim, yes. The Mks-Sbase was one of the first boards used for development. It does require some small mods to work. There is a config example in the repo

github.com/scottalford75/Remora/tree/mai...gSamples/MKS%20Sbase

Also, check out the docs for more details on the small mod needed.

remora-docs.readthedocs.io/en/latest/hardware/Mks-Sbase.html

BR
Scott

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

More
01 Jan 2023 01:22 #260690 by TimGow
Scott, many thanks.
Wishing you a Happy New Year,
Tim

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

More
02 Jan 2023 18:37 #260783 by TimGow
Hello,
I am following the Remora documentation for Linuxcnc Installation on a Pi 3B+, but I am have difficulties such as the frozen rainbow screen upon reboot.
I have tried a couple of class 10 sd cards (Transcend 8GB and Scandisk Ultra 32GB) and the Pi is powered by the official white AC power supply (low power often cited in rainbow screen problems).  This procedure is the same as linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html.

Is it appropriate to use a Pi 3B+ with the linux-image-4.19.71-rt24-v7l+ Realtime kernel?
         or just forget it and buy a Pi 4?
Is the Debian Bullseye 2022-09-22 OS appropriate for the starting point?
Is a 32GB sd card large enough?
Is there an alternative procedure to create the sd image?
 

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

More
04 Jan 2023 07:41 - 04 Jan 2023 09:13 #260900 by elovalvo

Hello,
I am following the Remora documentation for Linuxcnc Installation on a Pi 3B+, but I am have difficulties such as the frozen rainbow screen upon reboot.
I have tried a couple of class 10 sd cards (Transcend 8GB and Scandisk Ultra 32GB) and the Pi is powered by the official white AC power supply (low power often cited in rainbow screen problems).  This procedure is the same as linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html.
 

You can't use that procedure on 3B+ because the image
www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
is for Pi 4

Is it appropriate to use a Pi 3B+ with the linux-image-4.19.71-rt24-v7l+ Realtime kernel?
         or just forget it and buy a Pi 4?
 

I think you can use 3B+ but there are more updated realtime kernels

Is the Debian Bullseye 2022-09-22 OS appropriate for the starting point?
 

No, if you want to use LinuxCNC version 2.8.4. This version runs with Buster

Is a 32GB sd card large enough?

yes, 8 GB is enough to work even if 32 is obviously better

Is there an alternative procedure to create the sd image?
 

yes, for example this
linuxcnc.org/docs/html/getting-started/g...lling_on_raspbian_10

which also works on Pi 3B+ ( v71+ for armhf)

Anyway I'm preparing an image with buster and LinuxCNC 2.8.4 32 bit for 3B+, Pi 4 and Pi400[/quote]
Last edit: 04 Jan 2023 09:13 by elovalvo.
The following user(s) said Thank You: TimGow

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

More
04 Jan 2023 16:04 #260933 by elovalvo

Anyway I'm preparing an image with buster and LinuxCNC 2.8.4 32 bit for 3B+, Pi 4 and Pi400


The image can be downloaded from this link

forum.linuxcnc.org/9-installing-linuxcnc...erry-pi-3b-pi#260915
The following user(s) said Thank You: TimGow, luizdiefenbach

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

More
04 Jan 2023 21:06 #260964 by TimGow
elovalvo,
Thank you very much for your generous reply to my beginner LCNC questions and your time in providing the image.

I'm away from my CNC due to work but I will use your guidance asap.

Kind regards,
Tim
The following user(s) said Thank You: elovalvo

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

More
11 Jan 2023 13:44 #261563 by 4170-thomasnobi
Thanks for the replay.
Do you have any idea why the hardware PWM mode does not work (no response at PIN). As software PWM the PIN works. I have already tested some but everywhere the same software ok but hardware no reaction. I need 1kHz or better even more, which the software PWM does not provide. Or is a pin from Rasperry also possible to use?

    {
    "Thread": "Servo",
    "Type": "PWM",
        "Comment":             "PWM Laser",
        "Hardware PWM":     "True",
        "SP":                    0,
        "PWM Pin":             "PD_15"
    }

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

More
11 Jan 2023 14:25 #261570 by Aaroncnc
Only certain pins can do hardware PWM.
What board and software branch are you using?

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

Time to create page: 0.213 seconds
Powered by Kunena Forum