- Posts: 1
- Thank you received: 0
Remora - Rpi Software Stepping Using External Microcontroller via SPI
1 year 1 week ago #336754
by fatih.d
Replied by fatih.d on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi all, first post.
Could anyone point me to the right direction about using a 446 based board (Fysetc S6) with no SD card slot?
What would be the best, going with static config approach (I don't know how to do it or use which version/fork) or using an SD card adapter and have them talk over SPI? Using SDIO/SDMMC interface would not be so straightforward I guess.
Many thanks to those who made this project real. It was a fun read and I've learned so much. (Not a software guy)
Could anyone point me to the right direction about using a 446 based board (Fysetc S6) with no SD card slot?
What would be the best, going with static config approach (I don't know how to do it or use which version/fork) or using an SD card adapter and have them talk over SPI? Using SDIO/SDMMC interface would not be so straightforward I guess.
Many thanks to those who made this project real. It was a fun read and I've learned so much. (Not a software guy)
Please Log in or Create an account to join the conversation.
1 year 1 week ago #337017
by Fred2560
Replied by Fred2560 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Is QEI working ?
I have a RPI 4 SPI connected to a BLACK_407VE and an encoder with index connected to PE9, PE11, PE13. All works well except QEI, remora.PV.2 never changes, always = 0. Am I missing something ?
config txt :
{
"Thread": "Servo",
"Type": "QEI",
"Comment": "Spindle encoder",
"PV": 2,
"Data Bit": 7,
"Enable Index": "True"
}
Debug output:
Servo thread object
Spindle encoder
Creating QEI, hardware quadrature encoder interface
Encoder has index
Creating a std module
Initialising hardware QEI module
I have a RPI 4 SPI connected to a BLACK_407VE and an encoder with index connected to PE9, PE11, PE13. All works well except QEI, remora.PV.2 never changes, always = 0. Am I missing something ?
config txt :
{
"Thread": "Servo",
"Type": "QEI",
"Comment": "Spindle encoder",
"PV": 2,
"Data Bit": 7,
"Enable Index": "True"
}
Debug output:
Servo thread object
Spindle encoder
Creating QEI, hardware quadrature encoder interface
Encoder has index
Creating a std module
Initialising hardware QEI module
Please Log in or Create an account to join the conversation.
1 year 6 days ago #337243
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
The A and B channels should be connected to PE9 and PE11, index to PE13. So that looks correct. It should work, but I have not played with the QEI for ages.
Please Log in or Create an account to join the conversation.
11 months 3 weeks ago #338230
by OBi
Replied by OBi on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I have a newly minted Linuxcnc 2.9.7 installed on a Raspberry PI 4.
I have successfully compiled the remora.c component from cakeslob/rrw_lab
trying 'sudo halcompile --install remora-spi.c' from cakeslob/main and scottalford75 will not compile. Lots of errors.
I have also a working linuxcnc 2.9.3 that compiles remora-spi.c fine
Are there any changes in linuxcnc from version 2.9.3 to 2.9.7 that makes this happen?
I will make do with the earlier remora component...
I just wanted to inform that there is some issues
I have successfully compiled the remora.c component from cakeslob/rrw_lab
trying 'sudo halcompile --install remora-spi.c' from cakeslob/main and scottalford75 will not compile. Lots of errors.
Code:
Components/Remora-spi/rp1lib.c:94:9: error: assignment to ‘struct spi_device *’ from incompatible pointer type ‘struct spi_device **’ [-Wincompatible-pointer-types] 94 | dev = &inst->spi_dev[spi_num];
I have also a working linuxcnc 2.9.3 that compiles remora-spi.c fine
Are there any changes in linuxcnc from version 2.9.3 to 2.9.7 that makes this happen?
I will make do with the earlier remora component...
I just wanted to inform that there is some issues
Please Log in or Create an account to join the conversation.
11 months 3 weeks ago #338231
by unknown
Replied by unknown on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
You didn't by chance use the new trixie image on the downloads page did you ?
Please Log in or Create an account to join the conversation.
11 months 2 weeks ago #338283
by OBi
Replied by OBi on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Actually, yes I did... Shouldn't I?You didn't by chance use the new trixie image on the downloads page did you ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.116 seconds