Hello, I was thinking about using a PandaPi with a RPI and running LinuxCNC and not Marlin. Basically using it as a GPIO Break Out Board / Cape.
I already have a bigtreetech SKR 1.4 Turbo running TMC2209 drivers for a dual extruder and essentially an upgraded CR-10S.
Just wondering if there are any specific things (settings) that the PandaPi is looking for from Marlin
(in case you do not know Linuxcnc runs a realtime patched kernel and provides RT step and dir signals).
Just wondering if this is possible, or there is something which will prevent using the PandaPi without marlin?
Thanks for your time
Pi communicate to MCU via I2C in pandapi mode(run marlin in PI), via UART in Klipper mode. and the firmware in the MCU also are different for pandapi mode and klipper mode. if you want to use as klipper firmware, you may need to see the klipper code or document, or you can write you own firmware.
actually I've solved 2 out of the three issues.... gpios are accessible from linuxcnc.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/hal_pi_gpio_demo.hal
and I can send data to an lcd
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/lcd.c
how would one communicate with the MCU for access to the MCU I/Os (touch sensor, fans etc)
I am going to buy a board and give it a go out of curiosity.
I have a question about how klipper works with the board.
klipper sends motion control signals to the MCU, and then the MCU provides the step and dir signals to the drives.
what is the library that kiper uses to send the motion control packets via uart to the MCU?
linuxcnc + raspberry pi 4B seems not to have very good base thread latency 25uS, although the servo thread is fine 1khz.
the base thread allows for motion control directly by the board (step and dir via RPI gpio pins) and the servo thread could be used to buffer motion data and transmit it to the MCU which could then do the step and dir signalling
I am going to buy a board and give it a go out of curiosity.
I have a question about how klipper works with the board.
klipper sends motion control signals to the MCU, and then the MCU provides the step and dir signals to the drives.
what is the library that kiper uses to send the motion control packets via uart to the MCU?
linuxcnc + raspberry pi 4B seems not to have very good base thread latency 25uS, although the servo thread is fine 1khz.
the base thread allows for motion control directly by the board (step and dir via RPI gpio pins) and the servo thread could be used to buffer motion data and transmit it to the MCU which could then do the step and dir signalling
sorry, I have not use the linuxCNC before, but I think it's possible to run that with PandaPI, need to porting the lib of wringpi and change some other linux code.